:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a5f;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--slate-800);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--slate-900);
}
.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
}
.logo-text span { color: var(--blue-600); }

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--slate-600);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}
.nav-cta {
  background: var(--blue-600) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}
.nav-cta:hover {
  background: var(--blue-700) !important;
  color: var(--white) !important;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  animation: fadeDown 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--slate-900);
  margin-bottom: 24px;
  animation: fadeDown 0.8s ease 0.1s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-600);
  text-decoration: underline;
  text-decoration-color: rgba(96, 165, 250, 0.5);
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
  text-decoration-skip-ink: none;
}

.hero p {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: fadeDown 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.8s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: var(--blue-700);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white);
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}
.btn-secondary:hover {
  border-color: var(--blue-300);
  color: var(--blue-600);
  background: var(--blue-50);
}

/* ─── SECTIONS ─── */
section { padding: 100px 32px; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blue-600);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--slate-500);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ─── ABOUT ─── */
#about { background: var(--slate-50); }

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

.about-story p {
  color: var(--slate-600);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-story p:last-child { margin-bottom: 0; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 13.5px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ─── PRODUCTS ─── */
#products { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
}
.product-card:hover::before { opacity: 1; }

.product-emoji {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.product-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.product-card p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-features span {
  font-size: 12.5px;
  color: var(--slate-500);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 500;
}

/* ─── LEGAL PAGES ─── */

/* Legal hero */
.legal-hero {
  padding: 160px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.legal-hero .section-label {
  animation: fadeDown 0.8s ease both;
}
.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--slate-900);
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeDown 0.8s ease 0.1s both;
}
.legal-hero .legal-updated {
  font-size: 15px;
  color: var(--slate-400);
  animation: fadeDown 0.8s ease 0.2s both;
}

/* Legal body */
.legal-body {
  padding: 80px 32px 100px;
  background: var(--slate-50);
}
.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* Legal section cards */
.legal-section {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 24px;
  transition: var(--transition);
}
.legal-section:hover {
  border-color: var(--blue-200);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.06);
}

.legal-section h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-section h2::before {
  content: '';
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  border-radius: 2px;
  flex-shrink: 0;
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-section p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.legal-section ul:last-child { margin-bottom: 0; }

.legal-section ul li {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.8;
  padding-left: 22px;
  position: relative;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--blue-400);
  border-radius: 50%;
}

.legal-section a {
  color: var(--blue-600);
  text-decoration: none;
  transition: var(--transition);
}
.legal-section a:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

/* Contact card special styling */
.legal-section.legal-contact {
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border-color: var(--blue-200);
}

/* ─── FOOTER ─── */
footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 60px 32px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--slate-500);
  max-width: 320px;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-300);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-links a {
  display: block;
  color: var(--slate-500);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--blue-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--slate-600);
}
.footer-bottom a {
  color: var(--slate-500);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.footer-bottom a:hover { color: var(--blue-400); }

/* ─── ANIMATIONS ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  /* Nav */
  .nav-inner { padding: 0 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid var(--slate-200);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
  }
  .hamburger { display: flex; }

  /* Hero */
  .hero {
    min-height: 100svh;
    min-height: -webkit-fill-available;
    padding: 100px 20px 60px;
  }
  .hero h1 br { display: none; }
  .hero h1 { letter-spacing: -1px; }
  .hero p { font-size: 16px; margin-bottom: 32px; }
  .hero::before { width: 400px; height: 400px; }
  .hero::after { width: 300px; height: 300px; }

  /* Sections */
  section { padding: 64px 20px; }
  .section-title { margin-bottom: 16px; }
  .section-subtitle { font-size: 15px; margin-bottom: 40px; }

  /* About */
  .about-values { grid-template-columns: 1fr; }
  .about-story p { font-size: 15px; }

  /* Products */
  .product-card { padding: 28px 20px; }
  .product-card h3 { font-size: 18px; }
  .product-card p { font-size: 14px; }

  /* Legal pages */
  .legal-hero { padding: 120px 20px 56px; }
  .legal-hero::before { width: 400px; height: 400px; }
  .legal-hero::after { width: 300px; height: 300px; }
  .legal-body { padding: 48px 20px 64px; }
  .legal-section { padding: 24px 20px; border-radius: var(--radius); }
  .legal-section h2 { font-size: 17px; }
  .legal-section h3 { font-size: 14px; }
  .legal-section p,
  .legal-section ul li { font-size: 14px; }

  /* Footer */
  footer { padding: 48px 20px 24px; }
  .footer-top {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-brand p { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .logo-text { font-size: 15px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 15px; }
  .value-card { padding: 22px 18px; }
  .product-card { padding: 24px 18px; }
  .product-features span { font-size: 11.5px; padding: 3px 10px; }
}
