/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-ghost-navy: #0a1628;
  --color-ghost-dark: #1a2332;
  --color-ghost-blue: #00d4ff;
  --color-ghost-teal: #00ffcc;
  --color-ghost-orange: #ff8c42;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-gray-900);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray-300);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ghost-navy);
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1001;
}

.nav-logo a:hover {
  color: var(--color-ghost-blue);
  transition: color 0.2s;
}

/* Hide checkbox */
.nav-toggle {
  display: none;
}

/* Hamburger icon */
.nav-toggle-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.nav-toggle-label span {
  width: 25px;
  height: 3px;
  background-color: var(--color-ghost-navy);
  margin: 3px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  background-color: var(--color-ghost-orange);
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-cta-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
  }

  .nav-toggle:checked ~ .nav-menu {
    right: 0;
  }

  .nav-link,
  .nav-cta-button {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav-cta-button {
    justify-content: center;
  }

  /* Hamburger animation */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .nav-logo a {
    font-size: 1rem;
  }
}

/* Container */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .large-text {
    font-size: 1.25rem;
  }

  .extra-large-text {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.bold-text {
  font-weight: 600;
}

.large-text {
  font-size: 1.5rem;
}

.medium-text {
  font-size: 1.25rem;
}

.extra-large-text {
  font-size: 1.875rem;
}

.section-gap {
  margin-top: 2rem;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background-color: var(--color-ghost-orange);
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.cta-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15);
}

.cta-button-light {
  background-color: var(--color-white);
  color: var(--color-ghost-navy);
}

.cta-button-light:hover {
  background-color: var(--color-gray-50);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-ghost-navy) 0%, var(--color-ghost-dark) 100%);
  color: var(--color-white);
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0;
  }
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.logo-title {
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 2.25rem;
  }
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--color-ghost-teal);
  margin-bottom: 2rem;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .hero-subheadline {
    font-size: 1.5rem;
  }
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.hero-image {
  display: block;
  margin-top: 2rem;
}

.hero-image img {
  max-height: 400px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .hero-image {
    display: block;
    margin-top: 0;
  }

  .hero-image img {
    max-height: none;
    object-fit: cover;
  }
}

.image-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 255, 204, 0.2) 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 212, 255, 0.3);
  padding: 2rem;
  text-align: center;
  color: var(--color-ghost-blue);
}

.image-placeholder-container {
  max-width: 50rem;
  margin: 3rem auto 2rem;
}

.image-placeholder-dark {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 255, 204, 0.15) 100%);
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--color-ghost-teal);
}

.image-placeholder-overlay {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  backdrop-filter: blur(5px);
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .section-image {
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  }

  .image-placeholder-container {
    margin: 2rem auto 1.5rem;
    padding: 0 0.5rem;
  }
}

/* Sections */
.section-white {
  background-color: var(--color-white);
  padding: 5rem 0;
}

.section-light {
  background-color: var(--color-gray-50);
  padding: 5rem 0;
}

.section-dark {
  background: linear-gradient(135deg, var(--color-ghost-dark) 0%, var(--color-ghost-navy) 100%);
  color: var(--color-white);
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-white,
  .section-light,
  .section-dark {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0 !important;
  }

  .final-cta {
    padding: 4rem 0 !important;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--color-ghost-navy);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-700);
}

.section-dark .section-subtitle {
  color: var(--color-gray-300);
}

.text-center-content {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.text-center-content p {
  margin-bottom: 1.5rem;
  color: var(--color-gray-700);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background-color: var(--color-gray-50);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(0, 212, 255, 0.2);
  transition: border-color 0.2s;
}

.benefit-card:hover {
  border-color: var(--color-ghost-blue);
}

.benefit-card h3 {
  color: var(--color-ghost-navy);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--color-gray-700);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  gap: 3rem;
  max-width: 75rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-ghost-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  color: var(--color-ghost-navy);
}

.step h3 {
  margin-bottom: 1rem;
}

.step p {
  color: var(--color-gray-300);
}

/* Case Study */
.case-study {
  max-width: 75rem;
  margin: 0 auto;
}

.case-study-intro {
  font-size: 1.25rem;
  color: var(--color-gray-700);
  margin-bottom: 3rem;
  text-align: center;
}

.metrics-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  background: linear-gradient(135deg, var(--color-ghost-blue) 0%, var(--color-ghost-teal) 100%);
  padding: 2rem;
  border-radius: 0.5rem;
  color: var(--color-white);
  text-align: center;
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1.125rem;
}

.case-study-summary {
  font-size: 1.25rem;
  text-align: center;
  color: var(--color-ghost-navy);
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Comparison Section */
.comparison-section {
  max-width: 75rem;
  margin: 0 auto;
}

.comparison-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.comparison-column {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 0.5rem;
}

.comparison-bad {
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.comparison-good {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 204, 0.1) 100%);
  border: 2px solid var(--color-ghost-blue);
}

.comparison-column h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.comparison-bad h3 {
  color: #dc2626;
}

.comparison-good h3 {
  color: var(--color-ghost-blue);
}

.comparison-column ul {
  list-style: none;
}

.comparison-column li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--color-gray-700);
}

.icon-bad {
  color: #ef4444;
  font-size: 1.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.icon-good {
  color: #10b981;
  font-size: 1.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Pricing Section */
.pricing-section {
  max-width: 60rem;
  margin: 0 auto;
}

.pricing-content {
  background-color: var(--color-gray-50);
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.pricing-intro {
  font-size: 1.25rem;
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
}

.pricing-list {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  color: var(--color-gray-700);
}

.pricing-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-ghost-blue);
  border-radius: 50%;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.pricing-highlights {
  border-top: 2px solid rgba(0, 212, 255, 0.2);
  padding-top: 1.5rem;
}

.pricing-highlights p {
  font-size: 1.25rem;
  color: var(--color-ghost-navy);
  margin-bottom: 0.5rem;
}

.cta-intro {
  font-size: 1.125rem;
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
}

/* Audience Grid */
.audience-grid {
  display: grid;
  gap: 2rem;
  max-width: 75rem;
  margin: 0 auto;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.audience-card h3 {
  color: var(--color-ghost-teal);
  margin-bottom: 1rem;
}

.audience-card p {
  color: var(--color-gray-300);
}

/* Magic Section */
.magic-text {
  max-width: 60rem;
  margin: 2rem auto 0;
}

.magic-text p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(90deg, var(--color-ghost-orange) 0%, var(--color-ghost-blue) 100%);
  color: var(--color-white);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .final-cta-content h2 {
    font-size: 3.75rem;
  }
}

.final-cta-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Footer */
.footer {
  background-color: var(--color-ghost-navy);
  color: var(--color-white);
  padding: 3rem 0;
}

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

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--color-gray-400);
}
