:root {
  /* Color system */
  --color-primary: #9D9FE5;

  --color-neutral-100: #FFFFFF;
  --color-neutral-200: #F5F5F7;
  --color-neutral-300: #666;
  --color-neutral-400: #D1D1D6;
  --color-neutral-500: #C7C7CC;
  --color-neutral-600: #8E8E93;
  --color-neutral-700: #636366;
  --color-neutral-800: #3A3A3C;
  --color-neutral-900: #1C1C1E;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  /* Spacing (8px system) */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 1rem;     /* 16px */
  --space-4: 1.5rem;   /* 24px */
  --space-5: 2rem;     /* 32px */
  --space-6: 2.5rem;   /* 40px */
  --space-7: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-9: 5rem;     /* 80px */
  --space-10: 6rem;    /* 96px */

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

  /* Border Radius */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-2xl: 1.5rem;  /* 24px */
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* Container width */
  --container-width: 1200px;

  /* Z-index layers */
  --z-negative: -1;
  --z-elevate: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-popover: 400;
  --z-toast: 500;
  --z-tooltip: 600;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.2;
  font-weight: 700;
  color: #30313E;
}

h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

section {
  padding: var(--space-8) 0;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  background-color: rgba(28, 28, 30, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color var(--transition-normal);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.download-btn {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  background: #9D9FE5;
  color: var(--color-neutral-100) !important;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.download-btn:hover {
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--color-neutral-100);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-bottom: var(--space-8);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-4);
}
.hero-content h1 strong {
  color: #9D9FE5;
  font-weight: bold;
}

.hero-content p {
  font-size: var(--font-size-xl);
  color: var(--color-neutral-300);
  margin-bottom: var(--space-5);
}

.cta-buttons {
  display: flex;
  gap: var(--space-3);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  max-width: 500px;
}

.mockup-img {
  width: 100%;
}

.notification {
  position: absolute;
  top: 10%;
  right: -20px;
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.notification:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--color-primary);
}

.notification.active {
  opacity: 1;
  transform: translateY(0);
}

/* Features Section */
.features {
  text-align: center;
  background-color: #30313E;
  color: #ffffff;
}

.features h2 {
  margin-bottom: var(--space-8);
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.feature-icon {
  margin-bottom: var(--space-3);
  width: 64px;
  height: 64px;
  background: #434353;
  border-radius: 32px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 30px;
  height: 30px;
}

/* How It Works Section */

.how-it-works h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #9D9FE5;
  color: var(--color-neutral-100);
  font-size: var(--font-size-xl);
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-image {
  margin-top: var(--space-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* FAQ Section */
.faq {
  background-color: var(--color-neutral-200);
}

.faq h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

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

.faq-item {
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  background-color: var(--color-neutral-100);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--color-neutral-200);
}

.faq-question h3 {
  margin: 0;
  font-size: var(--font-size-lg);
}

.faq-icon {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

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

.faq-answer p {
  padding: var(--space-2) var(--space-4) var(--space-4) var(--space-4);
  margin: 0;
}

/* Download Section */
.download {
  background: #9D9FE5;
  color: #ffffff;
  text-align: center;
}

.download .container {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.download-content {
  flex: 1;
}

.download-content h2 {
  color: var(--color-neutral-100);
}

.download-buttons {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  align-items: center;
  justify-content: center;
}

.download-btn img {
  height: 48px;
  transition: transform var(--transition-fast);
}

.download-btn:hover img {
  transform: scale(1.05);
}

.download-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.devices-mockup {
  max-width: 100%;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.social-icons {
  display: flex;
  gap: var(--space-3);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--color-primary);
}

.social-icons img {
  width: 18px;
  height: 18px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
  }
  .hero-image {
    margin-top: 2rem;
  }
  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }

  .hero .container,
  .download .container {
    flex-direction: column;
  }

  .hero-content,
  .download-content {
    text-align: center;
    margin-bottom: 0;
  }

  .cta-buttons {
    justify-content: center;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  section {
    padding: var(--space-6) 0;
  }

  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-content p {
    font-size: var(--font-size-lg);
  }

  .cta-buttons {
    flex-direction: column;
    gap: var(--space-3);
  }
}
/* Animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Applied animations */
.hero h1 {
  animation: fadeInDown 1s ease-out;
}

.hero p {
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.cta-buttons {
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-image {
  animation: fadeInRight 1s ease-out 0.6s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.phone-mockup {
  animation: float 6s ease-in-out infinite;
}
.feature-card h3 {
  color: #ffffff;
}
.feature-card {
  color: #B3B4BF;
  text-align: center;
}

.feature-card[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-card[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

.feature-card[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

.feature-card[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

.step[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

.step[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

.btn:hover {
  animation: pulse 0.5s ease-in-out;
}

/* Demo section animation */
.demo-placeholder img {
  animation: pulse 2s ease-in-out infinite;
}

/* Testimonial typing animation */
.chat-bubble {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.chat-bubble.typing {
  border-right: 3px solid var(--color-primary);
  display: inline-block;
  animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}
@media (max-width: 540px) {
  .download-buttons {
    flex-direction: column;
  }
}
