/* Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.6;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #0a0a1a;
  color: #f5f5f7;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

/* Variables */
:root {
  --primary-color: #FF4081;
  --secondary-color: #3D5AFE;
  --accent-color: #00E676;
  --dark-bg: #0a0a1a;
  --medium-bg: #151530;
  --light-bg: #1f1f40;
  --text-light: #f5f5f7;
  --text-medium: #b5b5c3;
  --text-dark: #76768a;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.noise-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.highlight {
  color: var(--primary-color);
  -webkit-text-fill-color: var(--primary-color);
}

/* Header */
header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-svg {
  height: 2rem;
  width: auto;
}

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

nav a {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--text-light), var(--text-medium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.hero-graphic {
  margin-top: 3rem;
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.5);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 64, 129, 0.6);
}

.cta-button-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--medium-bg);
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-icon {
  margin-bottom: 1.5rem;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  text-align: center;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 3rem 0;
}

.step {
  flex: 1;
  min-width: 200px;
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-medium);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--medium-bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  text-align: right;
  color: var(--primary-color);
}

/* Gallery Section */
.gallery {
  padding: 5rem 0;
  text-align: center;
}

.gallery-note {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gallery-placeholder {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-cta {
  margin-top: 3rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: var(--medium-bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

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

/* Footer */
footer {
  background-color: var(--medium-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

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

.footer-links-column h4 {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

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

.footer-links-column a {
  color: var(--text-medium);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    justify-content: space-around;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .steps {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-card, .step, .testimonial-card, .faq-item, .gallery-item {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(5) { animation-delay: 0.3s; }
