/* ── Reset & Tokens ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f2f2f7;
  --surface:   rgba(255,255,255,0.88);
  --border:    rgba(0,0,0,0.08);
  --text:      #1D1D1F;
  --muted:     #6e6e73;
  --accent:    #4A8FE8;
  --g-start:   #9B5EF5;
  --g-end:     #00D4F5;
  --gradient:  linear-gradient(135deg, var(--g-start), var(--g-end));
  --radius:    20px;
  --pill:      980px;
  --font:      'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow:    0 2px 20px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Utility ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.br-desktop { display: block; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(155,94,245,0.30);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(155,94,245,0.40);
}

.btn-ghost {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: #fff; transform: translateY(-1px); }

.btn-sm  { font-size: 13px; padding: 8px 20px; }
.btn-lg  { font-size: 17px; padding: 16px 36px; }

/* ── Navbar ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 60px;
  background: rgba(242,242,247,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-logo-icon {
  height: 28px;
  width: auto;
  animation: logo-float 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 0px rgba(155,94,245,0));
  transition: filter 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
  filter: drop-shadow(0 0 8px rgba(155,94,245,0.55)) drop-shadow(0 0 16px rgba(0,212,245,0.30));
  animation: logo-float 3.2s ease-in-out infinite, logo-pulse 1.5s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-3px); }
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(155,94,245,0.50)) drop-shadow(0 0 14px rgba(0,212,245,0.25)); }
  50%       { filter: drop-shadow(0 0 12px rgba(155,94,245,0.80)) drop-shadow(0 0 24px rgba(0,212,245,0.45)); }
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: #00B8D9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: var(--pill);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: rgba(0,0,0,0.04); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--g-start), transparent 70%);
  top: -200px; right: -100px;
  opacity: 0.16;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--g-end), transparent 70%);
  bottom: -100px; left: -50px;
  opacity: 0.12;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #4A8FE8, transparent 70%);
  top: 40%; left: 40%;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 100px 0; }

.section-alt {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Products ────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-card-soon {
  border: 1px dashed rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.45);
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--pill);
  padding: 3px 10px;
  margin-bottom: 10px;
  width: fit-content;
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.15s;
}
.product-link:hover { gap: 10px; }

/* ── Services ────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(74,143,232,0.10);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── About ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.section-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155,94,245,0.14), transparent 70%);
  top: -150px; left: -100px;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,245,0.12), transparent 70%);
  bottom: -100px; right: -50px;
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-tagline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-email {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  margin-top: 12px;
  font-weight: 500;
}
.footer-email:hover { opacity: 0.75; }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: #3a3a3c;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ── Reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(242,242,247,0.96);
    backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 14px; font-size: 16px; }
  .nav-burger { display: flex; }

  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-cards   { grid-template-columns: 1fr 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .br-desktop    { display: none; }
  .hero          { min-height: auto; padding: 100px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
