/* css/style.css - Minimal Clean Theme */

/*==================== VARIABLES & BASE ====================*/
:root {
  --bg-color: #ffffff;
  --bg-secondary: #f8fafc;
  --card-color: #ffffff;
  --border-color: #e2e8f0;
  --text-color: #1e293b;
  --text-secondary: #64748b;
  --primary-color: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent-color: #8b5cf6;
  --success-color: #10b981;
  --font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Animations */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hidden.visible {
  opacity: 1;
  transform: translateY(0);
}

/*==================== HEADER ====================*/
.header {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-color);
}

.language-switcher {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  gap: 6px;
}

#language-select {
  background: transparent;
  color: inherit;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

#language-select option {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.nav-cta {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/*==================== HERO SECTION ====================*/
.hero-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-color) 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  letter-spacing: -1.5px;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--text-color);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-color);
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-color);
  transform: translateY(-2px);
}

.btn i {
  font-size: 1.2rem;
}

/* Hero Screenshots */
.hero-screenshots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-top: 40px;
}

.screenshot-wrapper {
  position: relative;
}

.screenshot-wrapper img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-height: 500px;
  width: auto;
}

.screenshot-wrapper.main img {
  max-height: 550px;
}

.screenshot-wrapper.side img {
  max-height: 450px;
  opacity: 0.9;
}

/*==================== STATS SECTION ====================*/
.stats-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/*==================== MODULES SECTION ====================*/
.modules-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.module-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: all 0.3s ease;
}

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

.module-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.module-icon.speaking { background: #dbeafe; color: #2563eb; }
.module-icon.writing { background: #fce7f3; color: #db2777; }
.module-icon.reading { background: #d1fae5; color: #059669; }
.module-icon.listening { background: #fef3c7; color: #d97706; }

.module-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.module-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.module-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-features span {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/*==================== SCREENSHOTS GALLERY ====================*/
.screenshots-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.screenshots-wrapper {
  overflow: hidden;
  margin: 0 -24px;
  padding: 20px 0;
}

.screenshots-track {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots-track::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex-shrink: 0;
  scroll-snap-align: center;
}

.screenshot-item img {
  height: 500px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/*==================== WHY SPIKO SECTION ====================*/
.why-section {
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 32px 24px;
}

.why-card .icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/*==================== CTA SECTION ====================*/
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--text-color) 0%, #374151 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--text-color);
}

.cta-section .btn-primary:hover {
  background: #f1f5f9;
}

.cta-section .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cta-section .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/*==================== FOUNDERS SECTION ====================*/
.founders-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.founder-card {
  background: var(--bg-color);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border-color);
  max-width: 500px;
  margin: 0 auto;
}

.founder-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid var(--bg-secondary);
}

.founder-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.founder-title {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 16px;
}

.founder-quote {
  color: var(--text-secondary);
  font-style: italic;
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.7;
}

.founder-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.founder-socials a {
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: color 0.2s;
}

.founder-socials a:hover {
  color: var(--primary-color);
}

/*==================== FOOTER ====================*/
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  background: var(--bg-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px;
}

.footer-brand .logo span {
  color: var(--primary-color);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-brand .legal {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-color);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/*==================== RESPONSIVE ====================*/
@media (max-width: 1024px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-screenshots {
    flex-direction: column;
    align-items: center;
  }

  .screenshot-wrapper.side {
    display: none;
  }

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

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

  .header nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

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