/* Gymnaro marketing site — gymnaro.com */
:root {
    --brand: #6366f1;
    --brand-2: #7c3aed;
    --brand-3: #3b82f6;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f5f3ff;
    --ok: #16a34a;
    --radius: 18px;
    --shadow: 0 18px 50px -20px rgba(79, 70, 229, .35);
    --grad: linear-gradient(135deg, var(--brand-3) 0%, var(--brand) 45%, var(--brand-2) 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .78em 1.3em; border-radius: 999px; font-weight: 700; font-size: .98rem;
    border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { width: 170px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .btn { padding: .55em 1.05em; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; margin: auto; content: ""; transition: transform .2s; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }

/* Hero */
.hero { overflow-x: clip; background: radial-gradient(1200px 500px at 85% -10%, #e0e7ff 0%, transparent 60%), radial-gradient(900px 500px at -10% 10%, #f3e8ff 0%, transparent 55%); padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: #eef2ff; padding: .35em .8em; border-radius: 999px; margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.lead-sm { font-size: 1.08rem; color: var(--ink-2); }
.hero-media { display: flex; justify-content: center; }
.hero-shot { width: min(360px, 80vw); border-radius: 28px; box-shadow: var(--shadow); }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 6px; }
.store-badges p { flex-basis: 100%; margin: 4px 0 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: .62em; width: 6px; height: 3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.hero .ticks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 22px; font-size: .95rem; }

/* Screenshot strip */
.strip { padding: 28px 0 8px; overflow: hidden; }
.strip-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 20px; justify-content: safe center; }
.strip-track > picture { flex: 0 0 auto; }
.strip-shot { width: 220px; border-radius: 20px; box-shadow: 0 10px 30px -14px rgba(15,23,42,.35); scroll-snap-align: center; }

/* Sections */
.section { padding: 64px 0; }
.section.alt, .page-head { background: var(--bg-soft); }
.section-title { text-align: center; }
.section-lead { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0 auto 36px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 36px 0; }
.feature.reverse .feature-copy { order: 2; }
.feature-media { display: flex; justify-content: center; }
.feature-media .shot { width: min(330px, 80vw); border-radius: 26px; box-shadow: var(--shadow); }
.feature-media.is-ipad .shot { width: min(460px, 90vw); border-radius: 20px; }
.page-head { padding: 56px 0 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; font-size: .9rem; color: var(--ink-2); }
.ipad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ipad-grid .shot { border-radius: 18px; box-shadow: var(--shadow); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad); margin-bottom: 6px; }
.steps span { color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin: 24px 0; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 0 0; color: var(--ink-2); }

/* Pricing, contact, prose */
.price-card { border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); background: #fff; margin-bottom: 24px; }
.price { font-size: 3rem; font-weight: 800; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; color: var(--ink); text-decoration: none !important; }
.card span { color: var(--muted); word-break: break-word; }
.card:hover { border-color: var(--brand); }
.prose p { font-size: 1.08rem; color: var(--ink-2); }

/* CTA */
.cta { background: var(--grad); color: #fff; padding: 64px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); }
.cta .store-badges { justify-content: center; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta .muted { color: rgba(255,255,255,.85); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid a { display: block; color: var(--ink-2); margin: 6px 0; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
    .strip-shot { width: 180px; }
    .strip-track { justify-content: flex-start; }
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: 10px 4px; }
    .hero-grid, .feature, .ipad-grid { grid-template-columns: 1fr; gap: 28px; }
    .feature.reverse .feature-copy { order: 0; }
    .hero { padding-top: 32px; }
    .hero .ticks { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Hero phone mockup: real app screens in a CSS device frame (same pattern as bahiqo.com) */
.phone-wrap { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.hero-orbit { position: absolute; inset: 50% auto auto 50%; width: min(100%, 560px); height: min(100%, 580px); transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.orbit-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(99, 102, 241, .28); animation: orbit-spin 28s linear infinite; }
.orbit-ring--slow { inset: -2%; border-style: solid; border-color: rgba(124, 58, 237, .14); animation-duration: 42s; animation-direction: reverse; }
.orbit-chip {
    position: absolute; z-index: 1; display: inline-flex; align-items: center; padding: .4rem .75rem; border-radius: 999px;
    font-size: .74rem; font-weight: 800; background: #fff; color: var(--ink); border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(79, 70, 229, .14); white-space: nowrap; animation: chip-float 5.5s ease-in-out infinite;
}
.orbit-a { top: 10%; left: 0; color: #b45309; background: #fff7ed; border-color: #fed7aa; animation-delay: 0s; }
.orbit-b { top: 16%; right: 0; color: var(--ok); animation-delay: .4s; }
.orbit-c { bottom: 24%; left: 0; background: var(--grad); color: #fff; border-color: transparent; animation-delay: .8s; }
.orbit-d { top: 46%; right: 0; color: var(--brand); background: #eef2ff; border-color: #c7d2fe; animation-delay: 1.1s; }
.orbit-e { bottom: 12%; right: 0; animation-delay: 1.5s; }
.orbit-f { top: 44%; left: 2%; color: var(--brand-2); animation-delay: 1.9s; }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); opacity: .5; animation: soft-pulse 2.8s ease-in-out infinite; }
.orbit-dot-1 { top: 28%; left: 12%; }
.orbit-dot-2 { top: 62%; right: 10%; background: var(--brand-2); animation-delay: .6s; }
.orbit-dot-3 { bottom: 18%; left: 22%; background: var(--brand-3); animation-delay: 1.2s; }

.device {
    position: relative; z-index: 2; width: min(100%, 290px); margin: 0; background: #12122a; border-radius: 40px; padding: 11px;
    box-shadow: 0 30px 70px rgba(67, 56, 202, .32), inset 0 0 0 1px #2a2a4a; border: 1px solid #23234a; animation: phone-float 5.5s ease-in-out infinite;
}
.device figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.device-carousel { touch-action: pan-y; user-select: none; }
.device-screen { position: relative; overflow: hidden; border-radius: 30px; aspect-ratio: 9 / 19.5; background: #0b0b1e; }
.device-track { display: flex; flex-direction: column; height: 100%; transition: transform .55s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.device-track picture { display: contents; }
.device-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.device-dots { position: absolute; right: -1.4rem; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .4rem; z-index: 3; }
.device-dot { width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0; background: rgba(99, 102, 241, .3); cursor: pointer; transition: background .2s, height .2s; }
.device-dot.is-active { background: var(--brand); height: 16px; }
.device-swipe-hint {
    position: absolute; left: 50%; bottom: .9rem; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: .28rem;
    padding: .28rem .55rem; border-radius: 999px; background: rgba(30, 27, 75, .72); color: #eef2ff; font-size: .65rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; pointer-events: none; animation: swipe-hint 2.2s ease-in-out infinite;
}
.device-swipe-hint svg { display: block; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes soft-pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .8; transform: scale(1.35); } }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes swipe-hint { 0%, 100% { opacity: .85; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, -4px); } }

@media (max-width: 900px) {
    .phone-wrap { min-height: 520px; margin-top: 8px; }
    .hero-orbit { width: min(100%, 360px); }
    .orbit-chip { display: none; }
    .device { width: min(72vw, 260px); }
}
@media (prefers-reduced-motion: reduce) {
    .orbit-ring, .orbit-chip, .orbit-dot, .device, .device-swipe-hint { animation: none !important; }
}

/* Contact form (same behaviour as bahiqo.com: honeypot + math captcha) */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.contact-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; padding: .72rem .85rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 3px solid #c7d2fe; border-color: var(--brand); }
.captcha-input { max-width: 140px; }
.field-error { margin: 0; color: #b91c1c; font-size: .88rem; }
.form-alert { border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.form-alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { justify-self: start; }
.contact-side { display: grid; gap: 14px; }

/* Footer trust badges (as on bahiqo.com) */
.foot-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.foot-trust li { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--ink-2); }
.foot-trust svg { color: var(--brand); }

@media (max-width: 900px) {
    .contact-grid, .field-row { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; }
}
