/* ============================================
   FiCAR Automotive — Enhanced Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --color-primary: #0B5D4E;
  --color-primary-light: #0E7A66;
  --color-primary-dark: #083F35;
  --color-accent: #10B981;
  --color-accent-glow: rgba(16, 185, 129, 0.3);
  --color-accent-subtle: rgba(16, 185, 129, 0.06);

  /* Neutrals — Charcoal / Silver */
  --color-bg-deep: #0C1117;
  --color-bg: #111921;
  --color-bg-card: rgba(18, 28, 40, 0.75);
  --color-bg-card-hover: rgba(24, 38, 55, 0.9);
  --color-surface: #141E2A;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(16, 185, 129, 0.3);

  /* Text */
  --color-text-white: #F1F5F9;
  --color-text-primary: #CBD5E1;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #6B7F99;
  --color-text-dim: #4B6178;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Easing & Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease);
  --transition-base: 0.4s var(--ease);
  --transition-slow: 0.7s var(--ease);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--color-accent);
  color: white;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Canvas Background --- */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Ambient Background Glows --- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--top {
  top: -30%;
  left: -15%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(11, 93, 78, 0.15), transparent 60%);
  filter: blur(100px);
  animation: float-slow 25s ease-in-out infinite;
}

.bg-glow--hero-accent {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.07), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite;
}

.bg-glow--bottom {
  bottom: -30%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(6, 20, 35, 0.6), transparent 60%);
  filter: blur(100px);
  animation: float-slow 30s ease-in-out infinite reverse;
}

/* --- Noise Overlay --- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-base);
}

.nav--scrolled {
  background: rgba(4, 11, 20, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.8rem 3rem;
}

.nav__logo-wrap {
  background: white;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
  transition: var(--transition-base);
}

.nav__logo-wrap:hover {
  box-shadow: 0 2px 25px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.nav__logo { height: 36px; object-fit: contain; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__link {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  cursor: default;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition-base);
}

.nav__link:hover { color: var(--color-text-white); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 100px;
  transition: var(--transition-base);
  cursor: pointer;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.nav__cta:hover {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  box-shadow: 0 0 35px var(--color-accent-glow);
  transform: translateY(-1px);
}

.nav__cta:hover .nav__cta-dot { background: white; }

/* Mobile nav toggle */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav__mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

/* --- Logo Reveal --- */
.hero__logo-container {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  animation: logo-reveal 1.2s var(--ease-out) 0.2s forwards;
}

.hero__logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: logo-glow-pulse 4s ease-in-out infinite;
}

.hero__logo {
  position: relative;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.2));
}

/* --- AUTOMOTIVE Label --- */
.hero__label {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(15px);
  animation: reveal-up 0.7s var(--ease) 0.5s forwards;
}

/* --- Badge --- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-up 0.8s var(--ease) 0.6s forwards;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__badge-text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* --- Title --- */
.hero__title {
  margin-bottom: 1.5rem;
}

.hero__title-line {
  display: block;
  font-weight: 900;
  letter-spacing: -0.03em;
  opacity: 0;
  overflow: visible;
}

.hero__title-line--1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: var(--color-text-white);
  line-height: 1.15;
  padding-top: 0.1em;
  transform: translateY(40px);
  animation: reveal-up 1s var(--ease) 0.8s forwards;
}

.hero__title-line--2 {
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1.15;
  padding-top: 0.05em;
  background: linear-gradient(180deg, #ffffff 20%, rgba(148, 163, 184, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  transform: translateY(50px);
  animation: reveal-up 1s var(--ease) 1s forwards;
  position: relative;
}

.hero__title-dot {
  -webkit-text-fill-color: var(--color-accent);
  color: var(--color-accent);
  font-style: normal;
}

/* --- Coming Soon Tag --- */
.hero__coming-soon {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: reveal-up 0.8s var(--ease) 1.3s forwards;
}

.hero__coming-soon-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: line-shimmer 3s ease-in-out infinite;
}

.hero__coming-soon-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
}

/* --- Subtitle --- */
.hero__subtitle {
  max-width: 650px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-up 0.8s var(--ease) 1.5s forwards;
}

.hero__subtitle strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* --- Scroll Indicator --- */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: reveal-up 0.6s var(--ease) 2s forwards;
}

.hero__scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--color-text-dim);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 3px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* ============================================
   EMAIL CAPTURE SECTION
   ============================================ */
.email-section {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
}

.email-section__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.email-section__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
  animation: float-icon 3s ease-in-out infinite;
}

.email-section__icon svg {
  width: 100%;
  height: 100%;
}

.email-section__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.email-section__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.form {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition-base);
}

.form:focus-within {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.08), inset 0 0 20px rgba(16, 185, 129, 0.02);
}

.form__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: var(--color-text-primary);
}

.form__input::placeholder { color: var(--color-text-dim); }

.form__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.form__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  opacity: 0;
  transition: var(--transition-base);
}

.form__btn:hover::before { opacity: 1; }

.form__btn:hover {
  box-shadow: 0 8px 35px rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
}

.form__btn:active { transform: translateY(0) scale(0.97); }

.form__btn span,
.form__btn-icon {
  position: relative;
  z-index: 1;
}

.form__btn-icon { width: 16px; height: 16px; }

/* Success state */
.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  color: var(--color-accent);
  animation: pop-in 0.5s var(--ease-spring);
}

.form-success__icon { width: 24px; height: 24px; flex-shrink: 0; }

.form-success__text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-success.hidden,
.form.hidden { display: none; }

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features__header {
  text-align: center;
  margin-bottom: 4rem;
}

.features__label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: var(--color-accent-subtle);
  border-radius: 100px;
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.features__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-text-white);
  letter-spacing: -0.02em;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.feature-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(16, 185, 129, 0.05);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__number {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
  margin-bottom: 1.5rem;
}

.feature-card__icon-wrap {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--color-accent-subtle);
  border: 1px solid rgba(16, 185, 129, 0.1);
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.feature-card:hover .feature-card__icon-wrap {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.1);
}

.feature-card__icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  transition: var(--transition-base);
}

.feature-card:hover .feature-card__icon { transform: scale(1.1); }

.feature-card__title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-white);
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.feature-card__line {
  margin-top: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-border), transparent);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
  position: relative;
  z-index: 10;
  padding: 6rem 2rem;
  margin-top: 2rem;
}

.trust__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 3rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.trust__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.trust__badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 100px;
}

.trust__logo {
  height: 65px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  filter: brightness(1.1);
  transition: var(--transition-base);
}

.trust__logo:hover {
  filter: brightness(1.3) drop-shadow(0 0 15px rgba(16, 185, 129, 0.2));
}

.trust__line {
  width: 40px;
  height: 1px;
  background: var(--color-border);
  margin: 0 auto 1.5rem;
}

.trust__desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.trust__desc strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   LOCATION TEASER
   ============================================ */
.location {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
  text-align: center;
}

.location__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.location__pin {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  animation: bounce-soft 3s ease-in-out infinite;
}

.location__pin svg { width: 100%; height: 100%; }

.location__city {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-text-white);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.location__country {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 10;
  padding: 3rem 2rem;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__logo {
  height: 38px;
  object-fit: contain;
  opacity: 0.5;
  transition: var(--transition-base);
}

.footer__logo:hover { opacity: 0.9; }

.footer__tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* Social icons */
.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: var(--transition-base);
}

.footer__social-link:hover {
  color: var(--color-accent);
  border-color: rgba(16, 185, 129, 0.2);
  background: var(--color-accent-subtle);
  transform: translateY(-2px);
}

.footer__social-link svg { width: 16px; height: 16px; }

/* Footer meta */
.footer__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.footer__location svg { width: 11px; height: 11px; }

.footer__copy {
  font-size: 0.6rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}

.footer__credit {
  font-size: 0.55rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-top: 0.15rem;
}

.footer__credit-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.footer__credit-link:hover {
  opacity: 1;
  text-shadow: 0 0 12px var(--color-accent-glow);
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logo-reveal {
  0% { opacity: 0; transform: scale(0.7) translateY(30px); }
  60% { opacity: 1; transform: scale(1.03) translateY(-3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes logo-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes line-shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 6px; }
  50% { opacity: 0; top: 16px; }
  51% { opacity: 0; top: 6px; }
  100% { opacity: 1; top: 6px; }
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(1.15); }
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.9); }
  50% { transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal--delay-1 { transition-delay: 0.1s; }
.scroll-reveal--delay-2 { transition-delay: 0.25s; }
.scroll-reveal--delay-3 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE — Comprehensive Breakpoints
   ============================================ */

/* --- Large Tablet / Small Desktop (≤1200px) --- */
@media (max-width: 1200px) {
  .nav { padding: 1.25rem 2rem; }
  .nav--scrolled { padding: 0.8rem 2rem; }

  .hero__logo { height: 110px; }

  .features { padding: 4rem 1.5rem; }

  .features__grid { gap: 1.25rem; }

  .trust__inner {
    max-width: 550px;
    padding: 3.5rem 2.5rem;
  }

  .footer__inner { max-width: 960px; }
}

/* --- Tablet Landscape (≤992px) --- */
@media (max-width: 992px) {
  .nav__links { gap: 1.5rem; }

  .hero__logo { height: 95px; }
  .hero__logo-glow { width: 200px; height: 200px; }

  .hero__title-line--1 { font-size: clamp(1.8rem, 4.5vw, 3.5rem); }
  .hero__title-line--2 { font-size: clamp(2.5rem, 7vw, 6rem); }

  .hero__subtitle {
    font-size: 0.95rem;
    max-width: 550px;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .feature-card { padding: 2rem 1.5rem; }
  .feature-card__title { font-size: 0.9rem; }
  .feature-card__desc { font-size: 0.78rem; }

  .trust { padding: 4rem 1.5rem; }
  .trust__logo { height: 70px; }

  .location { padding: 4rem 1.5rem; }
  .location__pin { width: 40px; height: 40px; }
}

/* --- Tablet Portrait (≤768px) --- */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 1rem 1.25rem; }
  .nav--scrolled { padding: 0.7rem 1.25rem; }
  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }
  .nav__logo { height: 30px; }

  /* Hero */
  .hero {
    padding: 5.5rem 1.25rem 3rem;
    min-height: 100svh;
  }

  .hero__logo { height: 120px; }
  .hero__logo-glow { width: 220px; height: 220px; }
  .hero__logo-container { margin-bottom: 2rem; }

  .hero__badge { padding: 0.4rem 1rem; margin-bottom: 2rem; }
  .hero__badge-text { font-size: 0.55rem; letter-spacing: 0.2em; }

  .hero__title-line--1 { font-size: clamp(1.6rem, 7vw, 2.8rem); }
  .hero__title-line--2 { font-size: clamp(2.2rem, 11vw, 4.5rem); }

  .hero__coming-soon { gap: 0.75rem; margin-bottom: 1.5rem; }
  .hero__coming-soon-line { width: 30px; }
  .hero__coming-soon-text { font-size: 0.6rem; letter-spacing: 0.2em; }

  .hero__subtitle {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .hero__scroll-indicator { bottom: 1.5rem; }

  /* Email Section */
  .email-section { padding: 3rem 1.25rem; }
  .email-section__title { font-size: 1.25rem; }

  .form { flex-direction: column; padding: 0.35rem; }
  .form__input { padding: 0.9rem 1rem; font-size: 0.85rem; }
  .form__btn {
    justify-content: center;
    padding: 1rem;
    border-radius: 12px;
  }

  /* Features */
  .features { padding: 3rem 1.25rem; }
  .features__header { margin-bottom: 2.5rem; }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .feature-card__number {
    order: -1;
    width: 100%;
    margin-bottom: 1rem;
  }

  .feature-card__icon-wrap { margin-bottom: 1rem; }

  .feature-card__title {
    width: 100%;
    font-size: 0.95rem;
  }

  .feature-card__desc { width: 100%; }
  .feature-card__line { width: 100%; margin-top: 1.5rem; }

  /* Trust */
  .trust { padding: 3rem 1.25rem; margin-top: 1rem; }
  .trust__inner {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }
  .trust__logo { height: 50px; }
  .trust__badge {
    font-size: 0.5rem;
    letter-spacing: 0.35em;
  }
  .trust__desc { font-size: 0.8rem; }

  /* Location */
  .location { padding: 3rem 1.25rem; }
  .location__pin { width: 36px; height: 36px; }
  .location__country { font-size: 0.6rem; letter-spacing: 0.2em; }

  /* Footer */
  .footer { padding: 2.5rem 1.25rem; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
  }

  .footer__brand { align-items: center; }
  .footer__logo { height: 30px; }
  .footer__meta { text-align: center; align-items: center; }
  .footer__location { justify-content: center; }
}

/* --- Mobile (≤576px) --- */
@media (max-width: 576px) {
  .hero { padding: 5rem 1rem 2.5rem; }

  .hero__logo { height: 100px; }
  .hero__logo-glow { width: 180px; height: 180px; }
  .hero__logo-container { margin-bottom: 1.75rem; }

  .hero__badge { padding: 0.35rem 0.8rem; margin-bottom: 1.5rem; }
  .hero__badge-dot { width: 6px; height: 6px; }
  .hero__badge-text { font-size: 0.5rem; letter-spacing: 0.15em; }

  .hero__title { margin-bottom: 1rem; }
  .hero__title-line--1 { font-size: clamp(1.4rem, 8vw, 2.2rem); }
  .hero__title-line--2 { font-size: clamp(2rem, 12vw, 3.5rem); }

  .hero__coming-soon { gap: 0.5rem; }
  .hero__coming-soon-line { width: 20px; }
  .hero__coming-soon-text { font-size: 0.55rem; letter-spacing: 0.15em; }

  .hero__subtitle {
    font-size: 0.85rem;
    line-height: 1.65;
    padding: 0 0.25rem;
  }

  .hero__scroll-indicator { bottom: 1rem; }
  .hero__scroll-mouse { width: 18px; height: 28px; }
  .hero__scroll-text { font-size: 0.5rem; }

  /* Email */
  .email-section { padding: 2.5rem 1rem; }
  .email-section__icon { width: 40px; height: 40px; }
  .email-section__title { font-size: 1.1rem; }
  .email-section__desc { font-size: 0.8rem; }

  /* Features */
  .features { padding: 2.5rem 1rem; }
  .features__label { font-size: 0.55rem; }
  .features__title { font-size: 1.3rem; }

  .feature-card { padding: 1.5rem 1.25rem; border-radius: 16px; }
  .feature-card__icon-wrap { width: 44px; height: 44px; }
  .feature-card__icon { width: 20px; height: 20px; }
  .feature-card__title { font-size: 0.85rem; }
  .feature-card__desc { font-size: 0.78rem; }

  /* Trust */
  .trust { padding: 2.5rem 1rem; }
  .trust__inner { padding: 2rem 1.25rem; border-radius: 16px; }
  .trust__logo { height: 60px; }

  /* Location */
  .location { padding: 2.5rem 1rem; }

  /* Footer */
  .footer__logo { height: 26px; }
  .footer__social-link { width: 34px; height: 34px; border-radius: 8px; }
  .footer__social-link svg { width: 14px; height: 14px; }
}

/* --- Small Mobile (≤420px) --- */
@media (max-width: 420px) {
  .nav { padding: 0.8rem 1rem; }
  .nav--scrolled { padding: 0.6rem 1rem; }
  .nav__logo { height: 24px; }

  .hero { padding: 4.5rem 0.75rem 2rem; }
  .hero__logo { height: 85px; }
  .hero__logo-container { margin-bottom: 1.5rem; }

  .hero__badge { margin-bottom: 1.25rem; }
  .hero__badge-text { font-size: 0.45rem; }

  .hero__title-line--1 { font-size: 1.4rem; }
  .hero__title-line--2 { font-size: 2rem; }

  .hero__coming-soon-text { font-size: 0.5rem; letter-spacing: 0.1em; }

  .hero__subtitle { font-size: 0.8rem; }

  .hero__scroll-indicator { display: none; }

  .email-section__title { font-size: 1rem; }
  .form__input { padding: 0.8rem; font-size: 0.8rem; }
  .form__btn { padding: 0.8rem; font-size: 0.65rem; }

  .features__header { margin-bottom: 2rem; }
  .features__title { font-size: 1.1rem; }

  .trust__inner { padding: 1.5rem 1rem; }
  .trust__logo { height: 50px; margin-bottom: 1rem; }
  .trust__badge { font-size: 0.45rem; letter-spacing: 0.25em; }
  .trust__desc { font-size: 0.75rem; }

  .location__city { letter-spacing: 0.1em; }
  .location__country { font-size: 0.55rem; }

  .footer__tagline { font-size: 0.55rem; }
  .footer__copy { font-size: 0.55rem; }
  .footer__location { font-size: 0.55rem; }
}

/* --- Height fix for short screens --- */
@media (max-height: 650px) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero__logo { height: 60px; }
  .hero__logo-container { margin-bottom: 1rem; }
  .hero__badge { margin-bottom: 1rem; }
  .hero__subtitle { margin-bottom: 1.5rem; }
  .hero__scroll-indicator { display: none; }
}

/* --- Touch device hover fix --- */
@media (hover: none) {
  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }

  .nav__cta:hover { transform: none; }
  .footer__social-link:hover { transform: none; }
}
