:root {
  --primary-color: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary-color: #6366f1;
  --accent-color: #f59e0b;
  --text-color: #0f172a;
  --text-secondary: #64748b;
  --background-color: #ffffff;
  --surface-color: #f8fafc;
  --card-background: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--gradient-dark);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 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='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(10px) translateX(-5px); }
  75% { transform: translateY(-10px) translateX(-10px); }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
  z-index: 1;
}

.catchphrase {
  max-width: 600px;
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  position: relative;
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Section Styles */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.intro {
  background: var(--surface-color);
  text-align: center;
}

.intro h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.intro p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Features Section */
.features {
  position: relative;
}

.features h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-color);
  position: relative;
}

.features h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

.feature-card {
  background: var(--card-background);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Recommendations Section */
.recommendations {
  background: var(--surface-color);
  border-radius: 2rem;
  padding: 4rem 3rem;
}

.recommendations h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-color);
}

.recommendations ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.recommendations li {
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  background: var(--card-background);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 3.5rem;
}

.recommendations li::before {
  content: '✓';
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.25rem;
}

.recommendations li:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.recommendations strong {
  color: var(--text-color);
  display: block;
  margin-bottom: 0.25rem;
}

/* How to Use Section */
.how-to-use {
  text-align: center;
  padding: 5rem 2rem;
}

.how-to-use h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-color);
}

.how-to-use ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.how-to-use li {
  padding: 1.5rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transform: perspective(1000px) rotateX(0deg);
  transition: all 0.3s ease;
}

.how-to-use li::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.how-to-use li:nth-child(1) { animation-delay: 0s; }
.how-to-use li:nth-child(2) { animation-delay: 0.1s; }
.how-to-use li:nth-child(3) { animation-delay: 0.2s; }

.conclusion {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 3rem 2rem;
  margin-top: 5rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

.footer-bottom p:last-child {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .recommendations {
    padding: 3rem 1.5rem;
  }

  .recommendations li {
    padding-left: 3rem;
  }

  .how-to-use ul {
    gap: 1rem;
  }

  .how-to-use li {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}

/* Smooth Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
  section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }

  section.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #f1f5f9;
    --text-secondary: #94a3b8;
    --background-color: #0f172a;
    --surface-color: #1e293b;
    --card-background: #1e293b;
    --border-color: #334155;
  }

  .hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  }

  .feature-card {
    background: var(--card-background);
  }

  .recommendations li {
    background: var(--card-background);
  }
}