/* ==========================================================================
   DESIGN SYSTEM & GLOBAL STYLES
   ========================================================================== */

:root {
  /* Custom Palette */
  --color-primary: #0f4c6b;   /* Azul Profundo Corporativo */
  --color-secondary: #e84e1b; /* Naranja Acción */
  --color-accent: #35a8e0;    /* Azul Claro Acento */
  --color-cyan: #0f99a6;     /* Cian Tecnológico */
  --color-orange: #e84e1b;   /* Naranja Acción */
  --color-dark: #222831;     /* Neutro Oscuro (Grafito) */
  --color-light: #fbfaf7;    /* Neutro Claro Cálido (Arena) */

  /* Derived background colors */
  --color-dark-bg: var(--color-dark);
  --color-dark-surface: var(--color-dark);
  --color-light-bg: var(--color-light);

  /* Primary/secondary RGB for gradients */
  --color-primary-rgb: 53,168,224;
  --color-secondary-rgb: 55,156,176;

  /* Text colors */
  --text-light-primary: var(--color-light);
  --text-light-secondary: rgba(255,255,255,0.7);
  --text-dark-primary: var(--color-dark);
  --text-dark-secondary: #64748b;

  /* Badge gradients */
  --badge-flame-grad: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --badge-star-grad: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  --badge-cyan-grad: linear-gradient(135deg, #02aab0 0%, #00cdac 100%);

  /* Fonts */
  --font-family-headings: 'Poppins', sans-serif;
  --font-family-body: 'Inter', sans-serif;
  --font-family-base: 'Inter', sans-serif;

  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;

  /* Transition */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides for Dashboard and Activities */
.light-theme {
  --color-dark-bg: #f4f7f6;
  --color-dark-surface: #ffffff;
  --text-light-primary: #0f172a;
  --text-light-secondary: #475569;
  --color-primary: #0f4c6b;
  --color-primary-rgb: 15, 76, 107;
  --color-secondary: #e84e1b;
  --color-secondary-rgb: 232, 78, 27;

  background-color: #f4f7f6 !important;
  color: #0f172a !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  background-color: #fbfaf7;
  color: #0f4c6b;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background glows */
.glow-bg {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(120px);
  opacity: 0.06;
}

.glow-bg-left {
  top: 10%;
  left: -10%;
  background: #0f4c6b;
}

.glow-bg-right {
  top: 40%;
  right: -10%;
  background: #e84e1b;
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(7, 22, 36, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family-headings);
  font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e84e1b 0%, #c93a12 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(232, 78, 27, 0.3);
  border-radius: 30px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 78, 27, 0.45);
}

.btn-secondary {
  background: rgba(15, 76, 107, 0.06);
  color: #0f4c6b;
  border: 1.5px solid rgba(15, 76, 107, 0.2);
  border-radius: 30px;
}

.btn-secondary:hover {
  background: rgba(15, 76, 107, 0.12);
  transform: translateY(-2px);
}

.btn-text {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}

.btn-text:hover {
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: none;
  gap: 10px;
}

.btn-ghost:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost .fa-play {
  font-size: 0.7rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */

.hero-section {
  padding: calc(var(--header-height) + 50px) 0 65px 0;
  display: flex;
  align-items: center;
  min-height: 78vh;
  background: linear-gradient(180deg, #0a1628 0%, #0f2440 50%, #0a1628 100%);
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e84e1b;
  border: none;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 24px;
}

.hero-badge i {
  font-size: 0.9rem;
}

.hero-title {
  font-family: var(--font-family-headings);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #e84e1b 0%, #ff7b4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.hero-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-family-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f4c6b;
  line-height: 1;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
}

.stat-number-wrapper span:last-child {
  font-family: var(--font-family-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f4c6b;
  line-height: 1;
}

.stat-label {
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(15, 76, 107, 0.15);
}

/* ==========================================================================
   BANNER ILLUSTRATION & FLOATING GLASS BADGES
   ========================================================================== */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.illustration-wrapper {
  position: relative;
  width: 100%;
  max-width: 610px; /* Wider to avoid cutting off the curves of the road on the sides */
  aspect-ratio: 1; /* Keep it square so the illustration doesn't crop */
  margin-bottom: -75px; /* Offset the bottom padding of hero-section to touch the boundary */
}

.base-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Render the full image without cropping left/right borders */
  border-radius: 0;
  box-shadow: none;
  transform: translateY(130px) scale(2.3); /* Shift down and scale to extend the road at the bottom */
  /* Fade out all outer boundaries organically to remove straight line cuts */
  -webkit-mask-image: radial-gradient(circle at 50% 32%, black 38%, transparent 84%);
  mask-image: radial-gradient(circle at 50% 32%, black 38%, transparent 84%);
  /* Gentle animation to give context */
  animation: subtlePulse 8s ease-in-out infinite alternate;
}

/* Glass Badge Base Styling */
.glass-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  min-height: 115px;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(15, 76, 107, 0.1);
  color: #0f4c6b;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
  font-family: var(--font-family-headings);
  font-weight: 600;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  gap: 4px;
}

.glass-badge:hover {
  transform: scale(1.08) translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: rgba(15, 76, 107, 0.2);
}

/* Icons inside badges */
.badge-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  margin: 2px 0;
  transition: var(--transition-smooth);
}

.badge-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f4c6b;
  line-height: 1.2;
}

.badge-subtitle {
  font-size: 0.55rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.3;
  margin-top: 2px;
}

/* Progress bar inside badges */
.progress-bar-container {
  width: 80%;
  height: 4px;
  background: rgba(15, 76, 107, 0.1);
  border-radius: 10px;
  margin-top: 2px;
  overflow: hidden;
}

.badge-racha-right .progress-bar-container {
  background: rgba(0, 0, 0, 0.08);
}

.progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: #e84e1b;
}

/* Custom Colors for Badges */
.badge-color-cyan {
  color: #0f4c6b;
  filter: drop-shadow(0 2px 8px rgba(15, 76, 107, 0.3));
}
.badge-color-blue {
  color: #35a8e0;
  filter: drop-shadow(0 2px 8px rgba(53, 168, 224, 0.4));
}
.badge-color-flame {
  background: linear-gradient(135deg, #e84e1b 0%, #35a8e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(232, 78, 27, 0.3));
}
.badge-color-gold {
  color: #0f4c6b;
  filter: drop-shadow(0 2px 8px rgba(15, 76, 107, 0.3));
}

/* Ranking Chart Container */
.ranking-chart-container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 32px;
  margin-bottom: 2px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  width: 100%;
  justify-content: center;
}

.chart-bars .bar {
  width: 6px;
  border-radius: 2px;
  display: inline-block;
}

.chart-bars .bar-1 {
  height: 40%;
  background: #10b981;
}

.chart-bars .bar-2 {
  height: 70%;
  background: #3b82f6;
}

.chart-bars .bar-3 {
  height: 100%;
  background: #8b5cf6;
}

.ranking-arrow {
  position: absolute !important;
  top: -4px !important;
  right: 2px !important;
  font-size: 0.85rem !important;
  color: #06b6d4 !important;
  background: transparent !important;
  filter: drop-shadow(0 1px 4px rgba(6, 182, 212, 0.4));
}

/* Badge Positioning (aligned with the illustration layout) */

/* 1. Racha 7 días (Badge/Ribbon) - Left side, dark bg, lower left */
.badge-racha-left {
  top: 58%;
  left: 2%;
}

/* 2. Nivel 12 - Mid-left, dark bg, upper left */
.badge-nivel {
  top: 14%;
  left: 2%;
}

/* 3. Racha 7 días (Flame) - Top-right sky */
.badge-racha-right {
  top: 10%;
  right: 4%;
}

/* 4. Certificado - Mid-right, next to the girl's arm (below face level) */
.badge-certificado {
  top: 44%;
  right: -10px;
  height: 95px; /* slightly shorter since it has no progress bar */
}

/* 5. Ranking - Bottom-right, next to the road */
.badge-ranking {
  bottom: 10%;
  right: 4%;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes subtlePulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

/* Unique floating animations to make them float organically at different speeds */
@keyframes float1 {
  0% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(1deg); }
}

@keyframes float2 {
  0% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(-1deg); }
}

@keyframes float3 {
  0% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0.5deg); }
}

@keyframes float4 {
  0% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(-0.5deg); }
}

@keyframes float5 {
  0% { transform: translateY(0px) rotate(0.8deg); }
  50% { transform: translateY(-9px) rotate(-0.8deg); }
  100% { transform: translateY(0px) rotate(0.8deg); }
}

.float-anim-1 { animation: float1 5.5s ease-in-out infinite; }
.float-anim-2 { animation: float2 6s ease-in-out infinite; }
.float-anim-3 { animation: float3 4.8s ease-in-out infinite; }
.float-anim-4 { animation: float4 5.2s ease-in-out infinite; }
.float-anim-5 { animation: float5 6.5s ease-in-out infinite; }

/* ==========================================================================
   BENEFITS BAR
   ========================================================================== */

.benefits-bar {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid rgba(15, 76, 107, 0.06);
  border-bottom: 1px solid rgba(15, 76, 107, 0.06);
  position: relative;
  z-index: 10;
}

.benefits-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(15, 76, 107, 0.06);
  color: #e84e1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.benefit-item:hover .benefit-icon {
  background: #e84e1b;
  color: #ffffff;
  transform: scale(1.1);
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.benefit-text strong {
  font-family: var(--font-family-headings);
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f4c6b;
}

.benefit-text span {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .benefits-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .benefits-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid rgba(15, 76, 107, 0.06);
  position: relative;
  z-index: 10;
}

.features-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-family: var(--font-family-headings);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0f4c6b;
}

.section-subtitle {
  color: #64748b;
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(15, 76, 107, 0.05);
  border-radius: 10px;
  padding: 40px 32px;
  transition: var(--transition-smooth);
  box-shadow: 0px 0px 17px rgba(15, 76, 107, 0.15);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 0px 20px 0px rgba(15, 76, 107, 0.25);
  border-color: rgba(15, 76, 107, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232, 78, 27, 0.08);
  color: #e84e1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #35a8e0 0%, #0f4c6b 100%);
  color: #ffffff;
}

.feature-card h3 {
  font-family: var(--font-family-headings);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f4c6b;
}

.feature-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(15, 76, 107, 0.08);
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  background: #ffffff;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #e84e1b;
}

/* ==========================================================================
   MOBILE MENU / RESPONSIVENESS
   ========================================================================== */

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .stat-number-wrapper {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-actions {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  /* Scale badges slightly down on mobile to avoid overlapping */
  .glass-badge {
    width: 76px;
    height: 92px;
    padding: 8px 6px;
    border-radius: 10px;
  }
  
  .badge-icon {
    font-size: 1.5rem;
  }
  
  .badge-title {
    font-size: 0.58rem;
  }
  
  .progress-bar-container {
    width: 70%;
    height: 3px;
  }

  .ranking-chart-container {
    width: 32px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .stat-divider {
    display: none;
  }
  
  /* Make badges simpler on extra small screens */
  .badge-racha-left { top: 58%; left: 2%; }
  .badge-nivel { top: 14%; left: 2%; }
  .badge-racha-right { top: 10%; right: 4%; }
  .badge-certificado { top: 44%; right: -10px; }
  .badge-ranking { bottom: 10%; right: 4%; }
}

/* ==========================================================================
   REGISTRATION & LOGIN SECTION
   ========================================================================== */

.register-section {
  padding: 80px 24px;
  background: #F0EAE2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.register-header {
  text-align: center;
  margin-bottom: 40px;
}

.register-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 76, 107, 0.08);
  color: #0f4c6b;
  border-radius: 30px;
  padding: 6px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  border: 1px solid rgba(15, 76, 107, 0.12);
}

.register-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: #0f4c6b;
  margin-bottom: 12px;
  font-family: var(--font-family-headings);
  white-space: nowrap;
}

.register-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  font-family: var(--font-family-base);
  line-height: 1.6;
}

.register-form {
  background: #ffffff;
  border: 1px solid rgba(15, 76, 107, 0.1);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0px 0px 17px rgba(15, 76, 107, 0.15);
  transition: all 0.3s ease;
}

.social-login-container {
  margin-bottom: 24px;
  text-align: center;
}

.social-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #64748b;
}

.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 76, 107, 0.15);
  border-radius: 12px;
  color: #0f4c6b;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family-headings);
}

.social-btn:hover {
  background: rgba(15, 76, 107, 0.04);
  border-color: #35a8e0;
  box-shadow: 0 0 15px rgba(53, 168, 224, 0.15);
}

.divider-container {
  display: flex;
  align-items: center;
  margin: 20px 0 10px;
  color: rgba(15, 76, 107, 0.2);
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(15, 76, 107, 0.12);
}

.divider-text {
  padding: 0 12px;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group {
  margin-bottom: 20px;
  flex: 1;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f4c6b;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 76, 107, 0.15);
  border-radius: 12px;
  color: #0f4c6b;
  font-size: 0.95rem;
  font-family: var(--font-family-base);
  outline: none;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: #94a3b8;
}

.form-group input:focus {
  border-color: #0f4c6b;
  background: rgba(15, 76, 107, 0.04);
  box-shadow: 0 0 0 3px rgba(15, 76, 107, 0.1);
  outline: none;
}

/* Password field with toggle */
.input-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password-wrapper input {
  padding-right: 44px !important;
  width: 100%;
  margin-bottom: 0 !important;
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  font-size: 0.9rem;
}

.toggle-password-btn:hover {
  color: #0f4c6b;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
  min-width: 200px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #35a8e0 0%, #0f4c6b 100%);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(15, 76, 107, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: var(--font-family-headings);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(15, 76, 107, 0.4);
}

.form-toggle-text {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #64748b;
  font-family: var(--font-family-base);
}

.toggle-link {
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.toggle-link:hover {
  color: var(--color-secondary);
}

.register-success {
  text-align: center;
  padding: 40px;
  background: rgba(15, 76, 107, 0.06);
  border-radius: 20px;
  border: 1px solid rgba(15, 76, 107, 0.15);
  box-shadow: 0 15px 35px rgba(15, 76, 107, 0.1);
  animation: fadeIn 0.5s ease-out;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f4c6b;
  font-family: var(--font-family-headings);
  margin-bottom: 8px;
}

.success-text {
  color: #64748b;
  font-family: var(--font-family-base);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Staggered feature cards */
.feature-card.reveal:nth-child(1) { transition-delay: 0s; }
.feature-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.3s; }

/* Hero content entrance */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: slideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.hero-visual { animation: slideUp 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards; opacity: 0; }
