/* cre8ivesynergy.com — design system
   Tokens + component classes extracted from the prototype's inline styles. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/space-grotesk-300.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/dm-sans-300.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-500.woff2") format("woff2");
}

:root {
  --bg: #090f14;
  --bg2: #0e161d;
  --acc: #35e0c8;
  --acc2: #b7f04a;
  --hl: #7fd0ff;
  --ink: #eef4f7;
  --dim: #94a6b3;
  --line: rgba(255, 255, 255, 0.09);
  --radius-card: 20px;
  --radius-panel: 26px;
  --maxw: 1220px;
  --maxw-narrow: 860px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc); }
input, textarea, button { font: inherit; }
img { max-width: 100%; }

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  letter-spacing: -0.015em;
  margin: 0;
}

@keyframes csFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hl { color: var(--hl); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 8vw, 110px) 24px 0; }
.section-first { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) 24px clamp(40px, 6vw, 80px); }

.grid { display: grid; gap: 18px; }
.grid-auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-auto-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-auto-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-auto-128 { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.grid-align-center { align-items: center; }
.grid-align-start { align-items: start; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(14px);
  background: rgba(9, 15, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; margin-right: auto; min-width: 0; }
.brand img { display: block; height: clamp(44px, 5vw, 64px); width: auto; max-width: 304px; object-fit: contain; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--dim);
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-desktop a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .link-cta { font-size: 15px; color: #fff; font-weight: 500; }

.nav-burger {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex: none;
  background: transparent;
  appearance: none;
  padding: 0;
}
.nav-burger-bar {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 8, 11, 0.96);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 88px 28px 40px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
}
.mobile-menu nav a { font-size: 30px; padding: 12px 0; }
.mobile-menu .btn-primary { margin-top: 32px; text-align: center; }

/* ---------- buttons / pills ---------- */
.btn-primary {
  display: inline-block;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--acc);
  color: #04140f;
  font-weight: 500;
  border: none;
}
.btn-primary:hover {
    color: #fff;
}
.btn-primary.btn-sm { padding: 12px 22px; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; white-space: nowrap; }
.btn-ghost {
  display: inline-block;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn-ghost.btn-sm { padding: 10px 22px; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.icon-circle {
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
}
.icon-circle.sm { width: 40px; height: 40px; font-size: 13px; }
.icon-circle.xs { width: 36px; height: 36px; font-size: 12px; }

/* ---------- cards / panels ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  background: rgba(255, 255, 255, 0.02);
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}
.dot-field {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.35;
}
.stat-strip {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  padding: clamp(24px, 3.5vw, 38px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 26px;
}
.stat-num { font-family: "Space Grotesk", sans-serif; font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; }
.stat-label { color: var(--dim); font-size: 13px; margin-top: 10px; }

.disc-card {
  cursor: pointer;
  border-radius: 22px;
  padding: 30px;
  color: #0d1319;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.disc-card.seo { background: linear-gradient(150deg, #cfe9ff, #9dd3f2); }
.disc-card.dm { background: linear-gradient(150deg, #d6f6ec, #a8e6d4); }
.disc-card.web { background: linear-gradient(150deg, #e0dcff, #bcc7ff); }
.disc-card h3 { font-weight: 400; font-size: 24px; color: #0d1319; }
.disc-card p { margin: 0; font-size: 15px; color: #26333d; }
.disc-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.disc-list-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(13, 19, 25, 0.16);
  padding-top: 10px;
  font-size: 15px;
}

.feature-card .feature-dot { width: 38px; height: 38px; border-radius: 50%; }
.feature-card h3 { font-weight: 500; font-size: 18px; margin: 20px 0 8px; }
.feature-card p { margin: 0; font-size: 15px; color: var(--dim); }
.feature-dot.blue { background: linear-gradient(140deg, #4aa8ff, #2f6fe0); }
.feature-dot.teal { background: linear-gradient(140deg, #35e0c8, #1aa0a8); }
.feature-dot.purple { background: linear-gradient(140deg, #9b7dff, #6c4ce0); }
.feature-dot.pink { background: linear-gradient(140deg, #ff8ec7, #d95ba5); }

.step-list { display: flex; flex-direction: column; gap: 2px; }
.step-row { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.step-list .step-row:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: ui-monospace, monospace; font-size: 13px; color: var(--acc); padding-top: 4px; }
.step-row h3 { font-weight: 500; font-size: 18px; margin: 0 0 6px; }
.step-row p { margin: 0; font-size: 15px; color: var(--dim); }

.region-pill {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 14px;
}
.region-pill .code { color: var(--acc); font-family: ui-monospace, monospace; font-size: 12px; margin-right: 8px; }

/* ---------- testimonials ---------- */
.quote-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.03);
}
.quote-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--acc), var(--hl));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04140f;
  font-size: 18px;
}
.quote-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
  margin: 22px 0 0;
}
.quote-person { margin-top: 26px; display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
}
.quote-name { font-size: 15px; }
.quote-role { font-size: 13px; color: var(--dim); }
.quote-nav { display: flex; gap: 12px; margin-top: 28px; }

/* ---------- post / blog cards ---------- */
.post-card {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
}
.post-card-img {
  width: 100%;
  height: 170px;
  background-size: cover;
  background-position: center;
}
.post-card.lg .post-card-img { height: 190px; }
.post-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card.lg .post-card-body { padding: 24px; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--dim); }
.post-meta .cat { color: var(--acc); letter-spacing: 0.08em; text-transform: uppercase; }
.post-card h3 { font-weight: 400; font-size: 18px; margin: 0; }
.post-card.lg h3 { font-size: 20px; line-height: 1.3; }
.post-card p { margin: 0; font-size: 15px; color: var(--dim); }
.post-card .read-more { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--acc); }

.cat-pill {
  cursor: pointer;
  padding: 9px 20px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.cat-pill[aria-pressed="true"] { background: var(--acc); color: #04140f; }
.cat-pill:hover { color: inherit; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 26px;
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(140deg, rgba(53, 224, 200, 0.16), rgba(127, 208, 255, 0.08) 60%, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}
.cta-band p { color: #c6d4dd; margin: 16px 0 0; max-width: 480px; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.site-footer-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 5vw, 64px) 24px 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.footer-brand img { display: block; height: 55px; width: auto; max-width: 270px; object-fit: contain; }
.footer-email { font-size: 20px; font-family: "Space Grotesk", sans-serif; font-weight: 300; margin-top: 22px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--dim); }
.footer-col-title { color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-legal {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.7;
}

/* ---------- hero ---------- */
.hero-home-visual {
  position: relative;
  min-height: 300px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 70% 20%, rgba(53, 224, 200, 0.18), transparent 60%), linear-gradient(160deg, rgba(127, 208, 255, 0.12), rgba(9, 15, 20, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}
.hero-home-orb {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--acc), var(--hl), var(--acc2), var(--acc));
  filter: blur(0.4px);
  opacity: 0.9;
  animation: csFloat 7s ease-in-out infinite;
}
.hero-home-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}

.service-kicker { font-family: ui-monospace, monospace; font-size: 12px; color: var(--acc); letter-spacing: 0.1em; text-transform: uppercase; }
.service-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 240px; }
.service-hero-glow {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 224, 200, 0.28), transparent 70%);
  filter: blur(40px);
}
.service-hero-img {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 520px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.about-visual {
  position: relative;
  border-radius: 22px;
  min-height: 240px;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  background: radial-gradient(90% 80% at 50% 50%, rgba(53, 224, 200, 0.14), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
}
.about-visual img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)); }
.team-placeholder-row { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.team-placeholder {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 6px, transparent 6px 12px);
  border: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq-item { cursor: pointer; border-top: 1px solid var(--line); padding: 22px 0; background: none; border-left: none; border-right: none; border-bottom: none; width: 100%; text-align: left; color: inherit; }
.faq-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.faq-head h3 { font-weight: 400; font-size: 18px; }
.faq-sign { color: var(--acc); font-size: 20px; line-height: 1; }
.faq-answer { margin: 14px 0 0; font-size: 15px; color: var(--dim); max-width: 720px; }
.faq-item[aria-expanded="false"] .faq-answer { display: none; }

/* ---------- contact ---------- */
.contact-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 13px; color: var(--dim); }
.form-field input, .form-field textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff;
  outline: none;
}
.form-field textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--dim); }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info .label { font-size: 13px; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-info .big { font-size: 22px; font-family: "Space Grotesk", sans-serif; font-weight: 300; margin-top: 8px; }
.contact-info .addr { margin-top: 8px; color: #d6e1e8; }
.social-row { display: flex; gap: 10px; }

/* ---------- legal ---------- */
.legal-updated { font-size: 13px; color: var(--dim); margin-top: 12px; }
.legal-intro { color: var(--dim); margin: 24px 0 0; }
.legal-section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-section h2 { font-weight: 500; font-size: 20px; margin: 0 0 10px; }
.legal-section p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---------- post article ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--dim); }
.breadcrumbs .current { color: #d6e1e8; }
.post-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  border: 1px solid var(--line);
  margin-top: 34px;
  object-fit: cover;
}
.post-intro { font-size: 19px; line-height: 1.6; color: #d6e1e8; margin: 36px 0 0; }
.post-section { margin-top: 38px; }
.post-section h2 { font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.01em; margin: 0 0 14px; }
.post-section p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; color: var(--dim); }
.post-bullet { display: flex; gap: 12px; margin: 0 0 10px; }
.post-bullet .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin-top: 11px; flex: none; }
.post-bullet span.text { font-size: 17px; line-height: 1.65; color: var(--dim); }

/* ---------- 404 ---------- */
.error-code { font-family: "Space Grotesk", sans-serif; font-weight: 300; font-size: clamp(72px, 14vw, 160px); line-height: 1; letter-spacing: -0.03em; color: var(--hl); }

/* ---------- responsive header ---------- */
@media (max-width: 1060px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 1061px) {
  .nav-burger { display: none; }
  .mobile-menu { display: none !important; }
}
