:root {
  --primary: #7c3aed;
  --secondary: #3b82f6;
  --accent: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #8b5cf6 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--neutral-700);
  font-display: swap;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1 { font-size: 3rem; line-height: 1.2; font-weight: 700; }
h2 { font-size: 2.25rem; line-height: 1.2; font-weight: 600; }
h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 600; }
h4 { font-size: 1.25rem; line-height: 1.2; font-weight: 500; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-200);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--neutral-600);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 3px;
  background: var(--neutral-700);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 48px;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

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

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

/* Hero Section */
.hero {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  animation: float 20s ease-in-out infinite;
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  margin-bottom: 24px;
  color: white;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .hero {
    padding-top: 80px;
    min-height: auto;
  }
}

/* Feature Section */
.features {
  padding: 96px 0;
  background: var(--neutral-50);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
  color: var(--neutral-800);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-card h3 {
  margin-bottom: 16px;
  color: var(--neutral-800);
}

.feature-card p {
  color: var(--neutral-600);
}

/* Gallery Section */
.gallery {
  padding: 96px 0;
}

.illustrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.illustration-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.illustration-card:hover {
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 96px 0;
  background: var(--gradient-primary);
  color: white;
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.services-list {
  list-style: none;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}

.service-item svg {
  flex-shrink: 0;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .services-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Testimonials */
.testimonials {
  padding: 96px 0;
  background: var(--neutral-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--neutral-600);
}

.testimonial-author {
  font-weight: 600;
  color: var(--neutral-800);
}

.testimonial-role {
  color: var(--neutral-500);
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  padding: 96px 0;
  background: var(--gradient-hero);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--neutral-800);
  color: var(--neutral-300);
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--neutral-600);
  text-align: center;
  font-size: 0.875rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--neutral-700);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--neutral-200);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-control[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.success-message {
  background: var(--success);
  color: white;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: none;
}

.success-message.show {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* Page Styles */
.page-header {
  padding: 120px 0 64px;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.content-section {
  padding: 64px 0;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  margin: 32px 0 16px;
}

.prose p {
  margin-bottom: 16px;
}

.prose ul {
  margin: 16px 0;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-content {
  padding: 24px;
}

.blog-card h3 {
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--neutral-600);
  margin-bottom: 16px;
}

.blog-card .btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* Mobile Optimizations */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .hero, .features, .gallery, .services, .testimonials, .cta {
    padding: 64px 0;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .features-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .illustrations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .hero-actions {
    justify-content: center;
  }
}