/* iOxu Marketing Website - Shared Styles */

/* CSS Custom Properties */
:root {
  /* Primary Colors */
  --primary-indigo: #6366F1;
  --primary-purple: #8B5CF6;
  --primary-pink: #EC4899;

  /* Background Colors */
  --bg-dark: #0F0F1A;
  --bg-dark-secondary: #1A1A2E;
  --bg-light: #FFFFFF;
  --bg-light-secondary: #F9FAFB;

  /* Text Colors */
  --text-light: #FFFFFF;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --text-muted-light: rgba(255, 255, 255, 0.7);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-purple) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-tight);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

@media (max-width: 768px) {
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-xl); }
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-md) 0;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.logo span {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: var(--spacing-xs);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: var(--radius-full);
}

.lang-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  background: var(--gradient-primary);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: calc(var(--spacing-3xl) + 70px) var(--container-padding) var(--spacing-3xl);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.4);
  margin: 0 auto var(--spacing-lg) auto;
  display: block;
  animation: float 3s ease-in-out infinite;
}

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

@media (max-width: 768px) {
  .hero-logo {
    width: 100px;
    height: 100px;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
  font-size: var(--font-size-6xl);
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: var(--font-size-4xl);
  }
}

.hero-tagline {
  font-size: var(--font-size-xl);
  color: var(--text-muted-light);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.store-btn-appstore {
  background: #000000;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-btn-appstore:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.store-btn-playstore {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: not-allowed;
}

.store-btn-playstore .coming-soon {
  font-size: var(--font-size-xs);
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 0.5rem;
}

.store-btn-icon {
  width: 24px;
  height: 24px;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn-text small {
  font-size: var(--font-size-xs);
  font-weight: 400;
  opacity: 0.8;
}

.store-btn-text span {
  font-size: var(--font-size-lg);
}

/* Section Styles */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-alt {
  background: var(--bg-light-secondary);
  color: var(--text-dark);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl);
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  color: var(--text-muted);
  font-size: var(--font-size-lg);
}

.section-dark .section-header p {
  color: var(--text-muted-light);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.75rem;
}

.feature-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-muted-light);
  line-height: var(--line-height-relaxed);
}

/* Light section feature cards */
.section-light .feature-card,
.section-alt .feature-card {
  background: var(--bg-light);
  border-color: rgba(0, 0, 0, 0.1);
}

.section-light .feature-card:hover,
.section-alt .feature-card:hover {
  border-color: var(--primary-indigo);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.section-light .feature-card h3,
.section-alt .feature-card h3 {
  color: var(--text-dark);
}

.section-light .feature-card p,
.section-alt .feature-card p {
  color: var(--text-muted);
}

/* Exam Types Section */
.exam-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.exam-category {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.exam-category h3 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.exam-category h3 .icon {
  font-size: 1.5rem;
}

.exam-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.exam-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-light-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.exam-item:hover {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.exam-item .icon {
  font-size: 1.25rem;
}

/* Subjects Grid */
.subjects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}

.subject-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.subject-tag:hover {
  border-color: var(--primary-indigo);
  background: var(--gradient-primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.subject-tag .icon {
  font-size: 1.25rem;
}

.section-dark .subject-tag {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.section-dark .subject-tag:hover {
  background: var(--gradient-primary);
  border-color: transparent;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.cta-section p {
  color: var(--text-muted-light);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-2xl) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
}

.footer-logo span {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted-light);
  transition: color var(--transition-fast);
}

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

.footer-contact {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-muted-light);
}

.footer-contact a {
  color: var(--primary-purple);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-lg);
}

.footer-copyright {
  color: var(--text-muted-light);
  font-size: var(--font-size-sm);
}

/* Legal Pages */
.legal-page {
  padding-top: 100px;
  min-height: 100vh;
}

.legal-header {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  color: var(--text-light);
}

.legal-header h1 {
  margin-bottom: var(--spacing-sm);
}

.legal-header .last-updated {
  color: var(--text-muted-light);
}

.legal-content {
  padding: var(--spacing-2xl) 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--font-size-2xl);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.legal-content h3 {
  font-size: var(--font-size-xl);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.legal-content p {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-relaxed);
  color: var(--text-muted);
}

.legal-content ul {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.legal-content li {
  margin-bottom: var(--spacing-xs);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  list-style: disc;
}

.legal-content a {
  color: var(--primary-indigo);
  transition: color var(--transition-fast);
}

.legal-content a:hover {
  color: var(--primary-purple);
}

/* Language Selector Page */
.lang-selector-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: var(--spacing-lg);
}

.lang-selector-content {
  text-align: center;
  color: var(--text-light);
}

.lang-selector-content h1 {
  margin-bottom: var(--spacing-sm);
}

.lang-selector-content p {
  color: var(--text-muted-light);
  margin-bottom: var(--spacing-xl);
}

.lang-options {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.lang-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  min-width: 200px;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: var(--text-light);
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.lang-option .flag {
  font-size: 3rem;
}

.lang-option .lang-name {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.lang-option .lang-native {
  font-size: var(--font-size-sm);
  color: var(--text-muted-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .hero {
    padding: calc(var(--spacing-3xl) + 60px) var(--container-padding) var(--spacing-2xl);
    min-height: auto;
  }

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

  .hero-tagline {
    font-size: var(--font-size-base);
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .exam-types {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .lang-options {
    flex-direction: column;
    align-items: center;
  }

  .lang-option {
    width: 100%;
    max-width: 280px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.header-nav a:not(.lang-btn) {
  color: var(--text-muted-light);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.header-nav a:not(.lang-btn):hover {
  color: var(--text-light);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    z-index: 1000;
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a:not(.lang-btn) {
    font-size: var(--font-size-xl);
    color: var(--text-light);
  }

  .header-nav .lang-switcher {
    margin-top: var(--spacing-lg);
  }

  .header-nav .lang-btn {
    font-size: var(--font-size-lg);
    padding: 8px 20px;
  }

  .about-text {
    font-size: var(--font-size-base);
  }

  .faq-question h3 {
    font-size: var(--font-size-base);
  }

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

/* About Content */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--text-muted);
}

.about-text strong {
  color: var(--text-dark);
}

/* Phone Mockups */
.phone-mockups {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
  perspective: 1000px;
}

.phone-frame {
  width: 260px;
  height: 520px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal);
}

.phone-frame:hover {
  transform: translateY(-10px) rotateY(-3deg);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-screen-learn {
  background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 50%, #6366f1 100%);
}

.phone-screen-quiz {
  background: linear-gradient(180deg, #ec4899 0%, #8b5cf6 50%, #6366f1 100%);
}

.screen-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px 12px;
}

.screen-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.screen-title {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.screen-content {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-card {
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
}

.screen-card.short {
  height: 40px;
  width: 75%;
}

.screen-question {
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
}

.screen-option {
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.screen-option:first-of-type {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

.screen-label {
  text-align: center;
  padding: 12px;
  color: var(--text-light);
  font-size: var(--font-size-sm);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .phone-mockups {
    gap: var(--spacing-lg);
  }

  .phone-frame {
    width: 220px;
    height: 440px;
    border-radius: 30px;
    padding: 10px;
  }

  .phone-notch {
    width: 100px;
    height: 24px;
    top: 10px;
  }

  .phone-screen {
    border-radius: 20px;
  }
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq-item {
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-indigo);
}

.faq-item[open] {
  border-color: var(--primary-indigo);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.faq-question {
  padding: var(--spacing-md) var(--spacing-lg);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: "";
}

.faq-question::after {
  content: "+";
  font-size: var(--font-size-xl);
  font-weight: 300;
  color: var(--primary-indigo);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--spacing-sm);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-md);
}

.faq-answer p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
}

.faq-answer a {
  color: var(--primary-indigo);
  font-weight: 500;
}

.faq-answer a:hover {
  color: var(--primary-purple);
}

/* Print Styles */
@media print {
  .header,
  .store-buttons,
  .lang-switcher {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--spacing-lg);
    background: none;
    color: var(--text-dark);
  }

  .section {
    padding: var(--spacing-lg) 0;
    break-inside: avoid;
  }
}
