/* -------------------------------------------------------------
 * Speazy Studio 2026 Pro Silicon Valley / Scandinavian Minimalist Theme
 * Ultra-clean, light mode, elegant typography, fluid micro-interactions
 * ------------------------------------------------------------*/

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --color-bg: #FFFFFF;
  --color-bg-subtle: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-hover: #F1F5F9;

  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-text-light: #94A3B8;

  --color-border: #E2E8F0;
  --color-border-subtle: #F1F5F9;

  --color-primary: #4F46E5;
  --color-primary-hover: #4338CA;
  --color-primary-light: #EEF2FF;

  --color-emerald: #10B981;
  --color-emerald-light: #ECFDF5;
  --color-amber: #F59E0B;
  --color-amber-light: #FFFBEB;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* 2026 Ambient Studio Glow */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 550px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.06) 35%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-main);
}

.brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-studio {
  font-weight: 500;
  color: var(--color-text-muted);
  margin-left: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.938rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 22px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn-primary {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #1E293B;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: #CBD5E1;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 72px 0 64px;
  z-index: 1;
}

.text-center {
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--color-text-main);
  max-width: 820px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
}

/* Product Showcase Card */
.product-showcase {
  margin-top: 20px;
}

.showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

/* Showcase Info */
.app-icon-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.35);
}

.app-icon-letter {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
}

.status-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.app-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.app-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-subtle);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

/* Mockup Visual */
.mockup-frame {
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tutor-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tutor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E0E7FF;
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.tutor-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.tutor-status {
  font-size: 0.75rem;
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-emerald);
}

.streak-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: 999px;
}

.mockup-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.msg-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 90%;
}

.msg-ai {
  background: #FFFFFF;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-user {
  background: var(--color-primary);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.feedback-card {
  background: #FFFFFF;
  border: 1px solid #D1FAE5;
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 4px;
}

.feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.feedback-chip {
  font-size: 0.75rem;
  font-weight: 700;
  color: #065F46;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 6px;
}

.feedback-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-amber);
}

.feedback-note {
  font-size: 0.813rem;
  color: var(--color-text-muted);
}

.mockup-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 10px 16px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wave-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--color-primary);
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}

.bar-1 { height: 12px; animation-delay: 0.1s; }
.bar-2 { height: 24px; animation-delay: 0.3s; }
.bar-3 { height: 18px; animation-delay: 0.2s; }
.bar-4 { height: 28px; animation-delay: 0.4s; }
.bar-5 { height: 16px; animation-delay: 0.2s; }
.bar-6 { height: 10px; animation-delay: 0.1s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1.0); opacity: 1; }
}

.mic-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Sections */
.section {
  padding: 96px 0;
}

.bg-subtle {
  background: var(--color-bg-subtle);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.063rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 56px;
}

/* 3-Column Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bg-indigo { background: var(--color-primary-light); }
.bg-emerald { background: var(--color-emerald-light); }
.bg-amber { background: var(--color-amber-light); }

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.938rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* About Card */
.about-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 56px;
  box-shadow: var(--shadow-md);
}

.about-content {
  max-width: 780px;
  margin: 0 auto;
}

.about-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-text-main);
  margin-bottom: 20px;
  line-height: 1.35;
}

.about-text {
  font-size: 1.063rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.meta-label {
  display: block;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

/* Contact Box */
.contact-box {
  max-width: 580px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.contact-desc {
  font-size: 1.063rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.contact-actions {
  display: flex;
  justify-content: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
  background: #FFFFFF;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text-main);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title { font-size: 2.5rem; }
  .showcase-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .about-card { padding: 32px; }
  .about-meta { grid-template-columns: 1fr; gap: 16px; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}