/*
 * CreateAIBBW.love - Main Stylesheet
 * Modern, responsive design with purple-blue gradient theme
 */

/* CSS Variables */
:root {
  --primary: #8e44ad;
  --secondary: #3498db;
  --dark: #2c3e50;
  --light: #f9f9f9;
  --gray: #7f8c8d;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --spacing: 4rem;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 80px;
  background: var(--gradient);
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: var(--dark);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

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

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

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

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

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

.btn-primary:hover {
  color: white;
  background-size: 150%;
}

.btn-secondary:hover {
  background-color: rgba(142, 68, 173, 0.1);
}

.btn-accent:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

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

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

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

.logo {
  width: 48px;
  height: 48px;
}

.site-title h1 {
  margin: 0;
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-title p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f6f8fb 0%, #e9edf5 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-content h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--gray);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curves-design {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.curve {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
}

.curve-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(142, 68, 173, 0.2), rgba(52, 152, 219, 0.3));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 8s infinite alternate ease-in-out;
}

.curve-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.3), rgba(142, 68, 173, 0.2));
  top: 30%;
  left: 30%;
  transform: translate(-50%, -50%);
  animation: float 6s infinite alternate-reverse ease-in-out;
}

.curve-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(142, 68, 173, 0.3), rgba(52, 152, 219, 0.2));
  bottom: 20%;
  right: 20%;
  transform: translate(50%, 50%);
  animation: float 10s infinite alternate ease-in-out;
}

@keyframes float {
  0% { transform: translate(-50%, -50%) scale(0.9) rotate(0deg); }
  100% { transform: translate(-50%, -50%) scale(1.1) rotate(10deg); }
}

/* Features Section */
.features {
  padding: var(--spacing) 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: rgba(142, 68, 173, 0.2);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  color: white;
  background: var(--gradient);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--gray);
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  padding: var(--spacing) 0;
  background: linear-gradient(135deg, #f6f8fb 0%, #e9edf5 100%);
  position: relative;
  overflow: hidden;
}

.steps {
  display: flex;
  justify-content: space-around;
  position: relative;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.steps:before {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--gradient);
  width: 70%;
  top: 2.5rem;
  left: 15%;
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 1rem;
  flex: 1;
  min-width: 200px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
}

.step h3 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.step p {
  color: var(--gray);
  margin-bottom: 0;
}

.cta-container {
  text-align: center;
  padding-top: 2rem;
}

/* Gallery Section */
.gallery {
  padding: var(--spacing) 0;
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: rgba(0,0,0,0.7);
  color: white;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-note {
  text-align: center;
  color: var(--gray);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* Access Section */
.access {
  padding: var(--spacing) 0;
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.access:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.access .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.access-content h2 {
  color: white;
}

.access-content h2 span {
  color: var(--light);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  position: relative;
}

.access-content h2 span:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.access-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.access-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.access-graphic {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
  animation: pulse 5s infinite alternate ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.95) translateY(5px); }
  100% { transform: scale(1.05) translateY(-5px); }
}

/* Footer */
.site-footer {
  padding: var(--spacing) 0 1.5rem;
  background-color: var(--dark);
  color: white;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

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

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-logo h3 {
  margin: 0;
  font-size: 1.5rem;
}

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

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

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

.footer-middle {
  margin-bottom: 2.5rem;
}

.legal-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: white;
}

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

.footer-bottom p:first-child {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 991px) {
  .hero .container,
  .access .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .access-content {
    text-align: center;
  }
  
  .steps:before {
    display: none;
  }
  
  .step {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list a {
    font-size: 1.2rem;
  }
  
  .footer-top,
  .legal-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  :root {
    --spacing: 3rem;
  }
  
  .site-header {
    padding: 0.75rem 0;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .site-title h1 {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .features-grid, 
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title:after {
    width: 60px;
  }
}

/* Utility Classes */
.btn-access {
  background: white;
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
}

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