:root {
  --bg: #06080f;
  --bg-elev: #0d1220;
  --card-bg: #10162a;
  --border: #232c47;
  --text: #eef1fb;
  --text-dim: #9aa3c0;
  --accent: #3d8bfd;
  --accent-2: #7c5cff;
  --maple: #e53e3e;
  --radius: 16px;

  --c-itagency: #2ea0ff;
  --c-studyagent: #6a5bff;
  --c-zfitness: #7ed321;
  --c-heyza: #10b3a3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.flag-icon { width: 14px; height: 14px; object-fit: contain; border-radius: 2px; vertical-align: -2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,8,15,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; margin-right: auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 6px;
  object-fit: contain; display: block;
}
.logo-text small { font-weight: 400; color: var(--text-dim); font-size: 0.7em; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-dim); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 24px -8px rgba(61,139,253,0.6); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-card { padding: 9px 18px; font-size: 0.85rem; background: var(--bg-elev); border: 1px solid var(--border); }
.btn-card:hover { border-color: var(--accent); color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}

/* Hero */
.hero { position: relative; padding: 120px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(61,139,253,0.25), transparent 60%),
    radial-gradient(600px 400px at 85% 30%, rgba(124,92,255,0.2), transparent 60%);
}
.hero-inner { max-width: 720px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 18px; }
.hero .accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--text-dim); font-size: 1.1rem; max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Section head */
.section-head { max-width: 620px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.section-sub { color: var(--text-dim); margin: 0; }

/* Products */
.products { padding: 90px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
  transition: transform .2s, border-color .2s;
  --theme: var(--accent);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--theme); }
.theme-itagency { --theme: var(--c-itagency); }
.theme-studyagent { --theme: var(--c-studyagent); }
.theme-zfitness { --theme: var(--c-zfitness); }
.theme-heyza { --theme: var(--c-heyza); }

.product-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--theme) 16%, transparent);
  color: var(--theme);
}
.product-icon svg { width: 26px; height: 26px; }
.card-top h3 { margin: 4px 0 6px; font-size: 1.3rem; }
.product-tagline { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.feature-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feature-list li { font-size: 0.9rem; color: var(--text); padding-left: 18px; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--theme);
}
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.product-motto { font-size: 0.8rem; color: var(--theme); font-weight: 600; }

/* About */
.about { padding: 90px 0; background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { max-width: 720px; }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 16px; }
.about-text p { color: var(--text-dim); font-size: 1.05rem; }
.about-stats { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.about-stats strong { display: block; font-size: 1.8rem; color: var(--accent); }
.about-stats span { color: var(--text-dim); font-size: 0.85rem; }

/* CTA band */
.cta-band { padding: 60px 0; }
.cta-inner {
  background: linear-gradient(135deg, rgba(61,139,253,0.15), rgba(124,92,255,0.15));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-inner h2 { margin: 0; font-size: 1.5rem; max-width: 480px; }

/* Contact */
.contact { padding: 90px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 20px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-dim); }
.contact-list .ic { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 14px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form-row { display: flex; gap: 14px; }
.form-row input { flex: 1; }
input, select, textarea {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font: inherit; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.85rem; color: var(--accent); min-height: 1.2em; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-mark { display: inline-block; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { margin: 0 0 4px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); }
.footer-links a { color: var(--text-dim); font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; color: var(--text-dim); font-size: 0.82rem; }

@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav.open a:last-child { border-bottom: none; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle span { transition: transform .2s, opacity .2s; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form-row { flex-direction: column; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
