/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --primary: 0 92% 52%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --accent: 0 92% 52%;
  --accent-foreground: 0 0% 100%;
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --card: 240 8% 8%;
  --card-foreground: 0 0% 98%;
  --muted: 240 6% 15%;
  --muted-foreground: 240 5% 64.9%;
  --border: 240 6% 15%;
  
  /* Category Colors */
  --category-vocab: 142 76% 36%;
  --category-conversation: 221 83% 53%;
  --category-travel: 262 83% 58%;
  --category-business: 24 95% 53%;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(221 83% 53% / 0.8), hsl(262 83% 58% / 0.8));
  --gradient-card: linear-gradient(180deg, hsl(222.2 84% 4.9%), hsl(217.2 32.6% 10%));
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

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

/* ===== Container ===== */
.container {
  max-width: 1200px;
     margin: 0 auto;
  padding: 0 1rem;
}

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

.gradient-bg {
  background: var(--gradient-card);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

.navbar-content {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.lang-link {
  display: flex;
  align-items: center;
  color: hsl(var(--foreground));
  transition: color 0.2s;
  cursor: pointer;
}

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

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: hsl(var(--background));
  flex-direction: column;
  padding: 1rem;
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.navbar-menu.active {
  display: flex;
}

.nav-link {
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.3s;
}

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

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    background-color: transparent;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}

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

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

.btn-hero {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2.5rem;
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.3);
}

.btn-hero:hover {
  background-color: hsl(var(--primary) / 0.9);
  box-shadow: 0 20px 25px -5px hsl(var(--primary) / 0.4);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 40%, transparent 100%), linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./assets/hero-bg-streaming.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  padding: 2rem 30px;
  max-width: 42rem;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.9);
  max-width: 36rem;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

/* ===== Categories Section ===== */
.categories-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .categories-grid {
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

@media (min-width: 768px) {
  .category-card {
    padding: 1rem 1.5rem;
  }
}

.category-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: scale(1.05);
}

.category-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .category-title {
    font-size: 1rem;
  }
}

/* ===== About Section ===== */
.about-card {
  background-color: hsl(var(--card) / 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 3rem;
  max-width: 48rem;
  margin: 0 auto;
}

.about-content {
  text-align: center;
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ===== How It Works Section ===== */
.how-it-works-header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.how-it-works-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.how-it-works-highlight {
  font-size: 1.125rem;
  color: hsl(var(--primary));
  font-weight: 600;
  margin-top: 0.5rem;
}


.how-it-works-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .how-it-works-content {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.mockup-column {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mockup-image {
  width: 100%;
  max-width: 40rem;
}

.steps-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 32rem;
}
.step-card {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: hsl(var(--primary));
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
}

/* ===== Top Rated Section ===== */
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
  background-color: hsl(var(--card) / 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: hsl(var(--primary));
  transform: scale(1.05);
}

.feature-image-container {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.feature-card:hover .feature-image {
  transform: scale(1.1);
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--card) / 0.9), transparent);
}

.feature-content {
  padding: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: hsl(var(--muted-foreground));
}

/* ===== About Page ===== */
.about-page {
  padding-top: 8rem;
}

.about-page-content {
  text-align: center;
}

.about-page-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-page-text {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 3rem;
}

.about-page-text p {
  margin-bottom: 1.5rem;
}

.about-page-image {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px hsl(0 0% 0% / 0.5);
}

.about-image {
  width: 100%;
  height: auto;
}

/* ===== Contact Page ===== */
.contact-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('./assets/hero-bg-streaming.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 4rem;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--background) / 0.7);
}

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

.contact-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

.contact-info-section {
  padding: 5rem 0;
}

.contact-info-container {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-email svg {
  color: hsl(var(--primary));
}

.email-link {
  font-size: 1.25rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.3s;
}

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

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

.footer-content {
  text-align: center;
}

.footer-text {
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  padding: 0 0.75rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: hsl(var(--foreground));
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
  
  .about-page-title {
    font-size: 4rem;
  }
  
  .contact-hero-title {
    font-size: 4rem;
  }


  .container2 {
    max-width: 1200px;
    margin: 0 9rem !important;
    padding: 0 1rem;

    
}

.hideDesktop{
      display: none;
    }
}



.section-compact {
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .section-compact {
    padding: 4rem 0;
  }
}