/* AeroCoreMX public marketing site — deliberately its own design system, separate
   from assets/css/design-system.css (the operational app's dark/teal UI). Navy /
   orange / white, matching the look established for the User Manual. */
:root {
    --mkt-navy: #0B2545;
    --mkt-navy-deep: #071A33;
    --mkt-navy-2: #13315C;
    --mkt-orange: #F4623A;
    --mkt-orange-dark: #D94F2B;
    --mkt-white: #FFFFFF;
    --mkt-ink: #10233F;
    --mkt-muted: #5B6B82;
    --mkt-border: #E2E8F0;
    --mkt-surface: #F7F9FC;
    --mkt-radius-lg: 16px;
    --mkt-radius-md: 10px;
    --mkt-shadow: 0 12px 32px rgba(11, 37, 69, 0.12);
    --mkt-space-1: 8px;
    --mkt-space-2: 16px;
    --mkt-space-3: 24px;
    --mkt-space-4: 40px;
    --mkt-space-5: 64px;
}

.mkt { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--mkt-ink); background: var(--mkt-white); line-height: 1.55; }
.mkt * { box-sizing: border-box; }
.mkt img { max-width: 100%; display: block; }
.mkt a { color: var(--mkt-orange-dark); text-decoration: none; }
.mkt a:hover { text-decoration: underline; }
.mkt .container { max-width: 1180px; margin: 0 auto; padding: 0 var(--mkt-space-3); }
.mkt section { padding: var(--mkt-space-5) 0; }
.mkt h1, .mkt h2, .mkt h3, .mkt h4 { margin: 0 0 var(--mkt-space-2); font-weight: 800; color: var(--mkt-navy); line-height: 1.15; }
.mkt h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.mkt h3 { font-size: 1.25rem; }
.mkt p { margin: 0 0 var(--mkt-space-2); }
.mkt .eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--mkt-orange-dark); margin-bottom: var(--mkt-space-1); }
.mkt .lead { font-size: 1.15rem; color: var(--mkt-muted); max-width: 720px; }
.mkt .section-head { text-align: center; max-width: 720px; margin: 0 auto var(--mkt-space-4); }

/* Buttons */
.mkt .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.mkt .btn:hover { text-decoration: none; transform: translateY(-1px); }
.mkt .btn-orange { background: var(--mkt-orange); color: #fff; box-shadow: 0 8px 20px rgba(244, 98, 58, 0.35); }
.mkt .btn-orange:hover { background: var(--mkt-orange-dark); }
.mkt .btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.mkt .btn-outline:hover { background: rgba(255,255,255,0.12); }
.mkt .btn-navy { background: var(--mkt-navy); color: #fff; }
.mkt .btn-navy:hover { background: var(--mkt-navy-2); }

/* Nav */
.mkt-nav { position: sticky; top: 0; z-index: 40; background: rgba(11,37,69,0.96); backdrop-filter: blur(6px); }
.mkt-nav .container { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--mkt-space-3); }
.mkt-nav .brand { display: flex; align-items: center; gap: 10px; }
.mkt-nav .brand img.mkt-nav-logo { height: 52px; width: auto; background: #fff; border-radius: 8px; padding: 6px 14px; }
@media (min-width: 900px) { .mkt-nav .brand img.mkt-nav-logo { height: 60px; } }
.mkt-nav .links { display: none; gap: var(--mkt-space-3); align-items: center; }
.mkt-nav .links a { color: #E2E8F0; font-weight: 600; font-size: 0.92rem; }
.mkt-nav .links a:hover { color: #fff; text-decoration: none; }
@media (min-width: 900px) { .mkt-nav .links { display: flex; } }

/* Hero */
.mkt-hero { position: relative; background: linear-gradient(180deg, var(--mkt-navy-deep), var(--mkt-navy) 70%); background-size: cover; background-position: center; color: #fff; padding: var(--mkt-space-5) 0 calc(var(--mkt-space-5) + 20px); overflow: hidden; }
.mkt-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,51,0.78), rgba(7,26,51,0.92)); }
.mkt-hero .container { position: relative; text-align: center; }
.mkt-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 900px; margin: 0 auto var(--mkt-space-2); }
.mkt-hero .lead { color: #CBD5E1; margin: 0 auto var(--mkt-space-4); }
.mkt-hero .cta-row { display: flex; gap: var(--mkt-space-2); justify-content: center; flex-wrap: wrap; }

/* Tabs */
.mkt-tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: var(--mkt-space-4); }
.mkt-tab-btn { padding: 10px 20px; border-radius: 999px; border: 2px solid var(--mkt-border); background: #fff; font-weight: 700; font-size: 0.9rem; color: var(--mkt-navy); cursor: pointer; }
.mkt-tab-btn.active { background: var(--mkt-navy); border-color: var(--mkt-navy); color: #fff; }
.mkt-tab-panel { display: none; background: var(--mkt-surface); border-radius: var(--mkt-radius-lg); padding: var(--mkt-space-4); }
.mkt-tab-panel.active { display: grid; grid-template-columns: 1fr; gap: var(--mkt-space-3); }
@media (min-width: 800px) { .mkt-tab-panel.active { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.mkt-tab-panel ul { margin: 0; padding-left: 1.2em; color: var(--mkt-muted); }
.mkt-tab-panel li { margin-bottom: 8px; }
.mkt-tab-visual { background: #fff; border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius-md); min-height: 200px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--mkt-navy); }

/* Cards / grids */
.mkt-grid { display: grid; gap: var(--mkt-space-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mkt-card { background: #fff; border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius-lg); padding: var(--mkt-space-3); }
.mkt-card .icon { font-size: 1.8rem; margin-bottom: var(--mkt-space-1); }
.mkt-card h3 { margin-bottom: 8px; }
.mkt-card p { color: var(--mkt-muted); margin-bottom: 0; font-size: 0.95rem; }
.mkt-surface { background: var(--mkt-surface); }

/* Screenshot gallery */
.mkt-shot { border-radius: var(--mkt-radius-md); overflow: hidden; border: 1px solid var(--mkt-border); box-shadow: var(--mkt-shadow); background: #0B2545; position: relative; }
.mkt-shot.mkt-lightbox-trigger { cursor: zoom-in; }
.mkt-shot img { width: 100%; height: 220px; object-fit: contain; display: block; }
.mkt-shot-placeholder { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; background: var(--mkt-surface); color: var(--mkt-muted); font-size: 0.9rem; text-align: center; padding: var(--mkt-space-2); }
.mkt-shot-zoom { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(11,37,69,0.92), transparent); color: #fff; font-size: 0.78rem; font-weight: 700; text-align: center; padding: 18px 8px 8px; pointer-events: none; }

/* Device mockup */
.mkt-devices { display: flex; flex-wrap: wrap; gap: var(--mkt-space-4); justify-content: center; align-items: flex-end; }
.mkt-device-desktop { width: min(560px, 100%); }
.mkt-device-desktop .screen { background: var(--mkt-navy-deep); border-radius: 10px 10px 0 0; padding: 10px 10px 0; box-shadow: var(--mkt-shadow); }
.mkt-device-desktop .screen .mkt-lightbox-trigger { cursor: zoom-in; display: block; }
.mkt-device-desktop .screen img, .mkt-device-desktop .screen .mkt-shot-placeholder { border-radius: 4px; height: 300px; object-fit: contain; width: 100%; background: #050D1A; }
.mkt-device-desktop .stand { height: 22px; background: #CBD5E1; border-radius: 0 0 8px 8px; margin: 0 auto; width: 40%; }
.mkt-device-desktop .base { height: 10px; background: #94A3B8; border-radius: 4px; width: 60%; margin: 4px auto 0; }
.mkt-device-ipad { width: min(220px, 60%); background: var(--mkt-navy-deep); border-radius: 22px; padding: 14px 10px; box-shadow: var(--mkt-shadow); }
.mkt-device-ipad .screen .mkt-lightbox-trigger { cursor: zoom-in; display: block; }
.mkt-device-ipad .screen img, .mkt-device-ipad .screen .mkt-shot-placeholder { border-radius: 4px; height: 300px; object-fit: contain; width: 100%; background: #050D1A; }
.mkt-device-ipad .home { width: 10px; height: 10px; border-radius: 50%; background: #475569; margin: 8px auto 0; }

/* Lightbox */
.mkt-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7,26,51,0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--mkt-space-4); }
.mkt-lightbox[hidden] { display: none; }
.mkt-lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.mkt-lightbox-caption { color: #CBD5E1; margin-top: var(--mkt-space-2); font-size: 0.9rem; text-align: center; }
.mkt-lightbox-close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 8px; }
.mkt-lightbox-close:hover { color: var(--mkt-orange); }

/* Pricing */
.mkt-price-toggle { display: flex; justify-content: center; align-items: center; gap: var(--mkt-space-2); margin-bottom: var(--mkt-space-4); }
.mkt-price-toggle .switch { position: relative; width: 56px; height: 30px; background: var(--mkt-border); border-radius: 999px; cursor: pointer; border: none; }
.mkt-price-toggle .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: left 0.15s ease; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.mkt-price-toggle .switch.on { background: var(--mkt-orange); }
.mkt-price-toggle .switch.on::after { left: 29px; }
.mkt-price-toggle .save-badge { background: rgba(244,98,58,0.12); color: var(--mkt-orange-dark); font-weight: 700; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; }
.mkt-pricing-grid { display: grid; gap: var(--mkt-space-3); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.mkt-price-card { background: #fff; border: 2px solid var(--mkt-border); border-radius: var(--mkt-radius-lg); padding: var(--mkt-space-3); display: flex; flex-direction: column; }
.mkt-price-card.featured { border-color: var(--mkt-orange); box-shadow: 0 16px 40px rgba(244,98,58,0.18); position: relative; }
.mkt-price-card.featured::before { content: "MOST POPULAR"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--mkt-orange); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; padding: 4px 14px; border-radius: 999px; }
.mkt-price-card.coming-soon { opacity: 0.7; }
.mkt-price-card .tier-name { font-weight: 800; font-size: 1.15rem; color: var(--mkt-navy); }
.mkt-price-card .price { font-size: 2.2rem; font-weight: 800; color: var(--mkt-navy); margin: var(--mkt-space-1) 0; }
.mkt-price-card .price small { font-size: 0.95rem; font-weight: 600; color: var(--mkt-muted); }
.mkt-price-card .locations { color: var(--mkt-muted); font-size: 0.85rem; margin-bottom: var(--mkt-space-2); }
.mkt-price-card ul { list-style: none; margin: 0 0 var(--mkt-space-3); padding: 0; flex: 1; }
.mkt-price-card li { padding: 6px 0; font-size: 0.9rem; display: flex; gap: 8px; }
.mkt-price-card li::before { content: "✓"; color: var(--mkt-orange-dark); font-weight: 800; }
.mkt-price-card .coming-soon-badge { display: inline-block; background: var(--mkt-navy-2); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; margin-bottom: var(--mkt-space-2); }
.mkt-annual-note { display: none; font-size: 0.78rem; color: var(--mkt-orange-dark); font-weight: 700; }
.mkt.annual .mkt-annual-note { display: block; }
.mkt.annual .mkt-monthly-only { display: none; }
.mkt-annual-only { display: none; }
.mkt.annual .mkt-annual-only { display: inline; }
.mkt-monthly-label, .mkt-annual-label { font-weight: 700; color: var(--mkt-muted); }
.mkt.annual .mkt-monthly-label { color: var(--mkt-muted); font-weight: 400; }
.mkt.annual .mkt-annual-label { color: var(--mkt-navy); }
.mkt:not(.annual) .mkt-annual-label { color: var(--mkt-muted); font-weight: 400; }
.mkt:not(.annual) .mkt-monthly-label { color: var(--mkt-navy); }

/* FAQ */
.mkt-faq { max-width: 800px; margin: 0 auto; }
.mkt-faq details { border-bottom: 1px solid var(--mkt-border); padding: var(--mkt-space-2) 0; }
.mkt-faq summary { cursor: pointer; font-weight: 700; color: var(--mkt-navy); font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mkt-faq summary::-webkit-details-marker { display: none; }
.mkt-faq summary::after { content: "+"; font-size: 1.3rem; color: var(--mkt-orange); margin-left: var(--mkt-space-2); }
.mkt-faq details[open] summary::after { content: "−"; }
.mkt-faq .answer { color: var(--mkt-muted); margin-top: var(--mkt-space-1); padding-right: var(--mkt-space-3); }

/* CTA banner */
.mkt-cta { background: linear-gradient(120deg, var(--mkt-navy), var(--mkt-navy-2)); color: #fff; text-align: center; border-radius: var(--mkt-radius-lg); padding: var(--mkt-space-4); }
.mkt-cta h2 { color: #fff; }
.mkt-cta .lead { color: #CBD5E1; margin: 0 auto var(--mkt-space-3); }
.mkt-cta .badge { display: inline-block; background: var(--mkt-orange); color: #fff; font-weight: 800; font-size: 0.85rem; padding: 6px 16px; border-radius: 999px; margin-bottom: var(--mkt-space-2); }

/* Taskcard Library spotlight */
.mkt-spotlight { position: relative; background: linear-gradient(135deg, var(--mkt-navy-deep) 0%, var(--mkt-navy) 55%, var(--mkt-navy-2) 100%); color: #fff; overflow: hidden; }
.mkt-spotlight-glow { position: absolute; top: -180px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(244,98,58,0.35), rgba(244,98,58,0) 70%); pointer-events: none; }
.mkt-spotlight .container { position: relative; }
.mkt-spotlight-badge { display: inline-block; background: var(--mkt-orange); color: #fff; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; padding: 6px 16px; border-radius: 999px; margin-bottom: var(--mkt-space-3); box-shadow: 0 8px 20px rgba(244,98,58,0.35); }
.mkt-spotlight-grid { display: grid; gap: var(--mkt-space-4); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .mkt-spotlight-grid { grid-template-columns: 1.2fr 0.8fr; } }
.mkt-spotlight-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.mkt-spotlight-list { list-style: none; margin: var(--mkt-space-3) 0; padding: 0; display: grid; gap: 12px; }
.mkt-spotlight-list li { display: flex; align-items: flex-start; gap: 10px; color: #E2E8F0; font-size: 0.98rem; }
.mkt-spotlight-list .check { color: var(--mkt-orange); font-weight: 800; flex-shrink: 0; }
.mkt-spotlight-visual { display: flex; justify-content: center; }
.mkt-spotlight-badge-ring { width: min(280px, 70vw); aspect-ratio: 1; border-radius: 50%; padding: 10px; background: conic-gradient(from 180deg, var(--mkt-orange), #FFB088, var(--mkt-orange)); box-shadow: 0 20px 60px rgba(244,98,58,0.35); animation: mkt-spotlight-spin 14s linear infinite; }
.mkt-spotlight-badge-ring img, .mkt-spotlight-badge-ring .mkt-spotlight-badge-fallback { width: 100%; height: 100%; border-radius: 50%; display: block; background: var(--mkt-navy-deep); object-fit: cover; animation: mkt-spotlight-spin-reverse 14s linear infinite; }
@keyframes mkt-spotlight-spin { to { transform: rotate(360deg); } }
@keyframes mkt-spotlight-spin-reverse { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .mkt-spotlight-badge-ring, .mkt-spotlight-badge-ring img, .mkt-spotlight-badge-ring .mkt-spotlight-badge-fallback { animation: none; } }
.mkt-spotlight-shots { display: grid; gap: var(--mkt-space-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: var(--mkt-space-5); }
.mkt-spotlight-shots .mkt-shot img { height: 280px; }

/* Compatibility */
.mkt-compat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--mkt-space-4); text-align: center; }
.mkt-compat-item { max-width: 200px; }
.mkt-compat-item .icon { font-size: 2.2rem; }

/* Footer */
.mkt-footer { background: var(--mkt-navy-deep); color: #CBD5E1; padding: var(--mkt-space-5) 0 var(--mkt-space-3); }
.mkt-footer .grid { display: grid; gap: var(--mkt-space-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: var(--mkt-space-4); }
.mkt-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.mkt-footer a { color: #CBD5E1; }
.mkt-footer a:hover { color: #fff; }
.mkt-footer p { color: #94A3B8; font-size: 0.92rem; }
.mkt-footer .bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--mkt-space-2); text-align: center; font-size: 0.8rem; color: #64748B; }
.mkt-footer .bottom a { color: #94A3B8; }
