/* Design System */
:root {
  --primary: #1e293b;
  --primary-light: #334155;
  --primary-dark: #0f172a;
  --secondary: #475569;
  --accent: #cbd5e1;
  --bg-main: #f0f2f5;
  --bg-card: #e0e5ec;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --glass-bg: rgba(224, 229, 236, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Skeuomorphic Shadows */
  --shadow-neumorphic:
    9px 9px 16px rgb(163, 177, 198, 0.6),
    -9px -9px 16px rgba(255, 255, 255, 0.5);
  --shadow-neumorphic-inset:
    inset 6px 6px 10px 0 rgba(163, 177, 198, 0.7),
    inset -6px -6px 10px 0 rgba(255, 255, 255, 0.8);
  --shadow-btn:
    6px 6px 10px 0 rgba(163, 177, 198, 0.5),
    -6px -6px 10px 0 rgba(255, 255, 255, 0.8);
  --shadow-btn-hover:
    12px 12px 20px 0 rgba(163, 177, 198, 0.6),
    -8px -8px 16px 0 rgba(255, 255, 255, 0.8);

  --radius-md: 16px;
  --radius-lg: 30px;
}

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

html {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  position: relative;
  padding: 80px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.scrolled .header-container {
  padding: 0;
}

.logo-container {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #333, #000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.beta-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: #e0e5ec;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 8px;
  text-transform: uppercase;
  box-shadow:
    2px 2px 4px rgba(163, 177, 198, 0.4),
    -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

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

.cta-button-nav {
  background: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  color: var(--white);
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  background: var(--bg-main);
  text-align: center;
}

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

.hero-tagline {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-card);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-neumorphic);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  color: var(--text-main);
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.1),
    -1px -1px 2px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-neumorphic-inset);
  color: var(--text-main);
}

/* App Showcase */
.app-showcase {
  margin-top: 80px;
  position: relative;
  padding: 0 20px;
}

.showcase-window {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow-neumorphic);
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.window-header {
  background: var(--bg-card);
  padding: 12px 20px;
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow:
    inset 1px 1px 2px rgba(0, 0, 0, 0.2),
    1px 1px 2px rgba(255, 255, 255, 0.7);
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.showcase-content {
  background: #fff;
  padding: 2px;
}

.showcase-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.1),
    -1px -1px 2px rgba(255, 255, 255, 0.8);
}

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

.feature-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-neumorphic);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    15px 15px 30px rgb(163, 177, 198, 0.7),
    -15px -15px 30px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-neumorphic-inset);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Process Section */
.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 28px;
  width: 4px;
  height: calc(100% - 12px);
  background: var(--bg-card);
  box-shadow: var(--shadow-neumorphic-inset);
  border-radius: 4px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: none;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: var(--shadow-neumorphic);
}

.step-content h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.step-content p {
  color: var(--text-muted);
}

/* Testimonials */
.testimonial-section {
  background-color: var(--bg-main);
}

.testimonial-slider {
  padding: 20px 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-neumorphic);
}

.pricing-card.popular {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    12px 12px 24px rgb(163, 177, 198, 0.7),
    -12px -12px 24px rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 24px 0;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

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

.pricing-card ul {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card li i {
  color: var(--primary);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

/* Footer */
footer {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 80px 0 40px;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 24px;
  font-size: 1rem;
  color: var(--primary);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Slider System */
.slider-section {
  padding: 100px 0;
}

.slider-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.slider-container {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: var(--shadow-neumorphic);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slider-item {
  flex: 0 0 100%;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-item img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.slider-item img:hover {
  transform: scale(1.01);
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-neumorphic-inset);
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 100px;
  box-shadow: var(--shadow-neumorphic);
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-btn);
  font-size: 1rem;
}

.slider-btn:hover {
  background: var(--bg-card);
  color: var(--primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-btn-hover);
}

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 900;
}

.highlight-skew {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--white);
  padding: 4px 12px;
  transform: skewX(-10deg);
  margin-left: -8px; /* Adjust to overlap with previous word */
  margin-right: -8px; /* Adjust to overlap with next word */
  border-radius: 4px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
  font-weight: 900;
}

.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background: var(--bg-card);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  color: var(--primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow-btn-hover);
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .header-container {
    padding: 10px 0;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .beta-badge {
    font-size: 0.55rem;
    padding: 2px 6px;
  }

  .cta-button-nav {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

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

  .pricing-card.popular {
    transform: scale(1);
  }

  .slider-item {
    padding: 12px;
  }

  .hero-subtitle,
  .section-header p,
  .feature-card p,
  .step-content p,
  p {
    text-align: left !important;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease forwards;
}
