/* Import Inter Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Color Palette */
  --bg-dark: #0A0E1A;
  --bg-card: rgba(17, 22, 39, 0.7);
  --border-card: rgba(99, 102, 241, 0.15);
  --border-focus: #818cf8;

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --primary: #4F46E5;
  --primary-light: #6366F1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --success: #10B981;

  --max-width: 1200px;
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Glow Effects */
.bg-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, rgba(10, 14, 26, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-right {
  position: absolute;
  top: 30%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(10, 14, 26, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Skip Link for Keyboard Nav */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background: var(--primary-light);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1.5rem;
  outline: 3px solid white;
}

/* Header & Navigation */
header {
  padding: 2rem 0;
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #FFFFFF 60%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Main Layout Grid */
.main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0 6rem 0;
}

/* Hero Section (Left Content) */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 2rem;
  animation: pulse-border 3s infinite alternate;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--primary-light);
}

/* Headline & Copy */
h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

h1 span.accent {
  background: linear-gradient(135deg, #A5B4FC, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Typewriter & Quote Container */
.quote-box {
  min-height: 80px;
  width: 100%;
  max-width: 540px;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.quote-box::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 8px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(99, 102, 241, 0.1);
  pointer-events: none;
}

.typewriter-text {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;

  /* Rainbow Shimmer Effect */
  background: linear-gradient(to right,
      #F472B6,
      /* pink */
      #818CF8,
      /* indigo */
      #38BDF8,
      /* sky */
      #34D399,
      /* emerald */
      #FBBF24,
      /* amber */
      #F472B6
      /* pink loop */
    );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-shimmer 8s linear infinite;
  display: inline;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2rem;
  background-color: var(--primary-light);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.8s infinite;
}

/* Waitlist Form */
.waitlist-form-container {
  width: 100%;
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  position: relative;
}

.input-group {
  position: relative;
  flex-grow: 1;
}

.input-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.input-icon svg {
  width: 20px;
  height: 20px;
}

.waitlist-input {
  width: 100%;
  padding: 1.1rem 1.25rem 1.1rem 3.25rem;
  background: rgba(17, 22, 39, 0.9);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.waitlist-input:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.75rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border: none;
  border-radius: 12px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px var(--primary-glow);
  white-space: nowrap;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.btn-submit:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.4);
}

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

/* Feedback Notification */
.form-feedback {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  min-height: 20px;
  font-weight: 500;
  transition: opacity 0.3s ease;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-feedback.success {
  color: var(--success);
  opacity: 1;
}

.form-feedback.error {
  color: #F87171;
  opacity: 1;
}

.trust-line {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-line svg {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
}

/* Hero Mockup Area (Right Side) */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(10, 14, 26, 0) 65%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
}

.mockup-wrapper {
  width: 100%;
  max-width: 480px;
  position: relative;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  transition: transform 0.5s ease;
}

.mockup-wrapper:hover {
  transform: translateY(-8px) scale(1.01);
}

.mockup-img {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Feature Highlights Grid */
.features-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 1.75rem;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.08);
}

.feature-icon {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-light);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

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

/* Footer */
footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Keyframe Animations */
@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes rainbow-shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0px rgba(99, 102, 241, 0.2);
  }

  100% {
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0);
  }
}

/* Media Queries (Responsive Styling) */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .main-grid {
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .main-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0 4rem 0;
  }

  header {
    padding: 1.5rem 0;
    justify-content: center;
  }

  .hero-content {
    align-items: center;
  }

  .status-badge {
    margin-bottom: 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
    max-width: 100%;
  }

  h1 br {
    display: none;
  }

  .tagline {
    margin-bottom: 1.5rem;
  }

  .quote-box {
    margin-left: auto;
    margin-right: auto;
  }

  .waitlist-form-container {
    margin-left: auto;
    margin-right: auto;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-submit {
    padding: 1.1rem;
    width: 100%;
  }

  .form-feedback {
    justify-content: center;
  }

  .trust-line {
    justify-content: center;
  }

  .hero-mockup {
    margin-top: 2rem;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  header {
    padding: 1.25rem 0;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }

  .tagline {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
  }

  .quote-box {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .typewriter-text {
    font-size: 0.95rem;
  }

  .input-icon {
    left: 1.1rem;
  }

  .waitlist-input {
    padding: 1rem 1.25rem 1rem 3rem;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .feature-card {
    padding: 1.25rem;
  }
}