/* ============================================================
   Parliament CMS — Marketing Site Styles
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
    --primary:       #1a3a5c;
    --primary-dark:  #122840;
    --primary-light: #234d7a;
    --gold:          #daa35b;
    --gold-dark:     #d08f3b;
    --white:         #ffffff;
    --bg-light:      #f8fafc;
    --bg-mid:        #f1f5f9;
    --text:          #1f2937;
    --text-muted:    #6b7280;
    --text-light:    #9ca3af;
    --border:        #e5e7eb;
    --radius:        0.75rem;
    --radius-lg:     1.25rem;
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow:        0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.05);
    --shadow-lg:     0 12px 40px rgba(0,0,0,0.13), 0 3px 10px rgba(0,0,0,0.06);
    --max-width:     1200px;
    --nav-height:    68px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ───────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.14s, box-shadow 0.18s;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: 0 4px 18px rgba(200,168,75,0.35); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); }

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── Scroll animation base ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Section labels ──────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.7;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
#nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
}
.nav-logo-badge {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav-logo-badge svg { width: 18px; height: 18px; color: var(--white); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 6px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--shadow);
    z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    padding: 0.625rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .btn { margin-top: 0.75rem; width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(200,168,75,0.12), transparent),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,0.04), transparent);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200,168,75,0.18);
    border: 1px solid rgba(200,168,75,0.4);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-title span { color: var(--gold); }

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.25rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
    min-width: 0;
}
.hero-browser {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
    overflow: hidden;
}
.hero-browser-bar {
    background: #f1f3f5;
    padding: 0.6rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #e0e3e7;
}
.hero-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.hero-browser-dot:nth-child(1) { background: #ff5f57; }
.hero-browser-dot:nth-child(2) { background: #febc2e; }
.hero-browser-dot:nth-child(3) { background: #28c840; }
.hero-browser-url {
    flex: 1;
    background: var(--white);
    border: 1px solid #dde0e5;
    border-radius: 6px;
    padding: 0.2rem 0.75rem;
    font-size: 0.7rem;
    color: #6b7280;
    margin-left: 0.5rem;
}
.hero-browser-screen {
    background: var(--bg-mid);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.hero-screenshot-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}
.hero-screenshot-placeholder svg { width: 40px; height: 40px; opacity: 0.4; }
.hero-screenshot-placeholder p { font-size: 0.8rem; opacity: 0.7; }

/* Floating badge */
.hero-badge {
    position: absolute;
    bottom: -1rem;
    left: -1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.hero-badge-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-badge-icon svg { width: 16px; height: 16px; color: white; }

/* ============================================================
   FEATURES
   ============================================================ */
#features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26,58,92,0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.125rem;
    flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }

.feature-icon-navy  { background: rgba(26,58,92,0.1); color: var(--primary); }
.feature-icon-gold  { background: rgba(200,168,75,0.15); color: var(--gold-dark); }
.feature-icon-green { background: rgba(16,185,129,0.12); color: #059669; }
.feature-icon-purple { background: rgba(124,58,237,0.1); color: #7c3aed; }
.feature-icon-blue  { background: rgba(37,99,235,0.1); color: #2563eb; }
.feature-icon-rose  { background: rgba(244,63,94,0.1); color: #f43f5e; }

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================================
   PAGE BUILDER SPOTLIGHT
   ============================================================ */
#page-builder {
    padding: 6rem 0;
    background: var(--white);
}

.spotlight-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.spotlight-content .section-subtitle { max-width: 440px; }

.spotlight-points {
    margin: 2rem 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}
.spotlight-point {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}
.spotlight-point-icon {
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.spotlight-point-icon svg { width: 13px; height: 13px; color: white; }
.spotlight-point-text strong { font-weight: 600; color: var(--primary); }
.spotlight-point-text p { font-size: 0.88rem; color: var(--text-muted); margin-top: 2px; }

/* Page builder diagram */
.builder-diagram {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    font-size: 0.8rem;
}
.diagram-page {
    background: var(--white);
    border: 2px dashed #d1d5db;
    border-radius: var(--radius);
    padding: 1rem;
}
.diagram-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.diagram-container {
    background: rgba(26,58,92,0.06);
    border: 1.5px solid rgba(26,58,92,0.2);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.625rem;
}
.diagram-container:last-child { margin-bottom: 0; }
.diagram-container-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.diagram-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.diagram-block {
    background: var(--white);
    border: 1px solid rgba(26,58,92,0.15);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.diagram-block-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ============================================================
   AI CHATBOT SPOTLIGHT
   ============================================================ */
#ai-chatbot {
    padding: 6rem 0;
    background: var(--bg-light);
    color: var(--text);
}

#ai-chatbot .section-label { color: var(--gold-dark); }
#ai-chatbot .section-title { color: var(--primary); }
#ai-chatbot .section-subtitle { color: var(--text-muted); }
#ai-chatbot .spotlight-point-icon { background: var(--primary); }
#ai-chatbot .spotlight-point-text strong { color: var(--primary); }
#ai-chatbot .spotlight-point-text p { color: var(--text-muted); }

/* Chat preview */
.chat-preview {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.chat-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 0.875rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: none;
}
.chat-header-avatar {
    width: 34px;
    height: 34px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-header-avatar svg { width: 18px; height: 18px; color: var(--primary); }
.chat-header-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.chat-header-status { font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.chat-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #34d399;
    border-radius: 50%;
    margin-right: 4px;
}
.chat-messages {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    background: var(--bg-light);
}
.chat-bubble {
    max-width: 80%;
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.5;
}
.chat-bubble-user {
    align-self: flex-end;
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
    font-weight: 500;
}
.chat-bubble-bot {
    align-self: flex-start;
    background: var(--white);
    color: var(--text);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border);
}
.chat-input-row {
    padding: 0.875rem 1.125rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.625rem;
    background: var(--white);
}
.chat-input-fake {
    flex: 1;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem 0.875rem;
    font-size: 0.78rem;
    color: var(--text-light);
}
.chat-send-btn {
    width: 34px;
    height: 34px;
    background: var(--gold);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-send-btn svg { width: 15px; height: 15px; color: var(--primary); }

/* ============================================================
   SCREENSHOTS
   ============================================================ */
#screenshots {
    padding: 6rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

.screenshot-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.screenshot-tab {
    padding: 0.5rem 1.125rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.screenshot-tab:hover { border-color: var(--primary); color: var(--primary); }
.screenshot-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.screenshot-viewer {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.screenshot-viewer-bar {
    background: #f1f3f5;
    padding: 0.6rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #e0e3e7;
}
.screenshot-dot { width: 10px; height: 10px; border-radius: 50%; }
.screenshot-dot:nth-child(1) { background: #ff5f57; }
.screenshot-dot:nth-child(2) { background: #febc2e; }
.screenshot-dot:nth-child(3) { background: #28c840; }
.screenshot-url {
    flex: 1;
    background: var(--white);
    border: 1px solid #dde0e5;
    border-radius: 6px;
    padding: 0.22rem 0.75rem;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-left: 0.5rem;
}
.screenshot-panel { display: none; }
.screenshot-panel.active { display: block; }
.screenshot-panel img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top;
}
.screenshot-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-mid);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    color: var(--text-light);
}
.screenshot-placeholder svg { width: 48px; height: 48px; opacity: 0.35; }
.screenshot-placeholder p { font-size: 0.85rem; }
.screenshot-placeholder small { font-size: 0.75rem; opacity: 0.7; }

/* ============================================================
   TECH STACK
   ============================================================ */
#tech-stack {
    padding: 4.5rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 2rem;
}
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
    align-items: center;
}
.tech-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.tech-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
}

.contact-info-items {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-info-icon {
    width: 42px;
    height: 42px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-info-text strong { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.contact-info-text p { font-size: 0.85rem; color: var(--text-muted); margin-top: 1px; }

/* Form */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow);
}
.contact-form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.375rem;
}
.contact-form-card > p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 1.5rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 0.875rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    width: 100%;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,58,92,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-submit { width: 100%; justify-content: center; }

.form-success {
    display: none;
    text-align: center;
    padding: 1.5rem;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: var(--radius);
    color: #065f46;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.65);
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
}
.footer-logo-badge {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-badge svg { width: 16px; height: 16px; color: var(--gold); }

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 540px; margin: 0 auto; }
    .hero-badge { display: none; }
    .hero-subtitle { max-width: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .spotlight-inner { grid-template-columns: 1fr; gap: 3rem; }
    .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .features-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-links { gap: 1.25rem; }
    .screenshot-tabs { gap: 0.375rem; }
    #hero { padding: 4rem 0 3.5rem; }
    #features, #page-builder, #ai-chatbot, #screenshots, #contact { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .btn-lg { padding: 0.875rem 1.75rem; font-size: 0.95rem; }
    .contact-form-card { padding: 1.5rem; }
    .screenshot-tab { font-size: 0.78rem; padding: 0.4rem 0.875rem; }
}
