/* ===== CSS Custom Properties ===== */
:root {
  --bg-primary: #050b14;
  --bg-secondary: #0a1628;
  --bg-card: rgba(10, 22, 40, 0.55);
  --gold: #c8aa6e;
  --gold-light: #f0e6d2;
  --gold-dark: #785a28;
  --blue-electric: #0099ff;
  --blue-glow: rgba(0, 153, 255, 0.35);
  --blue-deep: #0a3d6b;
  --text-primary: #f0e6d2;
  --text-secondary: #a09b8c;
  --text-muted: #5b5a56;
  --glass-border: rgba(200, 170, 110, 0.12);
  --glass-bg: rgba(10, 22, 40, 0.6);
  --glass-bg-hover: rgba(10, 22, 40, 0.78);
  --shadow-gold: 0 0 40px rgba(200, 170, 110, 0.08);
  --shadow-blue: 0 0 60px rgba(0, 153, 255, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

/* ===== Ambient Background Particles ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 15% 20%, rgba(0, 153, 255, 0.06), transparent),
    radial-gradient(ellipse 700px 500px at 85% 75%, rgba(200, 170, 110, 0.05), transparent),
    radial-gradient(ellipse 500px 400px at 50% 50%, rgba(0, 153, 255, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(200, 170, 110, 0.08);
  border: 1px solid rgba(200, 170, 110, 0.15);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #66ccff, var(--blue-electric), #0066cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Animated Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(5, 11, 20, 0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 1px 0 var(--glass-border), 0 8px 32px rgba(0,0,0,0.3);
}

.navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.navbar-logo .logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(0, 153, 255, 0.5));
}

.navbar-logo .logo-dot {
  color: var(--gold);
}

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

.navbar-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: rgba(200, 170, 110, 0.05);
  transition: all var(--transition-base);
}

.navbar-back:hover {
  color: var(--gold);
  border-color: rgba(200, 170, 110, 0.3);
  background: rgba(200, 170, 110, 0.1);
  transform: translateX(-3px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.5) saturate(1.2);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 11, 20, 0.5) 0%,
      rgba(5, 11, 20, 0.3) 30%,
      rgba(5, 11, 20, 0.6) 65%,
      var(--bg-primary) 100%
    ),
    linear-gradient(90deg,
      rgba(5, 11, 20, 0.7) 0%,
      transparent 50%,
      rgba(5, 11, 20, 0.7) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-electric);
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(0, 153, 255, 0.08);
  border: 1px solid rgba(0, 153, 255, 0.2);
  margin-bottom: 28px;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 153, 255, 0.1); }
  50% { box-shadow: 0 0 30px rgba(0, 153, 255, 0.25); }
}

.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-electric);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  box-shadow: 0 4px 24px rgba(200, 170, 110, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(200, 170, 110, 0.4);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(200, 170, 110, 0.2);
}

.btn-secondary:hover {
  border-color: rgba(200, 170, 110, 0.5);
  background: rgba(200, 170, 110, 0.06);
  transform: translateY(-2px);
}

.btn-glow {
  background: linear-gradient(135deg, var(--blue-electric), #0066cc);
  color: #fff;
  box-shadow: 0 4px 24px var(--blue-glow);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 48px rgba(0, 153, 255, 0.45);
  filter: brightness(1.1);
}

/* ===== Coming Soon Section ===== */
.coming-soon-section {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.coming-soon-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-gold), var(--shadow-blue);
  position: relative;
  overflow: hidden;
}

.coming-soon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.coming-soon-card h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.coming-soon-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.email-signup {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(200, 170, 110, 0.15);
  background: rgba(5, 11, 20, 0.6);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-base);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 170, 110, 0.1);
}

/* ===== Features Section ===== */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.features-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.feature-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: rgba(200, 170, 110, 0.22);
  box-shadow: var(--shadow-gold), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  position: relative;
}

.feature-icon.icon-gold {
  background: linear-gradient(135deg, rgba(200, 170, 110, 0.15), rgba(200, 170, 110, 0.05));
  border: 1px solid rgba(200, 170, 110, 0.2);
}

.feature-icon.icon-blue {
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.15), rgba(0, 153, 255, 0.05));
  border: 1px solid rgba(0, 153, 255, 0.2);
}

.feature-icon.icon-purple {
  background: linear-gradient(135deg, rgba(160, 100, 255, 0.15), rgba(160, 100, 255, 0.05));
  border: 1px solid rgba(160, 100, 255, 0.2);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(200, 170, 110, 0.07);
  border: 1px solid rgba(200, 170, 110, 0.12);
  color: var(--gold);
}

/* ===== Tech Stack Section ===== */
.tech-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.tech-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.tech-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  cursor: default;
}

.tech-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 170, 110, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.tech-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.tech-badge .tech-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.tech-badge .tech-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.cta-card {
  text-align: center;
  padding: 72px 48px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(0, 153, 255, 0.06), rgba(200, 170, 110, 0.04)),
    var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 153, 255, 0.04), transparent 60%);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Divider ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  border: none;
  margin: 0;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid rgba(200, 170, 110, 0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
}

.footer-brand .logo-icon {
  font-size: 1.2rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(200, 170, 110, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 170, 110, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .email-signup {
    flex-direction: column;
  }

  .email-signup .btn {
    width: 100%;
  }

  .cta-card {
    padding: 48px 28px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .tech-grid {
    gap: 12px;
  }

  .tech-badge {
    padding: 12px 20px;
  }

  .coming-soon-card {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .feature-card {
    padding: 28px 24px;
  }
}

/* ===== Shimmer animation for gold line ===== */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.gold-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 170, 110, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* ===== Stats strip ===== */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}
