/*
 * Veloura Marketing Site Styles
 * ==============================
 * Modern, intimate, and sophisticated design system
 */

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

/* CSS Custom Properties / Variables */
:root {
  /* Brand Colors */
  --color-blue: #6667ab;
  --color-pink: #7b337e;
  --color-purple: #420d4b;
  --color-dark-purple: #210635;
  --color-soft-pink: #ffb8ea;
  --color-black: #333333;
  --color-white: #ffffff;

  /* Background Colors */
  --bg-body: #faf8fc; /* Very pale lavender */
  --bg-white: #ffffff;
  --bg-light: #f8f6fa;

  /* Primary Gradient */
  --gradient-primary: linear-gradient(135deg,
    var(--color-blue) 0%,
    var(--color-pink) 33%,
    var(--color-purple) 66%,
    var(--color-dark-purple) 100%
  );

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(66, 13, 75, 0.08);
  --shadow-md: 0 4px 16px rgba(66, 13, 75, 0.12);
  --shadow-lg: 0 8px 32px rgba(66, 13, 75, 0.16);
  --shadow-glow: 0 0 40px rgba(123, 51, 126, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--bg-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark-purple);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-black);
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(102, 103, 171, 0.1);
  padding: var(--spacing-md) 0;
  transition: all var(--transition-normal);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.25rem;
}

/* Logo SVG Styles */
.logo-svg {
  height: 36px;
  width: auto;
  display: block;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-weight: 600;
  color: var(--color-dark-purple);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  color: var(--color-purple);
  font-weight: 500;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

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

.nav-links a:hover {
  color: var(--color-pink);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: all var(--transition-normal);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-purple);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-white) 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-pink);
  margin-bottom: var(--spacing-md);
}

.hero-headline {
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, var(--color-dark-purple), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-black);
  margin-bottom: var(--spacing-xl);
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-purple);
  border: 2px solid rgba(66, 13, 75, 0.2);
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: var(--color-pink);
  color: var(--color-pink);
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
}

.reassurance {
  font-size: 0.875rem;
  color: var(--color-purple);
  opacity: 0.7;
}

/* Phone Placeholder */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-placeholder {
  position: relative;
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(66, 13, 75, 0.15));
}

.placeholder-label {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.placeholder-note {
  font-size: 0.875rem;
  opacity: 0.9;
  color: var(--color-soft-pink);
}

/* Hero App Image */
.hero-app-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Philosophy Quote */
.philosophy-quote {
  text-align: center;
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg);
}

.philosophy-quote p {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-purple);
  font-style: italic;
  margin: 0;
}

/* Section Content */
.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

/* Section heading inline (within two-column layout) */
.section-heading-inline {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  text-align: left;
  color: var(--color-dark-purple);
  line-height: 1.2;
}

/* Section actions (CTA buttons within sections) */
.section-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  justify-content: center;
}

/* Gradient section styling */
.section-gradient {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 120px 0 var(--spacing-xxl) 0;
}

.section-gradient .section-heading-inline {
  color: var(--color-white);
}

.section-gradient .section-content p {
  color: var(--color-white);
  opacity: 0.95;
}

/* Section with Preview - Two Column Layout */
.section-with-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section-with-preview.section-reverse {
  direction: rtl;
}

.section-with-preview.section-reverse > * {
  direction: ltr;
}

.section-preview {
  max-width: 320px;
  width: 100%;
  margin: 0;
}

.section-with-preview.section-reverse .section-preview {
  margin-left: auto;
  margin-right: 0;
}

.section-preview-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(66, 13, 75, 0.15));
}

@media (max-width: 968px) {
  .section-with-preview {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .section-with-preview.section-reverse {
    direction: ltr;
  }

  .section-preview {
    margin: 0 auto;
  }

}

/* How It Works Section */
.how-it-works {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-white);
}

.section-heading {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--spacing-xl);
  font-size: 1.125rem;
  color: var(--color-black);
  opacity: 0.8;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.step {
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102, 103, 171, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
}

.step-title {
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-purple);
  font-size: 1.25rem;
}

.step-description {
  color: var(--color-black);
  opacity: 0.8;
  margin-bottom: 0;
}

/* Features Section */
.features {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-card {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 51, 126, 0.1);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--color-pink);
  box-shadow: var(--shadow-md);
}

/* Feature Icon Image */
.feature-icon-img {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  display: block;
  object-fit: contain;
}

.feature-title {
  margin-bottom: var(--spacing-sm);
  color: var(--color-purple);
  font-size: 1.25rem;
}

.feature-description {
  color: var(--color-black);
  opacity: 0.8;
  margin-bottom: 0;
}

/* Game Showcase Section */
.games-showcase {
  padding: 120px 0 var(--spacing-xxl) 0;
  background: var(--bg-white);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.game-card {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102, 103, 171, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-pink);
}

.game-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto var(--spacing-lg);
  display: block;
  object-fit: contain;
}

/* More Games icon should match original size */
.game-card:last-child .game-logo {
  max-width: 80px;
  height: 80px;
}

.game-mood {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
}

.game-mood.romantic {
  background: rgba(255, 184, 234, 0.2);
  color: var(--color-pink);
}

.game-mood.playful {
  background: rgba(102, 103, 171, 0.15);
  color: var(--color-blue);
}

.game-mood.adventurous {
  background: rgba(123, 51, 126, 0.15);
  color: var(--color-purple);
}

.game-mood.fiery {
  background: rgba(66, 13, 75, 0.15);
  color: var(--color-dark-purple);
}

.game-title {
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-purple);
  font-size: 1.25rem;
}

.game-description {
  color: var(--color-black);
  opacity: 0.8;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Premium Features Section */
.premium-features {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.premium-logo {
  display: block;
  margin: 0 auto var(--spacing-xl);
  max-width: 280px;
  height: auto;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.premium-card {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 184, 234, 0.2);
  transition: all var(--transition-normal);
  text-align: center;
}

.premium-card:hover {
  border-color: var(--color-soft-pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.premium-icon-img {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  display: block;
  object-fit: contain;
}

.premium-title {
  margin-bottom: var(--spacing-sm);
  color: var(--color-purple);
  font-size: 1.125rem;
}

.premium-description {
  color: var(--color-black);
  opacity: 0.8;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  padding: var(--spacing-xxl) 0;
  background: radial-gradient(ellipse at center, rgba(123, 51, 126, 0.05) 0%, transparent 70%);
  text-align: center;
}

.cta-heading {
  margin-bottom: var(--spacing-md);
}

.cta-description {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  font-size: 1.125rem;
  color: var(--color-black);
  opacity: 0.8;
}

/* Footer */
.site-footer {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid rgba(102, 103, 171, 0.15);
  background: var(--bg-white);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright {
  font-size: 0.875rem;
  color: var(--color-purple);
  opacity: 0.7;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--color-purple);
  font-weight: 500;
}

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

.separator {
  color: var(--color-purple);
  opacity: 0.3;
}

/* Legal Pages */
.legal-page {
  background: var(--bg-white);
  padding: var(--spacing-xxl) 0;
  min-height: calc(100vh - 200px);
}

.legal-page h1 {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--color-purple);
  opacity: 0.7;
  margin-bottom: var(--spacing-xl);
  font-size: 0.875rem;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.legal-content ul {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

.legal-content li {
  margin-bottom: var(--spacing-sm);
  color: var(--color-black);
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin-bottom: var(--spacing-xl);
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-placeholder {
    max-width: 320px;
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

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

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

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--spacing-xl);
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    border-left: 1px solid rgba(102, 103, 171, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .nav-links a {
    display: block;
    padding: var(--spacing-sm) 0;
    font-size: 1.125rem;
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  .logo-svg {
    height: 30px;
  }
  :root {
    font-size: 14px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .hero {
    padding: var(--spacing-xl) 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .phone-placeholder {
    width: 240px;
    height: 480px;
  }

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .hero-visual,
  .cta {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}