:root{
  --gg-navy:#0b1b33;
  --gg-navy-2:#102a4a;
  --gg-sky:#1ea7ff;
  --gg-teal:#00c2d6;
  --gg-green:#25c17b;
  --gg-lime:#b8ef3a;
  --gg-gray:#6b7280;
  --gg-bg:#f5f8fc;
  --gg-surface:#ffffff;
  --gg-border:rgba(11,27,51,.10);
  --gg-shadow:0 10px 30px rgba(11,27,51,.12);
  --gg-radius:18px;
  --gg-max:1180px;
  --gg-font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--gg-font);
  color:var(--gg-navy);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(30,167,255,.22), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(37,193,123,.18), transparent 50%),
    linear-gradient(#ffffff, var(--gg-bg));
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; height:auto}

.gg-container{max-width:var(--gg-max); margin:0 auto; padding:0 20px}
.gg-surface{background:var(--gg-surface); border:1px solid var(--gg-border); border-radius:var(--gg-radius); box-shadow:var(--gg-shadow)}
.gg-pill{border-radius:999px}

.gg-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(245,248,252,.75);
  border-bottom:1px solid rgba(11,27,51,.08);
}
.gg-header-inner{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0}
.gg-brand{display:flex; align-items:center; gap:12px; min-width:220px}
.gg-brand img{width:40px; height:40px; object-fit:contain}
.gg-brand .name{font-weight:800; letter-spacing:.2px}
.gg-brand .tag{font-size:12px; color:var(--gg-gray); margin-top:2px}

.gg-nav ul{display:flex; gap:16px; list-style:none; padding:0; margin:0; flex-wrap:wrap}
.gg-nav a{font-weight:650; font-size:14px; padding:10px 12px; border-radius:12px}
.gg-nav a:hover{background:rgba(11,27,51,.06)}

.gg-cta{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:800; font-size:14px;
  padding:10px 14px;
  border-radius:14px;
  background: linear-gradient(135deg, var(--gg-sky), var(--gg-teal), var(--gg-green), var(--gg-lime));
  color:var(--gg-navy);
  box-shadow: 0 12px 24px rgba(30,167,255,.18);
}
.gg-cta:focus{outline:3px solid rgba(30,167,255,.35); outline-offset:3px}

.gg-hero{padding:56px 0 26px}
.gg-hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:22px; align-items:stretch}
@media (max-width: 900px){ .gg-hero-grid{grid-template-columns:1fr} }
.gg-hero-card{padding:26px}
.gg-kicker{font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--gg-gray)}
.gg-title{font-size:44px; line-height:1.05; margin:10px 0 12px; letter-spacing:-.02em}
@media (max-width: 520px){ .gg-title{font-size:36px} }
.gg-subtitle{color:rgba(11,27,51,.72); font-size:16px; line-height:1.6; margin:0 0 16px}
.gg-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}
.gg-ghost{
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:14px;
  padding:10px 14px; border-radius:14px;
  background: rgba(11,27,51,.04);
  border:1px solid rgba(11,27,51,.10);
}

.gg-metrics{padding:26px; display:grid; gap:12px; align-content:start}
.gg-metric{padding:14px; border-radius:16px; border:1px solid rgba(11,27,51,.08); background:rgba(255,255,255,.75)}
.gg-metric b{display:block; font-size:18px}
.gg-metric span{color:var(--gg-gray); font-size:13px}

.gg-main{padding:22px 0 50px}
.gg-grid{display:grid; grid-template-columns: 2fr 1fr; gap:22px}
@media (max-width: 980px){ .gg-grid{grid-template-columns:1fr} }

.gg-posts{padding:22px}
.gg-post{padding:18px 0; border-top:1px solid rgba(11,27,51,.08)}
.gg-post:first-child{border-top:none}
.gg-post h2{margin:0 0 6px; font-size:22px; letter-spacing:-.01em}
.gg-meta{font-size:12px; color:var(--gg-gray)}
.gg-excerpt{margin:10px 0 0; color:rgba(11,27,51,.78); line-height:1.6}

.gg-sidebar{padding:22px}
.gg-widget{padding:16px; border-radius:16px; border:1px solid rgba(11,27,51,.08); background:rgba(255,255,255,.75); margin-bottom:14px}
.gg-widget h3{margin:0 0 10px; font-size:14px; letter-spacing:.08em; text-transform:uppercase}

.gg-footer{padding:34px 0; border-top:1px solid rgba(11,27,51,.08)}
.gg-footer small{color:var(--gg-gray)}

.wp-block{
  max-width: var(--gg-max);
}
.wp-block-button__link{
  border-radius:14px;
  font-weight:800;
}


/* --- SeedX-inspired tech-modern layer (v1.1.0) --- */
:root{
  --gg-surface-2: rgba(255,255,255,.78);
  --gg-glass: rgba(255,255,255,.62);
  --gg-glass-border: rgba(11,27,51,.10);
  --gg-soft-shadow: 0 18px 50px rgba(11,27,51,.10);
  --gg-ring: 0 0 0 3px rgba(30,167,255,.22);
}

.gg-surface{box-shadow: var(--gg-soft-shadow)}
.gg-card{
  background: var(--gg-surface-2);
  border: 1px solid var(--gg-border);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(11,27,51,.10);
}
.gg-card:hover{transform: translateY(-2px)}
.gg-card{transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.gg-card:hover{border-color: rgba(30,167,255,.28); box-shadow: 0 22px 62px rgba(11,27,51,.14)}

.gg-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background: rgba(11,27,51,.04);
  border:1px solid rgba(11,27,51,.10);
  font-weight:750; font-size:13px; color: rgba(11,27,51,.82);
}

.gg-section{padding: 26px 0}
.gg-section-title{font-size:28px; letter-spacing:-.01em; margin:0 0 12px}
.gg-section-sub{color: rgba(11,27,51,.72); margin:0 0 18px; line-height:1.6}

.gg-feature-grid{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 980px){ .gg-feature-grid{grid-template-columns:1fr} }

.gg-feature{
  padding:18px;
}
.gg-feature h3{margin:0 0 6px; font-size:16px; letter-spacing:-.01em}
.gg-feature p{margin:0; color: rgba(11,27,51,.72); line-height:1.6; font-size:14px}

.gg-badge{
  width:36px; height:36px; border-radius:14px;
  background: linear-gradient(135deg, var(--gg-sky), var(--gg-teal), var(--gg-green));
  box-shadow: 0 14px 30px rgba(30,167,255,.18);
  display:flex; align-items:center; justify-content:center;
  color: var(--gg-navy);
  font-weight: 900;
}

.gg-two-col{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:16px; align-items:stretch;
}
@media (max-width: 980px){ .gg-two-col{grid-template-columns:1fr} }

.gg-mock{
  position: relative;
  overflow:hidden;
  padding: 18px;
}
.gg-mock:before{
  content:"";
  position:absolute; inset:-120px -120px auto auto;
  width: 260px; height:260px;
  background: radial-gradient(circle at 30% 30%, rgba(30,167,255,.32), transparent 60%);
  transform: rotate(18deg);
}
.gg-mock:after{
  content:"";
  position:absolute; inset:auto auto -120px -120px;
  width: 320px; height:320px;
  background: radial-gradient(circle at 50% 50%, rgba(37,193,123,.26), transparent 60%);
  transform: rotate(-12deg);
}

.gg-ui{
  position:relative;
  border-radius: 18px;
  border:1px solid rgba(11,27,51,.10);
  background: rgba(255,255,255,.80);
  overflow:hidden;
}
.gg-ui .topbar{
  height:42px;
  display:flex; align-items:center; gap:8px;
  padding:0 14px;
  border-bottom:1px solid rgba(11,27,51,.08);
  background: rgba(245,248,252,.72);
}
.gg-dot{width:10px; height:10px; border-radius:50%; background: rgba(11,27,51,.18)}
.gg-ui .content{
  padding:16px;
  display:grid; gap:10px;
}
.gg-row{
  height:12px; border-radius:8px;
  background: linear-gradient(90deg, rgba(11,27,51,.10), rgba(11,27,51,.04));
}
.gg-row:nth-child(2){width:78%}
.gg-row:nth-child(3){width:92%}
.gg-row:nth-child(4){width:64%}
.gg-row:nth-child(5){width:88%}

.gg-kpi-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:12px;
}
@media (max-width: 720px){ .gg-kpi-grid{grid-template-columns:1fr} }
.gg-kpi{
  padding:16px;
}
.gg-kpi b{display:block; font-size:22px; letter-spacing:-.01em}
.gg-kpi span{color: var(--gg-gray); font-size:13px}

.gg-reveal{opacity:0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease}
.gg-reveal.is-in{opacity:1; transform: translateY(0)}


/* --- Services + Case Studies templates --- */
.gg-grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:16px}
.gg-grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
@media (max-width: 980px){
  .gg-grid-2, .gg-grid-3{grid-template-columns:1fr}
}

.gg-service-card{padding:18px}
.gg-service-card h3{margin:10px 0 8px; font-size:18px; letter-spacing:-.01em}
.gg-service-card ul{margin:10px 0 0; padding-left:18px; color:rgba(11,27,51,.72); line-height:1.7; font-size:14px}
.gg-service-card li{margin:6px 0}

.gg-steps{display:grid; gap:12px}
.gg-step{padding:14px}
.gg-step b{display:block; margin-bottom:4px}

.gg-cs-toolbar{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  margin-bottom:14px;
}
.gg-filter{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
.gg-filter select{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(11,27,51,.16);
  background: rgba(255,255,255,.85);
  font-weight:700;
}
.gg-cs-card{overflow:hidden}
.gg-cs-thumb{border-radius:16px; overflow:hidden; border:1px solid rgba(11,27,51,.08); background: rgba(255,255,255,.65)}
.gg-cs-body{padding:14px}
.gg-cs-title{margin:10px 0 6px; font-size:16px; letter-spacing:-.01em}
.gg-cs-meta{font-size:12px; color: var(--gg-gray)}
.gg-tag-row{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.gg-tag{
  font-size:12px; font-weight:800;
  padding:6px 10px; border-radius:999px;
  background: rgba(11,27,51,.04);
  border:1px solid rgba(11,27,51,.10);
  color: rgba(11,27,51,.78);
}


/* --- Home animated logo section (NoGood-inspired vibe, original implementation) --- */
.gg-home-split{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:16px; align-items:stretch;
}
@media (max-width: 980px){ .gg-home-split{grid-template-columns:1fr} }

.gg-logo-stage{
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.gg-logo-stage .glow{
  position:absolute; inset:-180px -180px auto auto;
  width: 420px; height:420px; border-radius:50%;
  background: radial-gradient(circle at 35% 35%, rgba(30,167,255,.42), transparent 62%);
  filter: blur(0px);
  transform: rotate(14deg);
  pointer-events:none;
}
.gg-logo-stage .glow2{
  position:absolute; inset:auto auto -200px -200px;
  width: 520px; height:520px; border-radius:50%;
  background: radial-gradient(circle at 50% 50%, rgba(37,193,123,.30), transparent 62%);
  transform: rotate(-10deg);
  pointer-events:none;
}

.gg-logo-orbit{
  position:absolute; inset:0;
  pointer-events:none;
  opacity:.9;
}
.gg-logo-orbit:before{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width: 360px; height:360px;
  transform: translate(-50%,-50%);
  border-radius: 999px;
  border: 1px solid rgba(11,27,51,.10);
  background: conic-gradient(from 180deg,
    rgba(30,167,255,.00),
    rgba(30,167,255,.25),
    rgba(0,194,214,.22),
    rgba(37,193,123,.20),
    rgba(184,239,58,.18),
    rgba(30,167,255,.00)
  );
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 64%);
          mask: radial-gradient(circle, transparent 63%, #000 64%);
  filter: blur(.2px);
  animation: ggSpin 8.5s linear infinite;
}
.gg-logo-orbit:after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width: 460px; height:460px;
  transform: translate(-50%,-50%);
  border-radius: 999px;
  border: 1px dashed rgba(11,27,51,.10);
  opacity:.55;
  animation: ggSpin 14s linear infinite reverse;
}

@keyframes ggSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.gg-logo-badge{
  position:relative;
  width:min(420px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display:flex; align-items:center; justify-content:center;
}

.gg-logo-badge .logo{
  width: 82%;
  max-width: 360px;
  height:auto;
  filter: drop-shadow(0 18px 48px rgba(11,27,51,.18));
  transform: translateZ(0);
  animation: ggFloat 3.8s ease-in-out infinite;
}
@keyframes ggFloat{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(-6px) scale(1.01); }
}

.gg-spark{
  position:absolute; inset:0;
  pointer-events:none;
}
.gg-spark i{
  position:absolute;
  width:8px; height:8px;
  border-radius: 50%;
  background: rgba(30,167,255,.9);
  box-shadow: 0 0 18px rgba(30,167,255,.55);
  opacity:.85;
  animation: ggDrift 6s ease-in-out infinite;
}
.gg-spark i:nth-child(2){ background: rgba(0,194,214,.9); box-shadow:0 0 18px rgba(0,194,214,.55); width:6px; height:6px; animation-duration:7.2s; }
.gg-spark i:nth-child(3){ background: rgba(37,193,123,.9); box-shadow:0 0 18px rgba(37,193,123,.55); width:7px; height:7px; animation-duration:6.6s; }
.gg-spark i:nth-child(4){ background: rgba(184,239,58,.9); box-shadow:0 0 18px rgba(184,239,58,.45); width:5px; height:5px; animation-duration:8.2s; }

@keyframes ggDrift{
  0%,100%{ transform: translate(0,0); opacity:.72; }
  50%{ transform: translate(10px,-12px); opacity:1; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .gg-logo-orbit:before,
  .gg-logo-orbit:after,
  .gg-logo-badge .logo,
  .gg-spark i{ animation: none !important; }
}
