/* ============================================================
   CodeGIF Developers — design tokens
   Light, airy theme matching the logo's native white background:
   deep indigo -> bright blue -> cyan gradient "C", near-black "S".
   Dark navy reserved for footer, contrast bands and floating cards.
   ============================================================ */

:root{
  --bg:             #FFFFFF;   /* page background */
  --bg-soft:        #F3F6FD;   /* tinted alternating section background */
  --paper-2:        #FFFFFF;   /* card background */
  --line:           #E6EAF6;   /* light hairline */
  --text-dark:      #0B1220;   /* body text on light */
  --text-dim:       #5B6478;   /* muted text on light */

  --ink:            #0A0E1A;   /* dark surface (footer, contrast bands) */
  --ink-2:          #101728;   /* raised dark surface (cards on dark) */
  --ink-3:          #212A44;   /* dark border/hairline */
  --text-light:     #F3F5FA;   /* body text on dark */
  --text-light-dim: #9AA6C0;   /* muted text on dark */

  --blue-deep:      #12308F;
  --blue:           #2F5FEA;
  --blue-bright:    #4C8CFF;
  --cyan:           #5FD3FF;

  --grad-brand: linear-gradient(115deg, var(--blue-deep) 0%, var(--blue) 45%, var(--cyan) 100%);
  --grad-soft: linear-gradient(135deg, rgba(47,95,234,.08), rgba(95,211,255,.08));

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --max-w: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}
p{ margin: 0 0 1em; }
.container{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 1px;
  background: var(--blue);
  display:inline-block;
}
section{ padding: 96px 0; }
@media (max-width: 720px){ section{ padding: 64px 0; } }
.bg-soft{ background: var(--bg-soft); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(47,95,234,.6);
}
.btn-primary:hover{ box-shadow: 0 16px 36px -12px rgba(47,95,234,.65); }
.btn-outline-dark{
  border-color: rgba(255,255,255,.3);
  color: var(--text-light);
}
.btn-outline-dark:hover{ border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-light{
  border-color: var(--line);
  color: var(--text-dark);
  background: #fff;
}
.btn-outline-light:hover{ border-color: var(--blue); color: var(--blue); }

.btn-nav-cta{
  background: var(--grad-brand);
  background-size: 160% 160%;
  color: #fff;
  padding: 11px 22px;
  box-shadow: 0 8px 20px -8px rgba(47,95,234,.55);
  transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease;
}
.btn-nav-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(47,95,234,.65);
  background-position: 100% 0;
}

/* Pixel-square signature motif (echoes the logo's dissolving corner squares) */
.pixel-trail{
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 6px;
  align-items: end;
}
.pixel-trail span{
  display:block;
  background: var(--grad-brand);
  border-radius: 2px;
  animation: pulse 2.6s ease-in-out infinite;
}
.pixel-trail span:nth-child(1){ width:14px; height:14px; }
.pixel-trail span:nth-child(2){ width:11px; height:11px; opacity:.85; animation-delay:.15s; }
.pixel-trail span:nth-child(3){ width:8px;  height:8px;  opacity:.65; animation-delay:.3s; }
.pixel-trail span:nth-child(4){ width:5px;  height:5px;  opacity:.45; animation-delay:.45s; }
@media (prefers-reduced-motion: reduce){ .pixel-trail span{ animation:none; } }

/* ============ HEADER (light, matches logo's native background) ============ */
header.site{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
header.site.scrolled{ box-shadow: 0 8px 24px -18px rgba(11,18,32,.25); }
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:56px; width:auto; }
.brand-name{ font-family: var(--font-display); font-weight:700; font-size:19px; color: var(--text-dark); letter-spacing:-.01em; }
.brand-name span{
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  position:relative;
  color: var(--text-dim);
  font-size: 14.5px; font-weight:500;
  transition: color .2s ease;
  padding-bottom: 4px;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0; width:0; height:2px;
  background: var(--grad-brand);
  transition: width .25s ease;
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text-dark); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:none; color: var(--text-dark); font-size:26px; cursor:pointer; }

@media (max-width: 900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: #fff;
    flex-direction:column; align-items:flex-start;
    padding: 20px 24px; gap:18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -20px rgba(11,18,32,.25);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-nav-cta{ padding: 9px 16px; font-size: 13.5px; }
}

/* ============ HERO (light, animated gradient blobs) ============ */
.hero{
  background: var(--bg);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero .blob{
  position:absolute; border-radius:50%;
  filter: blur(60px);
  opacity:.55;
  pointer-events:none;
  z-index:0;
}
.hero .blob-1{ width:420px; height:420px; top:-140px; right:-80px; background: radial-gradient(circle, rgba(47,95,234,.35), transparent 70%); animation: drift1 16s ease-in-out infinite; }
.hero .blob-2{ width:340px; height:340px; bottom:-120px; right:20%; background: radial-gradient(circle, rgba(95,211,255,.30), transparent 70%); animation: drift2 20s ease-in-out infinite; }
.hero .blob-3{ width:260px; height:260px; top:20%; left:-100px; background: radial-gradient(circle, rgba(18,48,143,.20), transparent 70%); animation: drift3 18s ease-in-out infinite; }
@keyframes drift1{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-30px,40px) scale(1.08); } }
@keyframes drift2{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(24px,-30px) scale(1.06); } }
@keyframes drift3{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(20px,20px) scale(1.1); } }
@media (prefers-reduced-motion: reduce){ .hero .blob{ animation:none; } }
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(rgba(18,48,143,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events:none;
  z-index:0;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items:center;
}
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero h1{
  font-size: clamp(34px, 4.6vw, 56px);
  color: var(--text-dark);
}
.hero h1 em{
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead{
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 44px; }
.hero-stats{ display:flex; gap:36px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family: var(--font-display); font-size:26px; background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-stats div span{ font-size:13px; color: var(--text-dim); }

.hero-panel{
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  z-index:1;
  box-shadow: 0 40px 80px -30px rgba(11,18,32,.35), 0 0 0 1px rgba(95,211,255,.05);
  animation: float 6s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce){ .hero-panel{ animation:none; } }
.hero-panel .code-tag{
  font-family: var(--font-mono); font-size:12.5px; color: var(--cyan);
  display:flex; justify-content:space-between; margin-bottom:18px;
}
.hero-panel ul li{
  display:flex; gap:12px; align-items:flex-start;
  padding: 13px 0; border-top: 1px solid var(--ink-3);
  font-size: 14.5px; color: var(--text-light-dim);
}
.hero-panel ul li:first-child{ border-top:none; }
.hero-panel ul li b{ color:#fff; font-weight:600; }
.dot{ width:7px; height:7px; border-radius:50%; background: var(--cyan); margin-top:7px; flex-shrink:0; }

/* Pixel divider strip between hero and content */
.pixel-divider{
  height: 46px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pixel-divider .row{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center; gap:10px;
}
.pixel-divider span{
  width:6px; height:6px; border-radius:1px;
  background: var(--blue-bright);
  animation: pulse 2.4s ease-in-out infinite;
}
.pixel-divider span:nth-child(3n){ opacity:.5; animation-delay:.2s; }
.pixel-divider span:nth-child(5n){ opacity:.3; background: var(--blue-deep); animation-delay:.4s; }
.pixel-divider span:nth-child(2n){ animation-delay:.6s; }
@keyframes pulse{ 0%,100%{ opacity:.35; transform: scale(1); } 50%{ opacity:1; transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce){ .pixel-divider span{ animation:none; } }

/* ============ LOGO STRIP ============ */
.strip{ background: var(--bg); padding: 42px 0; border-bottom: 1px solid var(--line); }
.strip p{ text-align:center; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color: var(--text-dim); font-family: var(--font-mono); margin-bottom:22px; }
.strip-row{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; color: var(--text-dim); font-weight:600; font-family: var(--font-display); font-size:15px; }
.strip-row span{ transition: color .2s ease; }
.strip-row span:hover{ color: var(--blue); }

/* ============ SECTION HEADS ============ */
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(26px, 3.4vw, 38px); position: relative; padding-bottom:16px; }
.section-head h2::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:52px; height:3px; border-radius:2px;
  background: var(--grad-brand);
}
.section-head.center h2::after{ left:50%; transform: translateX(-50%); }
.section-head p{ color: var(--text-dim); font-size:16px; }

/* ============ SCROLL REVEAL ============ */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }
.grid-3 .reveal:nth-child(1), .grid-2 .reveal:nth-child(1), .steps .reveal:nth-child(1){ transition-delay: 0s; }
.grid-3 .reveal:nth-child(2), .grid-2 .reveal:nth-child(2), .steps .reveal:nth-child(2){ transition-delay: .08s; }
.grid-3 .reveal:nth-child(3), .grid-2 .reveal:nth-child(3), .steps .reveal:nth-child(3){ transition-delay: .16s; }
.grid-3 .reveal:nth-child(4), .steps .reveal:nth-child(4){ transition-delay: .24s; }
.grid-3 .reveal:nth-child(5){ transition-delay: .32s; }
.grid-3 .reveal:nth-child(6){ transition-delay: .4s; }

/* ============ SERVICE CARDS ============ */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-grid{ grid-template-columns: 1.3fr .9fr; gap:32px; align-items:flex-start; }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
@media (max-width: 640px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10,14,26,.04);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover{
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -22px rgba(18,48,143,.22);
}
.card:hover::before{ transform: scaleX(1); }
.card .icon{
  width:52px; height:52px; border-radius: 12px;
  background: var(--grad-brand);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--font-mono); font-weight:700; font-size:15px;
  margin-bottom: 20px;
  box-shadow: 0 12px 24px -10px rgba(47,95,234,.5);
  transition: transform .25s ease;
}
.card:hover .icon{ transform: scale(1.07) rotate(-3deg); }
.card h3{ font-size: 18px; margin-bottom:8px; }
.card p{ color: var(--text-dim); font-size: 14.5px; margin-bottom: 14px; }
.card .tags{ display:flex; flex-wrap:wrap; gap:8px; }
.card .tags span{
  font-family: var(--font-mono); font-size:11.5px;
  background: #EEF2FE; color: var(--blue-deep);
  padding: 4px 9px; border-radius: 5px;
}
.card .learn{ font-size:13.5px; font-weight:600; color: var(--blue); display:inline-flex; align-items:center; gap:6px; margin-top:6px; transition: gap .2s ease; }
.card .learn:hover{ gap:10px; }

/* ============ DARK BAND (process / why us) ============ */
.band-dark{ background: var(--ink); color: var(--text-light); position:relative; overflow:hidden; }
.band-dark::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(560px 320px at 15% 0%, rgba(47,95,234,.22), transparent 60%),
              radial-gradient(480px 300px at 100% 100%, rgba(95,211,255,.12), transparent 65%);
  pointer-events:none;
}
.band-dark .container{ position:relative; z-index:1; }
.band-dark .section-head p{ color: var(--text-light-dim); }
.band-dark .section-head .eyebrow{ color: var(--cyan); }
.band-dark .eyebrow::before{ background: var(--cyan); }

.steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px){ .steps{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }
.step{
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: var(--ink-2);
  transition: transform .25s ease, border-color .25s ease;
}
.step:hover{ transform: translateY(-4px); border-color: var(--blue-bright); }
.step .num{ font-family: var(--font-mono); color: var(--cyan); font-size:13px; margin-bottom:14px; }
.step h4{ color:#fff; font-size:16px; }
.step p{ color: var(--text-light-dim); font-size:14px; margin:0; }

/* ============ FEATURE / WHY US ============ */
.feature-row{ display:flex; gap:16px; padding: 20px 0; border-top:1px solid var(--ink-3); }
.feature-row:first-of-type{ border-top:none; }
.feature-row .mark{ width:22px; height:22px; border-radius:6px; background: var(--grad-brand); flex-shrink:0; margin-top:3px; }
.feature-row h4{ color:#fff; font-size:15.5px; margin-bottom:4px; }
.feature-row p{ color: var(--text-light-dim); font-size:14px; margin:0; }

/* ============ STATS COUNTER ============ */
.stats-row{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
@media (max-width: 800px){ .stats-row{ grid-template-columns: 1fr 1fr; } }
.stat-card{ text-align:center; padding: 8px 12px; }
.stat-card .num{
  font-family: var(--font-display); font-weight:700; font-size: clamp(30px,4vw,42px);
  background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-card .label{ font-size:13.5px; color: var(--text-dim); margin-top:6px; }
.band-dark .stat-card .label{ color: var(--text-light-dim); }

/* ============ TESTIMONIALS ============ */
.testimonial-card{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
  box-shadow: 0 1px 2px rgba(10,14,26,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(18,48,143,.2); }
.testimonial-card .quote-mark{
  font-family: var(--font-display); font-size:44px; line-height:1;
  color: var(--blue-bright); opacity:.35; margin-bottom:6px;
}
.testimonial-card p.quote{ font-size:15px; color: var(--text-dark); margin-bottom:20px; }
.testimonial-card .who{ display:flex; align-items:center; gap:12px; }
.testimonial-card .who .av{
  width:40px; height:40px; border-radius:50%;
  background: var(--grad-brand); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:14px;
}
.testimonial-card .who b{ display:block; font-size:14px; }
.testimonial-card .who span{ font-size:12.5px; color: var(--text-dim); }

/* ============ FAQ ACCORDION ============ */
.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-2);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 20px 24px; cursor:pointer;
  font-family: var(--font-display); font-weight:600; font-size:15.5px; color: var(--text-dark);
}
.faq-q .plus{
  width:26px; height:26px; border-radius:50%; flex-shrink:0;
  background: var(--grad-soft); color: var(--blue-deep);
  display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:700;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-item.open .faq-q .plus{ transform: rotate(45deg); background: var(--grad-brand); color:#fff; }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a{ padding: 0 24px 20px; }
.faq-a p{ color: var(--text-dim); font-size:14.5px; margin:0; }

/* ============ CTA ============ */
.cta-band{
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 56px;
  color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events:none;
}
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ font-size: clamp(24px,3vw,32px); margin-bottom:8px; }
.cta-band p{ color: rgba(255,255,255,.85); margin:0; max-width:460px; }
.cta-band .btn-outline-dark{ border-color: rgba(255,255,255,.55); }

/* ============ FOOTER ============ */
footer.site{
  background: var(--ink);
  color: var(--text-light-dim);
  padding: 64px 0 28px;
  border-top: 1px solid var(--ink-3);
}
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px; margin-bottom: 46px;
}
@media (max-width: 800px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
.footer-grid h5{ color:#fff; font-family: var(--font-display); font-size:14px; margin-bottom:16px; letter-spacing:.02em; }
.footer-grid ul li{ margin-bottom: 10px; font-size: 14px; }
.footer-grid ul li a:hover{ color: var(--cyan); }
footer.site .brand-name{ color: var(--text-light); }
.mark-sq{
  width:44px; height:44px; border-radius:11px;
  background: var(--grad-brand);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--font-mono); font-weight:600; font-size:14px;
  box-shadow: 0 10px 22px -10px rgba(47,95,234,.55);
  flex-shrink:0;
}
.footer-brand p{ color: var(--text-light-dim); font-size:14px; max-width:280px; }
.footer-bottom{
  border-top: 1px solid var(--ink-3);
  padding-top: 24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:13px;
}
.socials{ display:flex; gap:14px; }
.footer-legal-links a{ transition: color .2s ease; }
.footer-legal-links a:hover{ color: var(--cyan); }
.socials a{
  width:34px;height:34px;border-radius:50%;
  border:1px solid var(--ink-3);
  display:flex;align-items:center;justify-content:center;
  font-size:13px; color: var(--text-light-dim);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.socials a:hover{ border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }

/* ============ INNER PAGE HERO (smaller) ============ */
.page-hero{
  background: var(--bg-soft);
  color: var(--text-dark);
  padding: 74px 0 60px;
  position: relative; overflow:hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 340px at 85% 0%, rgba(47,95,234,.14), transparent 60%);
  pointer-events:none;
}
.page-hero .container{ position:relative; z-index:1; }
.breadcrumb{ font-family: var(--font-mono); font-size:12.5px; color: var(--text-dim); margin-bottom:16px; }
.breadcrumb a{ color: var(--blue); }
.page-hero h1{ font-size: clamp(30px,4vw,44px); color: var(--text-dark); max-width:720px; }
.page-hero p{ color: var(--text-dim); max-width:600px; font-size:16.5px; }

/* ============ FORMS (contact) ============ */
.form-card{
  background: var(--paper-2); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: 0 24px 60px -30px rgba(10,14,26,.18);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-bottom:16px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
label{ font-size:13px; font-weight:600; color: var(--text-dark); display:block; margin-bottom:6px; }
input, select, textarea{
  width:100%; padding:12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-family: var(--font-body); font-size:14.5px;
  background: var(--bg-soft); color: var(--text-dark);
  transition: border-color .2s ease, background .2s ease;
}
input:focus, select:focus, textarea:focus{ outline:none; border-color: var(--blue); background:#fff; }
textarea{ resize:vertical; min-height:120px; }
.field{ margin-bottom:16px; }
.form-status{
  margin: 14px 0 0; font-size: 13.5px; text-align:center; min-height: 18px;
  transition: color .2s ease;
}
.form-status.success{ color: #1E8E5A; }
.form-status.error{ color: #D6423C; }

.contact-info-card{
  background: var(--ink); color: var(--text-light);
  border-radius: var(--radius-lg); padding: 34px;
  position:relative; overflow:hidden;
}
.contact-info-card::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(360px 220px at 100% 0%, rgba(95,211,255,.16), transparent 65%);
  pointer-events:none;
}
.contact-info-card > *{ position:relative; z-index:1; }
.contact-info-card h3{ color:#fff; font-size:18px; }
.contact-line{ display:flex; gap:14px; align-items:flex-start; padding:16px 0; border-top:1px solid var(--ink-3); }
.contact-line:first-of-type{ border-top:none; }
.contact-line .ico{ width:34px;height:34px;border-radius:8px; background: rgba(255,255,255,.08); display:flex;align-items:center;justify-content:center; font-family:var(--font-mono); font-size:12px; color:var(--cyan); flex-shrink:0; }
.contact-line b{ display:block; color:#fff; font-size:14px; }
.contact-line span{ color: var(--text-light-dim); font-size:13.5px; }

/* ============ WHATSAPP FLOATING BUTTON ============ */
.wa-fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(37,211,102,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 34px -8px rgba(37,211,102,.65);
}
.wa-fab svg{ width: 30px; height: 30px; }
.wa-fab .wa-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse{
  0%{ transform: scale(1); opacity:.6; }
  100%{ transform: scale(1.55); opacity:0; }
}
@media (prefers-reduced-motion: reduce){ .wa-fab .wa-ring{ animation:none; } }
.wa-tooltip{
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  box-shadow: 0 10px 24px -10px rgba(10,14,26,.4);
}
.wa-fab:hover .wa-tooltip{ opacity: 1; }
@media (max-width: 640px){
  .wa-fab{ right:16px; bottom:16px; width:52px; height:52px; }
  .wa-fab svg{ width:26px; height:26px; }
  .wa-tooltip{ display:none; }
}
/* ============ BLOG ============ */
.post-card{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10,14,26,.04);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.post-thumb{
  margin: -28px -26px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: var(--bg-soft);
}
.post-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .35s ease; }
.post-card:hover .post-thumb img{ transform: scale(1.04); }
.article-hero-img{
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 24px 60px -30px rgba(10,14,26,.25);
}
.article-hero-img img{ width:100%; height:auto; display:block; }
.post-card::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.post-card:hover{ border-color: transparent; transform: translateY(-6px); box-shadow: 0 24px 48px -22px rgba(18,48,143,.22); }
.post-card:hover::before{ transform: scaleX(1); }
.post-meta{ display:flex; gap:10px; align-items:center; margin-bottom:14px; }
.post-meta .cat{
  font-family: var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  background:#EEF2FE; color:var(--blue-deep); padding:4px 9px; border-radius:5px;
}
.post-meta .date{ font-size:12.5px; color: var(--text-dim); }
.post-card h3{ font-size:18px; margin-bottom:8px; }
.post-card p{ color: var(--text-dim); font-size:14.5px; margin-bottom:16px; flex-grow:1; }
.post-card .learn{ font-size:13.5px; font-weight:600; color: var(--blue); display:inline-flex; align-items:center; gap:6px; transition: gap .2s ease; }
.post-card .learn:hover{ gap:10px; }

.article-meta{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  font-family: var(--font-mono); font-size:12.5px; color: var(--text-dim);
  margin-bottom: 18px;
}
.article-meta .cat{
  background:#EEF2FE; color:var(--blue-deep); padding:4px 10px; border-radius:5px;
  text-transform:uppercase; letter-spacing:.06em; font-size:11px;
}
.article-content{ max-width: 720px; margin: 0 auto; }
.article-content h2{ font-size: 23px; margin-top: 42px; padding-bottom:0; }
.article-content h2::after{ display:none; }
.article-content h2:first-of-type{ margin-top:0; }
.article-content h3{ font-size: 18px; margin-top: 30px; }
.article-content p, .article-content li{ color: var(--text-dim); font-size: 15.5px; }
.article-content ul, .article-content ol{ margin: 0 0 1.2em; padding-left: 22px; }
.article-content ul{ list-style: disc; }
.article-content ol{ list-style: decimal; }
.article-content li{ margin-bottom: 8px; }
.article-content strong{ color: var(--text-dark); }
.article-content code{
  font-family: var(--font-mono); font-size: 13.5px;
  background: #EEF2FE; color: var(--blue-deep);
  padding: 2px 6px; border-radius: 4px;
}
.article-content pre{
  background: var(--ink); color: var(--text-light);
  padding: 18px 20px; border-radius: var(--radius-md);
  overflow-x: auto; margin: 0 0 1.4em;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.6;
}
.article-content pre code{ background:none; color:inherit; padding:0; }
.article-content blockquote{
  border-left: 3px solid var(--blue); margin: 24px 0; padding: 4px 0 4px 20px;
  color: var(--text-dark); font-style: italic; font-size: 16px;
}
.article-callout{
  background: var(--grad-soft); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px 22px; margin: 28px 0;
}
.article-callout p{ margin:0; color: var(--text-dark); font-size: 14.5px; }
.article-callout strong{ color: var(--blue-deep); }
.author-strip{
  max-width: 720px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line);
  display:flex; align-items:center; gap:14px;
}
.author-strip .av{
  width:46px; height:46px; border-radius:50%; background: var(--grad-brand);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:15px; flex-shrink:0;
}
.author-strip b{ display:block; font-size:14.5px; }
.author-strip span{ font-size:13px; color: var(--text-dim); }

/* ============ APP CASE STUDY PAGE ============ */
.app-hero{
  display:flex; align-items:center; gap:26px; flex-wrap:wrap;
  margin-bottom: 8px;
}
.app-hero-icon{
  width:96px; height:96px; border-radius:24px;
  box-shadow: 0 16px 36px -14px rgba(18,48,143,.4);
  flex-shrink:0; background:#fff;
}
.app-hero-meta .cat-pill{
  font-family: var(--font-mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em;
  background:#EEF2FE; color:var(--blue-deep); padding:5px 11px; border-radius:6px;
  display:inline-block; margin-bottom:10px;
}
.app-hero-meta h1{ margin-bottom:6px; }
.app-hero-meta p{ margin:0; color: var(--text-dim); font-size:16px; max-width:560px; }

.app-feature{
  display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:center;
}
.app-feature.reverse .app-feature-img{ order:2; }
.app-feature.reverse .app-feature-text{ order:1; }
@media (max-width: 800px){
  .app-feature{ grid-template-columns: 1fr; gap:32px; }
  .app-feature.reverse .app-feature-img{ order:1; }
  .app-feature.reverse .app-feature-text{ order:2; }
}
.app-feature-img{ display:flex; justify-content:center; }
.app-shot{
  max-width: 300px; width:100%;
  border-radius: 22px;
  box-shadow: 0 30px 60px -24px rgba(10,14,26,.35);
}
.app-feature-text .eyebrow{ margin-bottom:12px; }
.app-feature-text h2{ padding-bottom:0; margin-bottom:14px; }
.app-feature-text h2::after{ display:none; }
.app-feature-text p{ color: var(--text-dim); font-size:15.5px; }
.app-feature-block{ margin-bottom: 88px; }
.app-feature-block:last-child{ margin-bottom:0; }

.app-tech-list{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.app-tech-list span{
  font-family: var(--font-mono); font-size:12.5px;
  background:#EEF2FE; color:var(--blue-deep); padding:6px 12px; border-radius:6px;
}

.mt-0{ margin-top:0; }
.text-center{ text-align:center; }
.badge{
  display:inline-block; font-family: var(--font-mono); font-size:11.5px;
  background: #EEF2FE; color: var(--blue-deep); padding:4px 10px; border-radius:5px; margin-bottom:14px;
}
.value-list li{ display:flex; gap:10px; align-items:flex-start; padding:10px 0; font-size:14.5px; color: var(--text-dim); }
.value-list li::before{ content:"›"; color: var(--blue); font-weight:700; }

.team-card{ background: var(--paper-2); border:1px solid var(--line); border-radius: var(--radius-md); padding:24px; text-align:center; }
.team-card .avatar{ width:64px;height:64px;border-radius:50%; margin:0 auto 14px; background: var(--grad-brand); display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-display);font-weight:700; }
.team-card h4{ font-size:15px; margin-bottom:2px; }
.team-card span{ font-size:13px; color: var(--text-dim); }
