/* ===================================
   CSS Custom Properties & Reset
   =================================== */
:root {
  /* Colors — LIGHT THEME */
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-surface: #ffffff;
  --color-surface-hover: #f0f2f5;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(0, 0, 0, 0.15);

  --color-text: #1a1d2e;
  --color-text-secondary: #5a6077;
  --color-text-muted: #8b91a8;

  --color-primary: #2D37E8;
  --color-primary-light: #4950ED;
  --color-primary-dark: #2028C0;
  --color-primary-glow: rgba(45, 55, 232, 0.08);

  --color-accent: #2D37E8;
  --color-accent-glow: rgba(45, 55, 232, 0.08);

  --color-success: #059669;
  --color-danger: #dc2626;
  --color-warning: #d97706;

  --gradient-primary: #2D37E8;
  --gradient-text: #2D37E8;
  --gradient-surface: linear-gradient(135deg, rgba(45, 55, 232, 0.04) 0%, rgba(45, 55, 232, 0.02) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(45, 55, 232, 0.06) 0%, transparent 70%);

  /* Typography */
  --font-primary: 'Play', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Play', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 7rem 0;
  --container-max: 1200px;
  --container-padding: 0 1.5rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ===================================
   Utility
   =================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.gradient-text {
  color: #2D37E8;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(45, 55, 232, 0.2);
  border-radius: 100px;
  margin-bottom: 1.5rem;
  background: rgba(45, 55, 232, 0.05);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #2D37E8;
  color: #fff;
  box-shadow: 0 4px 20px rgba(45, 55, 232, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 55, 232, 0.35);
}

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

.btn-secondary:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 1001;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-dot {
  color: #2D37E8;
}

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

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-link.nav-cta {
  background: #2D37E8;
  color: #fff;
  margin-left: 0.5rem;
  padding: 0.55rem 1.3rem;
}

.nav-link.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(45, 55, 232, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 4px;
  transition: all var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: rgba(45, 55, 232, 0.08);
  top: -200px;
  right: -150px;
  animation: float 15s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(45, 55, 232, 0.06);
  bottom: -100px;
  left: -100px;
  animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: rgba(45, 55, 232, 0.05);
  top: 40%;
  left: 50%;
  animation: float 18s ease-in-out infinite 3s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(45, 55, 232, 0.15);
  border-radius: 100px;
  background: rgba(45, 55, 232, 0.04);
  margin-bottom: 2rem;
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #2D37E8;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* ===================================
   Challenges Section
   =================================== */
.challenges {
  background: var(--color-bg);
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.challenge-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.challenge-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.challenge-card:hover::before {
  opacity: 1;
}

.challenge-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(45, 55, 232, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.challenge-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.challenge-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================
   Solutions Section
   =================================== */
.solutions {
  background: var(--color-bg-alt);
}

.solutions-grid {
  display: grid;
  gap: 1.5rem;
}

.solution-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.solution-card:hover {
  border-color: var(--color-border-hover);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.solution-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.solution-card:hover .solution-glow {
  opacity: 1;
}

.solution-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #2D37E8;
  line-height: 1;
  min-width: 70px;
  opacity: 0.5;
}

.solution-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--color-text);
}

.solution-content p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================
   Why This Matters Section
   =================================== */
.why-matters {
  background: var(--color-bg);
  position: relative;
}

.why-matters::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  pointer-events: none;
}

.why-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.why-text {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* ===================================
   Comparison Section
   =================================== */
.comparison {
  background: var(--color-bg-alt);
}

.compare-table {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
}

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-col {
  padding: 1.2rem 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.compare-old-header,
.compare-new-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.3rem 2rem;
}

.compare-old-header {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.compare-new-header {
  background: rgba(5, 150, 105, 0.06);
  color: #059669;
  border-bottom: 1px solid rgba(5, 150, 105, 0.12);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.compare-old {
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
}

.compare-new {
  color: var(--color-text);
  background: rgba(5, 150, 105, 0.03);
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
  background: var(--color-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================
   Bottom Line Section
   =================================== */
.bottom-line {
  background: var(--color-bg-alt);
}

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

.bottom-line-text {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.bottom-line-text strong {
  color: var(--color-text);
  font-weight: 600;
}

.bottom-line-visual {
  margin-top: 3rem;
}

.time-saved {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 3rem;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.time-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.time-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #2D37E8;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
  background: var(--color-bg);
  padding-bottom: 3rem;
}

.contact-card {
  text-align: center;
  padding: 5rem 3rem;
  border-radius: var(--radius-xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: var(--gradient-glow);
  pointer-events: none;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  background: var(--color-surface);
}

.contact-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.contact .btn-primary {
  position: relative;
  z-index: 1;
}

/* ===================================
   Footer
   =================================== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

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

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

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===================================
   Animations
   =================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
  :root {
    --section-padding: 5rem 0;
  }

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

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

  .solution-card {
    flex-direction: column;
    gap: 1rem;
  }

  .solution-number {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .contact-card {
    padding: 3.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    transition: right var(--transition-base);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .contact-details {
    flex-direction: column;
    gap: 0.8rem;
  }

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

  .compare-col {
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
  }

  .compare-old-header,
  .compare-new-header {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 4rem 0;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .challenge-card,
  .benefit-card,
  .solution-card {
    padding: 1.8rem 1.5rem;
  }

  .contact-card {
    padding: 2.5rem 1.5rem;
  }
}