/* Reset and base styles */
:root {
  --primary: #bbe4ff;
  --primary-light: #c8e9ff;
  --primary-dark: #a8d2ee;
  --primary-text: #2a697c;

  --secondary: #ecb32d;
  --secondary-dark: #ffb813;

  --background: #3E95B9;
  --background-darker: #36769d;

  --text-primary: #f9fafb;
  --text-secondary: #f4f6f8;

  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  background-image: url("assets/background.svg");
  background-size: cover;
  background-attachment: fixed;
}

/* Typography */
h1,
h2,
h3 {
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem;
  transition: background-color 0.3s ease;
}

.header.sticky {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 2rem;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  flex: 0.8;
  padding-right: 2rem;
}

.hero-video {
  flex: 1.2;
  position: relative;
}

.hero-video video {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1200px) {
  .hero-video video {
    min-width: 700px;
  }
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Problems Section */
.problems {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.problem-visual {
  position: sticky;
  top: 100px;
}

.problem-visual img {
  width: 100%;
  border-radius: 1rem;
  display: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.problem-visual img.active {
  display: block;
}

.accordion-item {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.accordion-item.active {
  background: var(--primary);
  border-color: var(--primary-dark);
}

.accordion-item.active h3,
.accordion-item.active p {
  color: var(--primary-text);
}

/* Footer */
.footer {
  background: var(--background-darker);
  padding: 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

/* Buttons */
.cta-button {
  display: inline-block;
  background: var(--secondary);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  margin-top: 2rem;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--secondary-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }

  .nav-links {
    display: none;
  }

  .problem-solution {
    grid-template-columns: 1fr;
  }

  .problem-visual {
    position: static;
  }

  .pricing-card.featured {
    transform: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}
