/*
 * outdreamai.love - Main Stylesheet
 * Unique purple/pink color scheme - fully responsive design
 */

:root {
  /* Primary color scheme - Purple/Pink */
  --primary: #673AB7;       /* Purple */
  --secondary: #E91E63;     /* Pink */
  --accent: #00BCD4;        /* Cyan accent */
  --dark: #121212;          /* Dark background */
  --light: #F5F5F5;         /* Light background */
  --text-dark: #333333;     /* Dark text */
  --text-light: #FFFFFF;    /* Light text */
  --text-muted: #9E9E9E;    /* Muted text */
  
  /* Gradient variations */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-horizontal: linear-gradient(90deg, var(--primary), var(--secondary));
  --gradient-radial: radial-gradient(circle, var(--secondary) 0%, var(--primary) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  
  /* Fonts */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

h2 span {
  color: var(--secondary);
  position: relative;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-family: var(--font-primary);
  padding: 0.5rem 0;
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--primary);
}

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

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient-radial);
  opacity: 0.05;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient-radial);
  opacity: 0.05;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 3.5rem;
  text-align: left;
  margin-bottom: var(--space-sm);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: var(--text-muted);
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  filter: drop-shadow(var(--shadow-md));
}

/* About Section */
.about {
  background-color: var(--dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(103, 58, 183, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(233, 30, 99, 0.15) 0%, transparent 50%);
}

.about h2, .about h3 {
  color: var(--text-light);
}

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

.feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-sm);
}

.feature p {
  color: rgba(255, 255, 255, 0.7);
}

/* Examples Section */
.examples {
  background-color: #f9f9f9;
  position: relative;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.example-item {
  background: var(--text-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.example-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.example-svg {
  width: 100%;
  height: 200px;
}

.example-caption {
  padding: var(--space-sm);
  text-align: center;
}

.example-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* How It Works Section */
.how-it-works {
  background-color: var(--light);
}

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

.step {
  text-align: center;
  padding: var(--space-md);
  background: var(--text-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  position: relative;
}

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

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin: 0 auto var(--space-sm);
}

/* CTA Section */
.cta {
  background: var(--gradient-primary);
  color: var(--text-light);
  text-align: center;
  padding: var(--space-lg) 0;
}

.cta h2, .cta p {
  color: var(--text-light);
}

.cta p {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: var(--text-light);
  color: var(--primary);
}

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-logo h3 {
  color: var(--text-light);
  margin: 0;
  font-size: 1.2rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.footer-nav h4, .footer-legal h4 {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.footer-nav ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 992px) {
  :root {
    --space-xl: 4rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 3.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }
  
  nav.active ul {
    right: 0;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    margin-bottom: var(--space-md);
  }
  
  .hero-content h2, .hero-content p {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    justify-content: center;
    margin-bottom: var(--space-md);
  }
  
  .footer-links {
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 3rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
