/* ============================================================
   IFA Central — Landing Page Stylesheet
   ============================================================
   Aesthetic: modern editorial (Stripe / Linear / Vercel 2026)
   - Warm off-white background, emerald accent
   - Sharp typography, generous whitespace
   - Glassmorphism used ONLY as accents (sticky nav, hero card hover)
   - Subtle gradient orbs for depth, never the whole skin
   - Mobile-first, responsive at 640px / 960px / 1280px
   ============================================================ */

/* ============================================================
   PAGE BASE OVERRIDES (only when .landing class is on body)
   ============================================================ */

body.landing {
    background: #FAFAF7;
    color: var(--ink-900);
    font-family: var(--font-sans);
    line-height: 1.55;
    overflow-x: hidden;
}

.land-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   DECORATIVE BACKGROUND ORBS
   Soft, blurred radial gradients. Adds depth without taking
   over. Positioned far apart so they don't compete.
   ============================================================ */

.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.orb-1 {
    width: 480px; height: 480px;
    top: -140px; right: -140px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22), transparent 70%);
}
.orb-2 {
    width: 520px; height: 520px;
    top: 50%; left: -200px;
    background: radial-gradient(circle, rgba(180, 130, 80, 0.10), transparent 70%);
}
.orb-3 {
    width: 380px; height: 380px;
    bottom: 10%; right: 5%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
}

/* ============================================================
   STICKY NAV — glassmorphism accent
   ============================================================ */

.land-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 250, 247, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.land-nav.scrolled {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    background: rgba(250, 250, 247, 0.92);
}

.land-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-block .brand-mark {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 10px -3px rgba(6, 78, 59, 0.35);
}
.brand-block .brand-name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--emerald-900);
    letter-spacing: -0.01em;
}
.brand-block .brand-name em {
    font-style: italic;
    color: var(--emerald-700);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 28px;
    margin: 0 auto;
}
.nav-links a {
    color: var(--ink-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s var(--ease-out);
}
.nav-links a:hover { color: var(--emerald-700); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-ghost-nav {
    padding: 8px 14px;
    color: var(--ink-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}
.btn-ghost-nav:hover { background: rgba(6, 78, 59, 0.06); color: var(--emerald-800); }

.btn-cta-nav {
    padding: 8px 16px;
    background: var(--emerald-700);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s var(--ease-out);
    box-shadow: 0 2px 6px -1px rgba(6, 78, 59, 0.25);
}
.btn-cta-nav:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(6, 78, 59, 0.4);
}

.nav-burger {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink-700);
}
.nav-burger:hover { background: rgba(0,0,0,0.04); }
.nav-burger svg { width: 22px; height: 22px; display: block; margin: auto; }

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    background: rgba(250, 250, 247, 0.98);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu a {
    padding: 12px 0;
    color: var(--ink-700);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.mobile-menu hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 8px 0;
}
.mobile-menu .mobile-cta {
    margin-top: 8px;
    background: var(--emerald-700);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 12px 16px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding: 96px 0 96px;
    position: relative;
}
.hero-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    background: white;
    border: 1px solid rgba(6, 78, 59, 0.10);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--emerald-800);
    box-shadow: 0 2px 8px -2px rgba(6, 78, 59, 0.10);
}
.hero-eyebrow .dot {
    width: 7px; height: 7px;
    background: var(--emerald-500);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.hero-title {
    margin: 28px 0 20px;
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--emerald-900);
}
.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--emerald-700);
}

.hero-sub {
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6;
    color: var(--ink-600);
    max-width: 680px;
    margin: 0 auto 36px;
}

.hero-ctas {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--emerald-700);
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.18s var(--ease-out);
    box-shadow: 0 6px 20px -6px rgba(6, 78, 59, 0.45),
                0 2px 4px -1px rgba(6, 78, 59, 0.2);
}
.btn-cta-large:hover {
    background: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(6, 78, 59, 0.5),
                0 4px 8px -2px rgba(6, 78, 59, 0.25);
}
.btn-cta-large svg {
    width: 16px; height: 16px;
    transition: transform 0.2s var(--ease-out);
}
.btn-cta-large:hover svg { transform: translateX(3px); }

.btn-secondary-large {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    background: white;
    color: var(--ink-700);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.15s var(--ease-out);
}
.btn-secondary-large:hover {
    background: rgba(255,255,255,0.6);
    border-color: rgba(6, 78, 59, 0.25);
    color: var(--emerald-800);
}

.hero-foot {
    margin-top: 18px;
    font-size: 13px;
    color: var(--ink-500);
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-head .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald-700);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--emerald-900);
    line-height: 1.15;
    margin: 0 0 14px;
}
.section-head .lede {
    font-size: 16px;
    color: var(--ink-600);
    line-height: 1.6;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */

.features { padding: 96px 0; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.f-card {
    padding: 28px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s var(--ease-out);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.f-card:hover {
    border-color: rgba(6, 78, 59, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -10px rgba(6, 78, 59, 0.15),
                0 4px 10px -4px rgba(6, 78, 59, 0.08);
}
.f-icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}
.f-icon svg { width: 22px; height: 22px; }
.f-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--emerald-900);
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}
.f-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-600);
    margin: 0;
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */

.screenshots { padding: 96px 0; background: rgba(255,255,255,0.5); }
.ss-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.ss-card { display: flex; flex-direction: column; gap: 12px; }
.ss-large { grid-row: span 2; }

.ss-frame {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px -12px rgba(6, 78, 59, 0.18),
                0 4px 10px -4px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0,0,0,0.05);
}
.ss-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f7f7f5;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ss-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #e0ddd6;
}
.ss-dot:nth-child(1) { background: #ff5f57; }
.ss-dot:nth-child(2) { background: #febc2e; }
.ss-dot:nth-child(3) { background: #28c840; }
.ss-addr {
    margin-left: 12px;
    font-size: 11px;
    color: var(--ink-500);
    background: white;
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.04);
}
.ss-canvas {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f8f8f5, #ecece8);
    position: relative;
    overflow: hidden;
}
.ss-canvas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.ss-canvas.placeholder { display: grid; place-items: center; }
.ss-placeholder {
    font-size: 13px;
    color: var(--ink-400);
    font-style: italic;
}
.ss-caption {
    font-size: 13.5px;
    color: var(--ink-600);
    text-align: center;
    margin: 0;
}

/* Large screenshot uses 16:9 instead of 16:10 */
.ss-large .ss-canvas { aspect-ratio: 16 / 9; }

/* ============================================================
   FAQ
   ============================================================ */

.faq { padding: 96px 0; }
.faq-container { max-width: 760px; }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s var(--ease-out);
}
.faq-item:hover { border-color: rgba(6, 78, 59, 0.18); }
.faq-item[open] { border-color: rgba(6, 78, 59, 0.22); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--emerald-900);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev {
    width: 18px; height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease-out);
    color: var(--emerald-600);
}
.faq-item[open] .chev { transform: rotate(180deg); }

.faq-body {
    padding: 0 22px 22px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-600);
}
.faq-body p { margin: 0; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact { padding: 96px 0; }
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px -20px rgba(6, 78, 59, 0.2),
                0 8px 16px -8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.contact-left {
    padding: 48px 44px;
    background: linear-gradient(135deg, var(--emerald-50) 0%, white 80%);
    border-right: 1px solid rgba(0,0,0,0.04);
}
.contact-left .eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald-700);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.contact-left h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--emerald-900);
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    line-height: 1.2;
}
.contact-left p {
    color: var(--ink-600);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 32px;
}
.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.meta-item strong {
    font-size: 11px;
    font-weight: 600;
    color: var(--emerald-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.meta-item span {
    font-size: 14px;
    color: var(--ink-700);
}

.contact-form {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-700);
}
.contact-form label .opt {
    color: var(--ink-400);
    font-weight: 400;
    font-size: 12px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink-900);
    background: white;
    transition: all 0.15s var(--ease-out);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.contact-form .honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.contact-form button {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}
.contact-status {
    font-size: 13px;
    line-height: 1.5;
    min-height: 0;
    transition: min-height 0.2s var(--ease-out);
}
.contact-status.success {
    color: #065f46;
    background: #d1fae5;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #a7f3d0;
}
.contact-status.error {
    color: #991b1b;
    background: #fee2e2;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #fecaca;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: linear-gradient(180deg, transparent, rgba(6, 78, 59, 0.04));
    padding: 64px 0 0;
    position: relative;
    z-index: 2;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
}
.footer-brand .brand-block { margin-bottom: 14px; }
.footer-tag {
    font-size: 13.5px;
    color: var(--ink-600);
    max-width: 280px;
    line-height: 1.55;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.footer-col h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald-800);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
}
.footer-col a {
    display: block;
    color: var(--ink-600);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.15s var(--ease-out);
}
.footer-col a:hover { color: var(--emerald-700); }

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-bottom-inner span {
    font-size: 12.5px;
    color: var(--ink-500);
}
.footer-meta {
    font-weight: 500;
    color: var(--emerald-700) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ss-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .ss-large { grid-row: auto; }
    .contact-card { grid-template-columns: 1fr; }
    .contact-left { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.04); padding: 36px 32px; }
    .contact-form { padding: 36px 32px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: block; }
    /* Mobile menu is shown via JS toggle (class .open + removal of hidden attribute) */
    .mobile-menu.open:not([hidden]) { display: flex; }

    .hero { padding: 64px 0 64px; }
    .hero-title { font-size: 34px; }
    .hero-sub { font-size: 15px; }
    .btn-cta-large, .btn-secondary-large {
        width: 100%;
        justify-content: center;
    }
    .hero-ctas { flex-direction: column; width: 100%; }

    .features, .screenshots, .faq, .contact { padding: 64px 0; }
    .feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .f-card { padding: 22px; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 36px;
    }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .contact-left { padding: 28px 24px; }
    .contact-form { padding: 28px 24px; }
    .contact-left h2 { font-size: 22px; }

    .faq-item summary { padding: 16px 18px; font-size: 15px; }
    .faq-body { padding: 0 18px 18px; }
}

@media (max-width: 480px) {
    .land-container { padding: 0 18px; }
    .hero-title { font-size: 28px; }
    .section-head h2 { font-size: 24px; }
    .section-head { margin-bottom: 36px; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
