:root {
  --primary: #8E2DE2;
  --secondary: #4A00E0;
  --dark: #1A0B2E;
  --light: #F8F9FA;
  --accent: #D772FF;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --border-radius: 10px;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

/* Typography */
h1, h2, h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.domain {
  color: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 11, 46, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-svg {
  width: 2.5rem;
  height: 2.5rem;
}

/* Navigation */
.menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  background: var(--light);
  transition: all 0.3s;
}

.cta-btn {
  background: var(--gradient);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  margin: 0.5rem 0.5rem 0.5rem 0;
  text-align: center;
  transition: all 0.3s;
}

.primary-btn {
  background: var(--gradient);
  color: white;
  box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
}

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

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(142, 45, 226, 0.6);
}

.secondary-btn:hover {
  background: rgba(142, 45, 226, 0.1);
}

/* Sections */
section {
  padding: 6rem 0;
}

/* Hero */
#hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

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

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

.hero-content p {
  font-size: 1.2rem;
  margin: 1.5rem 0;
}

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

.lens-graphic {
  width: 100%;
  height: 400px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><circle cx="200" cy="200" r="150" fill="none" stroke="rgba(142, 45, 226, 0.3)" stroke-width="5"/><circle cx="200" cy="200" r="120" fill="none" stroke="rgba(142, 45, 226, 0.5)" stroke-width="3"/><circle cx="200" cy="200" r="90" fill="none" stroke="rgba(142, 45, 226, 0.7)" stroke-width="2"/><circle cx="160" cy="160" r="15" fill="rgba(255, 255, 255, 0.7)"/></svg>') no-repeat center;
  animation: float 6s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(5deg); }
}

/* Features */
#features {
  background: rgba(26, 11, 46, 0.5);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(142, 45, 226, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-icon::before {
  content: '🧠';
  font-size: 2rem;
}

.speed-icon::before {
  content: '⚡';
  font-size: 2rem;
}

.privacy-icon::before {
  content: '🔒';
  font-size: 2rem;
}

.quality-icon::before {
  content: '✨';
  font-size: 2rem;
}

/* How it works */
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4rem 0;
}

.step-card {
  flex: 1;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 1rem auto 1.5rem;
  border-radius: 50%;
  background: rgba(142, 45, 226, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-icon::before {
  content: '📤';
  font-size: 2rem;
}

.process-icon::before {
  content: '⚙️';
  font-size: 2rem;
}

.download-icon::before {
  content: '📥';
  font-size: 2rem;
}

.step-arrow {
  flex: 0 0 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  position: relative;
}

.step-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--secondary);
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Stats */
#stats {
  background: var(--gradient);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
}

/* CTA section */
#cta {
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(142, 45, 226, 0.1), rgba(74, 0, 224, 0.1));
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-box p {
  max-width: 600px;
  margin: 1rem auto 2rem;
}

/* Footer */
footer {
  background: rgba(23, 9, 40, 0.9);
  padding: 4rem 0 1.5rem;
}

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

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

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a:hover {
  color: var(--accent);
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .lens-graphic {
    height: 300px;
    order: -1;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .step-card {
    max-width: 100%;
  }
  
  .step-arrow {
    width: 3px;
    height: 40px;
  }
  
  .step-arrow::after {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--secondary);
    border-bottom: none;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 11, 46, 0.95);
    flex-direction: column;
    width: 100%;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  
  .menu.active {
    max-height: 300px;
    padding: 1rem 0;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 4rem 0;
  }
}
