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

:root {
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-glow: rgba(2, 132, 199, 0.2);
  --bg: #FFFFFF;
  --bg-section: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --border-active: #BAE6FD;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --gradient-primary: linear-gradient(135deg, #0284C7, #38BDF8);
  --gradient-hero: linear-gradient(160deg, #EFF6FF 0%, #F0F9FF 50%, #FFFFFF 100%);
  --radius-card: 20px;
  --radius-btn: 14px;
  --font: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 500;
}

.logo-icon { font-size: 24px; }
.logo-text strong { color: var(--primary); font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-main); }

.btn-nav-cta {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14px !important;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px var(--primary-glow) !important;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(2,132,199,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadein 0.8s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -3px;
  color: var(--text-main);
  margin-bottom: 24px;
  animation: fadein 0.9s 0.1s ease both;
}

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

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 44px;
  font-weight: 400;
  line-height: 1.7;
  animation: fadein 0.9s 0.2s ease both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
  animation: fadein 0.9s 0.3s ease both;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow), 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--primary-glow), 0 4px 16px rgba(0,0,0,0.1);
}

.btn-primary.large { font-size: 18px; padding: 20px 42px; }

.btn-arrow { font-style: normal; transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: #CBD5E1;
  background: var(--bg-section);
}

/* ---- HERO STATS ---- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: fadein 1s 0.4s ease both;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number { font-size: 26px; font-weight: 900; color: var(--text-main); letter-spacing: -0.5px; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ---- SECTIONS ---- */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

/* ---- CLIPOS SECTION ---- */
.clipos-section {
  padding: 120px 0;
  background: var(--bg-section);
  text-align: center;
}

.clipos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.clipo-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.clipo-card.active {
  border-color: var(--border-active);
  background: linear-gradient(160deg, #F0F9FF, #FFFFFF);
  box-shadow: 0 4px 24px rgba(2,132,199,0.12);
}

.clipo-card.active:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(2,132,199,0.18);
}

.clipo-card.coming-soon { opacity: 0.7; cursor: default; }
.clipo-card.coming-soon:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.clipo-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 100px;
}

.active-badge { background: #DCFCE7; border: 1px solid #BBF7D0; color: #166534; }
.soon-badge { background: #F1F5F9; border: 1px solid #E2E8F0; color: var(--text-muted); }

.clipo-img-wrap {
  width: 160px; height: 160px;
  border-radius: 30px;
  overflow: hidden;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.clipo-card.active:hover .clipo-img-wrap { transform: scale(1.05); }

.clipo-img { width: 100%; height: 100%; object-fit: cover; }

.placeholder-wrap { background: var(--bg-section); border: 2px dashed var(--border); box-shadow: none; }
.clipo-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.placeholder-emoji { font-size: 54px; }

.clipo-info { width: 100%; }
.clipo-specialty { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); }
.clipo-name { font-size: 24px; font-weight: 800; margin: 6px 0 10px; letter-spacing: -0.5px; color: var(--text-main); }
.clipo-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }

.clipo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: box-shadow 0.2s;
}

.clipo-card.active:hover .clipo-cta { box-shadow: 0 6px 24px var(--primary-glow); }

.clipo-cta.coming {
  background: #F1F5F9;
  color: var(--text-muted);
  box-shadow: none;
  border: 1.5px solid var(--border);
}

.clipo-arrow { display: inline-block; transition: transform 0.2s; }
.clipo-card.active:hover .clipo-arrow { transform: translateX(4px); }

/* ---- FEATURES ---- */
.features-section { padding: 120px 0; background: var(--bg); text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  text-align: left;
}

.feature-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 8px 28px rgba(2,132,199,0.1);
}

.feature-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--text-main); }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---- FINAL CTA ---- */
.final-cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, #EFF6FF, #F0F9FF);
  border-top: 1px solid #DBEAFE;
  border-bottom: 1px solid #DBEAFE;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(circle, rgba(2,132,199,0.06), transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: clamp(36px, 5vw, 58px); font-weight: 900; letter-spacing: -2px; margin-bottom: 20px; color: var(--text-main); }
.cta-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 44px; line-height: 1.7; }

/* ---- FOOTER ---- */
.footer { background: #F8FAFC; border-top: 1px solid var(--border); padding: 48px 24px; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; color: var(--text-main); }
.footer-tagline { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ---- ANIMATIONS ---- */
@keyframes fadein {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
.desktop-only { display: block; }

@media (max-width: 768px) {
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 22px; }
  .nav-links a:not(.btn-nav-cta) { display: none; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .desktop-only { display: none; }
  .clipos-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
