/* SmartClass Website Styles */
/* Matching the app's design language: Yellow (#FFE51D) primary, white/light backgrounds */

/* CSS Variables */
:root {
  /* Colors from app theme */
  --primary-color: #FFE51D;
  --primary-light: #FFED4A;
  --primary-dark: #E6CC1A;
  --secondary-color: #FFFFFF;
  --background-color: #FFFFFF;
  --surface-color: #FAFAFA;
  --card-color: #FFFFFF;
  --text-primary: #212121;
  --text-secondary: #757575;
  --text-light: #9E9E9E;
  --error-color: #CF6679;
  --success-color: #81C784;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 12px;
  right: 20px;
  z-index: 1001;
  display: flex;
  gap: 4px;
  background: var(--secondary-color);
  border-radius: var(--radius-md);
  padding: 4px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e0e0e0;
}

/* Mobile language switcher inside nav menu */
.mobile-language-switcher {
  display: none;
  justify-content: center;
  gap: 8px;
  padding: var(--spacing-md) 0;
  margin-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-btn {
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 50px;
}

.lang-btn:hover {
  background: var(--primary-light);
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--primary-color);
  color: var(--text-primary);
}

/* Responsive language switcher */
@media (max-width: 768px) {
  .language-switcher {
    top: 15px;
    right: 15px;
    padding: 3px;
    z-index: 999;
  }
  
  .lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    min-width: 45px;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--secondary-color);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 100px 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 70px;
  position: relative;
  z-index: 1002;
}

.nav-logo {
  position: fixed;
  left: 20px;
  top: 5px;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
  text-decoration: none;
  z-index: 1001;
  max-width: 180px;
}

.nav-logo img {
  height: 60px;
  max-height: 60px;
  width: auto;
  max-width: 180px;
  border-radius: 10px;
  object-fit: contain;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 var(--spacing-xxl);
  background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.3s ease;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Phone Mockup */
.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.3s ease;
  margin-left: 240px;
}

.phone-mockup-img {
  width: 400px;
  height: 800px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.phone-mockup-img:hover {
  transform: scale(1.02);
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  border-radius: 30px;
  padding: 20px 10px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
}

.app-preview {
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 20px;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #eee;
}

.app-title {
  font-weight: bold;
  color: var(--text-primary);
}

.app-filters {
  display: flex;
  gap: var(--spacing-xs);
}

.filter {
  padding: 6px 12px;
  background: var(--surface-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.filter.active {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.app-categories {
  display: flex;
  gap: var(--spacing-xs);
}

.category {
  padding: 6px 12px;
  background: var(--surface-color);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.category.active {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.class-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.class-card {
  background: var(--primary-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  color: var(--secondary-color);
}

.studio-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}

.studio-info h4 {
  margin: 0;
  font-size: 0.9rem;
}

.distance {
  font-size: 0.7rem;
  opacity: 0.9;
}

.class-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.class-name {
  font-size: 0.8rem;
}

.class-time {
  font-size: 0.8rem;
  font-weight: bold;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: var(--spacing-xxl) 0;
  background: var(--background-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  background: var(--card-color);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.feature-icon i {
  font-size: 2rem;
  color: var(--text-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: var(--spacing-xxl) 0;
  background: var(--surface-color);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.feature-tag {
  background: var(--primary-color);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Class Types Section */
.class-types {
  padding: var(--spacing-xxl) 0;
  background: var(--background-color);
}

.class-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.class-type-card {
  background: var(--card-color);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.class-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.class-type-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.class-type-icon i {
  font-size: 1.8rem;
  color: var(--text-primary);
}

.class-type-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.class-type-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.more-classes-card {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border: 2px solid var(--primary-color);
}

.more-classes-card .class-type-icon {
  background: var(--secondary-color);
}

.more-classes-card .class-type-icon i {
  color: var(--primary-color);
}

.more-classes-card h3 {
  color: var(--text-primary);
  font-weight: 700;
}

.more-classes-card p {
  color: var(--text-primary);
  font-weight: 500;
  margin-top: var(--spacing-sm);
}

.class-types-cta {
  text-align: center;
  margin-top: var(--spacing-xxl);
}

.class-types-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.class-types-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* Studios Section */
.studios-section {
  padding: var(--spacing-xxl) 0;
  background: var(--surface-color);
}

.studios-slider-wrapper {
  position: relative;
  margin-top: var(--spacing-lg);
}

.studios-grid {
  display: flex;
  gap: var(--spacing-xl);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: var(--spacing-md) 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.studios-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.studios-slider .studio-card {
  flex: 0 0 250px;
  min-width: 250px;
}

.studios-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.studios-nav:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.studios-nav-left {
  left: -25px;
}

.studios-nav-right {
  right: -25px;
}

@media (max-width: 768px) {
  .studios-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .studios-nav-left {
    left: 0;
  }
  
  .studios-nav-right {
    right: 0;
  }
}

.studio-card {
  background: var(--card-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  cursor: pointer;
}

.studio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.studio-logo-container {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.studio-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: var(--spacing-sm);
}

.studio-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-light);
}

.studio-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.studio-address {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.studio-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid #f0f0f0;
}

.studio-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.studio-stat-value {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color);
}

.studio-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.studios-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xxl);
  color: var(--text-secondary);
}

.studios-loading i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.studios-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xxl);
  color: var(--error-color);
}

/* Download Section */
.download {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.download-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.download-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--text-primary);
  color: var(--secondary-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.download-btn:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.download-btn i {
  font-size: 2rem;
}

.download-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.download-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.download-link:hover {
  transform: scale(1.05);
}

.store-icon {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-text .small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.btn-text .large {
  font-size: 1.1rem;
  font-weight: bold;
}

.download-stats {
  display: flex;
  gap: var(--spacing-xl);
}

.download-stats .stat {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
}

.download-stats .stat i {
  color: var(--primary-color);
}

/* Phone Showcase */
.download-image {
  display: flex;
  justify-content: center;
}

.download-phone-img {
  width: 280px;
  height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.download-phone-img:hover {
  transform: scale(1.02);
}

.phone-showcase {
  position: relative;
  width: 280px;
  height: 560px;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border-radius: 25px;
  padding: 15px 8px;
  box-shadow: var(--shadow-xl);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background: #333;
  border-radius: 3px;
}

.phone-content {
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 18px;
  overflow: hidden;
}

.app-interface {
  padding: var(--spacing-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.interface-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #eee;
}

.app-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-primary);
}

.interface-search {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: var(--surface-color);
  border-radius: var(--radius-md);
  color: var(--text-light);
}

.interface-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.quick-stats {
  display: flex;
  gap: var(--spacing-md);
}

.quick-stat {
  flex: 1;
  background: var(--primary-color);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--secondary-color);
}

.quick-stat .number {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

.quick-stat .label {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: var(--spacing-xxl) 0;
  background: var(--background-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item h4 {
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--surface-color);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Contact Form */
.form {
  background: var(--card-color);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--background-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: var(--secondary-color);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: var(--spacing-md);
}

.footer-logo .logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-logo i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.footer-section p {
  color: #ccc;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.footer-section h4 {
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #333;
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-color);
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid #333;
  color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  /* Compact navigation for medium screens */
  .nav-container {
    padding: 0 20px;
  }
  
  .nav-menu {
    gap: 20px;
    font-size: 0.85rem;
  }
  
  .nav-logo img {
    height: 50px;
    max-height: 50px;
  }
}

@media (max-width: 1024px) {
  .hero-container,
  .download-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .hero-image,
  .download-image {
    order: -1;
  }
  
  .phone-mockup-img,
  .phone-mockup,
  .phone-showcase {
    width: 350px;
    height: 700px;
  }
  
  /* Tablet navigation fixes */
  .nav-menu {
    gap: 15px;
    font-size: 0.85rem;
  }
  
  .nav-logo img {
    height: 50px;
  }
}

@media (max-width: 1050px) {
  /* Switch to mobile menu on smaller tablets */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--secondary-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-md);
    padding: 0;
    gap: 0;
    font-size: 1rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  /* Clear, separated items */
  .nav-menu li {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav-menu li:first-child {
    border-top: none;
  }
  .nav-link {
    display: block;
    padding: 14px 24px;
    line-height: 1.3;
  }
  /* Disable desktop underline effect for stacked links */
  .nav-link::after { 
    content: none;
  }
  .nav-link:hover,
  .nav-link:focus {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1003;
  }
  
  /* Hide fixed language switcher on mobile */
  .language-switcher {
    display: none;
  }
  
  /* Show mobile language switcher in nav menu */
  .mobile-language-switcher {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-image {
    margin-left: 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .download-text h2,
  .contact-info h2 {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }
  
  .download-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .features-grid,
  .class-types-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .phone-mockup-img,
  .download-phone-img {
    width: 250px;
    height: 500px;
  }
  
  .phone-mockup,
  .phone-showcase {
    width: 220px;
    height: 440px;
  }
  
  .store-icon {
    height: 100px;
  }
  
  .class-types-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .hero {
    padding: 100px 0 var(--spacing-xl);
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  .download-text h2,
  .contact-info h2 {
    font-size: 1.75rem;
  }
  
  .phone-mockup-img,
  .download-phone-img {
    width: 200px;
    height: 400px;
  }
  
  .phone-mockup,
  .phone-showcase {
    width: 180px;
    height: 360px;
  }
  
  .store-icon {
    height: 80px;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .class-types-btn {
    font-size: 0.95rem;
  }
  
  .step-content h3 {
    font-size: 1.1rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
  }
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}
