/* ============================================
   Harleen Landing Page - Production Styles
   ============================================ */

:root {
  --purple: #6C2CFB;
  --magenta: #C12EFF;
  --pink: #FF4DB8;
  --pink-glow: rgba(255, 77, 184, 0.4);
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 80px rgba(108, 44, 251, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white-90);
  background: linear-gradient(135deg, var(--purple) 0%, var(--magenta) 50%, var(--pink) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Skip Link - Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 100;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Visually Hidden - Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.gradient-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--pink-glow) 0%, transparent 70%);
  top: 50%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.logo {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1rem;
}

.subheadline {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--white-70);
  margin-bottom: 2rem;
  max-width: 420px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--white);
  color: var(--purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-icon {
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.875rem;
  color: var(--white-50);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Hero phone mockup - clean 2D design */
.phone-mockup-hero {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.phone-mockup-hero__frame {
  width: min(300px, 88vw);
  background: #1a1a1a;
  padding: 10px;
  border-radius: 44px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-mockup-hero__screen {
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}

.phone-mockup-hero .phone-mockup {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.phone-mockup {
  transition: transform var(--transition);
}


/* Parallax on scroll - handled in JS */

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

/* ============================================
   Feature Strip
   ============================================ */

.features {
  padding: 4rem 1.5rem;
  position: relative;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-70);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--white-70);
  line-height: 1.5;
}

/* ============================================
   App Screens Section (2D flat mockups)
   ============================================ */

.app-screens {
  padding: 5rem 1.5rem;
}

.app-screens-grid {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: start;
}

.phone-mockup-flat {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.phone-mockup-flat:first-child {
  animation-delay: 0.1s;
}

.phone-mockup-flat:last-child {
  animation-delay: 0.2s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.phone-mockup-flat__frame {
  width: min(280px, 80vw);
  background: #1a1a1a;
  padding: 8px;
  border-radius: 40px;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.phone-mockup-flat__screen {
  border-radius: 30px;
  overflow: hidden;
  background: #000;
}

.phone-mockup-flat__screen img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .app-screens-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   Waitlist Section
   ============================================ */

.waitlist {
  padding: 4rem 1.5rem;
}

.waitlist-content {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.waitlist-text {
  font-size: 1rem;
  color: var(--white-70);
  margin-bottom: 1.5rem;
}

.waitlist-btn {
  display: inline-block;
}

/* ============================================
   Privacy & Compliance
   ============================================ */

.privacy {
  padding: 3rem 1.5rem;
}

.privacy-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.privacy-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.privacy-text {
  font-size: 0.9375rem;
  color: var(--white-70);
  margin-bottom: 1rem;
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.privacy-link {
  color: var(--white-70);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.privacy-link:hover {
  color: var(--white);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--glass-border);
}

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

.copyright {
  font-size: 0.875rem;
  color: var(--white-50);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--white-70);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

/* ============================================
   Responsive - Tablet & Desktop
   ============================================ */

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .phone-wrapper {
    margin-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 3rem 2rem;
  }

  .features {
    padding: 5rem 2rem;
  }

  .privacy,
  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   Legal Pages (Privacy, Terms)
   ============================================ */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-back {
  display: inline-block;
  color: var(--white-70);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  transition: color var(--transition);
}

.legal-back:hover {
  color: var(--white);
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--white-50);
  margin-bottom: 2.5rem;
}

.legal-page section {
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.legal-page h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white-90);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white-70);
  margin-bottom: 0.75rem;
}

.legal-page ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: var(--white-90);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--white);
}

.legal-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.9375rem;
  color: var(--white-50);
}
