/* ============ BASE ============ */
html { scroll-behavior: smooth; }
body { font-feature-settings: "ss01" on; }

::selection { background: #F2B33D; color: #0B1220; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F7F8FB; }
::-webkit-scrollbar-thumb { background: #C9CEDA; border-radius: 10px; }

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

:focus-visible { outline: 2px solid #F2B33D; outline-offset: 3px; border-radius: 4px; }

/* ============ NAV ============ */
#site-nav { background: transparent; }
#site-nav.scrolled { background: rgba(11, 18, 32, 0.85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }

.nav-text { color: #fff; }
.nav-sub { color: rgba(255,255,255,0.45); }

.nav-link { position: relative; color: rgba(255,255,255,0.82); transition: color .2s ease; }
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: #F2B33D; transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }

.mobile-link { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ============ HERO BACKGROUND ============ */
.mesh-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(79,70,229,0.35), transparent 60%),
    radial-gradient(50% 45% at 90% 15%, rgba(242,179,61,0.18), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(79,70,229,0.18), transparent 60%);
  animation: meshShift 16s ease-in-out infinite alternate;
}
.mesh-bg-2 {
  background:
    radial-gradient(55% 50% at 85% 20%, rgba(242,179,61,0.14), transparent 60%),
    radial-gradient(50% 50% at 10% 80%, rgba(79,70,229,0.28), transparent 60%);
}
@keyframes meshShift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}

.grid-overlay {
  position: absolute; inset: 0; z-index: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 60% at 50% 20%, black 40%, transparent 100%);
}

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .1s; }
.reveal-delay-2.in-view { transition-delay: .2s; }
.reveal-delay-3.in-view { transition-delay: .3s; }

/* ============ BROWSER MOCKUP ============ */
.browser-mock {
  background: #0F1830;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: #0B1220; border-bottom: 1px solid rgba(255,255,255,0.06); }
.browser-bar .dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.browser-url { margin-left: 14px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.45); font-family: "JetBrains Mono", monospace; font-size: 11px; padding: 4px 14px; border-radius: 999px; }

.browser-body { padding: 22px; }
.fake-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.fake-logo { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg,#F2B33D,#F8CE7A); }
.fake-links { display: flex; gap: 10px; margin-left: 10px; }
.fake-links span { width: 30px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.fake-btn { margin-left: auto; width: 54px; height: 20px; border-radius: 999px; background: #F2B33D; }

.fake-hero { padding: 18px 0 26px; }
.fake-line { border-radius: 6px; background: rgba(255,255,255,0.14); }
.fake-btn-lg { background: linear-gradient(90deg,#4F46E5,#6D65F0); border-radius: 999px; }

.fake-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.fake-card { height: 74px; border-radius: 12px; background: linear-gradient(160deg, rgba(79,70,229,0.28), rgba(255,255,255,0.04)); border: 1px solid rgba(255,255,255,0.06); }
.fake-card:nth-child(2) { background: linear-gradient(160deg, rgba(242,179,61,0.28), rgba(255,255,255,0.04)); }
.fake-card:nth-child(3) { background: linear-gradient(160deg, rgba(109,101,240,0.28), rgba(255,255,255,0.04)); }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; color: #0F172A; padding: 12px 16px; border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.35);
  font-size: 13px; animation: floatY 5s ease-in-out infinite;
}
.float-badge-top { top: -22px; left: -18px; animation-delay: .3s; }
.float-badge-bottom { bottom: -22px; right: -18px; animation-delay: 0s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scrollLeft 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-pill { flex-shrink: 0; font-family: "Space Grotesk", sans-serif; font-weight: 500; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.12); padding: 10px 22px; border-radius: 999px; font-size: 14px; }

/* ============ SERVICE CARDS ============ */
.service-card { background: #fff; border: 1px solid rgba(15,23,42,0.07); border-radius: 18px; padding: 30px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(15,23,42,0.18); border-color: rgba(79,70,229,0.25); }
.service-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(79,70,229,0.08); color: #4F46E5; display: flex; align-items: center; justify-content: center; }

/* ============ CHART CARD (signature) ============ */
.chart-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; padding: 30px; backdrop-filter: blur(6px); }
#growth-line { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.8s cubic-bezier(.22,.61,.36,1); }
#growth-area { transition: opacity 1s ease .6s; }
#growth-dot { opacity: 0; transition: opacity .4s ease 1.6s; }
.chart-card.animate #growth-line { stroke-dashoffset: 0; }
.chart-card.animate #growth-area { opacity: 1; }
.chart-card.animate #growth-dot { opacity: 1; }

/* ============ PROCESS ============ */
.process-step { position: relative; }
.step-num {
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15px;
  width: 42px; height: 42px; border-radius: 999px; background: #0B1220; color: #F2B33D;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 10;
}

/* ============ PROJECTS ============ */
.project-card { cursor: default; }
.project-thumb { height: 180px; border-radius: 16px; position: relative; overflow: hidden; border: 1px solid rgba(15,23,42,0.07); transition: transform .35s ease; }
.project-card:hover .project-thumb { transform: translateY(-6px); }
.thumb-1 { background: linear-gradient(155deg,#1A2444 0%, #4F46E5 55%, #F2B33D 130%); }
.thumb-2 { background: linear-gradient(155deg,#12203c 0%, #223055 60%, #5B6478 130%); }
.thumb-3 { background: linear-gradient(155deg,#3a1f12 0%, #B5651D 55%, #F2B33D 130%); }
.thumb-4 { background: linear-gradient(155deg,#0f2b2a 0%, #12706b 55%, #6be0d4 130%); }

/* ============ QUOTES ============ */
.quote-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 32px; }

/* ============ PRICING ============ */
.pricing-card { background: #fff; border: 1px solid rgba(15,23,42,0.08); border-radius: 22px; padding: 34px; }
.pricing-featured { background: #0B1220; color: #fff; border-color: transparent; position: relative; transform: scale(1.03); box-shadow: 0 30px 60px -22px rgba(11,18,32,0.5); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #F2B33D; color: #0B1220; font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.check-item { position: relative; padding-left: 26px; color: #3f4a5e; }
.check-item::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 999px; background: rgba(79,70,229,0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5L20 6' stroke='%234F46E5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 10px; }
.check-item-dark { color: rgba(255,255,255,0.85); }
.check-item-dark::before { background-color: rgba(242,179,61,0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5L20 6' stroke='%23F2B33D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ============ CTA BANNER ============ */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #F8CE7A, #F2B33D);
  border-radius: 28px; padding: 56px 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 90% 0%, rgba(255,255,255,0.5), transparent 60%);
}

/* ============ FOOTER ============ */
.social-icon { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.social-icon:hover { background: #F2B33D; color: #0B1220; border-color: #F2B33D; }
.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #F2B33D; }
