/* ==========================================================
   ReportForge - Marketing + App Styles
   ========================================================== */

:root {
    --navy: #0B1733;
    --accent: #FF6B35;
    --accent-light: #FFF1EC;
    --gold: #F4B740;
    --green: #10B981;
    --dark: #1F2937;
    --grey-600: #6B7280;
    --grey-400: #9CA3AF;
    --grey-200: #E5E7EB;
    --grey-100: #F3F4F6;
    --soft: #F5F5F7;
    --white: #FFFFFF;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(11, 23, 51, 0.04), 0 1px 3px rgba(11, 23, 51, 0.06);
    --shadow: 0 4px 6px rgba(11, 23, 51, 0.05), 0 10px 30px rgba(11, 23, 51, 0.08);
    --shadow-lg: 0 20px 60px rgba(11, 23, 51, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--grey-200);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
}

.logo-mark {
    display: inline-flex;
    width: 28px;
    height: 28px;
    background: var(--navy);
    color: var(--accent);
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
}

.logo-accent {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--grey-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

.nav a:hover {
    color: var(--accent);
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.pill {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero h1 .accent {
    color: var(--accent);
    position: relative;
}

.hero .lead {
    font-size: 18px;
    color: var(--grey-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.flash {
    max-width: 600px;
    margin: 20px auto 0;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.flash-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.flash-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

/* ==========================================================
   Generator form
   ========================================================== */
.generator {
    padding: 40px 0 80px;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.form-card-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--grey-200);
    background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
}

.form-card-header h2 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 4px;
}

.form-card-header p {
    color: var(--grey-600);
    font-size: 14px;
}

.upload-form {
    padding: 28px 32px 32px;
}

.form-row {
    margin-bottom: 24px;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

/* File drop */
.file-drop {
    position: relative;
    border: 2px dashed var(--grey-200);
    border-radius: var(--radius);
    background: var(--soft);
    transition: all 0.2s;
    overflow: hidden;
}

.file-drop.drag-over {
    border-color: var(--accent);
    background: var(--accent-light);
}

.file-drop.has-file {
    border-color: var(--green);
    border-style: solid;
    background: #ECFDF5;
}

.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-drop-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px;
    cursor: pointer;
}

.file-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 50%;
    font-size: 20px;
    color: var(--accent);
    font-weight: 700;
}

.file-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-text strong {
    color: var(--navy);
    font-size: 15px;
}

.file-text small {
    color: var(--grey-600);
    font-size: 13px;
}

/* Template grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.template-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.template-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.template-card-inner {
    padding: 18px;
    border: 2px solid var(--grey-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: all 0.15s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.template-color-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tpl-color);
    opacity: 0.3;
    transition: opacity 0.15s;
}

.template-card:hover .template-card-inner {
    border-color: var(--tpl-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.template-card:hover .template-color-bar {
    opacity: 1;
}

.template-card input:checked ~ .template-card-inner {
    border-color: var(--tpl-color);
    background: var(--soft);
}

.template-card input:checked ~ .template-card-inner .template-color-bar {
    opacity: 1;
    height: 6px;
}

.template-card-inner h3 {
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 4px;
    font-weight: 700;
}

.template-card-inner p {
    font-size: 13px;
    color: var(--grey-600);
    margin-bottom: 10px;
    line-height: 1.4;
}

.template-columns small {
    font-size: 11px;
    color: var(--grey-400);
}

.template-columns code {
    background: var(--grey-100);
    color: var(--dark);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

/* Text inputs */
.field {
    display: block;
}

.field input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: #E85A24;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:disabled {
    background: var(--grey-400);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--grey-200);
}

.btn-outline:hover {
    border-color: var(--navy);
}

.btn-outline:disabled {
    color: var(--grey-400);
    cursor: not-allowed;
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.upload-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* ==========================================================
   How it works
   ========================================================== */
.how {
    padding: 80px 0;
    background: var(--soft);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-sub {
    text-align: center;
    color: var(--grey-600);
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 17px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 14px;
    opacity: 0.9;
}

.step h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.step p {
    color: var(--grey-600);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================
   Pricing
   ========================================================== */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 50px auto 0;
}

.price-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.price-card-featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.price-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.price-card h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 12px;
}

.price {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.price-period {
    color: var(--grey-600);
    font-size: 15px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 28px;
}

.price-card ul li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--dark);
    border-bottom: 1px solid var(--grey-100);
}

.price-card ul li:last-child {
    border-bottom: none;
}

.price-card .btn {
    width: 100%;
}

/* ==========================================================
   Download page
   ========================================================== */
.download-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.download-card {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 56px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-200);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.download-card h1 {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 800;
}

.download-card .lead {
    color: var(--grey-600);
    margin-bottom: 32px;
    font-size: 16px;
}

.download-note {
    margin-top: 40px;
    padding: 24px;
    background: var(--soft);
    border-radius: var(--radius-sm);
    text-align: left;
}

.download-note p {
    margin-bottom: 10px;
    color: var(--navy);
}

.download-note ul {
    list-style: none;
}

.download-note ul li {
    padding: 4px 0 4px 20px;
    color: var(--grey-600);
    font-size: 14px;
    position: relative;
}

.download-note ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.link-back {
    display: inline-block;
    margin-top: 28px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.link-back:hover {
    text-decoration: underline;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
    padding: 32px 0;
    background: var(--navy);
    color: var(--grey-400);
    text-align: center;
    font-size: 14px;
}

/* ==========================================================
   Responsive
   ========================================================== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: var(--navy);
    padding: 4px 8px;
}
@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        border-bottom: 1px solid var(--grey-200);
        box-shadow: var(--shadow);
        padding: 8px 0;
        z-index: 200;
    }
    .nav.nav-open { display: flex; }
    .nav > a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--grey-200);
        font-size: 16px;
    }
    .nav .nav-cta { margin: 8px 20px; text-align: center; }
    .nav .lang-switch { padding: 8px 20px; }
    .hero {
        padding: 50px 0 30px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .form-row-inline {
        grid-template-columns: 1fr;
    }
    .upload-form {
        padding: 20px 20px 24px;
    }
    .form-card-header {
        padding: 20px 20px 16px;
    }
    .price-card-featured {
        transform: none;
    }
    .download-card {
        padding: 40px 24px;
    }
}

/* ==========================================================
   Auth pages (signup / login)
   ========================================================== */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-200);
}
.auth-card h1 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 800;
}
.auth-card .lead {
    color: var(--grey-600);
    margin-bottom: 28px;
    font-size: 15px;
}
.auth-form .field {
    display: block;
    margin-bottom: 18px;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--grey-600);
}
.btn-block { width: 100%; display: block; }
.auth-alt {
    text-align: center;
    margin-top: 20px;
    color: var(--grey-600);
    font-size: 14px;
}
.auth-alt a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.auth-alt a:hover { text-decoration: underline; }

/* Nav CTA */
.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}
.nav-cta:hover { background: #E85A24; color: var(--white) !important; }

/* ==========================================================
   Account page
   ========================================================== */
.account-page { padding: 50px 0 80px; }
.account-page h1 {
    font-size: 32px;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 30px;
}
.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 720px) {
    .account-grid { grid-template-columns: 1fr; }
}
.account-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.account-card h2 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 14px;
    font-weight: 700;
}
.sub-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.sub-status-active { background: #D1FAE5; color: #065F46; }
.sub-status-inactive { background: #FEE2E2; color: #991B1B; }
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.sub-plan {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 18px;
}
.sub-plan small { color: var(--grey-600); font-size: 13px; }
.usage-box {
    background: var(--soft);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}
.usage-label {
    font-size: 12px;
    color: var(--grey-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.usage-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
}
.report-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-100);
    font-size: 14px;
}
.report-item:last-child { border-bottom: none; }
.report-item strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
}
.report-item small {
    display: block;
    color: var(--grey-600);
    font-size: 12px;
}
.report-item div:last-child {
    text-align: right;
}
.report-download {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    margin-top: 4px;
}
.report-download:hover { text-decoration: underline; }
.empty-state {
    color: var(--grey-600);
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}

/* ==========================================================
   LANDING V2 — Premium redesign
   ========================================================== */

/* Inter for everything — clean, modern SaaS look */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- HERO V2 ---------- */
.hero-v2 {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F3 100%);
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11,23,51,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,23,51,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}
.hero-v2-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-v2-inner { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 999px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}
.eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-family: inherit;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 24px;
}
.hero-title-accent {
    font-style: italic;
    font-weight: 600;
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero-title-accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 10px;
    background: rgba(255, 107, 53, 0.18);
    z-index: -1;
    border-radius: 4px;
}

.hero-lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--grey-600);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-cta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.btn-ghost {
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    padding: 14px 20px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}
.btn-ghost:hover { border-bottom-color: var(--accent); }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-200);
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    flex-direction: column;
}
.trust-item strong {
    font-size: 15px;
    color: var(--navy);
    font-weight: 700;
}
.trust-item small {
    font-size: 13px;
    color: var(--grey-600);
}
.trust-divider {
    width: 1px; height: 32px;
    background: var(--grey-200);
}

/* Hero visual (PDF stack) */
.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-pdf-stack {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1.35;
}
.pdf-preview {
    position: absolute;
    width: 82%;
    border-radius: 12px;
    box-shadow: 0 40px 80px -20px rgba(11, 23, 51, 0.3),
                0 16px 32px -8px rgba(11, 23, 51, 0.15);
    transition: transform 0.4s ease;
}
.pdf-back {
    top: 0; left: 0;
    transform: rotate(-6deg);
    filter: brightness(0.96);
}
.pdf-front {
    bottom: 0; right: 0;
    transform: rotate(4deg);
    z-index: 2;
}
.hero-pdf-stack:hover .pdf-back { transform: rotate(-8deg) translate(-8px, -8px); }
.hero-pdf-stack:hover .pdf-front { transform: rotate(6deg) translate(8px, 8px); }

/* ---------- SECTION COMMONS ---------- */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 14px;
    text-transform: uppercase;
}
.section-title {
    font-family: inherit;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 14px;
}
.section-sub {
    font-size: 17px;
    color: var(--grey-600);
    max-width: 620px;
    margin: 0 auto;
}

/* ---------- COMPARE (Before/After) ---------- */
.compare {
    padding: 100px 0;
    background: var(--navy);
    color: white;
}
.compare .section-title { color: white; }
.compare .section-sub { color: rgba(255,255,255,0.65); }
.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}
@media (max-width: 900px) {
    .compare-grid { grid-template-columns: 1fr; }
    .compare-arrow { transform: rotate(90deg); }
}
.compare-col { text-align: center; }
.compare-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}
.label-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
}
.label-red { background: #EF4444; }
.label-green { background: #10B981; }
.compare-frame {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}
.compare-frame:hover { transform: translateY(-4px); }
.compare-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.compare-caption {
    margin-top: 20px;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}
.compare-arrow {
    font-size: 40px;
    color: var(--accent);
    font-weight: 700;
}

/* ---------- HOW V2 ---------- */
.how-v2 {
    padding: 100px 0;
    background: white;
}
.steps-v2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .steps-v2 { grid-template-columns: 1fr; gap: 20px; }
    .step-v2-connector { display: none; }
}
.step-v2 {
    padding: 32px 24px;
    text-align: center;
}
.step-v2-num {
    font-family: inherit;
    font-size: 56px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
}
.step-v2 h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.step-v2 p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--grey-600);
}
.step-v2-connector {
    width: 60px;
    height: 1px;
    background: var(--grey-200);
    align-self: center;
    position: relative;
}
.step-v2-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px; height: 8px;
    background: var(--grey-200);
    border-radius: 50%;
}

/* ---------- TEMPLATES SHOWCASE ---------- */
.templates-showcase {
    padding: 100px 0;
    background: var(--soft);
}
.template-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}
@media (max-width: 900px) {
    .template-showcase-grid { grid-template-columns: 1fr; }
}
.showcase-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--grey-200);
}
.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.showcase-preview {
    aspect-ratio: 1 / 1.2;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(245,245,247,1));
    padding: 20px 20px 0;
    overflow: hidden;
    border-bottom: 4px solid var(--tpl-color, var(--accent));
    position: relative;
}
.showcase-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.showcase-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--white);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 30px;
    text-align: center;
}
.placeholder-label {
    font-family: inherit;
    font-size: 28px;
    font-weight: 600;
    color: var(--tpl-color);
    margin-bottom: 8px;
}
.placeholder-sub {
    font-size: 13px;
    color: var(--grey-600);
}
.showcase-info {
    padding: 24px;
}
.showcase-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.showcase-info p {
    font-size: 14px;
    color: var(--grey-600);
    line-height: 1.5;
    margin-bottom: 12px;
}
.showcase-info small {
    display: block;
    font-size: 12px;
    color: var(--grey-400);
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px solid var(--grey-100);
}

/* ---------- TRUST SECTION ---------- */
.trust-section {
    padding: 100px 0;
    background: white;
}
.trust-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2855 100%);
    border-radius: 24px;
    padding: 60px;
    color: white;
    box-shadow: 0 40px 80px -20px rgba(11,23,51,0.3);
}
@media (max-width: 900px) {
    .trust-panel { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; }
}
.trust-panel-text .section-eyebrow { color: var(--gold); }
.trust-panel h2 {
    font-family: inherit;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}
.trust-panel p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}
.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-stat {
    display: flex;
    flex-direction: column;
}
.trust-stat strong {
    font-family: inherit;
    font-size: 28px;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}
.trust-stat span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.founder-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    position: relative;
}
.founder-quote-mark {
    font-family: inherit;
    font-size: 80px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: -20px;
    opacity: 0.7;
}
.founder-quote {
    font-family: inherit;
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    color: white;
    margin-bottom: 20px;
}
.founder-meta {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
}
.founder-meta strong {
    font-size: 14px;
    color: white;
}
.founder-meta span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--soft);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
@media (max-width: 900px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}
.testi-card {
    background: white;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid var(--grey-200);
    position: relative;
}
.testi-placeholder {
    border: 2px dashed var(--grey-200);
    background: rgba(255,255,255,0.5);
    text-align: center;
}
.testi-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), rgba(255,107,53,0.15));
    margin: 0 auto 16px;
    border: 2px dashed var(--accent);
}
.testi-quote {
    font-family: inherit;
    font-style: italic;
    font-size: 16px;
    color: var(--grey-600);
    line-height: 1.5;
    margin-bottom: 18px;
    min-height: 60px;
}
.testi-meta {
    padding-top: 16px;
    border-top: 1px solid var(--grey-100);
    display: flex;
    flex-direction: column;
}
.testi-meta strong {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}
.testi-meta span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}
.testi-cta {
    text-align: center;
    margin-top: 40px;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 100px 0;
    background: white;
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--grey-200);
    padding: 0;
}
.faq-item summary {
    padding: 24px 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon {
    font-size: 22px;
    font-weight: 400;
    color: var(--accent);
    margin-left: 20px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    padding: 0 0 24px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--grey-600);
    max-width: 640px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, var(--accent-light) 100%);
    text-align: center;
}
.final-cta-inner {
    max-width: 580px;
    margin: 0 auto;
}
.final-cta h2 {
    font-family: inherit;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}
.final-cta p {
    font-size: 19px;
    color: var(--grey-600);
    margin-bottom: 36px;
}
.final-cta-sub {
    margin-top: 20px;
    font-size: 13px;
    color: var(--grey-600);
}

/* ==========================================================
   PREVIEW MODE BANNER
   ========================================================== */
.preview-banner {
    background: linear-gradient(90deg, #FEF3C7 0%, #FDE68A 100%);
    border-bottom: 1px solid #F59E0B;
    padding: 12px 0;
}
.preview-banner-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
    font-size: 13px;
}
.preview-banner-inner strong {
    color: #92400E;
    font-weight: 700;
    margin-right: 10px;
}
.preview-banner-inner span {
    color: #78350F;
}
.preview-banner-icon {
    width: 28px; height: 28px;
    background: #F59E0B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ==========================================================
   CHECKOUT PAGE
   ========================================================== */
.checkout-page {
    padding: 40px 0 80px;
    background: var(--soft);
    min-height: calc(100vh - 300px);
}
.checkout-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    max-width: 1040px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Left: summary */
.checkout-summary {
    padding: 20px 0;
}
.checkout-back {
    display: inline-block;
    color: var(--grey-600);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: color 0.15s;
}
.checkout-back:hover { color: var(--accent); }

.summary-plan {
    margin-bottom: 28px;
}
.summary-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-600);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.summary-plan h1 {
    font-family: inherit;
    font-size: 32px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.summary-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.summary-price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
}
.summary-price-period {
    color: var(--grey-600);
    font-size: 14px;
}

.summary-features {
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-200);
}
.summary-section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--grey-600);
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}
.summary-features ul {
    list-style: none;
}
.summary-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.4;
}
.feature-check {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.summary-total {
    padding-top: 20px;
    border-top: 1px solid var(--grey-200);
    margin-bottom: 20px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: var(--grey-600);
}
.summary-row-total {
    padding-top: 14px;
    border-top: 1px solid var(--grey-200);
    margin-top: 8px;
    color: var(--navy);
    font-weight: 700;
    font-size: 16px;
}

.summary-footer small {
    color: var(--grey-600);
    font-size: 12px;
}

/* Right: form */
.checkout-form-wrap { max-width: 480px; }

.checkout-card {
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: 14px;
    padding: 32px;
    box-shadow: var(--shadow);
}
.checkout-card h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 22px;
}

.checkout-form .field-group {
    margin-bottom: 18px;
}
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
.field-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
    background: white;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field-input:focus:not(:disabled):not([readonly]) {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.field-input-locked {
    background: var(--soft);
    color: var(--grey-600);
    cursor: not-allowed;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.field-input[readonly] {
    background: var(--soft);
    cursor: default;
}
.field-input:disabled {
    background: var(--soft);
    color: var(--grey-600);
    cursor: not-allowed;
}

/* Card info group (Stripe-style) */
.card-input-group {
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    background: var(--soft);
    overflow: hidden;
}
.card-number-wrap {
    position: relative;
    border-bottom: 1px solid var(--grey-200);
}
.card-number-wrap .field-input {
    border: none;
    border-radius: 0;
    padding-right: 120px;
}
.card-brands {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
}
.card-brand {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: 3px;
    color: var(--grey-600);
    letter-spacing: 0.3px;
}
.card-brand-visa {
    background: #1A1F71;
    color: white;
    border-color: #1A1F71;
}
.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.card-row .field-input {
    border: none;
    border-radius: 0;
}
.card-row .field-input:first-child {
    border-right: 1px solid var(--grey-200);
}

.field-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--grey-600);
}

/* Submit button */
.checkout-submit {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #E85A24 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.checkout-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}
.checkout-submit-arrow {
    transition: transform 0.15s;
}
.checkout-submit:hover .checkout-submit-arrow {
    transform: translateX(4px);
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 12px;
    color: var(--grey-600);
}
.stripe-badge {
    font-family: inherit;
    font-style: italic;
    font-weight: 600;
    color: #635BFF;
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: -0.3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.checkout-terms {
    margin-top: 20px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--grey-600);
    text-align: center;
}

/* ==========================================================
   ACTIVATION PENDING
   ========================================================== */
.activation-page {
    padding: 40px 0 100px;
    background: linear-gradient(180deg, white 0%, var(--accent-light) 100%);
    min-height: calc(100vh - 200px);
}
.activation-card {
    max-width: 560px;
    margin: 40px auto 0;
    background: white;
    padding: 48px 40px;
    border-radius: 20px;
    border: 1px solid var(--grey-200);
    box-shadow: 0 40px 80px -20px rgba(11,23,51,0.15);
    text-align: center;
}
.activation-check {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
    animation: checkPop 0.5s ease-out;
}
@keyframes checkPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.activation-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--accent);
    margin-bottom: 12px;
}
.activation-card h1 {
    font-family: inherit;
    font-size: 40px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.1;
}
.activation-lede {
    font-size: 16px;
    color: var(--grey-600);
    line-height: 1.55;
    margin-bottom: 36px;
}

/* Timeline */
.activation-timeline {
    text-align: left;
    padding: 24px;
    background: var(--soft);
    border-radius: 12px;
    margin-bottom: 24px;
}
.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0.45;
}
.timeline-step-done { opacity: 1; }
.timeline-step-current { opacity: 1; }
.timeline-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--grey-200);
    margin-top: 3px;
    flex-shrink: 0;
}
.timeline-step-done .timeline-dot {
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.timeline-step-current .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}
.timeline-dot-pulse {
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.1); }
}
.timeline-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.timeline-text strong {
    font-size: 14px;
    color: var(--navy);
    font-weight: 600;
}
.timeline-text span {
    font-size: 12px;
    color: var(--grey-600);
}
.timeline-connector {
    width: 2px;
    height: 16px;
    background: var(--grey-200);
    margin-left: 6px;
}

/* Perks */
.activation-perks {
    text-align: left;
    padding: 24px;
    background: linear-gradient(135deg, #FFF8F3 0%, #FFE8DC 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    margin-bottom: 28px;
}
.activation-perks-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--accent);
    margin-bottom: 14px;
}
.activation-perks ul {
    list-style: none;
}
.activation-perks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}
.activation-perks li:last-child { border-bottom: none; }
.perk-icon {
    font-size: 18px;
    color: var(--accent);
    width: 24px;
    flex-shrink: 0;
    text-align: center;
}
.activation-perks li strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.3;
}
.activation-perks li small {
    display: block;
    font-size: 12px;
    color: var(--grey-600);
    margin-top: 2px;
}

.activation-cta-row { margin-top: 8px; }
.activation-note {
    margin-top: 24px;
    font-size: 12px;
    color: var(--grey-600);
}

/* Pending state on account page */
.sub-status-pending {
    background: #FEF3C7;
    color: #92400E;
}
.status-dot-pulse {
    animation: dotPulse 2s ease-in-out infinite;
}
.pending-info-box {
    background: var(--soft);
    padding: 18px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
    margin-top: 20px;
}
.pending-info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--grey-600);
    margin-bottom: 10px;
}
.pending-timeline-mini {
    padding-left: 20px;
    margin: 0;
}
.pending-timeline-mini li {
    font-size: 13px;
    color: var(--dark);
    line-height: 1.5;
    padding: 4px 0;
}

/* ==========================================================
   NEW PRICING GRID (updated)
   ========================================================== */
.pricing-full {
    padding: 40px 0 100px;
    min-height: calc(100vh - 200px);
}
.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 60px auto 40px;
}
@media (max-width: 900px) {
    .pricing-grid-v2 { grid-template-columns: 1fr; }
}
.price-card-v2 {
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    flex-direction: column;
}
.price-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.price-card-v2-featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, white 0%, #FFFBF8 100%);
}
@media (max-width: 900px) {
    .price-card-v2-featured { transform: none; }
}
.price-badge-v2 {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
.price-card-v2 h3 {
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 14px;
}
.price-v2 {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}
.price-v2-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1;
}
.price-v2-period {
    color: var(--grey-600);
    font-size: 15px;
}
.price-v2-features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}
.price-v2-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--dark);
    border-bottom: 1px solid var(--grey-100);
    line-height: 1.4;
}
.price-v2-features li:last-child { border-bottom: none; }

.pricing-footer {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--grey-200);
}
.pricing-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--grey-600);
    font-size: 13px;
}

/* ==========================================================
   CARD BRAND LOGOS (Stripe-style)
   ========================================================== */
.card-brands {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
    align-items: center;
}
.card-brand-logo {
    display: block;
    width: 30px;
    height: 20px;
    border-radius: 3px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

/* Stripe logo (replacing the text badge) */
.stripe-logo {
    display: inline-block;
    height: 18px;
    width: auto;
    vertical-align: middle;
    margin-left: 2px;
}

/* Hide deprecated text-style badges (if template cache hits older CSS) */
.card-brand { display: none; }
/* ==========================================================
   INVOICE FORM (appended to style.css)
   ========================================================== */
.invoice-form-page {
    padding: 40px 0 80px;
    background: var(--soft);
    min-height: calc(100vh - 200px);
}
.invoice-form-header {
    text-align: center;
    margin-bottom: 32px;
}
.invoice-form-header h1 {
    font-size: 36px;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.invoice-form-header p {
    font-size: 16px;
    color: var(--grey-600);
}

.info-banner {
    max-width: 960px;
    margin: 0 auto 24px;
    padding: 14px 20px;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 10px;
    color: #92400E;
    font-size: 14px;
}
.info-banner a {
    color: #92400E;
    font-weight: 700;
    text-decoration: underline;
}

.invoice-form {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.invoice-form .form-card {
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}
.invoice-form .form-card h2 {
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.invoice-form .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.invoice-form .form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 720px) {
    .invoice-form .form-grid-2,
    .invoice-form .form-grid-3 { grid-template-columns: 1fr; }
}
.form-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) {
    .form-cards-row { grid-template-columns: 1fr; }
}

.invoice-form .field {
    display: block;
    margin-bottom: 14px;
}
.invoice-form .field:last-child { margin-bottom: 0; }
.invoice-form .form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-600);
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.invoice-form input[type="text"],
.invoice-form input[type="email"],
.invoice-form input[type="date"],
.invoice-form input[type="number"],
.invoice-form select,
.invoice-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--dark);
    background: white;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.invoice-form input:focus,
.invoice-form select:focus,
.invoice-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.invoice-form textarea { resize: vertical; min-height: 60px; }

/* Color picker */
.color-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 5px;
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
}
.color-picker input[type="color"] {
    width: 36px !important;
    height: 36px !important;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
}
.color-value {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
    color: var(--grey-600);
    letter-spacing: 0.5px;
}

/* Line items table */
.line-items-header {
    display: grid;
    grid-template-columns: 1fr 80px 120px 120px 40px;
    gap: 10px;
    padding: 0 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--grey-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--grey-100);
    margin-bottom: 10px;
}
.line-item-row {
    display: grid;
    grid-template-columns: 1fr 80px 120px 120px 40px;
    gap: 10px;
    align-items: center;
    padding: 6px 0;
}
.line-item-row input {
    margin: 0;
}
.amount-cell {
    font-weight: 700;
    color: var(--navy);
    text-align: right;
    padding-right: 4px;
}
.btn-remove {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: transparent;
    color: var(--grey-400);
    border: 1px solid var(--grey-200);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.btn-remove:hover {
    background: #FEE2E2;
    color: #DC2626;
    border-color: #FECACA;
}
.btn-add-item {
    margin-top: 16px;
    padding: 10px 16px;
    background: transparent;
    border: 1.5px dashed var(--grey-200);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-add-item:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

/* Totals card */
.totals-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: end;
}
@media (max-width: 720px) {
    .totals-card { grid-template-columns: 1fr; gap: 20px; }
}
.totals-right {
    padding: 16px 20px;
    background: var(--soft);
    border-radius: 10px;
}
.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: var(--grey-600);
}
.totals-row-grand {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--grey-200);
    color: var(--navy);
    font-weight: 700;
    font-size: 18px;
}

/* Submit bar */
.submit-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    gap: 20px;
    flex-wrap: wrap;
}
.submit-total small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--grey-600);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.submit-total strong {
    font-size: 28px;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.01em;
}
