:root {
  --primary-color: #2b7a78; /* Soft Teal */
  --primary-dark: #17252a;
  --secondary-color: #3b82f6; /* Soft Indigo/Blue */
  --accent-color: #def2f1; /* Light Teal background */
  --text-dark: #2d3748;
  --text-light: #4a5568;
  --text-white: #ffffff;
  --bg-color: #f7fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --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);
  --transition: all 0.3s ease-in-out;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Layout Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: #2563eb;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

.logo-streams {
  font-weight: 400;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-light);
}

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

.nav-links a.btn {
  color: var(--white);
}

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

/* Hero Section */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--white) 100%);
}

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

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary-dark);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Features Grid */
.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2, .cta-section p {
  color: var(--white);
}

.cta-section p {
  opacity: 0.9;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
  color: #a0aec0;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #4a5568;
  padding-top: 2rem;
  color: #a0aec0;
  font-size: 0.9rem;
}

/* Responsive Utilities and Breakpoints */

@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  .hero-content h1 { font-size: 3rem; }
  .container { max-width: 950px; }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-image {
    order: -1;
  }

  .hero-image i {
    font-size: 10rem !important;
  }
  
  .grid-cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Reset RTL alternating layout */
  .grid[style*="direction: rtl"],
  .grid.flex-row-reverse {
    direction: ltr !important;
  }

  .grid[style*="direction: rtl"] > div,
  .grid.flex-row-reverse > div {
    direction: ltr !important;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 3rem 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem;
  }

  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 101;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.5rem;
  }

  h1 { font-size: 2rem; }
  .hero-content h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .grid-cols-3, .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    padding-right: 0 !important;
  }

  .hero {
    padding: 4rem 0;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-content .flex {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Helper classes for JS-free responsive behavior where inline styles were used */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-card[style*="transform: scale(1.04)"] {
    transform: scale(1) !important;
    margin: 1rem 0;
  }
}

/* Menu Toggle hidden by default */
.menu-toggle {
  display: none;
}
