/* =========================================================
   Beebytes — Light Mode Design System
   ========================================================= */

:root{
  --indigo-900:#231D5C;
  --indigo-700:#4338CA;
  --indigo-600:#5B4CF5;
  --indigo-100:#EEF0FF;
  --orange-600:#F2600C;
  --orange-500:#FF7A3D;
  --orange-100:#FFE9DB;
  --green-600:#22A06B;
  --ink-900:#0F1329;
  --ink-700:#333A56;
  --ink-500:#666E8F;
  --ink-300:#9AA2C0;
  --paper-0:#FFFFFF;
  --paper-50:#F9F7F5;
  --paper-100:#F1F1FB;
  --paper-orange:#FFF3EA;
  --peach-100:#FBEBD3;
  --peach-200:#F6DDBB;
  --peach-300:#F2D2A6;
  --border:#EDE2D2;
  --shadow-sm: 0 2px 10px rgba(35,29,92,0.06);
  --shadow-md: 0 12px 30px rgba(35,29,92,0.10);
  --shadow-lg: 0 24px 60px rgba(35,29,92,0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-head: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--paper-0);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-head); color: var(--ink-900); margin:0; }

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Reusable ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: var(--orange-600);
  font-weight:700;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin:0 0 14px;
}
.eyebrow.center{ display:flex; justify-content:center; width:100%; }
.eyebrow-dots{ display:inline-flex; gap:4px; }
.eyebrow-dots i{ width:5px; height:5px; border-radius:50%; background:var(--orange-500); display:inline-block; }
.eyebrow-dots i:nth-child(2){ background:var(--indigo-600); }
.eyebrow-dots i:nth-child(3){ background:var(--green-600); }

.section-title{
  font-size: clamp(28px, 3.6vw, 42px);
  line-height:1.15;
  font-weight:700;
  margin-bottom:18px;
  letter-spacing:-0.01em;
}
.section-title.center{ text-align:center; max-width:720px; margin-left:auto; margin-right:auto; }
.section-text{ color: var(--ink-500); font-size:16px; line-height:1.75; max-width:560px; }
.section-text.center{ max-width:640px; margin-left:auto; margin-right:auto; text-align:center; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:15px 26px;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
  border:1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
  text-align:center;
}
/* Buttons that carry a trailing icon get the reference site's signature
   two-tone capsule look: text on one side, a contrasting circular
   icon badge inset flush at the other end. */
.btn:has(svg){ padding: 7px 7px 7px 26px; }
.btn svg{
  width:34px; height:34px;
  border-radius:50%;
  padding:9px;
  box-sizing:border-box;
  flex-shrink:0;
  transition: transform .25s ease;
}
.btn:hover svg{ transform: translateX(2px); }
.btn-primary{
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-900));
  color:#fff;
  box-shadow: 0 10px 26px rgba(91,76,245,0.34);
}
.btn-primary svg{ background:#fff; color: var(--indigo-700); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px rgba(91,76,245,0.42); }
.btn-outline{
  background: rgba(255,255,255,0.65);
  color: var(--indigo-700);
  border-color: rgba(35,29,92,0.2);
}
.btn-outline svg{ background: var(--indigo-600); color:#fff; }
.btn-outline:hover{ border-color: var(--indigo-600); background: var(--indigo-100); transform: translateY(-2px); }
.btn-sm{ padding:11px 20px; font-size:14px; }
.btn-sm:has(svg){ padding: 5px 5px 5px 20px; }
.btn-sm svg{ width:28px; height:28px; padding:7px; }

/* Reveal helpers (animated via GSAP/JS toggling .is-visible) */
.reveal-up, .reveal-left, .reveal-right{ opacity:0; }
.reveal-up{ transform: translateY(40px); }
.reveal-left{ transform: translateX(-40px); }
.reveal-right{ transform: translateX(40px); }
.no-js .reveal-up, .no-js .reveal-left, .no-js .reveal-right{ opacity:1; transform:none; }

/* ---------- Cursor dot ---------- */
.cursor-dot{
  position:fixed;
  width:10px; height:10px;
  border-radius:50%;
  background: var(--orange-500);
  pointer-events:none;
  z-index:9999;
  transform: translate(-50%,-50%);
  mix-blend-mode:normal;
  display:none;
}
@media (hover:hover) and (pointer:fine){
  .cursor-dot{ display:block; }
}

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0;
  z-index:500;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom:1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled{
  box-shadow: 0 6px 24px rgba(15,19,41,0.06);
  border-bottom-color: var(--border);
  background: rgba(255,255,255,0.92);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; padding-bottom:16px;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ width:38px; height:38px; flex-shrink:0; }
.brand-name{
  font-family: var(--font-head);
  font-weight:700;
  font-size:18px;
  color: var(--ink-900);
  letter-spacing:-0.01em;
}
.brand-dot{ color: var(--orange-500); }

.main-nav{ display:flex; align-items:center; gap:32px; }
.main-nav a{
  font-size:14.5px; font-weight:600; color: var(--ink-700);
  position:relative; padding:4px 0;
  transition:color .2s ease;
}
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background: linear-gradient(90deg, var(--indigo-600), var(--orange-500));
  transition: width .25s ease;
}
.main-nav a:hover{ color: var(--indigo-700); }
.main-nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px;
  background: var(--paper-100);
  border:none; border-radius:10px;
}
.nav-toggle span{ width:18px; height:2px; background: var(--ink-900); margin:0 auto; border-radius:2px; transition:.25s; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding: 168px 0 110px;
  overflow:hidden;
  background: linear-gradient(180deg, var(--peach-100) 0%, var(--peach-200) 100%);
}
.hero-blob{
  position:absolute; border-radius:50%;
  filter: blur(60px);
  opacity:.5;
  z-index:0;
}
.hero-blob-1{ width:480px; height:480px; background: radial-gradient(circle, rgba(91,76,245,0.18), transparent 70%); top:-160px; right:-120px; }
.hero-blob-2{ width:420px; height:420px; background: radial-gradient(circle, rgba(242,96,12,0.16), transparent 70%); bottom:-180px; left:-140px; }
.hero-dots{
  position:absolute; inset:0; z-index:0;
  background-image: radial-gradient(rgba(178,124,42,0.35) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  opacity:.35;
  mask-image: linear-gradient(180deg, black, transparent 70%);
}
.hero-inner{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:48px;
  align-items:center;
}
.eyebrow-hero{
  background: var(--paper-orange);
  padding:8px 16px;
  border-radius:999px;
}
.hero-title{
  font-size: clamp(38px, 5.2vw, 62px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-0.02em;
  margin: 4px 0 22px;
}
.hero-title .line{ display:block; overflow:hidden; }
.highlight{ color: var(--indigo-600); position:relative; white-space:nowrap; }
.hero-sub{
  font-size:17px; line-height:1.75; color: var(--ink-500);
  max-width:520px; margin-bottom:34px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:36px; }
.hero-trust{ font-size:13.5px; color: var(--ink-300); }
.hero-trust strong{ display:block; color: var(--ink-700); font-weight:600; margin-top:4px; font-size:14.5px; }

.hero-media{ position:relative; z-index:1; }
.hero-media-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 4/4.3;
}
.hero-media-frame img{ width:100%; height:100%; object-fit:cover; }

.floating-card{
  position:absolute;
  display:flex; align-items:center; gap:9px;
  background:#fff;
  padding:12px 16px;
  border-radius:16px;
  box-shadow: var(--shadow-md);
  font-size:13.5px; font-weight:600; color: var(--ink-700);
  border:1px solid var(--border);
}
.floating-card-1{ top:8%; left:-8%; }
.floating-card-2{ bottom:20%; right:-9%; }
.floating-card-3{ bottom:-4%; left:8%; }
.floating-card-3 code{
  background: var(--indigo-100); color: var(--indigo-700);
  padding:2px 6px; border-radius:6px; font-size:12px;
}
.dot-green{ width:9px; height:9px; border-radius:50%; background: var(--green-600); box-shadow:0 0 0 4px rgba(34,160,107,0.18); }

/* ---------- About ---------- */
.about{ padding:110px 0; background:#fff; }
.about-inner{
  display:grid; grid-template-columns: .9fr 1.1fr; gap:64px; align-items:center;
}
.about-media{ position:relative; }
.about-media-frame{
  border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg);
}
.about-media-frame img{ width:100%; height:520px; object-fit:cover; }
.about-badge{
  position:absolute; left:-24px; bottom:-24px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-900));
  color:#fff; border-radius:18px; padding:18px 22px;
  box-shadow: var(--shadow-lg);
  display:flex; flex-direction:column; gap:2px;
  min-width:150px;
}
.about-badge-num{ font-family: var(--font-head); font-size:28px; font-weight:800; }
.about-badge span:last-child{ font-size:13px; opacity:.85; }

.expertise-box{
  display:flex; gap:16px; align-items:flex-start;
  background: var(--paper-50);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding:22px;
  margin: 22px 0;
}
.expertise-icon{
  width:44px; height:44px; flex-shrink:0;
  background: var(--indigo-100);
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
}
.expertise-box h3{ font-size:16px; margin-bottom:6px; }
.expertise-box p{ font-size:14.5px; color: var(--ink-500); line-height:1.65; margin:0; }

.check-list{ display:flex; flex-direction:column; gap:12px; margin: 20px 0 28px; }
.check-list li{ display:flex; align-items:center; gap:10px; font-size:15px; color: var(--ink-700); font-weight:500; }
.check-list svg{ flex-shrink:0; }

/* ---------- Intro strip ---------- */
.intro-strip{
  background: var(--peach-100);
  padding:80px 0;
}
.intro-strip-inner{ text-align:center; display:flex; flex-direction:column; align-items:center; }

/* ---------- Services ---------- */
.services{ padding:110px 0; background: var(--peach-100); }
.services-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;
}
.service-card{
  background: #fff;
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding:34px 28px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.service-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background:#fff;
}
.service-icon{
  width:54px; height:54px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--indigo-600), var(--orange-500));
  margin-bottom:20px;
}
.service-card h3{ font-size:19px; margin-bottom:10px; }
.service-card p{ font-size:14.5px; color: var(--ink-500); line-height:1.7; margin:0; }

/* ---------- Tech stack marquee ---------- */
.tech-stack{ padding:100px 0 90px; background: var(--paper-50); }
.tech-stack .container{ text-align:center; margin-bottom:44px; }
.marquee{
  overflow:hidden; width:100%;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track{
  display:flex; gap:16px; width:max-content;
  will-change: transform;
}
.tech-chip{
  display:inline-flex; align-items:center;
  background:#fff; border:1px solid var(--border);
  padding:14px 26px; border-radius:999px;
  font-weight:600; font-size:14.5px; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  flex-shrink:0;
}

/* ---------- Why us ---------- */
.why-us{ padding:110px 0 60px; background: var(--peach-100); }
.why-us-inner{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; margin-bottom:80px; }
.mission-box{
  display:flex; gap:14px; align-items:flex-start;
  background: var(--paper-orange);
  border-radius: var(--radius-md);
  padding:22px;
  margin-top:8px;
}
.mission-icon{
  width:42px; height:42px; flex-shrink:0; background:#fff; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm);
}
.mission-box p{ font-size:14.5px; color: var(--ink-700); line-height:1.7; margin:0; }
.mission-box strong{ color: var(--orange-600); }

.why-us-media{ position:relative; }
.why-us-media img{
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width:100%; height:460px; object-fit:cover;
}
.orbit-icon{
  position:absolute;
  width:46px; height:46px;
  background:#fff; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
}
.orbit-1{ top:6%; right:-6%; }
.orbit-2{ top:38%; left:-8%; }
.orbit-3{ bottom:14%; right:-4%; }
.orbit-4{ bottom:-6%; left:20%; }

.stats-row{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:24px;
  border-top:1px solid rgba(27,42,78,0.12);
  padding:44px 0 0;
}
.stat-item{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; }
.stat-num{ font-family: var(--font-head); font-size:34px; font-weight:800; color: var(--ink-900); }
.stat-label{ font-size:13.5px; color: var(--ink-500); font-weight:600; }

/* ---------- Products ---------- */
.products{ padding:110px 0; background:#fff; }
.products .container{ margin-bottom:48px; }
.products-row{
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns: repeat(4, 1fr); gap:18px;
}
.product-card{
  position:relative;
  border-radius: var(--radius-md);
  min-height:340px;
  padding:20px;
  background: linear-gradient(160deg, var(--card-from), var(--card-to));
  display:flex; align-items:flex-end;
  overflow:hidden;
  transition: transform .35s ease;
}
.product-card:hover{ transform: translateY(-8px); }
.product-check{
  position:absolute; top:16px; right:16px;
  width:26px; height:26px; border-radius:50%;
  background: rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.35);
  display:flex; align-items:center; justify-content:center;
}
.product-name{
  color:#fff; font-weight:700; font-size:15px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.product-card-feature{ grid-column: span 2; align-items:flex-start; }
.product-feature-content{ color:#fff; }
.product-feature-content h4{ color:#fff; font-size:19px; margin:14px 0 8px; }
.product-feature-content p{ font-size:13.5px; color: rgba(255,255,255,0.82); line-height:1.6; margin:0; max-width:280px; }

/* ---------- Testimonials ---------- */
.testimonials{ padding:110px 0; background: var(--peach-100); }
.testimonials .container{ text-align:center; }
.testimonials .section-title{ margin-bottom:8px; }
.testimonial-grid{
  margin-top:56px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px; text-align:left;
}
.testimonial-card{
  background: #fff;
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding:30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars{ color: var(--orange-500); letter-spacing:2px; margin-bottom:16px; font-size:15px; }
.testimonial-card p{ font-size:15px; line-height:1.75; color: var(--ink-700); margin:0 0 20px; }
.testimonial-name{ font-weight:700; color: var(--ink-900); font-size:14.5px; }

/* ---------- Blog ---------- */
.blog{ padding:110px 0; background:#fff; }
.blog .container{ text-align:center; }
.blog-grid{
  margin-top:56px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px; text-align:left;
}
.blog-card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-md);
  overflow:hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-image{ height:190px; overflow:hidden; }
.blog-image img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.blog-card:hover .blog-image img{ transform: scale(1.06); }
.blog-body{ padding:26px; }
.blog-body h3{ font-size:17.5px; line-height:1.35; margin-bottom:10px; }
.blog-body p{ font-size:14px; color: var(--ink-500); line-height:1.65; margin:0 0 18px; }
.blog-meta{ display:flex; align-items:center; justify-content:space-between; padding-top:16px; border-top:1px solid var(--border); }
.blog-link{ display:inline-flex; align-items:center; gap:6px; color: var(--orange-600); font-weight:700; font-size:13.5px; }
.blog-meta span:last-child{ font-size:12.5px; color: var(--ink-300); }

/* ---------- CTA ---------- */
.cta{ padding:100px 0 120px; background:#fff; }
.cta-card{
  background: linear-gradient(135deg, var(--peach-100), var(--peach-300));
  border-radius: var(--radius-lg);
  padding:70px 40px;
  text-align:center;
  position:relative;
  overflow:hidden;
  border:1px solid var(--border);
}
.cta-card::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 20% 20%, rgba(91,76,245,0.10), transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(242,96,12,0.12), transparent 45%);
}
.cta-tag{
  position:relative; z-index:1;
  display:inline-block; background: rgba(255,255,255,0.7);
  color: var(--orange-600); font-weight:700; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  padding:8px 18px; border-radius:999px; margin-bottom:20px;
}
.cta .section-title, .cta .section-text{ position:relative; z-index:1; }
.cta-actions{ position:relative; z-index:1; display:flex; gap:16px; justify-content:center; margin-top:32px; flex-wrap:wrap; }
.cta .btn-outline{ color: var(--indigo-700); border-color: rgba(27,42,78,0.18); background:#fff; }
.cta .btn-outline:hover{ background: var(--indigo-100); border-color: var(--indigo-600); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink-900); color: rgba(255,255,255,0.7); padding:80px 0 0; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap:40px;
  padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.1);
}
.footer-brand p{ font-size:14px; line-height:1.7; margin:16px 0 20px; max-width:280px; }
.footer-brand .brand-name{ color:#fff; }
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:#fff;
  transition: background .25s ease, transform .25s ease;
}
.social-row a:hover{ background: var(--orange-500); transform: translateY(-3px); }
.footer-col h4{ color:#fff; font-size:15px; margin-bottom:20px; }
.footer-col a{ display:block; font-size:14px; margin-bottom:12px; color: rgba(255,255,255,0.65); transition: color .2s; }
.footer-col a:hover{ color: var(--orange-500); }
.footer-contact p{ font-size:13.5px; line-height:1.6; margin:0 0 16px; color: rgba(255,255,255,0.65); }
.footer-contact strong{ color:#fff; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:24px 24px; font-size:13px; color: rgba(255,255,255,0.45); flex-wrap:wrap; gap:10px;
}

/* ---------- Scroll top ---------- */
.scroll-top{
  position:fixed; right:24px; bottom:24px; z-index:400;
  width:48px; height:48px; border-radius:50%;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-900));
  color:#fff; border:none; box-shadow: var(--shadow-md);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.scroll-top.visible{ opacity:1; visibility:visible; transform:none; }
.scroll-top:hover{ transform: translateY(-4px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .products-row{ grid-template-columns:repeat(2,1fr); }
  .product-card-feature{ grid-column: span 2; }
  .testimonial-grid, .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-inner, .about-inner, .why-us-inner{ grid-template-columns:1fr; }
  .hero-media{ order:-1; max-width:460px; margin:0 auto 20px; }
  .about-media img{ height:380px; }
  .stats-row{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 640px){
  .services-grid, .products-row, .testimonial-grid, .blog-grid{ grid-template-columns:1fr; }
  .product-card-feature{ grid-column: span 1; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero{ padding:150px 0 80px; }
  .floating-card{ display:none; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}
