/* === Reset & Tokens === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Light mode — reversed from v2 dark */
    --bg: #ffffff;
    --bg-elevated: #f7f7fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f2f7;
    --border: rgba(0,0,0,.07);
    --border-light: rgba(0,0,0,.12);

    --text: #1a1726;
    --text-secondary: #5c586b;
    --text-muted: #9894a3;

    --pink: #e8639a;
    --purple: #8b5fbf;
    --mint: #3dab8e;
    --gradient: linear-gradient(135deg, #f0a0c4, #a87ec3, #6dc4a8);
    --gradient-vivid: linear-gradient(135deg, #e8639a, #8b5fbf, #3dab8e);
    --accent: #8b5fbf;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    --font-display: 'DM Sans', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-small: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; height: 100%; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero { flex: 1; }

.footer { flex-shrink: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

h1, h2 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}
h3 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-vivid);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientSheen 10s ease infinite;
}
@keyframes gradientSheen {
    0%, 90%, 100% { background-position: 0% 50%; }
    95% { background-position: 100% 50%; }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
    padding: 12px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-vivid);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139,95,191,.25);
}
.btn-accent {
    background: rgba(139,95,191,.08);
    color: var(--purple);
    border: 1px solid rgba(139,95,191,.18);
}
.btn-accent:hover {
    background: rgba(139,95,191,.14);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* === Nav === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    height: 80px;
    width: auto;
}
.footer-logo-img {
    height: 48px;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: .88rem;
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 101;
}
.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all .3s ease;
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

/* Hamburger → X animation */
.mobile-menu-btn.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* === Hero === */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(139,95,191,.06) 0%, rgba(61,171,142,.04) 40%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    font-family: var(--font-small);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-form {
    max-width: 480px;
    margin: 0 auto 24px;
}
.input-group {
    display: flex;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 6px;
}
.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: .95rem;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
}
.input-group input::placeholder { color: var(--text-muted); }
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 80px;
}
.proof-avatars {
    display: flex;
}
.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
    margin-left: -6px;
    border: 2px solid var(--bg);
}
.avatar:first-child { margin-left: 0; }

/* === Dashboard Mockup === */
.hero-dashboard {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
}
.dash-window {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 0 80px rgba(139,95,191,.04);
}
.dash-titlebar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}
.dash-dots {
    display: flex;
    gap: 6px;
}
.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #ff5f56; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #27c93f; }
.dash-url {
    font-family: var(--font-small);
    font-size: .72rem;
    color: var(--text-muted);
}
.dash-content {
    display: flex;
    min-height: 320px;
}
.dash-sidebar {
    width: 180px;
    padding: 16px 0;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--bg-elevated);
}
.sb-logo {
    font-weight: 700;
    font-size: .8rem;
    padding: 4px 18px 16px;
    color: var(--purple);
}
.sb-item {
    padding: 8px 18px;
    font-size: .78rem;
    color: var(--text-muted);
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sb-item.active {
    color: var(--text);
    background: rgba(139,95,191,.06);
    border-right: 2px solid var(--purple);
}
.sb-badge {
    background: var(--gradient-vivid);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}
.dash-main {
    flex: 1;
    padding: 20px;
}
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.d-stat {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.d-stat-label {
    font-size: .65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.d-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
}
.d-stat-value.accent { color: var(--pink); }
.dash-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.dash-queue, .dash-activity {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.dq-title {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
}
.dq-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: .75rem;
    color: var(--text-secondary);
}
.dq-badge {
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .03em;
    flex-shrink: 0;
}
.dq-item.overdue .dq-badge { background: rgba(220,53,46,.1); color: #dc352e; }
.dq-item.due .dq-badge { background: rgba(210,150,20,.1); color: #c89012; }
.da-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: .73rem;
    color: var(--text-secondary);
}
.da-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.da-dot.green { background: #1a9c38; }
.da-dot.pink { background: var(--pink); }
.da-dot.mint { background: var(--mint); }

/* === Pain Section === */
.pain-section {
    padding: 60px 0 100px;
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pain-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color .25s;
}
.pain-card:hover { border-color: var(--border-light); }
.pain-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.pain-card p {
    font-size: .88rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* === Section Headers === */
.section-header {
    margin-bottom: 64px;
}
.section-label {
    font-family: var(--font-small);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 3rem;
}

/* === Features - Editorial === */
.features-section {
    padding: 120px 0 80px;
}
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-tag {
    font-family: var(--font-small);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 12px;
}
.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.feature-content p {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Feature Visuals */
.fv-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
}
.fv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.fv-row:last-child { border-bottom: none; }
.fv-stage {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    font-weight: 500;
}
.fv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.fv-stage.overdue .fv-dot { background: #dc352e; }
.fv-stage.overdue { color: #dc352e; }
.fv-stage.active .fv-dot { background: var(--mint); }
.fv-stage.active { color: var(--mint); }
.fv-stage.pending .fv-dot { background: var(--text-muted); }
.fv-stage.pending { color: var(--text-muted); }
.fv-stage.done .fv-dot { background: var(--purple); }
.fv-stage.done { color: var(--purple); }
.fv-date { font-size: .78rem; color: var(--text-muted); }

/* Portal Visual */
.fv-portal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.fv-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
}
.fv-name { font-weight: 600; font-size: .9rem; }
.fv-sub { font-size: .75rem; color: var(--text-muted); }
.fv-project {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.fv-project:last-child { border-bottom: none; }
.fv-project-name { font-weight: 600; font-size: .85rem; margin-bottom: 4px; }
.fv-project-status { font-size: .75rem; color: var(--text-muted); margin-bottom: 8px; }
.fv-progress {
    height: 4px;
    background: rgba(0,0,0,.06);
    border-radius: 4px;
    overflow: hidden;
}
.fv-progress-fill {
    height: 100%;
    background: var(--gradient-vivid);
    border-radius: 4px;
    transition: width .8s ease;
}
.fv-progress-fill.pending-fill { background: var(--text-muted); }

/* Message Visual */
.fv-msg {
    margin-bottom: 12px;
    max-width: 85%;
}
.fv-msg.incoming { }
.fv-msg.outgoing { margin-left: auto; text-align: right; }
.fv-msg-name { font-size: .7rem; color: var(--purple); font-weight: 600; margin-bottom: 4px; }
.fv-msg-text {
    background: rgba(0,0,0,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: .85rem;
    line-height: 1.5;
    display: inline-block;
    text-align: left;
}
.fv-msg.outgoing .fv-msg-text {
    background: rgba(139,95,191,.06);
    border-color: rgba(139,95,191,.15);
}
.fv-msg-time { font-size: .65rem; color: var(--text-muted); margin-top: 4px; }
.fv-msg-templates {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.fv-template {
    font-size: .68rem;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* Invoice Visual */
.fv-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: .9rem;
}
.fv-paid-badge {
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    background: rgba(26,156,56,.1);
    color: #1a9c38;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.fv-invoice-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: .85rem;
    color: var(--text-secondary);
}
.fv-invoice-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    font-size: 1rem;
}
.fv-paypal-btn {
    margin-top: 16px;
    padding: 10px;
    text-align: center;
    background: rgba(0,113,194,.06);
    border: 1px solid rgba(0,113,194,.15);
    border-radius: var(--radius-xs);
    font-size: .78rem;
    color: #0071c2;
    font-weight: 600;
}

/* === Grid Features === */
.grid-features {
    padding: 0 0 120px;
}
.gf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gf-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all .25s ease;
}
.gf-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.gf-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.gf-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.gf-card p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Two Sides === */
.sides-section {
    padding: 120px 0;
}
.sides-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.side-card {
    border-radius: var(--radius);
    padding: 36px 32px;
    border: 1px solid;
}
.side-artist {
    background: rgba(139,95,191,.03);
    border-color: rgba(139,95,191,.12);
}
.side-client {
    background: rgba(61,171,142,.03);
    border-color: rgba(61,171,142,.12);
}
.side-label {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.side-artist .side-label { color: var(--purple); }
.side-client .side-label { color: var(--mint); }
.side-card ul { list-style: none; }
.side-card li {
    padding: 8px 0;
    font-size: .88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    padding-left: 20px;
    position: relative;
}
.side-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    font-weight: 700;
}
.side-artist li::before { color: var(--purple); }
.side-client li::before { color: var(--mint); }

/* === Process === */
.process-section {
    padding: 120px 0;
    background: var(--bg-elevated);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-step {
    position: relative;
}
.ps-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}
.ps-line {
    width: 100%;
    height: 1px;
    background: var(--border-light);
    margin-bottom: 20px;
}
.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.process-step p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Testimonials === */
.testimonials-section {
    padding: 120px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
}
.t-stars {
    color: #d49b08;
    font-size: .9rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.testimonial p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}
.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.t-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
}
.t-author strong {
    display: block;
    font-size: .85rem;
}
.t-author span {
    font-size: .75rem;
    color: var(--text-muted);
}

/* === Pricing === */
.pricing-section {
    padding: 120px 0;
    background: var(--bg-elevated);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--purple);
    box-shadow: 0 8px 40px rgba(139,95,191,.1);
}
.pc-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-vivid);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.pc-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}
.pc-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
}
.pricing-card.featured .pc-price {
    background: var(--gradient-vivid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pc-period {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 28px;
}
.pricing-card li {
    padding: 7px 0;
    font-size: .85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    padding-left: 20px;
    position: relative;
}
.pricing-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: 700;
}
.pricing-card .btn { width: 100%; }

/* === CTA === */
.cta-section {
    padding: 140px 0;
    text-align: center;
    position: relative;
    background: var(--bg);
}
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(139,95,191,.05) 0%, rgba(61,171,142,.03) 40%, transparent 70%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}
.cta-inner > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.cta-form {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.cta-form input,
.cta-form select {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: .9rem;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
    transition: border-color .2s;
}
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form select { color: var(--text-muted); }
.cta-form select option { background: var(--bg); color: var(--text); }
.cta-form input:focus,
.cta-form select:focus { border-color: var(--purple); }
.cta-form .btn { width: 100%; max-width: 300px; }
.cta-note {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* === Footer === */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.footer-logo {
    justify-content: center;
}
.footer-brand p {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 10px;
}
.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a,
.footer-links span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .82rem;
    transition: color .2s;
}
.footer-links a:hover,
.footer-links span:hover { color: var(--text); }
.footer-copy {
    font-size: .75rem;
    color: var(--text-muted);
    opacity: .6;
}

/* === Mobile === */
@media (max-width: 900px) {
    .mobile-menu-btn { display: block; }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(20px);
        padding: 0 28px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease, padding .35s ease;
        border-bottom: 1px solid transparent;
    }
    .nav-links.open {
        max-height: 320px;
        padding: 16px 28px 24px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a {
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links .btn.btn-accent {
        margin-top: 8px;
        text-align: center;
        border-bottom: none;
    }

    .hero { padding: 100px 0 40px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-sub br { display: none; }

    .footer-links { gap: 20px; }
}

@media (max-width: 550px) {
    .hero { padding: 90px 0 32px; }
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 1rem; margin-bottom: 28px; }
    .hero-badge { font-size: .68rem; padding: 5px 14px; margin-bottom: 20px; }

    .input-group { flex-direction: column; border-radius: var(--radius); }
    .input-group .btn { border-radius: 100px; }

    .container { padding: 0 20px; }

    .nav { padding: 14px 0; }
    .logo-img { height: 56px; }
    .footer-logo-img { height: 40px; }
    .logo-text { font-size: 1.1rem; }

    .footer { padding: 32px 0 24px; }
    .footer-links { gap: 16px; }
    .footer-links a { font-size: .78rem; }
}

/* === Animations === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0;
    animation: fadeUp .6s ease forwards;
}

/* === Inline Editor === */
.editor-mode [contenteditable="true"] {
    outline: 2px dashed rgba(139,95,191,.3);
    outline-offset: 4px;
    border-radius: 4px;
    cursor: text;
    transition: outline-color .2s, box-shadow .2s;
    min-width: 20px;
}
.editor-mode [contenteditable="true"]:hover {
    outline-color: rgba(139,95,191,.5);
}
.editor-mode [contenteditable="true"]:focus {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(139,95,191,.08);
}
.editor-saving {
    outline-color: rgba(210,150,20,.5) !important;
}
.editor-saved {
    outline-color: rgba(39,201,63,.6) !important;
}
.editor-error {
    outline-color: rgba(220,53,46,.6) !important;
}
.editor-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 201;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.editor-toggle:hover {
    border-color: var(--purple);
    box-shadow: 0 4px 20px rgba(139,95,191,.15);
}
.editor-toggle.active {
    background: var(--purple);
    border-color: var(--purple);
}
.editor-pencil {
    font-size: 18px;
    color: var(--text-muted);
    transition: color .25s;
}
.editor-toggle.active .editor-pencil {
    color: #fff;
}
.editor-indicator {
    position: fixed;
    bottom: 72px;
    right: 20px;
    z-index: 200;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 8px 18px;
    font-family: var(--font-small);
    font-size: .75rem;
    font-weight: 600;
    color: var(--purple);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.editor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
    display: inline-block;
    animation: editorPulse 2s ease infinite;
}
@keyframes editorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* Editor Toolbar */
.editor-toolbar {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 201;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.editor-toolbar button {
    background: none;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all .15s ease;
}
.editor-toolbar button:hover {
    background: rgba(139,95,191,.08);
    color: var(--purple);
}
.editor-toolbar button:active {
    background: rgba(139,95,191,.15);
}
.toolbar-sep {
    width: 1px;
    height: 20px;
    background: var(--border-light);
    margin: 0 4px;
}
/* Content Blocks */
.blocks-section {
    padding: 0 0 60px;
}
.blocks-section .container:empty {
    padding: 0;
}
.content-block {
    position: relative;
    margin-bottom: 16px;
}
.content-block .block-content {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.content-block h2.block-content {
    font-size: 2rem;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
}

/* Block editor controls (only in edit mode) */
.block-handle {
    display: none;
    position: absolute;
    left: -36px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border-light);
    cursor: grab;
    font-size: 14px;
    color: var(--text-muted);
    align-items: center;
    justify-content: center;
    user-select: none;
}
.block-handle:active { cursor: grabbing; }
.editor-mode .block-handle { display: flex; }

.block-delete {
    display: none;
    position: absolute;
    right: -36px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 12px;
    color: var(--text-muted);
    align-items: center;
    justify-content: center;
}
.block-delete:hover { color: #dc352e; border-color: rgba(220,53,46,.3); }
.editor-mode .block-delete { display: flex; }

.block-dragging { opacity: .4; }
.block-dragover { border-top: 2px solid var(--purple); }

.editor-mode .content-block {
    padding: 8px 0;
    margin-left: 40px;
    margin-right: 40px;
}

/* Gradient button */
.toolbar-gradient {
    background: linear-gradient(135deg,#e8639a,#8b5fbf,#3dab8e) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 16px !important;
}

/* Toolbar add buttons */
.editor-toolbar button[data-action] {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-small);
    width: auto;
    padding: 0 10px;
    letter-spacing: .02em;
}
