/* ========================================
   CSS RESET & VARIABLES
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple-primary: #7c5cfc;
  --purple-hover: #6a4ce6;
  --purple-light: #ece8ff;
  --purple-glow: rgba(124, 92, 252, 0.15);
  --text-dark: #1a1a2e;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --bg-white: #ffffff;
  --bg-page: #fafafa;
  --border-light: #e5e7eb;
  --border-input: #d1d5db;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 50px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-input: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 4px 14px rgba(124, 92, 252, 0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font);
}

input {
  font-family: var(--font);
  outline: none;
  border: none;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition);
}

.logo-group:hover {
  opacity: 0.85;
}



.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color:#7c5cfc;
  /* margin-left:-40px; */
}

.logo-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-left:20px;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-primary);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn-outline {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-primary);
  border: 2px solid var(--purple-primary);
  padding: 9px 24px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.nav-btn-outline:hover {
  background: var(--purple-primary);
  color: white;
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 32px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 0;
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--purple-primary);
}

.mobile-nav-btn {
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: var(--purple-primary);
  padding: 12px 32px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.mobile-nav-btn:hover {
  background: var(--purple-hover);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-primary);
  background: var(--purple-light);
  border: 1px solid rgba(124, 92, 252, 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease;
}

/* Hero title */
.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 50%, #7c5cfc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Subtitle */
.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin:0 auto;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.2s both;
  /* border: 1px solid black; */
}

/* ========================================
   WAITLIST FORM
   ======================================== */
.waitlist-form {
  animation: fadeInUp 0.8s ease 0.3s both;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 6px;
  box-shadow: var(--shadow-input);
  transition: all var(--transition);
  max-width: 520px;
  margin: 0 auto;

}

.input-group:focus-within {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 4px var(--purple-glow), var(--shadow-input);
}

.input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  padding-left: 16px;
}

.input-icon {
  flex-shrink: 0;
  opacity: 0.6;
}

#email-input {
  flex: 1;
  font-size: 15px;
  color: var(--text-dark);
  background: transparent;
  padding: 12px 8px;
  min-width: 0;
}

#email-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.btn-primary {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--purple-primary);
  border-radius: 42px;
  padding: 13px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.btn-primary:hover {
  background: var(--purple-hover);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

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

.btn-primary.loading .btn-text {
  opacity: 0;
}

.btn-primary.loading .btn-loader {
  display: block;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Disclaimer */
.disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  max-width: calc(100vw - 48px);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.toast.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.toast.info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.toast-icon {
  flex-shrink: 0;
  font-size: 18px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 110px 24px 60px;
  }

  .hero-title {
    font-size: 55px;
  }

  .hero-subtitle {
    /* border:1px solid black; */
    font-size: 15px;
    margin-bottom: 36px;
    margin-top:30px;
    width:80%;
  }

  .br-desktop {
    display: none;
  }

  .input-group {
    /* border: 1px solid black; */
    margin-top:50px;
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
    width:90%;

  }

  .input-wrapper {
    width: 100%;
    padding: 4px 12px;
  }

  #email-input {
    padding: 10px 8px;
  }

  .btn-primary {
    width: 100%;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .navbar-inner {
    padding: 0 16px;
    height: 64px;
  }

  .mobile-nav {
    top: 64px;
    padding: 20px 16px;
  }

  .logo-icon svg {
    width: 34px;
    height: 34px;
  }

  .logo-name {
    font-size: 25px;
  }

  .logo-tagline {
    font-size: 11px;
  }

  .hero {
    padding: 96px 16px 48px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .badge {
    font-size: 13px;
    padding: 6px 16px;
    margin-bottom: 28px;
  }

  .disclaimer {
    font-size: 12px;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 72px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}
