@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --cream: #f5f0ea;
  --navy: #1a3a5c;
  --navy-dark: #0f2540;
  --coral: #c94c4c;
  --teal: #2a8a8a;
  --teal-light: #3aadad;
  --sky: #4db8d9;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --border: #e0dcd6;
  --shadow: 0 4px 24px rgba(26,58,92,0.08);
  --shadow-lg: 0 12px 48px rgba(26,58,92,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; line-height: 1.2; color: var(--navy-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--coral); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(245,240,234,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
}
.nav-logos { display: flex; align-items: center; gap: 16px; }
.nav-logos img { height: 36px; width: auto; }
.nav-logos .divider { width: 1px; height: 28px; background: var(--border); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--coral); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--coral); }

.lang-toggle {
  display: flex; border: 1.5px solid var(--navy); border-radius: 6px; overflow: hidden;
  font-size: 0.78rem; font-weight: 700;
}
.lang-toggle button {
  border: none; padding: 5px 10px; cursor: pointer;
  background: transparent; color: var(--navy); font-weight: 700;
  font-family: inherit; transition: var(--transition);
}
.lang-toggle button.active { background: var(--navy); color: var(--white); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: var(--transition); }

/* ── HERO ── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--cream) 0%, #e8e2d8 50%, #dce8e8 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,138,138,0.08) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-block; background: var(--coral); color: var(--white);
  font-size: 0.75rem; font-weight: 700; padding: 6px 16px;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero-sub { font-size: 1.1rem; color: var(--text-light); margin-bottom: 32px; max-width: 480px; }
.hero-stats {
  display: flex; gap: 32px; margin-bottom: 36px;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--coral); display: block; }
.hero-stat .label { font-size: 0.78rem; color: var(--text-light); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px; font-weight: 700;
  font-size: 0.9rem; border: none; cursor: pointer;
  font-family: inherit; transition: var(--transition);
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-product-img {
  width: 100%; max-width: 420px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── SECTION UTILITY ── */
.section { padding: 80px 0; }
.section-dark { background: var(--navy-dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-alt { background: var(--white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header .overline {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--teal); margin-bottom: 12px;
}
.section-header p { color: var(--text-light); margin-top: 12px; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.card-icon.teal { background: rgba(42,138,138,0.1); color: var(--teal); }
.card-icon.coral { background: rgba(201,76,76,0.1); color: var(--coral); }
.card-icon.navy { background: rgba(26,58,92,0.1); color: var(--navy); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--text-light); }

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 48px 0;
}
.stat-item { text-align: center; }
.stat-item .number {
  font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal);
}
.section-dark .stat-item .number { color: var(--sky); }
.stat-item .desc { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
.section-dark .stat-item .desc { color: rgba(255,255,255,0.65); }

/* ── COMPARISON TABLE ── */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th {
  background: var(--navy); color: var(--white); padding: 16px 20px;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; text-align: left;
}
.comparison-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; background: var(--white);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .highlight { background: rgba(42,138,138,0.06); font-weight: 600; }

/* ── CUT-OFF TABLE ── */
.specs-table {
  width: 100%; border-collapse: collapse; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--white);
}
.specs-table th {
  background: var(--teal); color: var(--white); padding: 14px 18px;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; text-align: left;
}
.specs-table td { padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.specs-table tr:nth-child(even) td { background: rgba(42,138,138,0.03); }
.specs-table tr:last-child td { border-bottom: none; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: 'DM Serif Display', serif; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-light); }

/* ── USE CASES ── */
.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.use-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  text-align: center; border: 1px solid var(--border); transition: var(--transition);
}
.use-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.use-card .icon { font-size: 2rem; margin-bottom: 12px; }
.use-card h4 { font-size: 1rem; margin-bottom: 6px; }
.use-card p { font-size: 0.82rem; color: var(--text-light); }

/* ── CERTIFICATIONS ── */
.cert-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.cert-item { text-align: center; max-width: 220px; }
.cert-badge {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: var(--sky);
  margin: 0 auto 12px; letter-spacing: 0.5px;
}
.cert-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.cert-item p { font-size: 0.8rem; opacity: 0.7; }

/* ── GLOBAL SECTION ── */
.global-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.global-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border-left: 4px solid var(--teal);
}
.global-card h3 { margin-bottom: 8px; color: var(--teal); font-size: 1.1rem; }
.global-card p { font-size: 0.88rem; color: var(--text-light); }

/* ── LEGAL ── */
.legal-flow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.legal-step {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  text-align: center; border: 1px solid var(--border); position: relative;
}
.legal-step .badge {
  display: inline-block; background: var(--teal); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 4px 12px;
  border-radius: 4px; margin-bottom: 12px; text-transform: uppercase;
}
.legal-step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.legal-step p { font-size: 0.85rem; color: var(--text-light); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 6px; color: var(--navy);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 0.9rem;
  background: var(--white); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,138,138,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border);
}
.info-card h4 { margin-bottom: 8px; font-size: 1rem; }
.info-card p { font-size: 0.88rem; color: var(--text-light); }

/* ── FOOTER ── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand p { font-size: 0.85rem; margin-top: 12px; max-width: 280px; }
.footer-brand img { height: 32px; margin-bottom: 8px; }
.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-certs { display: flex; gap: 20px; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 999; padding: 80px 24px 24px;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 16px 0; font-size: 1.1rem; font-weight: 600;
  color: var(--navy); border-bottom: 1px solid var(--border);
}

/* ── FADE IN ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .legal-flow { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 120px 0 60px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
