/* ==========================================================================
   NORTHSPIRE DIGITAL — Shared Stylesheet
   Design tokens: deep navy field, ion-blue + violet signal accents
   Type: Manrope (display) / Inter (body) / IBM Plex Mono (data/labels)
   ========================================================================== */

:root{
  /* ---- Color tokens (Pixel Way Technologies — blue/cyan brand) ---- */
  --ink:            #060B16;   /* deep tech-navy background */
  --ink-2:          #0C1526;   /* raised panel navy */
  --ink-3:          #101B30;   /* card navy */
  --line:           rgba(255,255,255,0.08);
  --line-strong:    rgba(255,255,255,0.16);
  --paper:          #F5F8FC;   /* light section bg */
  --paper-2:        #E9EFF7;
  --ink-on-paper:   #081226;
  --muted:          #93A3C2;   /* secondary text on dark */
  --muted-2:        #5A6685;   /* secondary text on light */
  --white:          #FFFFFF;

  --signal:         #1D8FE1;   /* Pixel Way blue */
  --signal-2:       #29C4E8;   /* Pixel Way cyan */
  --signal-soft:    rgba(29,143,225,0.14);
  --gradient-signal: linear-gradient(135deg, #1454C7 0%, #29C4E8 100%);
  --gradient-violet: linear-gradient(135deg, #6B6BFF 0%, #B14FE8 100%);
  --gradient-field:  radial-gradient(circle at 18% 15%, rgba(29,143,225,0.12), transparent 42%),
                      radial-gradient(circle at 88% 10%, rgba(139,107,255,0.10), transparent 38%),
                      radial-gradient(circle at 60% 92%, rgba(41,196,232,0.08), transparent 48%),
                      radial-gradient(circle at 5% 85%, rgba(123,97,255,0.07), transparent 40%);

  /* ---- Service accent gradients (distinct, attractive, still on-brand) ---- */
  --grad-dm:  linear-gradient(135deg, #FF7A59 0%, #FFB84F 100%);
  --grad-seo: linear-gradient(135deg, #12C2A6 0%, #29C4E8 100%);
  --grad-ads: linear-gradient(135deg, #7B61FF 0%, #2E8BE6 100%);
  --grad-web: linear-gradient(135deg, #1454C7 0%, #29C4E8 100%);
  --grad-data: linear-gradient(135deg, #6B6BFF 0%, #B14FE8 100%);
  --grad-wp:  linear-gradient(135deg, #1454C7 0%, #29C4E8 100%);
  --grad-app: linear-gradient(135deg, #B14FE8 0%, #6B6BFF 100%);

  /* ---- Type ---- */
  --font-display: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* ---- Scale ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-on-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4,h5{ font-family: var(--font-display); margin:0; font-weight:800; letter-spacing:-0.02em; line-height:1.1; }
p{ margin:0; }
input,textarea,select{ font-family:inherit; }

/* visually-hidden but accessible */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

:focus-visible{
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

@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;
  }
}

/* ---- Layout helpers ---- */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section{ padding: clamp(64px, 9vw, 120px) 0; }
.section-dark{ background: var(--paper-2); color: var(--ink-on-paper); position:relative; }
.section-dark::before{
  content:""; position:absolute; inset:0; background: var(--gradient-field); pointer-events:none;
}
.section-dark::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:0.6;
  background-image: radial-gradient(rgba(20,84,199,0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 75%);
}
.section-panel{ background: var(--ink-2); }
.section-tight{ padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow{
  display:none;
  font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 16px;
}
.eyebrow::before{
  content:""; width:18px; height:1px; background: var(--signal); display:inline-block;
}
.eyebrow.on-dark{ color: var(--signal); }

.section-head{ max-width: 680px; margin-bottom: 56px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head p{ margin-top:16px; font-size:1.05rem; color: var(--muted-2); line-height:1.65; }
.section-dark .section-head p{ color: var(--muted-2); }

.grad-text{
  background: var(--gradient-signal);
  -webkit-background-clip: text; background-clip:text; color: transparent;
}

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-weight:700; font-size:0.95rem;
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s var(--ease), border-color .3s;
  white-space: nowrap;
}
.btn-primary{
  background: var(--gradient-signal); color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(29,143,225,0.55);
}
.btn-primary::before{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.4) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover::before{ transform: translateX(120%); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(29,143,225,0.7); }
.btn-ghost{
  background: transparent; color: var(--ink-on-paper); border-color: var(--paper-2);
}
.btn-ghost:hover{ border-color: var(--signal); color: var(--signal); }
.on-dark .btn-ghost, .section-dark .btn-ghost{ color: var(--ink-on-paper); border-color: var(--paper-2); }
.on-dark .btn-ghost:hover, .section-dark .btn-ghost:hover{ color: var(--signal); border-color: var(--signal); }
.section-dark .hero-actions .btn-ghost{ color:var(--signal); border-color:var(--signal); }
.section-dark .hero-actions .btn-ghost:hover{ color:var(--signal); border-color:var(--signal); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:0.6; cursor:not-allowed; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 200;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(10,27,51,0.08);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color .4s;
}
.site-header::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px;
  background: linear-gradient(90deg, transparent, rgba(41,196,232,0.55) 20%, rgba(139,107,255,0.55) 50%, rgba(41,196,232,0.55) 80%, transparent);
  opacity:0.7;
}
.site-header.is-scrolled{
  background: rgba(255,255,255,0.96);
  border-color: var(--paper-2);
  box-shadow: 0 12px 30px -18px rgba(10,27,51,0.12);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding-block: 18px;
  transition: padding 0.4s var(--ease);
}
.site-header.is-scrolled .nav{ padding-block: 12px; }

.brand{ display:flex; align-items:center; gap:11px; color:var(--ink-on-paper); font-family:var(--font-display); font-weight:800; font-size:1.15rem; }
.brand-icon{ display:flex; flex-shrink:0; transition: transform .4s var(--ease); filter:drop-shadow(0 6px 16px rgba(29,143,225,0.45)); background:url('../assets/logos/Untitled design.png') center/contain no-repeat; }
.brand-icon *{ opacity:0; }
.brand:hover .brand-icon{ transform: translateY(-2px) scale(1.05) rotate(-3deg); }
.brand-word{ display:flex; flex-direction:column; line-height:1.05; }
.brand-word .brand-name{ font-family:var(--font-display); font-weight:800; font-size:1.05rem; color:var(--ink-on-paper); letter-spacing:-0.01em; white-space:nowrap; }
.brand-word .brand-sub{ font-family:var(--font-mono); font-size:0.56rem; letter-spacing:0.22em; color:var(--signal); margin-top:3px; font-weight:600; }
.brand-sm .brand-word .brand-name{ font-size:0.92rem; }
.brand-sm .brand-word .brand-sub{ display:none; }
.footer-brand .brand{ margin-bottom:2px; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links > li > a, .nav-links > li > button{
  display:inline-flex; align-items:center; gap:6px;
  padding: 10px 16px; border-radius: var(--radius-full);
  color: var(--muted-2); font-weight:600; font-size:0.94rem;
  background:transparent; border:none;
  transition: color 0.25s, background 0.25s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover{ color: var(--ink-on-paper); background: rgba(20,84,199,0.08); }
.nav-links > li > a.active{ color: var(--signal); background: rgba(20,84,199,0.1); }
.nav-links > li > a.active::after{ content:""; }

.nav-cta{ display:flex; align-items:center; gap:14px; }

.has-dropdown{ position:relative; }
.chev{ width:10px; height:10px; transition: transform 0.3s var(--ease); }
.has-dropdown[aria-expanded="true"] .chev, .has-dropdown:hover .chev{ transform: rotate(180deg); }

.dropdown{
  position:absolute; top: calc(100% + 10px); left:50%; transform: translateX(-50%) translateY(6px);
  width: 300px;
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 24px 48px -16px rgba(10,27,51,0.22);
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown[aria-expanded="true"] .dropdown{
  opacity:1; visibility:visible; pointer-events:auto; transform: translateX(-50%) translateY(0);
}
.dropdown a{
  display:flex; align-items:center; gap:12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink-on-paper); font-weight:600; font-size:0.9rem;
}
.dropdown a:hover{ background: var(--paper-2); color:var(--signal); }
.dropdown a .dot{ width:6px; height:6px; border-radius:50%; background: var(--gradient-signal); flex-shrink:0; }
.dropdown a .drop-ico{
  width:34px; height:34px; border-radius:9px; background: var(--signal-soft); color: var(--signal);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.dropdown a .drop-ico svg{ width:17px; height:17px; }
.dropdown a .drop-text{ display:flex; flex-direction:column; gap:1px; }
.dropdown a .drop-text b{ font-weight:600; font-size:0.9rem; color:var(--ink-on-paper); }
.dropdown a .drop-text span{ font-weight:500; font-size:0.76rem; color:var(--muted-2); }

.hamburger{
  display:none; width:44px; height:44px; border-radius:10px; border:1px solid var(--paper-2);
  background: transparent; align-items:center; justify-content:center; flex-direction:column; gap:5px;
}
.hamburger span{ width:20px; height:2px; background:var(--ink-on-paper); border-radius:2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer{
  position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); height:100vh;
  background: var(--white); border-left:1px solid var(--paper-2);
  box-shadow: -30px 0 70px -30px rgba(10,27,51,0.28);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  z-index: 300; padding: 24px; overflow-y:auto;
}
.mobile-drawer.is-open{ transform: translateX(0); }
.mobile-drawer-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.mobile-drawer .close-drawer{ width:40px; height:40px; border-radius:10px; border:1px solid var(--paper-2); background:transparent; color:var(--ink-on-paper); }
.mobile-nav-links{ display:flex; flex-direction:column; gap:4px; }
.mobile-nav-links > li > a, .mobile-nav-links > li > button{
  width:100%; text-align:left; padding:14px 10px; border-radius:10px;
  color: var(--muted-2); font-weight:700; font-size:1.05rem; background:transparent; border:none;
  display:flex; justify-content:space-between; align-items:center;
}
.mobile-nav-links > li > a.active, .mobile-nav-links > li > a:hover{ color:var(--signal); background: var(--paper-2); }
.mobile-accordion{ max-height:0; overflow:hidden; transition: max-height 0.4s var(--ease); padding-left:10px; }
.mobile-accordion.is-open{ max-height:360px; }
.mobile-accordion a{ display:flex; align-items:center; gap:10px; padding:11px 10px; color:var(--muted-2); font-weight:600; font-size:0.92rem; }
.mobile-accordion a svg{ width:16px; height:16px; color:var(--signal); flex-shrink:0; }
.mobile-accordion a:hover{ color:var(--signal); }
.mobile-drawer .btn{ margin-top:20px; }

.drawer-overlay{
  position: fixed; inset:0; background: rgba(5,7,15,0.6); backdrop-filter: blur(2px);
  z-index: 250; opacity:0; visibility:hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.drawer-overlay.is-open{ opacity:1; visibility:visible; }

@media (max-width: 980px){
  .nav-links, .nav-cta{ display:none; }
  .hamburger{ display:flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  padding: clamp(80px, 14vw, 150px) 0 clamp(60px, 8vw, 100px);
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px);
  align-items:center;
}
.hero-copy .eyebrow{ margin-bottom:22px; }
.hero-copy h1{ font-size: clamp(2.4rem, 5.4vw, 4.1rem); color: var(--ink-on-paper); }
.hero-copy p{ margin-top:22px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted-2); max-width: 560px; line-height:1.7; }
.hero-actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }
.hero-meta{ display:flex; gap:32px; margin-top:56px; flex-wrap:wrap; }
.hero-meta div strong{ display:block; font-family:var(--font-display); font-size:1.6rem; color:var(--ink-on-paper); }
.hero-meta div span{ font-size:0.85rem; color:var(--muted-2); }

.hero-visual{ position:relative; height: clamp(320px, 40vw, 460px); }
.orbit-field{ width:100%; height:100%; }
.orbit-pulse{ transform-origin: 220px 220px; animation: orbit-pulse 3.2s ease-out infinite; }
@keyframes orbit-pulse{
  0% { r:20; opacity:0.7; }
  100% { r:70; opacity:0; }
}
.flow-path{ stroke-dasharray: 6 7; animation: flow-dash 3.6s linear infinite; }
@keyframes flow-dash{ to { stroke-dashoffset: -130; } }

/* ---- Growth dashboard mock card (hero centerpiece) ---- */
.growth-card{
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
  width: min(230px, 46vw);
  overflow:hidden;
  background: rgba(12,21,38,0.86); backdrop-filter: blur(12px);
  border:1px solid var(--line-strong); border-radius: 16px;
  padding: 16px 18px 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(139,107,255,0.08);
  animation: badge-float 6s ease-in-out infinite;
  animation-delay: -1.5s;
}
.growth-card-head{
  display:flex; align-items:center; gap:7px;
  font-family: var(--font-mono); font-size:0.66rem; letter-spacing:0.03em; color: var(--muted);
  margin-bottom:10px;
}
.growth-dot{ width:7px; height:7px; border-radius:50%; background:#29D188; box-shadow:0 0 0 3px rgba(41,209,136,0.22); animation: growth-dot-pulse 1.8s ease-in-out infinite; flex-shrink:0; }
@keyframes growth-dot-pulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }
.growth-spark{ width:100%; height:auto; display:block; margin-bottom:10px; }
.growth-path{ stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw-path 2.2s var(--ease) 0.4s forwards; }
@keyframes draw-path{ to { stroke-dashoffset: 0; } }
.growth-bars{ display:flex; align-items:flex-end; gap:5px; height:44px; margin-bottom:12px; }
.growth-bars span{
  flex:1; background: var(--gradient-signal); border-radius:3px 3px 1px 1px;
  height: var(--h); opacity:0.85; transform-origin:bottom;
  animation: bar-grow 1s var(--ease) backwards;
}
.growth-bars span:nth-child(1){ animation-delay: 0.15s; } .growth-bars span:nth-child(2){ animation-delay: 0.22s; }
.growth-bars span:nth-child(3){ animation-delay: 0.29s; } .growth-bars span:nth-child(4){ animation-delay: 0.36s; }
.growth-bars span:nth-child(5){ animation-delay: 0.43s; } .growth-bars span:nth-child(6){ animation-delay: 0.5s; }
.growth-bars span:nth-child(7){ animation-delay: 0.57s; background: var(--gradient-violet); }
@keyframes bar-grow{ from{ transform: scaleY(0); } to{ transform: scaleY(1); } }
.growth-stat strong{ display:block; font-family:var(--font-display); font-size:1.3rem; color:#fff; }
.growth-stat span{ display:block; font-size:0.72rem; color:var(--muted); margin-top:2px; }



.page-hero{
  padding: clamp(150px,18vw,190px) 0 clamp(70px,8vw,96px);
  position:relative; overflow:hidden;
}
.page-hero .eyebrow{ justify-content:center; }
.page-hero-inner{ max-width:760px; margin-inline:auto; text-align:center; }
.page-hero h1{ color:var(--ink-on-paper); font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero p{ margin-top:20px; color:var(--muted-2); font-size:1.08rem; line-height:1.7; }
.breadcrumb{
  display:flex; gap:8px; justify-content:center; align-items:center;
  font-family: var(--font-mono); font-size:0.78rem; color: var(--muted-2); margin-top:26px; letter-spacing:0.04em;
}
.breadcrumb a:hover{ color:var(--signal); }
.breadcrumb .sep{ opacity:0.5; }

/* ---- Trust / logos ---- */
.trust-strip{ padding: 44px 0; border-top:1px solid var(--paper-2); }
.trust-title{ text-align:center; font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted-2); margin-bottom:32px; }
.logo-row{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap: clamp(28px,5vw,64px); }
.logo-chip{
  font-family: var(--font-display); font-weight:800; font-size:1.15rem; color: rgba(10,27,51,0.32);
  letter-spacing:0.02em; transition: color 0.3s;
}
.logo-chip:hover{ color: var(--signal); }

/* ---- About preview (2 col) ---- */
.split{
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,72px); align-items:center;
}
.split-visual{ position:relative; }
.split-frame{
  border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 4/3.1;
  background: var(--paper-2); border:1px solid var(--paper-2); position:relative;
}
.split-copy .eyebrow{ color: var(--signal); }
.split-copy h2{ font-size: clamp(1.8rem,3.2vw,2.5rem); }
.split-copy p{ margin-top:18px; color: var(--muted-2); line-height:1.7; font-size:1.02rem; }
.point-list{ margin-top:26px; display:flex; flex-direction:column; gap:14px; }
.point-list li{ display:flex; gap:12px; align-items:flex-start; font-weight:600; color: var(--ink-on-paper); }
.point-list .check{
  width:22px; height:22px; border-radius:50%; background: var(--signal-soft); color:var(--signal);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
}
.split-copy .btn{ margin-top:32px; }

/* ---- Services cards ---- */
.services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card{
  background: var(--white); border:1px solid var(--paper-2); border-radius: var(--radius-lg);
  padding: 34px 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s;
  display:flex; flex-direction:column; height:100%;
  position: relative; overflow:hidden;
}
.service-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--gradient-signal); transform: scaleX(0); transform-origin:left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover::before{ transform: scaleX(1); }
.service-card:hover{ transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(10,14,26,0.25); border-color: transparent; }
.service-icon{
  width:56px; height:56px; border-radius:16px; background: var(--signal-soft); color:var(--signal);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  transition: transform 0.4s var(--ease);
}
.service-icon svg{ width:26px; height:26px; }
.service-card:hover .service-icon{ transform: scale(1.1) rotate(-4deg); }
.icon-grad-dm{ background: var(--grad-dm); color:#fff; box-shadow: 0 10px 24px -10px rgba(255,122,89,0.6); }
.icon-grad-seo{ background: var(--grad-seo); color:#fff; box-shadow: 0 10px 24px -10px rgba(18,194,166,0.6); }
.icon-grad-ads{ background: var(--grad-ads); color:#fff; box-shadow: 0 10px 24px -10px rgba(123,97,255,0.6); }
.icon-grad-web{ background: var(--grad-web); color:#fff; box-shadow: 0 10px 24px -10px rgba(20,84,199,0.6); }
.icon-grad-data{ background: var(--grad-data); color:#fff; box-shadow: 0 10px 24px -10px rgba(177,79,232,0.6); }
.icon-grad-wp{ background: var(--grad-wp); color:#fff; box-shadow: 0 10px 24px -10px rgba(20,84,199,0.6); }
.icon-grad-app{ background: var(--grad-app); color:#fff; box-shadow: 0 10px 24px -10px rgba(177,79,232,0.6); }
.service-card h3{ font-size:1.28rem; margin-bottom:12px; }
.service-card p{ color: var(--muted-2); line-height:1.65; font-size:0.96rem; flex-grow:1; }
.service-link{
  margin-top:20px; display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:0.92rem; color: var(--signal);
}
.service-link svg{ width:16px; height:16px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-link svg{ transform: translateX(4px); }

.section-dark .service-card{ background: var(--white); border-color: var(--paper-2); }
.section-dark .service-card p{ color: var(--muted-2); }
.section-dark .service-card h3{ color: var(--ink-on-paper); }

/* ---- Why choose us ---- */
.why-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; }
.why-card{ padding: 30px 26px; border-radius: var(--radius-lg); background: var(--white); border:1px solid var(--paper-2); box-shadow: 0 20px 44px -30px rgba(10,27,51,0.18); }
.why-num{ font-family: var(--font-mono); color: var(--signal); font-size:0.85rem; margin-bottom:16px; letter-spacing:0.06em; }
.why-card h3{ color:var(--ink-on-paper); font-size:1.15rem; margin-bottom:10px; }
.why-card p{ color: var(--muted-2); font-size:0.94rem; line-height:1.6; }

/* ---- Stats ---- */
.stats-row{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align:center; }
.stat-item strong{
  display:block; font-family: var(--font-display); font-size: clamp(2.2rem,4.4vw,3.2rem); color:var(--ink-on-paper);
}
.stat-item span{ display:block; margin-top:8px; color: var(--muted-2); font-size:0.92rem; letter-spacing:0.02em; }

/* ---- Growth signals ---- */
.growth-signals{ display:grid; grid-template-columns: 1.25fr 1fr 1fr; gap:24px; align-items:stretch; }
.growth-panel{ padding:30px; border-radius:var(--radius-lg); background:var(--ink); color:var(--white); position:relative; overflow:hidden; }
.growth-panel::after{ content:""; position:absolute; width:180px; height:180px; right:-60px; bottom:-80px; border:1px solid rgba(41,196,232,0.28); border-radius:50%; box-shadow:0 0 0 26px rgba(41,196,232,0.05), 0 0 0 52px rgba(41,196,232,0.035); }
.growth-panel h3{ color:var(--white); font-size:1.3rem; position:relative; z-index:1; }
.growth-panel p{ color:var(--muted); line-height:1.65; margin-top:12px; position:relative; z-index:1; }
.growth-panel .panel-label{ color:var(--signal-2); font-family:var(--font-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
.signal-card{ padding:28px; border:1px solid var(--paper-2); border-radius:var(--radius-lg); background:var(--white); }
.signal-card strong{ display:block; color:var(--signal); font-family:var(--font-display); font-size:2.35rem; line-height:1; }
.signal-card h3{ margin-top:16px; font-size:1.05rem; }
.signal-card p{ margin-top:8px; color:var(--muted-2); font-size:.92rem; line-height:1.6; }

/* ---- Frontend conversion toolkit ---- */
.toolkit-filters{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.toolkit-filter{ border:1px solid var(--paper-2); border-radius:var(--radius-full); background:var(--white); color:var(--muted-2); padding:10px 16px; font:600 .86rem var(--font-body); transition:background .25s, color .25s, border-color .25s; }
.toolkit-filter:hover, .toolkit-filter.is-active{ background:var(--signal); border-color:var(--signal); color:var(--white); }
.toolkit-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.toolkit-card{ padding:24px; border:1px solid var(--paper-2); border-radius:var(--radius-md); background:var(--white); transition:transform .35s var(--ease), box-shadow .35s var(--ease); }
.toolkit-card:hover{ transform:translateY(-5px); box-shadow:0 22px 42px -28px rgba(10,27,51,.35); }
.toolkit-card[hidden]{ display:none; }
.toolkit-card .toolkit-kicker{ color:var(--signal); font:500 .7rem var(--font-mono); letter-spacing:.1em; text-transform:uppercase; }
.toolkit-card h3{ font-size:1.05rem; margin-top:12px; }
.toolkit-card p{ color:var(--muted-2); font-size:.9rem; line-height:1.6; margin-top:8px; }
.toolkit-card a{ display:inline-flex; align-items:center; gap:7px; color:var(--signal); font-size:.86rem; font-weight:700; margin-top:16px; }
.toolkit-card a svg{ width:14px; height:14px; }
.industry-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.industry-card{ padding:26px; border:1px solid var(--paper-2); border-radius:var(--radius-md); background:var(--white); transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.industry-card:hover{ transform:translateY(-5px); border-color:rgba(29,143,225,.35); box-shadow:0 22px 42px -28px rgba(10,27,51,.32); }
.industry-index{ color:var(--signal); font:500 .72rem var(--font-mono); letter-spacing:.12em; }
.industry-card h3{ margin-top:16px; font-size:1.08rem; }
.industry-card p{ margin-top:9px; color:var(--muted-2); font-size:.9rem; line-height:1.65; }
.industry-card a{ display:inline-flex; margin-top:18px; color:var(--signal); font-size:.86rem; font-weight:700; }
.roadmap-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.roadmap-card{ position:relative; padding:26px 22px; border-top:3px solid var(--signal); border-radius:0 0 var(--radius-md) var(--radius-md); background:var(--white); box-shadow:0 18px 40px -30px rgba(10,27,51,.3); }
.roadmap-card span{ color:var(--signal); font:500 .7rem var(--font-mono); letter-spacing:.1em; text-transform:uppercase; }
.roadmap-card h3{ margin-top:16px; font-size:1.1rem; }
.roadmap-card p{ margin-top:8px; color:var(--muted-2); font-size:.9rem; line-height:1.6; }

/* ---- WhatsApp launcher ---- */
.whatsapp-widget{ position:fixed; right:24px; bottom:24px; z-index:220; width:58px; height:58px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#159447; color:#fff; box-shadow:0 16px 35px -14px rgba(21,148,71,.7); transition:transform .3s var(--ease), background .3s; }
.whatsapp-widget{ position:fixed !important; visibility:visible; opacity:1; }
.whatsapp-widget:hover{ transform:translateY(-4px); background:#117c3b; }
.whatsapp-widget-copy{ display:none; }
.whatsapp-widget-icon{ width:auto; height:auto; display:flex; align-items:center; justify-content:center; background:transparent; }
.whatsapp-widget-icon svg{ width:30px; height:30px; }
.chatbot-launcher{ position:fixed; right:24px; bottom:100px; z-index:220; width:62px; height:62px; display:inline-flex; align-items:center; justify-content:center; padding:0; overflow:hidden; border:1px solid rgba(20,84,199,.18); border-radius:50%; background:var(--white); color:var(--ink-on-paper); box-shadow:0 16px 35px -18px rgba(10,27,51,.4); transition:transform .3s var(--ease), color .3s, border-color .3s; }
.chatbot-launcher{ position:fixed !important; visibility:visible; opacity:1; }
.chatbot-launcher:hover{ transform:translateY(-3px); color:var(--signal); border-color:var(--signal); }
.chatbot-launcher svg{ width:30px; height:30px; color:var(--signal); }
.chatbot-launcher span{ display:none; }
.chatbot-panel{ position:fixed; right:24px; bottom:170px; z-index:230; width:min(370px, calc(100vw - 32px)); overflow:hidden; border:1px solid var(--paper-2); border-radius:18px; background:var(--white); box-shadow:0 25px 70px -24px rgba(10,27,51,.45); opacity:0; visibility:hidden; transform:translateY(12px) scale(.98); transition:opacity .3s var(--ease), visibility .3s, transform .3s var(--ease); }
.chatbot-panel.is-open{ opacity:1; visibility:visible; transform:translateY(0) scale(1); }
.chatbot-head{ display:flex; align-items:center; justify-content:space-between; padding:17px 18px; color:var(--white); background:var(--ink); }
.chatbot-identity{ display:flex; align-items:center; gap:10px; min-width:0; }
.chatbot-brand-logo{ width:30px; height:30px; object-fit:contain; flex-shrink:0; }
.chatbot-head strong, .chatbot-head span{ display:block; }
.chatbot-head strong{ font-size:.94rem; }
.chatbot-head span{ margin-top:3px; color:var(--muted); font-size:.72rem; }
.chatbot-head-actions{ display:flex; align-items:center; gap:8px; }
.chatbot-clear{ padding:6px 9px; border:1px solid rgba(255,255,255,.2); border-radius:8px; background:transparent; color:var(--muted); font-size:.7rem; font-weight:700; }
.chatbot-clear:hover{ border-color:var(--signal-2); color:var(--white); }
.chatbot-close{ width:30px; height:30px; border:1px solid rgba(255,255,255,.2); border-radius:50%; background:transparent; color:var(--white); font-size:1.2rem; line-height:1; }
.chatbot-messages{ display:flex; flex-direction:column; gap:10px; height:230px; overflow-y:auto; padding:16px; background:#f7f9fc; }
.chatbot-message{ max-width:88%; padding:10px 12px; border-radius:12px; font-size:.82rem; line-height:1.5; white-space:pre-line; }
.chatbot-message.bot{ align-self:flex-start; border:1px solid var(--paper-2); background:var(--white); color:var(--ink-on-paper); }
.chatbot-message.user{ align-self:flex-end; background:var(--signal); color:var(--white); }
.chatbot-topics{ display:flex; gap:6px; overflow-x:auto; padding:10px 12px 0; }
.chatbot-topics button{ flex:0 0 auto; padding:7px 10px; border:1px solid var(--paper-2); border-radius:var(--radius-full); background:var(--white); color:var(--signal); font-size:.72rem; font-weight:700; }
.chatbot-topics button:hover{ border-color:var(--signal); background:var(--signal-soft); }
.chatbot-form{ display:flex; gap:8px; padding:12px; }
.chatbot-form input{ min-width:0; flex:1; padding:11px 12px; border:1px solid var(--paper-2); border-radius:10px; color:var(--ink-on-paper); font-size:.82rem; }
.chatbot-form input:focus{ outline:2px solid rgba(29,143,225,.2); border-color:var(--signal); }
.chatbot-form button{ width:42px; border:0; border-radius:10px; background:var(--gradient-signal); color:var(--white); }
.chatbot-form button svg{ width:17px; height:17px; }
.page-value-band{ background:var(--paper-2); }
.page-value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.page-value-card{ min-height:190px; padding:28px; border:1px solid rgba(20,84,199,.12); border-radius:var(--radius-md); background:var(--white); box-shadow:0 18px 38px -30px rgba(10,27,51,.3); }
.page-value-number{ display:block; color:var(--signal); font:500 .72rem var(--font-mono); letter-spacing:.12em; text-transform:uppercase; }
.page-value-card h3{ margin-top:18px; font-size:1.12rem; }
.page-value-card p{ margin-top:9px; color:var(--muted-2); font-size:.93rem; line-height:1.65; }

/* ---- Process ---- */
.process-track{ display:grid; grid-template-columns: repeat(5, 1fr); gap:18px; position:relative; }
.process-step{
  position:relative; padding:26px 22px 24px; border-radius:var(--radius-md);
  background:var(--white); border:1px solid var(--paper-2);
  box-shadow:0 18px 40px -28px rgba(10,27,51,0.28);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.process-step:hover{ transform:translateY(-6px); border-color:rgba(29,143,225,0.3); box-shadow:0 24px 44px -25px rgba(10,27,51,0.35); }
.process-num{
  width:42px; height:42px; border-radius:12px; background:var(--signal-soft); border:1px solid rgba(20,84,199,0.18);
  color:var(--signal); display:flex; align-items:center; justify-content:center; margin-bottom:22px; position:relative; z-index:1;
}
.process-num::after{ font-size:1.35rem; font-weight:700; line-height:1; }
.process-step:nth-child(1) .process-num::after{ content:"✦"; }
.process-step:nth-child(2) .process-num::after{ content:"◎"; }
.process-step:nth-child(3) .process-num::after{ content:"◆"; font-size:1rem; }
.process-step:nth-child(4) .process-num::after{ content:"↗"; }
.process-step:nth-child(5) .process-num::after{ content:"↻"; }
.process-step h3{ color:var(--ink-on-paper); font-size:1.08rem; margin-bottom:10px; }
.process-step p{ color:var(--muted-2); font-size:0.9rem; line-height:1.6; }

/* ---- Portfolio ---- */
.folio-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.folio-card{
  border-radius: var(--radius-lg); overflow:hidden; background: var(--white); border:1px solid var(--paper-2);
  transition: transform 0.4s var(--ease), box-shadow .4s var(--ease);
}
.folio-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,14,26,0.25); }
.folio-thumb{
  aspect-ratio: 16/11; position:relative; overflow:hidden;
  background: linear-gradient(135deg, var(--paper-2), #DCEAFB);
}
.folio-thumb .thumb-art{ position:absolute; inset:0; }
.folio-body{ padding:24px; }
.folio-cat{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--signal); }
.folio-body h3{ margin-top:10px; font-size:1.15rem; }
.folio-body p{ margin-top:8px; color: var(--muted-2); font-size:0.9rem; line-height:1.6; }
.folio-link{ margin-top:16px; display:inline-flex; gap:8px; align-items:center; font-weight:700; font-size:0.88rem; color: var(--ink-on-paper); }
.folio-link svg{ width:15px; height:15px; }

/* ---- Testimonials ---- */
.testi-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.testi-card{ background: var(--white); border:1px solid var(--paper-2); border-radius: var(--radius-lg); padding: 30px 26px; }
.testi-stars{ display:flex; gap:4px; color:#F5A623; margin-bottom:16px; }
.testi-stars svg{ width:16px; height:16px; }
.testi-quote{ font-size:1rem; line-height:1.7; color: var(--ink-on-paper); }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:22px; }
.testi-avatar{
  width:44px; height:44px; border-radius:50%; background: var(--gradient-signal);
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-family:var(--font-display);
}
.testi-person strong{ display:block; font-size:0.94rem; }
.testi-person span{ font-size:0.8rem; color: var(--muted-2); }

/* ---- CTA band ---- */
.cta-band{
  border-radius: var(--radius-lg); padding: clamp(48px,7vw,80px); text-align:center;
  background: var(--ink); position:relative; overflow:hidden;
}
.cta-band::before{ content:""; position:absolute; inset:0; background: var(--gradient-field); }
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ color:var(--white); font-size: clamp(1.8rem,3.8vw,2.7rem); max-width:680px; margin-inline:auto; }
.cta-band p{ color: var(--muted); margin-top:16px; max-width:520px; margin-inline:auto; }
.cta-band .btn-ghost{ color:var(--white); border-color:rgba(255,255,255,0.8); }
.cta-band .btn-ghost:hover{ color:var(--signal-2); border-color:var(--signal-2); }
.cta-actions{ display:flex; justify-content:center; gap:16px; margin-top:34px; flex-wrap:wrap; }

/* ---- FAQ ---- */
.faq-list{ max-width: 820px; margin-inline:auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ border:1px solid var(--paper-2); border-radius: var(--radius-md); background: var(--white); overflow:hidden; }
.section-dark .faq-item{ border-color: var(--paper-2); background: var(--white); }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding: 22px 26px; background:transparent; border:none; text-align:left;
  font-weight:700; font-size:1.02rem; color: inherit;
}
.faq-q .plus{ width:22px; height:22px; flex-shrink:0; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background: var(--signal); border-radius:2px; }
.faq-q .plus::before{ width:14px; height:2px; top:10px; left:4px; }
.faq-q .plus::after{ width:2px; height:14px; left:10px; top:4px; transition: transform 0.3s var(--ease); }
.faq-item.is-open .plus::after{ transform: scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner{ padding: 0 26px 24px; color: var(--muted-2); line-height:1.7; font-size:0.96rem; }
.section-dark .faq-a-inner{ color: var(--muted-2); }

/* ---- Forms ---- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size:0.86rem; font-weight:700; color: var(--muted-2); }
.field input, .field select, .field textarea{
  background: var(--white); border: 1px solid var(--paper-2); border-radius: 10px;
  padding: 13px 16px; color: var(--ink-on-paper); font-size:0.96rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--muted-2); opacity:0.8; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--signal); box-shadow: 0 0 0 4px rgba(79,99,255,0.18); outline:none;
}
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:#FF6B6B; }
.field-error{ font-size:0.8rem; color:#FF8A8A; min-height:1em; }
.field select{ appearance:none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA3C0' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right 16px center; }
.form-success{
  display:none; align-items:center; gap:14px; padding:20px; border-radius:14px;
  background: rgba(76,201,146,0.12); border:1px solid rgba(76,201,146,0.4); color:#8CE0BC; margin-top:20px;
}
.form-success.is-visible{ display:flex; }
.form-success svg{ width:22px; height:22px; flex-shrink:0; }

/* ---- Contact info cards ---- */
.contact-info-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.info-card{ background: var(--white); border:1px solid var(--paper-2); border-radius: var(--radius-md); padding:26px; box-shadow: 0 20px 44px -32px rgba(10,27,51,0.18); }
.info-card .service-icon{ margin-bottom:16px; width:48px; height:48px; }
.info-card h3{ color:var(--ink-on-paper); font-size:1rem; margin-bottom:8px; }
.info-card p{ color: var(--muted-2); font-size:0.9rem; line-height:1.6; }

/* ---- Blog ---- */
.blog-layout{ display:grid; grid-template-columns: 2.1fr 1fr; gap: 48px; align-items:start; }
.featured-post{
  border-radius: var(--radius-lg); overflow:hidden; background: var(--white); border:1px solid var(--paper-2); grid-column: 1/-1; margin-bottom:12px;
  display:grid; grid-template-columns: 1.1fr 1fr;
}
.featured-thumb{ min-height:280px; background: linear-gradient(135deg, var(--paper-2), var(--signal-soft)); position:relative; }
.featured-body{ padding: 36px; display:flex; flex-direction:column; justify-content:center; }
.blog-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:24px; }
.blog-card{ background: var(--white); border:1px solid var(--paper-2); border-radius: var(--radius-lg); overflow:hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.blog-card:hover{ transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(10,14,26,0.25); }
.blog-thumb{ aspect-ratio: 16/10; background: linear-gradient(135deg, #DCEAFB, var(--paper-2)); }
.blog-body{ padding:22px; }
.blog-meta{ display:flex; gap:12px; align-items:center; font-family:var(--font-mono); font-size:0.72rem; text-transform:uppercase; letter-spacing:0.08em; color: var(--signal); }
.blog-meta span{ color: var(--muted-2); }
.blog-body h3{ margin-top:12px; font-size:1.08rem; }
.blog-body p{ margin-top:8px; color: var(--muted-2); font-size:0.9rem; line-height:1.6; }
.blog-read{ margin-top:14px; display:inline-flex; gap:8px; align-items:center; font-weight:700; font-size:0.86rem; color: var(--ink-on-paper); }
.blog-read svg{ width:16px; height:16px; flex-shrink:0; }
.blog-post-layout{ max-width:860px; margin-inline:auto; }
.blog-post-content{ padding:clamp(24px,5vw,56px); border:1px solid var(--paper-2); border-radius:var(--radius-lg); background:var(--white); }
.blog-post-content .blog-meta{ margin-bottom:18px; }
.blog-post-content h2{ margin-top:24px; font-size:clamp(1.5rem,3vw,2.2rem); }
.blog-post-content p{ margin-top:18px; color:var(--muted-2); font-size:1rem; line-height:1.8; }
.blog-post-content .post-lead{ font-size:1.12rem; }
.blog-post-content h3{ margin-top:32px; font-size:1.2rem; }
.blog-post-modal{ position:fixed; inset:0; z-index:260; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(6,11,22,.7); opacity:0; visibility:hidden; transition:opacity .25s var(--ease), visibility .25s; }
.blog-post-modal.is-open{ opacity:1; visibility:visible; }
.blog-post-modal-card{ width:min(680px,100%); max-height:min(720px,90vh); overflow:auto; padding:clamp(24px,5vw,48px); border-radius:var(--radius-lg); background:var(--white); box-shadow:0 30px 80px -30px rgba(0,0,0,.5); transform:translateY(12px); transition:transform .3s var(--ease); }
.blog-post-modal.is-open .blog-post-modal-card{ transform:translateY(0); }
.blog-post-modal-meta{ color:var(--signal); font:500 .72rem var(--font-mono); letter-spacing:.08em; text-transform:uppercase; }
.blog-post-modal h2{ margin-top:14px; font-size:clamp(1.6rem,4vw,2.4rem); }
.blog-post-modal p{ margin-top:16px; color:var(--muted-2); line-height:1.75; }
.blog-post-modal-close{ float:right; width:36px; height:36px; border:1px solid var(--paper-2); border-radius:50%; background:transparent; color:var(--ink-on-paper); font-size:1.3rem; }

.sidebar-block{ background: var(--white); border:1px solid var(--paper-2); border-radius: var(--radius-lg); padding:26px; margin-bottom:24px; }
.sidebar-block h3{ font-size:1.02rem; margin-bottom:18px; }
.search-box{ display:flex; border:1px solid var(--paper-2); border-radius: var(--radius-full); overflow:hidden; }
.search-box input{ flex:1; border:none; padding:12px 16px; font-size:0.92rem; }
.search-box input:focus{ outline:none; }
.search-box button{ background: var(--gradient-signal); color:#fff; border:none; padding:0 18px; }
.cat-list li{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--paper-2); font-size:0.92rem; font-weight:600; }
.cat-list li:last-child{ border-bottom:none; }
.cat-list span{ color: var(--muted-2); font-weight:500; }
.pop-post{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--paper-2); }
.pop-post:last-child{ border-bottom:none; }
.pop-thumb{ width:56px; height:56px; border-radius:10px; background: linear-gradient(135deg, #DCEAFB, var(--signal-soft)); flex-shrink:0; }
.pop-post h4{ font-size:0.86rem; font-weight:700; line-height:1.4; }
.pop-post span{ font-size:0.76rem; color: var(--muted-2); }
.newsletter-block{ background: var(--ink); border-radius: var(--radius-lg); padding:26px; color:#fff; }
.newsletter-block h3{ color:#fff; }
.newsletter-block p{ color: var(--muted); font-size:0.88rem; margin: 10px 0 16px; line-height:1.6; }
.newsletter-block .field input{ background: rgba(255,255,255,0.06); }

/* ---- Team ---- */
.team-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:22px; }
.team-card{ text-align:center; }
.team-photo{ aspect-ratio: 1; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--paper-2), var(--signal-soft)); margin-bottom:16px; }
.team-card h3{ font-size:1.02rem; }
.team-card span{ display:block; margin-top:4px; font-size:0.85rem; color: var(--signal); font-weight:600; }

/* ---- Values ---- */
.values-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:20px; }
.value-card{ display:flex; gap:18px; padding:26px; border-radius: var(--radius-md); background: var(--white); border:1px solid var(--paper-2); }
.value-card .service-icon{ flex-shrink:0; }
.value-card h3{ font-size:1.05rem; margin-bottom:8px; }
.value-card p{ color: var(--muted-2); font-size:0.92rem; line-height:1.6; }

/* ---- Benefits list (service pages) ---- */
.benefit-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:18px; }
.benefit-item{ display:flex; gap:14px; padding:20px; border-radius: 14px; background: var(--white); border:1px solid var(--paper-2); box-shadow: 0 16px 36px -30px rgba(10,27,51,0.16); }
.benefit-item h4{ color:var(--ink-on-paper); font-size:0.98rem; margin-bottom:6px; }
.benefit-item p{ color: var(--muted-2); font-size:0.88rem; line-height:1.6; }

/* ---- Feature rows with visual ---- */
.feature-row{ display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,64px); align-items:center; }
.feature-row.reverse .feature-copy{ order:2; }
.feature-row.reverse .feature-visual{ order:1; }
.feature-copy .eyebrow{ margin-bottom:14px; }
.feature-copy h2{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-copy p{ margin-top:16px; color: var(--muted-2); line-height:1.7; }
.section-dark .feature-copy p{ color:var(--muted-2); }
.feature-tags{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.feature-tag{ padding: 7px 14px; border-radius: var(--radius-full); background: var(--signal-soft); color: var(--signal); font-size:0.8rem; font-weight:700; }
.section-dark .feature-tag{ background: var(--signal-soft); color: var(--signal); }
.feature-visual{ border-radius: var(--radius-lg); aspect-ratio: 4/3.2; background: var(--paper-2); border:1px solid var(--paper-2); position:relative; overflow:hidden; }

/* ---- Metric cards (results) ---- */
.metric-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.metric-card{ padding:26px; border-radius: var(--radius-md); background: var(--white); border:1px solid var(--paper-2); text-align:center; }
.metric-card strong{ display:block; font-family:var(--font-display); font-size:2.1rem; color: var(--signal); }
.metric-card span{ display:block; margin-top:8px; font-size:0.85rem; color: var(--muted-2); font-weight:600; }

/* ---- Tech grid (app dev page) ---- */
.tech-grid{ display:grid; grid-template-columns: repeat(5, 1fr); gap:16px; }
.tech-chip{ padding: 18px 10px; text-align:center; border-radius:14px; background: var(--white); border:1px solid var(--paper-2); color:var(--ink-on-paper); font-weight:700; font-size:0.86rem; box-shadow: 0 14px 30px -24px rgba(10,27,51,0.18); }

/* ---- Phone mockup ---- */
.phone-mock{
  width: min(280px, 70%); margin-inline:auto; aspect-ratio: 9/18.5;
  border-radius: 40px; border: 8px solid var(--ink-3); background: linear-gradient(160deg, var(--ink-2), var(--ink));
  position:relative; overflow:hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.phone-mock .notch{ position:absolute; top:0; left:50%; transform:translateX(-50%); width:40%; height:22px; background: var(--ink-3); border-radius:0 0 14px 14px; }
.phone-mock .screen-ui{ position:absolute; inset:24px 14px 14px; display:flex; flex-direction:column; gap:10px; }
.screen-bar{ height:10px; border-radius:6px; background: rgba(255,255,255,0.08); }
.screen-card{ height:70px; border-radius:14px; background: var(--gradient-signal); opacity:0.85; margin-top:10px; }
.screen-tile{ flex:1; border-radius:14px; background: rgba(255,255,255,0.06); }
.tile-row{ display:flex; gap:10px; flex:1; }

/* ---- Footer ---- */
.site-footer{
  background:
    radial-gradient(circle at 12% 0%, rgba(29,143,225,0.14), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(139,107,255,0.12), transparent 40%),
    #05070E;
  color:var(--muted); padding-top: clamp(56px,7vw,88px); position:relative; overflow:hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer::before{
  content:""; position:absolute; top:-1px; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, #29C4E8 30%, #8B6BFF 60%, transparent);
  opacity:0.6;
}
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom:48px; border-bottom:1px solid var(--line); }
.footer-brand p{ margin-top:16px; font-size:0.9rem; line-height:1.7; max-width:280px; }
.site-footer .brand-word .brand-name{ color:var(--white); }
.footer-social{ display:flex; gap:10px; margin-top:24px; }
.footer-social a{ width:38px; height:38px; border-radius:10px; border:1px solid var(--line-strong); display:flex; align-items:center; justify-content:center; transition: border-color .3s, color .3s; }
.footer-social a:hover{ border-color: var(--signal); color:#fff; }
.footer-social svg{ width:16px; height:16px; }
.footer-col h4{ color:#fff; font-size:0.88rem; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:20px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:#D5E0F5; font-size:0.92rem; transition: color .3s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding: 26px 0; font-size:0.84rem; flex-wrap:wrap; gap:12px; }
.footer-bottom-links{ display:flex; gap:22px; }

.back-to-top{
  position:fixed; right:24px; bottom:24px; width:48px; height:48px; border-radius:50%;
  background: var(--gradient-signal); color:#fff; display:flex; align-items:center; justify-content:center;
  border:none; box-shadow: 0 14px 30px -10px rgba(79,99,255,0.6); z-index:150;
  opacity:0; visibility:hidden; transform: translateY(10px); transition: all 0.35s var(--ease);
}
.back-to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top svg{ width:18px; height:18px; }

/* ---- Reveal animation ---- */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-delay-1{ transition-delay: 0.08s; }
.reveal-delay-2{ transition-delay: 0.16s; }
.reveal-delay-3{ transition-delay: 0.24s; }
.reveal-delay-4{ transition-delay: 0.32s; }

/* ---- Ambient drifting blobs (used behind hero / CTA / dark sections) ---- */
.blob-field{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0 !important; }
.blob{
  position:absolute; border-radius:50%; filter: blur(60px); opacity:0.5;
  animation: blob-drift 18s ease-in-out infinite;
}
.blob-a{ width:360px; height:360px; background:#1D8FE1; top:-80px; left:-60px; animation-duration: 22s; }
.blob-b{ width:300px; height:300px; background:#29C4E8; bottom:-90px; right:-40px; animation-duration: 26s; animation-delay: -6s; }
.blob-c{ width:220px; height:220px; background:#7B61FF; top:40%; left:60%; animation-duration: 20s; animation-delay: -12s; }
@keyframes blob-drift{
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-25px) scale(1.08); }
  66% { transform: translate(-25px,20px) scale(0.95); }
}
.hero > *, .cta-band > *, .page-hero > *{ position:relative; z-index:1; }

/* ---- Duotone photography treatment ---- */
.duotone{ position:relative; width:100%; height:100%; overflow:hidden; }
.duotone img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter: saturate(1.12) contrast(1.04) brightness(1.02);
  transform: scale(1.02);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.duotone::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(200deg, rgba(20,84,199,0.10), rgba(41,196,232,0.06));
  mix-blend-mode: normal; opacity:1; pointer-events:none;
}
.folio-card:hover .duotone img,
.blog-card:hover .duotone img{ transform: scale(1.06); filter: saturate(1.22) contrast(1.06) brightness(1.04); }

/* ---- Floating proof-point badge (hero) ---- */
.floating-badge{
  position:absolute; left:6%; bottom:8%;
  display:flex; align-items:center; gap:12px;
  background: rgba(12,21,38,0.85); backdrop-filter: blur(10px);
  border:1px solid var(--line-strong); border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  animation: badge-float 5s ease-in-out infinite;
}
.floating-badge-icon{
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  background: var(--gradient-signal); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.floating-badge-icon svg{ width:18px; height:18px; }
.floating-badge strong{ display:block; font-family:var(--font-display); color:#fff; font-size:1.05rem; }
.floating-badge span{ display:block; font-size:0.76rem; color:var(--muted); }
@keyframes badge-float{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating-badge-2{
  left:auto; right:2%; top:8%; bottom:auto;
  width:max-content; height:max-content; animation-delay: -2.5s;
}
.floating-badge-icon.icon-alt{ background: var(--gradient-violet); }

/* ---- Marquee (trust logo strip) ---- */
.marquee{ overflow:hidden; margin-top:8px; }
.marquee-track{
  display:flex; gap: clamp(36px,6vw,72px); width:max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee-scroll{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Tilt-on-hover for cards (pure CSS, perspective parent) ---- */
.services-grid, .folio-grid, .testi-grid{ perspective: 1400px; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px){
  .services-grid, .why-grid, .folio-grid, .testi-grid{ grid-template-columns: repeat(2,1fr); }
  .stats-row{ grid-template-columns: repeat(2,1fr); gap:32px; }
  .process-track{ grid-template-columns: repeat(3,1fr); row-gap:36px; }
  .process-track::before{ display:none; }
  .team-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-info-grid{ grid-template-columns: repeat(2,1fr); }
  .metric-grid{ grid-template-columns: repeat(2,1fr); }
  .tech-grid{ grid-template-columns: repeat(3,1fr); }
  .toolkit-grid{ grid-template-columns: repeat(2,1fr); }
  .industry-grid{ grid-template-columns:repeat(2,1fr); }
  .roadmap-grid{ grid-template-columns:repeat(2,1fr); }
  .page-value-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand{ grid-column: 1/-1; margin-bottom:8px; }
}

@media (max-width: 860px){
  .hero-grid, .split, .feature-row, .feature-row.reverse{ grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-visual{ order:initial; }
  .split-visual{ order:2; }
  .split-copy{ order:1; }
  .hero-copy{ order:1; }
  .hero-visual{ display:none; }
  .blog-layout{ grid-template-columns: 1fr; }
  .featured-post{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .floating-badge-2{ display:none; }
  .growth-card{ width: min(190px, 60vw); padding:13px 14px 15px; }
  .growth-signals{ grid-template-columns: 1fr; gap:16px; }
  .growth-panel, .signal-card{ padding:24px; }
  .toolkit-grid{ grid-template-columns:1fr; }
  .industry-grid{ grid-template-columns:1fr; }
  .roadmap-grid{ grid-template-columns:1fr; }
  .page-value-grid{ grid-template-columns:1fr; }
  .whatsapp-widget{ right:16px; bottom:16px; }
  .chatbot-launcher{ right:16px; bottom:90px; width:62px; height:62px; }
  .chatbot-panel{ right:16px; bottom:160px; }
  .section-head.center{ padding-inline:4px; }
  .services-grid, .why-grid, .folio-grid, .testi-grid, .values-grid, .benefit-grid, .blog-grid{ grid-template-columns: 1fr; }
  .process-track{ grid-template-columns: 1fr; row-gap:16px; }
  .team-grid, .metric-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-info-grid{ grid-template-columns: 1fr; gap:16px; }
  .info-card{ padding:22px; }
  .tech-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .hero-meta{ gap:22px; }
  .cta-actions .btn, .hero-actions .btn{ width:100%; }
  .cta-actions, .hero-actions{ flex-direction:column; }
}

@media (max-width: 480px){
  .team-grid, .metric-grid, .tech-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-info-grid{ grid-template-columns: 1fr; }
  .stats-row{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 360px){
  .footer-grid{ grid-template-columns: 1fr; }
}
