:root {
  --bg-color: #09090b;
  --surface-color: #18181b;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --accent-color: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #60a5fa, #3b82f6, #8b5cf6);
  --border-color: #27272a;
  --glass-bg: rgba(24, 24, 27, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

p {
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

/* Layout & Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

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

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-highlight {
  color: var(--accent-color) !important;
  position: relative;
}

.nav-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-secondary {
  background: var(--surface-color);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 8rem;
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(9,9,11,0) 70%);
  z-index: -1;
  border-radius: 50%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Hero Visual & Animations */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  filter: blur(80px);
  border-radius: 50%;
  z-index: 0;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.floating-card .icon {
  font-size: 1.5rem;
}

.floating-card span:last-child {
  font-weight: 600;
  font-size: 1rem;
}

.card-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 45%;
  right: 5%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 15%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Cards / Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

/* Pricing */
.pricing-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  border: 2px solid var(--accent-color);
  background: linear-gradient(180deg, var(--surface-color) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: white;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.features-list {
  margin: 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-list li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* Reviews */
.review-card {
  text-align: left;
}

.review-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border-color);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  background: var(--surface-color);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Page Content (for subpages) */
.page-header {
  padding-top: 10rem;
  padding-bottom: 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h2 {
  text-align: left;
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }

  .main-nav {
    display: none; /* Hide main nav on very small screens for simplicity, or we can use a hamburger. For now, hide it */
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero p {
    margin: 0 auto 2rem auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-visual {
    min-height: 300px;
    margin-top: 2rem;
  }

  .card-1 { top: 10%; left: 5%; }
  .card-2 { top: 50%; right: 0; }
  .card-3 { bottom: 10%; left: 15%; }
  
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    padding: 1rem;
  }
  
  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  section {
    padding: 4rem 0;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
