/* CSS Variables */
:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #0a0a0a;
  --card-foreground: #fafafa;
  --popover: #0a0a0a;
  --popover-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #171717;
  --secondary: #1a1a1a;
  --secondary-foreground: #fafafa;
  --muted: #1a1a1a;
  --muted-foreground: #a1a1aa;
  --accent: #1a1a1a;
  --accent-foreground: #fafafa;
  --destructive: #ef4444;
  --border: #262626;
  --input: #262626;
  --ring: #d4d4d4;
  --radius: 0.75rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Typography */
.italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.bold {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
}

.btn-lg {
  padding: 0.625rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

/* Input */
.input {
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}

.input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(212, 212, 212, 0.1);
}

.input::placeholder {
  color: var(--muted-foreground);
}

.input-lg {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

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

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

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

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--foreground);
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  z-index: 40;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding: 0.5rem 0;
}

.mobile-nav-link:hover {
  color: var(--foreground);
}

/* Hero Section */
.hero {
  padding: 5rem 0 6rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-content {
  max-width: 40rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .italic {
  font-size: 3.25rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.highlight {
  color: var(--primary);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.avatars {
  display: flex;
  margin-right: 0.25rem;
}

.avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary);
  margin-left: -0.5rem;
}

.avatar:first-child {
  margin-left: 0;
}

.hero-cta-text .cta-title {
  font-weight: 500;
  color: var(--foreground);
}

.hero-cta-text .cta-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--muted);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--foreground);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-muted {
  background-color: rgba(26, 26, 26, 0.3);
}

.section-content {
  max-width: 48rem;
  margin: 0 auto;
}

.section-content-wide {
  max-width: 64rem;
  margin: 0 auto;
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.section-title .italic {
  font-size: 2.5rem;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-body p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.section-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  margin-top: -1.5rem;
}

/* Cards */
.cards-grid-2 {
  display: grid;
  gap: 1.5rem;
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.card-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.step-text {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.package-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.package-card:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.package-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.package-price .month {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

.package-per {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.package-features svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Steps Grid (Getting Started) */
.steps-grid {
  display: grid;
  gap: 2rem;
}

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

.step-circle {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.step-card-text {
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 20rem;
  margin: 0 auto;
}

/* CTA Card */
.cta-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-title-main {
  font-size: 1.875rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-title-main .italic {
  font-size: 2rem;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

.cta-form .input {
  flex: 1;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.faq-contact-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background-color: rgba(26, 26, 26, 0.3);
  padding: 3rem 0;
}

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

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

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--foreground);
}

/* Media Queries */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-form {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  
  .header-cta {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero {
    padding: 6rem 0 8rem;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-title .italic {
    font-size: 5rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-title .italic {
    font-size: 3.25rem;
  }
  
  .cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cta-title-main {
    font-size: 2.25rem;
  }
  
  .cta-title-main .italic {
    font-size: 2.5rem;
  }
}

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

.feature-card,
.card,
.package-card,
.step-card {
  animation: fadeIn 0.5s ease forwards;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

/* Selection */
::selection {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
