/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

:root {
  /* Color Palette */
  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --primary-blue-light: #3b82f6;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   Container
   =========================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===========================
   Header (Sticky)
   =========================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.logo-icon {
  font-size: 24px;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: color var(--transition-base);
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background-color: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-list {
  list-style: none;
  padding: 16px 24px;
}

.mobile-menu-list li {
  margin-bottom: 16px;
}

.mobile-menu-list a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 18px;
}

.mobile-menu-list .btn {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.screenshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Browser Compatibility */
.browser-compatibility {
  margin-top: 32px;
}

.browser-compatibility-text {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.browser-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.browser-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition-base);
}

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

.browser-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.browser-logo span {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

/* ===========================
   Trust Band
   =========================== */

.trust-band {
  background-color: var(--primary-blue);
  padding: 24px 0;
}

.trust-text {
  text-align: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

/* ===========================
   Sections
   =========================== */

.section {
  padding: var(--section-padding);
}

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

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 24px;
}

/* ===========================
   Why This Matters Section
   =========================== */

.why-section {
  background-color: var(--gray-50);
}

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

.why-text p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--gray-700);
}

.highlight {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 32px 0;
}

.subsection-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 32px 0 16px;
}

.check-list {
  list-style: none;
  margin: 24px 0;
}

.check-list li {
  font-size: 18px;
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--gray-700);
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 20px;
}

.closing-statement {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 32px;
  font-style: italic;
}

/* ===========================
   Cards Grid
   =========================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.card-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===========================
   How It Works Section
   =========================== */

.how-section {
  background-color: var(--white);
}

.steps {
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-text {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.step-image {
  margin-top: 16px;
  max-width: 100%;
}

/* Size restriction for step 3 image only */
.step:nth-child(3) .step-image {
  max-width: 500px;
  width: 100%;
}

@media (max-width: 768px) {
  .step:nth-child(3) .step-image {
    max-width: 300px;
  }
}

/* ===========================
   Features Section
   =========================== */

.features-section {
  background-color: var(--gray-50);
}

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

.feature-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===========================
   Free Section
   =========================== */

.free-section {
  background-color: var(--primary-blue);
  color: var(--white);
}

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

.free-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.free-content p {
  font-size: 20px;
  color: var(--white);
  line-height: 1.7;
}

/* ===========================
   Testimonials Section
   =========================== */

.testimonials-section {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--gray-50);
  padding: 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 16px;
  color: var(--gray-600);
  font-weight: 600;
}

/* ===========================
   SEO Section
   =========================== */

.seo-section {
  background-color: var(--gray-50);
}

.seo-content {
  max-width: 700px;
  margin: 0 auto;
}

.seo-content p {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.seo-list {
  list-style: none;
  padding-left: 0;
}

.seo-list li {
  font-size: 16px;
  color: var(--gray-600);
  padding: 8px 0 8px 24px;
  position: relative;
}

.seo-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

/* ===========================
   FAQ Section
   =========================== */

.faq-section {
  background-color: var(--white);
}

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

.faq-item {
  background-color: var(--gray-50);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border-left: 4px solid var(--primary-blue);
}

.faq-question {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

.early-access-link {
  color: var(--primary-blue);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  transition: color var(--transition-base);
}

.early-access-link:hover {
  color: var(--primary-blue-dark);
}

/* ===========================
   Modal
   =========================== */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  margin: auto;
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: 300;
  color: var(--gray-500);
  cursor: pointer;
  transition: color var(--transition-base);
  line-height: 1;
}

.modal-close:hover {
  color: var(--gray-900);
}

.modal-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.modal-description {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

.form-placeholder {
  padding: 60px 20px;
  background-color: var(--gray-50);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--gray-500);
  font-style: italic;
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  color: var(--white);
  padding: 100px 0;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-subtitle {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-section .btn-primary {
  background-color: var(--white);
  color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
  background-color: var(--gray-100);
  color: var(--primary-blue-dark);
}

.cta-footer {
  margin-top: 24px;
  font-size: 16px;
  color: var(--white);
  opacity: 0.9;
}

/* ===========================
   Footer
   =========================== */

.footer {
  background-color: var(--gray-900);
  color: var(--gray-400);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 24px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav {
    display: none;
  }

  .header .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-subtitle {
    font-size: 18px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
