@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-obsidian: #07090E;
  --neon-cyan: #00F0FF;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  
  --accent-purple: #7C3AED;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  
  --border-light: #E2E8F0;
  --border-focus: #93C5FD;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(37, 99, 235, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Atmosphere */
.ambient-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-link:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

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

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

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #FFFFFF;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* Gradient Text Utilities */
.gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-light {
  background: linear-gradient(135deg, #60A5FA 0%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 4.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
  }
}

/* Hero Left */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius-full);
  color: #1D4ED8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.35rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  color: #FFFFFF;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  color: var(--text-main);
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary-hero:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.hero-checkmarks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.check-icon {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Hero Right: Interactive Visual & Situation Slider */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.slider-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}

.slide-frame {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #000;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.slide-item.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Situation Tabs Navigation */
.situation-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0.8rem;
  border-top: 1px solid var(--border-light);
  gap: 0.4rem;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: #F1F5F9;
  color: var(--text-main);
}

.tab-btn.active {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-num {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Floating AI Tutor Preview Widget */
.ai-tutor-widget {
  position: absolute;
  bottom: -25px;
  right: -15px;
  width: 320px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  padding: 1.15rem;
  z-index: 10;
  transition: transform 0.3s ease;
}

@media (max-width: 640px) {
  .ai-tutor-widget {
    position: relative;
    width: 100%;
    bottom: auto;
    right: auto;
    margin-top: 1.5rem;
  }
}

.ai-tutor-widget:hover {
  transform: translateY(-3px);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #F1F5F9;
}

.widget-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.widget-status {
  font-size: 0.7rem;
  color: var(--accent-emerald);
  font-weight: 500;
}

.widget-bubble {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.widget-chips {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.widget-chip-btn {
  text-align: left;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-chip-btn:hover, .widget-chip-btn.active {
  border-color: #93C5FD;
  background: #EFF6FF;
  color: var(--primary);
}

.widget-input-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.35rem 0.25rem 0.75rem;
}

.widget-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

.widget-send-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.widget-send-btn:hover {
  background: var(--primary-hover);
}

/* Sections Common Header */
.section-wrapper {
  padding: 5rem 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Section 1: Key Features Grid (4 Cards) */
.features-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #BFDBFE;
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.feature-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Section 2: Role-Play Work Situations (5 Cards) */
.roleplay-grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .roleplay-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.roleplay-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.roleplay-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #DDD6FE;
}

.roleplay-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F5F3FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  margin-bottom: 1.2rem;
}

.roleplay-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.roleplay-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Pre-Footer CTA Banner */
.cta-banner-wrapper {
  padding: 4rem 0 5rem 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, #1E3A8A 0%, #312E81 50%, #4C1D95 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.35);
}

.cta-banner-bg-orb {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.banner-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 1rem;
}

.banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.banner-desc {
  font-size: 1.125rem;
  color: #E0E7FF;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.banner-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .banner-form {
    flex-direction: row;
  }
}

.banner-input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.banner-input::placeholder {
  color: #94A3B8;
}

.banner-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #60A5FA;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.banner-btn {
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #1E3A8A;
  border: none;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.banner-btn:hover {
  background: #F8FAFC;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.banner-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.banner-toast {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.banner-toast.success {
  display: block;
  color: #34D399;
}

.banner-toast.error {
  display: block;
  color: #F87171;
}

.banner-slogan-ribbon {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #BAE6FD;
  letter-spacing: 0.03em;
  font-style: italic;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
  background: #FFFFFF;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon-link {
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.social-icon-link:hover {
  color: var(--primary);
  border-color: #BFDBFE;
  background: #EFF6FF;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
