/* babiafox.com — warm-orange SaaS landing, HubSpot-inspired */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --orange:#f97316;
  --orange-d:#ea580c;
  --orange-dd:#c2410c;
  --orange-lt:#fff7ed;
  --orange-bg:#ffedd5;
  --stone-50:#fafaf9;
  --stone-100:#f5f5f4;
  --stone-200:#e7e5e4;
  --stone-700:#44403c;
  --stone-800:#292524;
  --stone-900:#1c1917;
  --text:#1c1917;
  --text-2:#57534e;
  --text-3:#78716c;
  --text-4:#a8a29e;
  --white:#fff;
  --radius-sm:8px;
  --radius:14px;
  --radius-lg:20px;
  --shadow:0 4px 24px rgba(234,88,12,0.10);
  --shadow-card:0 2px 12px rgba(0,0,0,0.07);
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:"Segoe UI",Arial,system-ui,sans-serif;background:var(--white);color:var(--text);line-height:1.6;min-width:320px;overflow-x:hidden}
img,svg{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

/* ── Layout ─────────────────────────────── */
.container{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.section{padding:80px 0}
.section--alt{background:var(--stone-100)}
.section--orange{background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%)}
.section--dark{background:var(--stone-900);color:var(--white)}

/* ── NAV ─────────────────────────────────── */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,0.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--stone-200);padding:0}
.nav__inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:24px}
.nav__logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;color:var(--stone-900);flex-shrink:0}
.nav__logo svg{width:36px;height:36px}
.nav__links{display:flex;align-items:center;gap:28px;list-style:none}
.nav__links a{font-size:14px;font-weight:500;color:var(--text-2);transition:color .2s}
.nav__links a:hover{color:var(--orange)}
.nav__cta{display:flex;align-items:center;gap:12px;flex-shrink:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-weight:600;font-size:15px;border:none;cursor:pointer;border-radius:10px;padding:11px 22px;transition:background .18s,transform .12s,box-shadow .18s;line-height:1.2;text-decoration:none}
.btn:active{transform:scale(0.97)}
.btn--primary{background:var(--orange);color:#fff;box-shadow:0 2px 12px rgba(249,115,22,0.28)}
.btn--primary:hover{background:var(--orange-d);box-shadow:0 4px 18px rgba(249,115,22,0.36)}
.btn--outline{background:transparent;color:var(--orange);border:2px solid var(--orange)}
.btn--outline:hover{background:var(--orange-lt)}
.btn--lg{font-size:17px;padding:14px 32px;border-radius:12px}
.btn--xl{font-size:18px;padding:17px 38px;border-radius:14px;letter-spacing:0.01em}
.btn--white{background:#fff;color:var(--orange);font-weight:700}
.btn--white:hover{background:var(--orange-lt)}

/* ── HERO ─────────────────────────────────── */
.hero{background:linear-gradient(160deg,#fff7ed 0%,#fff 60%);padding:96px 0 80px;overflow:hidden;position:relative}
.hero::before{content:'';position:absolute;top:-80px;right:-120px;width:600px;height:600px;background:radial-gradient(circle,rgba(249,115,22,0.12) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.hero__inner{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hero__badge{display:inline-flex;align-items:center;gap:8px;background:var(--orange-lt);border:1px solid #fed7aa;color:var(--orange-d);font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;margin-bottom:20px}
.hero__badge-dot{width:7px;height:7px;background:var(--orange);border-radius:50%;animation:pulse-dot 2s infinite}
@keyframes pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(0.8)}}
.hero__title{font-size:clamp(32px,4.5vw,58px);font-weight:800;line-height:1.12;color:var(--stone-900);letter-spacing:-0.02em;margin-bottom:20px}
.hero__title em{font-style:normal;color:var(--orange)}
.hero__sub{font-size:18px;color:var(--text-2);line-height:1.65;margin-bottom:36px;max-width:480px}
.hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:40px}
.hero__trust{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.hero__trust-item{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-3);font-weight:500}
.hero__trust-item svg{width:16px;height:16px;color:var(--orange)}
.hero__visual{position:relative}
.hero__card{background:#fff;border-radius:20px;box-shadow:0 8px 40px rgba(0,0,0,0.12);overflow:hidden}
.hero__card-top{background:linear-gradient(135deg,#f97316,#ea580c);padding:28px 28px 20px;color:#fff}
.hero__card-top h3{font-size:22px;font-weight:700;margin-bottom:4px}
.hero__card-top p{font-size:14px;opacity:0.85}
.hero__card-body{padding:24px 28px}
.stat-row{display:flex;gap:0;border-radius:12px;overflow:hidden;border:1px solid var(--stone-200)}
.stat-cell{flex:1;padding:16px 12px;text-align:center;background:#fff}
.stat-cell + .stat-cell{border-left:1px solid var(--stone-200)}
.stat-cell__val{font-size:22px;font-weight:800;color:var(--orange)}
.stat-cell__lbl{font-size:11px;color:var(--text-3);margin-top:2px}
.hero__platforms{display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}
.platform-tag{display:inline-flex;align-items:center;gap:6px;background:var(--stone-100);border-radius:8px;padding:8px 14px;font-size:13px;font-weight:600;color:var(--text-2)}

/* ── LOGOS BAND ──────────────────────────── */
.logos-band{padding:40px 0;border-top:1px solid var(--stone-200);border-bottom:1px solid var(--stone-200)}
.logos-band__label{text-align:center;font-size:13px;font-weight:600;color:var(--text-4);text-transform:uppercase;letter-spacing:0.12em;margin-bottom:24px}
.logos-band__row{display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap}
.logos-band__item{font-size:15px;font-weight:700;color:var(--stone-200);letter-spacing:0.05em}

/* ── FEATURES GRID ───────────────────────── */
.features__header{text-align:center;max-width:600px;margin:0 auto 56px}
.section-kicker{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0.12em;color:var(--orange);margin-bottom:10px}
.section-title{font-size:clamp(26px,3.5vw,42px);font-weight:800;color:var(--stone-900);line-height:1.2;margin-bottom:14px}
.section-sub{font-size:16px;color:var(--text-2);line-height:1.65}
.features__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.feature-card{background:#fff;border:1px solid var(--stone-200);border-radius:var(--radius-lg);padding:32px 28px;transition:box-shadow .2s,transform .2s}
.feature-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.feature-card__icon{width:52px;height:52px;background:var(--orange-lt);border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.feature-card__icon svg{width:26px;height:26px;color:var(--orange)}
.feature-card__title{font-size:18px;font-weight:700;color:var(--stone-900);margin-bottom:10px}
.feature-card__desc{font-size:14px;color:var(--text-2);line-height:1.7}

/* ── SPLIT SECTIONS ──────────────────────── */
.split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.split--rev{direction:rtl}
.split--rev>*{direction:ltr}
.split__content{}
.split__title{font-size:clamp(24px,3vw,36px);font-weight:800;line-height:1.22;color:var(--stone-900);margin-bottom:16px}
.split__body{font-size:16px;color:var(--text-2);line-height:1.75;margin-bottom:28px}
.split__list{list-style:none;margin-bottom:28px;display:flex;flex-direction:column;gap:12px}
.split__list li{display:flex;align-items:flex-start;gap:10px;font-size:15px;color:var(--text-2)}
.split__list li::before{content:'';display:block;width:20px;height:20px;min-width:20px;background:var(--orange-lt);border-radius:50%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23f97316' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;margin-top:2px}
.split__visual{position:relative}
.device-mockup{background:#fff;border-radius:24px;box-shadow:0 12px 48px rgba(0,0,0,0.14);overflow:hidden;max-width:340px;margin:0 auto}
.device-mockup__header{background:linear-gradient(135deg,#f97316,#ea580c);padding:20px 24px 16px;color:#fff}
.device-mockup__header h4{font-size:16px;font-weight:700}
.device-mockup__header p{font-size:12px;opacity:.8;margin-top:2px}
.device-mockup__body{padding:20px 24px}
.ticker-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--stone-200);font-size:14px}
.ticker-row:last-child{border-bottom:none}
.ticker-row__name{font-weight:600;color:var(--stone-900)}
.ticker-row__price{color:var(--text-2)}
.ticker-row__chg{font-weight:600;padding:3px 8px;border-radius:6px;font-size:12px}
.chg-up{color:#16a34a;background:#dcfce7}
.chg-dn{color:#dc2626;background:#fee2e2}

/* ── METRICS ─────────────────────────────── */
.metrics__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--stone-200);border-radius:16px;overflow:hidden;border:1px solid var(--stone-200)}
.metric-cell{background:#fff;padding:40px 24px;text-align:center}
.metric-cell__val{font-size:clamp(32px,4vw,48px);font-weight:900;color:var(--orange);line-height:1;margin-bottom:8px}
.metric-cell__lbl{font-size:14px;color:var(--text-2);font-weight:500}

/* ── STEPS ───────────────────────────────── */
.steps__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;counter-reset:step}
.step-card{position:relative;padding:36px 28px;background:#fff;border-radius:20px;border:1px solid var(--stone-200)}
.step-card::before{counter-increment:step;content:counter(step);position:absolute;top:24px;right:24px;width:36px;height:36px;background:var(--orange-lt);color:var(--orange);font-weight:800;font-size:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;line-height:36px;text-align:center}
.step-card__icon{width:56px;height:56px;background:linear-gradient(135deg,#f97316,#ea580c);border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.step-card__icon svg{width:28px;height:28px;color:#fff}
.step-card__title{font-size:18px;font-weight:700;color:var(--stone-900);margin-bottom:10px}
.step-card__desc{font-size:14px;color:var(--text-2);line-height:1.7}

/* ── TESTIMONIALS ─────────────────────────── */
.testimonials__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.testi-card{background:#fff;border:1px solid var(--stone-200);border-radius:16px;padding:28px 24px}
.testi-card__stars{color:var(--orange);font-size:16px;margin-bottom:14px;letter-spacing:2px}
.testi-card__quote{font-size:14px;color:var(--text-2);line-height:1.75;margin-bottom:20px;font-style:italic}
.testi-card__author{display:flex;align-items:center;gap:12px}
.testi-card__avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ea580c);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;color:#fff;flex-shrink:0}
.testi-card__name{font-weight:600;font-size:14px;color:var(--stone-900)}
.testi-card__role{font-size:12px;color:var(--text-4)}

/* ── DEVICES SECTION ─────────────────────── */
.devices__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.device-card{background:#fff;border:1px solid var(--stone-200);border-radius:16px;padding:28px 20px;text-align:center;transition:box-shadow .2s,transform .2s}
.device-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.device-card__icon{width:60px;height:60px;background:linear-gradient(135deg,#fff7ed,#ffedd5);border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.device-card__icon svg{width:30px;height:30px;color:var(--orange)}
.device-card__title{font-size:16px;font-weight:700;color:var(--stone-900);margin-bottom:6px}
.device-card__desc{font-size:13px;color:var(--text-3)}

/* ── FAQ ─────────────────────────────────── */
.faq__list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:2px}
.faq-item{border-radius:10px;overflow:hidden;border:1px solid var(--stone-200);background:#fff}
.faq-item + .faq-item{margin-top:4px}
.faq-item__q{padding:18px 24px;font-weight:600;font-size:16px;color:var(--stone-900);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq-item__q::after{content:'▾';color:var(--orange);font-size:14px;flex-shrink:0}
.faq-item__a{padding:0 24px 18px;font-size:15px;color:var(--text-2);line-height:1.7;display:none}
.faq-item:focus-within .faq-item__a,
.faq-item.open .faq-item__a{display:block}

/* ── CTA BAND ────────────────────────────── */
.cta-band{padding:80px 0;background:linear-gradient(135deg,#ea580c 0%,#f97316 60%,#fb923c 100%);text-align:center}
.cta-band__title{font-size:clamp(28px,4vw,48px);font-weight:800;color:#fff;margin-bottom:16px;line-height:1.2}
.cta-band__sub{font-size:18px;color:rgba(255,255,255,0.88);margin-bottom:36px;max-width:520px;margin-left:auto;margin-right:auto}
.cta-band__actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}

/* ── FOOTER ──────────────────────────────── */
.footer{background:var(--stone-900);color:var(--stone-200);padding:64px 0 32px}
.footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:48px}
.footer__brand{max-width:280px}
.footer__brand-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.footer__brand-logo svg{width:32px;height:32px}
.footer__brand-name{font-size:18px;font-weight:700;color:#fff}
.footer__brand-desc{font-size:14px;color:var(--stone-700) !important;color:#a8a29e;line-height:1.65}
.footer__col-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:#fff;margin-bottom:16px}
.footer__links{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer__links a{font-size:14px;color:#a8a29e;transition:color .18s}
.footer__links a:hover{color:var(--orange)}
.footer__bottom{border-top:1px solid #292524;padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:#78716c}
.footer__disclaimer{font-size:12px;color:#57534e;line-height:1.6;margin-top:20px;border-top:1px solid #292524;padding-top:20px}

/* ── RESPONSIVE ──────────────────────────── */
@media(max-width:1024px){
  .features__grid{grid-template-columns:repeat(2,1fr)}
  .footer__grid{grid-template-columns:1fr 1fr;gap:32px}
  .metrics__grid{grid-template-columns:repeat(2,1fr)}
  .devices__grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .nav__links{display:none}
  .hero__inner{grid-template-columns:1fr;gap:40px}
  .hero__visual{order:-1}
  .split{grid-template-columns:1fr;gap:40px;direction:ltr!important}
  .testimonials__grid{grid-template-columns:1fr}
  .steps__grid{grid-template-columns:1fr}
  .section{padding:56px 0}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .features__grid{grid-template-columns:1fr}
  .hero__title{font-size:30px}
  .hero__actions{flex-direction:column}
  .hero__actions .btn{width:100%;justify-content:center}
  .metrics__grid{grid-template-columns:1fr 1fr}
  .devices__grid{grid-template-columns:1fr 1fr}
  .footer__grid{grid-template-columns:1fr}
  .cta-band__actions{flex-direction:column;align-items:center}
  .cta-band__actions .btn{width:100%;max-width:320px}
  .nav__cta .btn--outline{display:none}
}
