/* SkyBooks — Marketing Site CSS */

/* ─── Variables ──────────────────────────────────────────── */
:root {
    --bg:           #080c14;
    --bg-surface:   #0c1220;
    --bg-elevated:  #111d31;
    --bg-card:      #0e1829;

    --accent:       #4d7cfe;
    --accent-soft:  rgba(77, 124, 254, 0.12);
    --accent-glow:  rgba(77, 124, 254, 0.25);
    --accent-border:rgba(77, 124, 254, 0.35);

    --green:        #4ade80;
    --green-soft:   rgba(74, 222, 128, 0.12);
    --yellow:       #fbbf24;
    --yellow-soft:  rgba(251, 191, 36, 0.12);
    --red:          #f87171;
    --red-soft:     rgba(248, 113, 113, 0.12);

    --text:         #dde4f2;
    --text-dim:     #6b7fa3;
    --text-dimmer:  #3d4e6b;
    --border:       rgba(255, 255, 255, 0.07);
    --border-md:    rgba(255, 255, 255, 0.12);

    --font:         'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --r-sm:  6px;
    --r-md:  10px;
    --r-lg:  16px;
    --r-xl:  24px;

    --t-fast:   0.15s ease;
    --t-normal: 0.3s ease;

    --navbar-bg:         rgba(8, 12, 20, 0.85);
    --navbar-bg-solid:   rgba(10, 15, 26, 0.98);
}

/* ─── Light theme overrides ─────────────────────────────── */
[data-theme="light"] {
    --bg:           #f2f5fb;
    --bg-surface:   #e8ecf6;
    --bg-elevated:  #dce3f2;
    --bg-card:      #ffffff;

    --text:         #0d1525;
    --text-dim:     #47587a;
    --text-dimmer:  #8a9bbf;
    --border:       rgba(0, 0, 0, 0.07);
    --border-md:    rgba(0, 0, 0, 0.13);
}

    --navbar-bg:         rgba(242, 245, 251, 0.88);
    --navbar-bg-solid:   rgba(238, 241, 248, 0.98);
}

/* Dot grid inverts in light mode */
[data-theme="light"] .hero::before {
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.06) 1px, transparent 0);
}

/* Hero glow softens in light */
[data-theme="light"] .hero {
    background:
        radial-gradient(ellipse 70% 50% at 65% -10%, rgba(77,124,254,0.10) 0%, transparent 65%),
        var(--bg);
}

/* Window dots stay coloured in light */
[data-theme="light"] .appWindow {
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.08),
        0 24px 48px rgba(0,0,0,0.15),
        0 0 60px rgba(77,124,254,0.06);
}

/* Status tags need slightly more opacity in light */
[data-theme="light"] .tagPaid    { background: rgba(74,222,128,0.15); }
[data-theme="light"] .tagSent    { background: rgba(251,191,36,0.15); }
[data-theme="light"] .tagOverdue { background: rgba(248,113,113,0.15); }

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

/* ─── Utilities ──────────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text); }
p { color: var(--text-dim); }
a { text-decoration: none; }

/* ─── Buttons ────────────────────────────────────────────── */
.btnPrimary, .btnGhost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: var(--r-md);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--t-fast);
    white-space: nowrap;
}

.btnPrimary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btnPrimary:hover {
    background: #6590ff;
    box-shadow: 0 6px 28px rgba(77,124,254,0.4);
    transform: translateY(-1px);
    color: #fff;
}

.btnGhost {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border-md);
}
.btnGhost:hover {
    border-color: var(--accent-border);
    color: var(--text);
    transform: translateY(-1px);
}

.btnLarge { padding: 14px 28px; font-size: 1rem; }
.btnFull  { width: 100%; }

/* ─── Navigation ─────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 68px;
    background: var(--navbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background var(--t-normal), box-shadow var(--t-normal);
}

.navContainer {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navLogo .logo { height: 36px; width: auto; }

.navMenu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navLink {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background var(--t-fast);
}
.navLink:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.navButtons { display: flex; align-items: center; gap: 10px; }

.themeToggle {
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid var(--border-md);
    border-radius: var(--r-sm);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t-fast);
    flex-shrink: 0;
}
.themeToggle:hover {
    background: var(--bg-surface);
    color: var(--text);
    border-color: var(--accent-border);
}

.themeToggle .moonIcon { display: none; }
.themeToggle .sunIcon  { display: block; }

[data-theme="light"] .themeToggle .moonIcon { display: block; }
[data-theme="light"] .themeToggle .sunIcon  { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dim);
    border-radius: 2px;
    transition: var(--t-fast);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 140px 0 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 65% -10%, rgba(77,124,254,0.18) 0%, transparent 65%),
        var(--bg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.heroContainer {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.heroBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-md);
    background: var(--bg-surface);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.heroTitle {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text);
}

.accentText {
    background: linear-gradient(135deg, #4d7cfe, #7ba7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heroSubtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 480px;
}

.heroButtons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* App Window Mockup */
.heroVisual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.appWindow {
    background: var(--bg-surface);
    border: 1px solid var(--border-md);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 32px 64px rgba(0,0,0,0.6),
        0 0 80px rgba(77,124,254,0.08);
    width: 100%;
    max-width: 460px;
    position: relative;
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transition: transform var(--t-normal);
}
.appWindow:hover {
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.appWindowBar {
    background: var(--bg-elevated);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.windowDots { display: flex; gap: 6px; }
.windowDots span {
    width: 11px; height: 11px;
    border-radius: 50%;
}
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #22c55e; }

.windowUrl {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dimmer);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 10px;
}
.windowBarRight { width: 50px; }

.appWindowContent {
    display: flex;
    min-height: 280px;
}

.appSidebar {
    width: 44px;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.sidebarLogo {
    width: 26px; height: 26px;
    border-radius: 6px;
    background: var(--accent);
    margin-bottom: 8px;
    opacity: 0.9;
}

.sidebarItem {
    width: 28px; height: 6px;
    border-radius: 3px;
    background: var(--border-md);
}
.sidebarItem.active { background: var(--accent); opacity: 0.7; }

.appMain {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appTopRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appPageTitle { font-size: 0.8rem; font-weight: 700; color: var(--text); }

.badgePaid {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-soft);
    border: 1px solid rgba(74,222,128,0.2);
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.appClientName {
    font-size: 0.75rem;
    color: var(--text-dim);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.appLineItems { display: flex; flex-direction: column; gap: 6px; }

.appLineItem {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text);
}
.appLineItemDim { color: var(--text-dim); }

.appTotalRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--border-md);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

/* Floating notification */
.appNotif {
    position: absolute;
    bottom: -14px;
    right: -16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-md);
    border-radius: var(--r-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 10;
}

.notifIcon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--green-soft);
    border: 1px solid rgba(74,222,128,0.3);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.notifTitle { font-size: 0.75rem; font-weight: 700; color: var(--text); }
.notifSub   { font-size: 0.7rem; color: var(--text-dim); }

/* Hero stat strip */
.heroStatStrip {
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.heroStat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 48px;
    gap: 4px;
}

.heroStatNum {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.heroStatLabel {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.heroStatDivider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ─── Section commons ────────────────────────────────────── */
.sectionTag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.sectionHeader { text-align: center; margin-bottom: 56px; }

.sectionTitle {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.sectionSubtitle {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 520px;
    margin: 0 auto;
}

/* ─── Features ───────────────────────────────────────────── */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.featuresGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.featureCard {
    background: var(--bg-surface);
    padding: 32px;
    transition: background var(--t-normal);
}
.featureCard:hover { background: var(--bg-elevated); }

.featureIcon {
    width: 42px; height: 42px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 18px;
}

.featureCard h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.featureCard p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0;
}

/* ─── Why SkyBooks ───────────────────────────────────────── */
.whySection {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.whyGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.whyText .sectionTag { margin-bottom: 20px; }

.whyText h2 {
    font-size: 2.1rem;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.15;
}

.whyText p {
    font-size: 0.97rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    line-height: 1.7;
}

.whyList {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.whyList li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.whyCheck {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Why card (invoice dashboard visual) */
.whyVisual { display: flex; justify-content: center; }

.whyCard {
    background: var(--bg-card);
    border: 1px solid var(--border-md);
    border-radius: var(--r-lg);
    padding: 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.whyCardHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.whyCardTitle { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.whyCardMeta  { font-size: 0.78rem; color: var(--text-dim); }

.whyCardStats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.whyStat { display: flex; flex-direction: column; gap: 4px; }

.whyStatVal {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}
.whyStatLabel { font-size: 0.72rem; color: var(--text-dim); }

.statGreen  { color: var(--green); }
.statYellow { color: var(--yellow); }
.statRed    { color: var(--red); }

.whyCardInvoices { display: flex; flex-direction: column; gap: 10px; }

.whyInvoiceRow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
}

.statusDot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dotGreen  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.dotYellow { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.dotRed    { background: var(--red); box-shadow: 0 0 6px var(--red); }

.whyInvNum  { flex: 1; color: var(--text-dim); font-size: 0.76rem; }
.whyInvAmt  { font-weight: 600; color: var(--text); font-size: 0.76rem; }

.invTag {
    font-size: 0.67rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}
.tagPaid    { background: var(--green-soft);  color: var(--green);  border: 1px solid rgba(74,222,128,0.25); }
.tagSent    { background: var(--yellow-soft); color: var(--yellow); border: 1px solid rgba(251,191,36,0.25); }
.tagOverdue { background: var(--red-soft);    color: var(--red);    border: 1px solid rgba(248,113,113,0.25); }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonials {
    padding: 100px 0;
    background: var(--bg);
}

.carousel-wrapper {
    position: relative;
    padding: 2rem 0 4rem;
    overflow: hidden;
    height: 500px;
}

.carousel {
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.carousel-card {
    position: absolute;
    width: 300px;
    padding: 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: all 0.5s ease;
    visibility: hidden;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.carousel-card.active {
    transform: translate(-50%, -50%) scale(1.0);
    opacity: 1;
    z-index: 10;
    visibility: visible;
    background: var(--bg-elevated);
    border-color: var(--accent-border);
    box-shadow: 0 0 0 1px var(--accent-border), 0 16px 48px rgba(77,124,254,0.2);
}

.carousel-card.prev {
    transform: translate(calc(-50% - 220px), -50%) scale(0.88);
    opacity: 0.4;
    z-index: 5;
    visibility: visible;
}

.carousel-card.next {
    transform: translate(calc(-50% + 220px), -50%) scale(0.88);
    opacity: 0.4;
    z-index: 5;
    visibility: visible;
}

.testimonialStars {
    color: var(--yellow);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonialText {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-dim);
    margin-bottom: 20px;
    font-style: italic;
}

.carousel-card.active .testimonialText { color: var(--text-dim); }

.testimonialAuthor {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.testimonialAvatar {
    width: 38px; height: 38px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.testimonialInfo h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.testimonialInfo span {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 20;
    padding: 0 9rem;
    pointer-events: none;
}

.nav-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-md);
    color: var(--text-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
    font-size: 0.7rem;
    transition: all var(--t-fast);
}
.nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.carousel-pagination {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.pagination-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-dimmer);
    border: none;
    cursor: pointer;
    transition: all var(--t-fast);
}
.pagination-dot.active {
    background: var(--accent);
    width: 20px;
    border-radius: 3px;
}

/* ─── Contact ─────────────────────────────────────────────── */
.contact {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.contactContent {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
}

.contactInfo {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

.contactItem {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contactIcon {
    width: 40px; height: 40px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contactItem h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.contactItem p {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin: 0;
}

.contactForm {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
}

.formGroup { margin-bottom: 16px; }

.formGroup input,
.formGroup textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-md);
    border-radius: var(--r-md);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.92rem;
    transition: border-color var(--t-fast);
}

.formGroup input::placeholder,
.formGroup textarea::placeholder { color: var(--text-dimmer); }

.formGroup input:focus,
.formGroup textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.formGroup textarea {
    resize: vertical;
    min-height: 110px;
}

.captchaLabel {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

/* SkyL4rk Captcha */
#patternLock {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4px 0 8px;
}

#lockPath {
    border: 1px solid var(--border-md);
    border-radius: var(--r-md);
    background: var(--bg-elevated);
    cursor: crosshair;
    max-width: 100%;
}

.pattern-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
    gap: 10px;
    color: var(--text-dim);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}

.footerContent {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footerLogoImg {
    height: 32px;
    margin-bottom: 14px;
    display: block;
}

.footerBrand p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.footerSection h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.footerSection ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footerSection ul li a {
    font-size: 0.88rem;
    color: var(--text-dim);
    transition: color var(--t-fast);
}
.footerSection ul li a:hover { color: var(--text); }

.socialLinks { display: flex; gap: 8px; }

.socialLinks a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all var(--t-fast);
}
.socialLinks a:hover {
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--accent);
}

.footerBottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footerBottom p {
    font-size: 0.82rem;
    color: var(--text-dimmer);
    margin: 0;
}
.footerBottom strong { color: var(--text-dim); }

.footerLinks { display: flex; gap: 20px; }

.footerLinks a {
    font-size: 0.82rem;
    color: var(--text-dimmer);
    transition: color var(--t-fast);
}
.footerLinks a:hover { color: var(--text); }

/* ─── Legal pages ────────────────────────────────────────── */
.legalContent {
    padding: 120px 0 80px;
    background: var(--bg);
}

.legalHeader {
    text-align: center;
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.legalHeader h1 { font-size: 2.5rem; letter-spacing: -0.02em; }

.legalSubtitle { font-size: 1rem; color: var(--text-dim); }

.legalBody { max-width: 760px; margin: 0 auto; }

.legalSection { margin-bottom: 48px; }

.legalSection h2 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.legalSection h3 { font-size: 1.1rem; margin: 20px 0 10px; }

.legalSection p { margin-bottom: 14px; line-height: 1.7; font-size: 0.95rem; }

.legalSection ul, .legalSection ol {
    margin-bottom: 14px;
    padding-left: 24px;
}

.legalSection li { margin-bottom: 6px; line-height: 1.6; color: var(--text-dim); font-size: 0.95rem; }

.legalSection strong { color: var(--text); font-weight: 600; }

.legalSection .contactInfo {
    background: var(--bg-surface);
    padding: 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    margin-top: 14px;
}

/* ─── Scroll animations ──────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .featuresGrid { grid-template-columns: repeat(2, 1fr); }
    .heroTitle { font-size: 2.8rem; }
}

@media (max-width: 900px) {
    .heroContainer { grid-template-columns: 1fr; gap: 48px; }
    .heroTitle { font-size: 2.6rem; }
    .heroSubtitle { max-width: 100%; }
    .heroVisual { justify-content: center; }
    .appWindow { transform: none !important; max-width: 400px; }
    .whyGrid { grid-template-columns: 1fr; gap: 48px; }
    .contactContent { grid-template-columns: 1fr; gap: 40px; }
    .footerContent { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .navMenu {
        position: fixed;
        top: 68px; left: -100%;
        width: 100%;
        height: calc(100vh - 68px);
        background: var(--bg-surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 4px;
        transition: left var(--t-normal);
        border-top: 1px solid var(--border);
        z-index: 999;
    }
    .navMenu.active { left: 0; }
    .navLink { width: 100%; padding: 12px 14px; font-size: 1rem; }
    .navButtons { display: none; }

    .heroContent { text-align: center; }
    .heroTitle { font-size: 2.2rem; }
    .heroButtons { justify-content: center; }
    .heroBadge { margin: 0 auto 20px; }
    .heroStatStrip { flex-wrap: wrap; }
    .heroStat { padding: 18px 24px; }
    .heroStatDivider { display: none; }

    .featuresGrid { grid-template-columns: 1fr; }
    .sectionTitle { font-size: 1.8rem; }

    .carousel-card.prev, .carousel-card.next { visibility: hidden; opacity: 0; }
    .carousel-nav { padding: 0 1.5rem; }
    .carousel-wrapper { height: 560px; }

    .footerContent { grid-template-columns: 1fr; }
    .footerBottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding-top: 100px; }
    .heroTitle { font-size: 1.9rem; }
    .heroButtons { flex-direction: column; align-items: center; }
    .btnLarge { width: 100%; max-width: 280px; }
    .whyCard { max-width: 100%; }
}

/* ─── Focus styles ────────────────────────────────────────── */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Print */
@media print {
    .navbar, .footer, .btnPrimary, .btnGhost { display: none; }
    body { background: white; color: black; }
    .legalContent { padding: 0; }
}
