/* EduConnect — Official Public Website Stylesheet (Phase 15 Layout Precision Repair)
   Derived strictly from Android App resources & brand visual identity
   Exact Slogan: Learn smarter. Teach better. Earn more.
*/

:root {
  --edu-bg-navy: #0B1120;           /* Deep Navy background */
  --edu-bg-card: #1E293B;           /* Dark Card surface */
  --edu-bg-card-hover: #26334D;     /* Dark Card hover */
  --edu-primary-blue: #3B82F6;      /* Electric Blue */
  --edu-sky-blue: #38BDF8;          /* Sky Blue highlight */
  --edu-text-white: #FFFFFF;        /* Pure White */
  --edu-text-slate: #94A3B8;        /* Slate Gray */
  --edu-text-muted: #64748B;        /* Muted Gray */
  --edu-green-cta: #2E7D32;         /* Download App Green */
  --edu-green-hover: #22C55E;       /* Green Hover */
  --edu-live-red: #EF4444;          /* Live Red Accent */
  --edu-border: #334155;            /* Divider border */
  --edu-gold: #D4AF37;              /* Premium Gold */

  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--edu-bg-navy);
  color: var(--edu-text-white);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--edu-bg-navy);
  overflow-x: hidden;
}

/* Container Constraint */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--edu-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
  gap: 16px;
}

/* Header Brand Lockup */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
}

.brand-wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-edu {
  color: var(--edu-text-white);
}

.logo-connect {
  color: var(--edu-primary-blue);
}

.brand-slogan-sub {
  font-size: 0.7rem;
  color: var(--edu-sky-blue);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-top: 1px;
  white-space: nowrap;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--edu-text-slate);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--edu-text-white);
}

/* Header Download Button (Green CTA) - Explicit Priority Styling */
a.btn-header-download {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background-color: var(--edu-green-cta) !important;
  color: #FFFFFF !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  border: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35) !important;
  cursor: pointer !important;
}

a.btn-header-download:hover {
  background-color: var(--edu-green-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45) !important;
}

/* Shared CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--edu-primary-blue);
  color: #FFFFFF !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  cursor: pointer;
}

.btn-cta:hover {
  background-color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--edu-text-white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(59, 130, 246, 0.18), transparent 65%), var(--edu-bg-navy);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: left;
  width: 100%;
  min-width: 0;
}

.hero-main-title {
  font-size: 3.0rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-main-title .white-text {
  color: var(--edu-text-white);
}

.hero-slogan-stack {
  color: var(--edu-sky-blue);
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--edu-text-slate);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-body-text {
  color: var(--edu-text-slate);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Google Play Badge Button */
.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #0A0F1D;
  border: 1px solid var(--edu-primary-blue);
  color: var(--edu-text-white);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.btn-google-play:hover {
  background-color: #111827;
  border-color: var(--edu-sky-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border: 1px solid var(--edu-border);
  color: var(--edu-sky-blue);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  color: var(--edu-text-white);
  border-color: var(--edu-primary-blue);
}

/* Hero Right Artwork: 3-Tablet EdTech Product Showcase */
.hero-showcase-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  position: relative;
  perspective: 1000px;
}

.hero-showcase-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Tablet Mockups Base Styling */
.tablet-mockup {
  position: absolute;
  background: #0F172A;
  border-radius: 20px;
  border: 3px solid #334155;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.25);
  overflow: hidden;
  transition: all 0.3s ease;
}

.tablet-bezel {
  padding: 8px;
  background: #0F172A;
  height: 100%;
  box-sizing: border-box;
}

.tablet-screen-img-container {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tablet-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Subtle Floating Animations */
@keyframes floatCenter {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatLeft {
  0%, 100% { transform: rotate(-6deg) scale(0.92) translateY(0); }
  50% { transform: rotate(-6deg) scale(0.92) translateY(-6px); }
}

@keyframes floatRight {
  0%, 100% { transform: rotate(5deg) scale(0.92) translateY(0); }
  50% { transform: rotate(5deg) scale(0.92) translateY(-7px); }
}

/* Laptop & Smartphone Device Mockups Styling */
.laptop-mockup {
  position: relative;
  width: 440px;
  z-index: 10;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(59, 130, 246, 0.25);
  border-radius: 14px 14px 0 0;
  transition: all 0.3s ease;
  animation: floatCenter 6s ease-in-out infinite;
}

.laptop-screen-bezel {
  background: #0F172A;
  padding: 10px;
  border: 3px solid #334155;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  height: 270px;
  overflow: hidden;
}

.laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #475569 0%, #1E293B 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #64748B;
  border-radius: 0 0 4px 4px;
}

/* Smartphone Mockups */
.phone-mockup {
  position: absolute;
  width: 145px;
  height: 290px;
  background: #0F172A;
  border: 3px solid #334155;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.phone-bezel {
  padding: 6px;
  background: #0F172A;
  height: 100%;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  display: block;
}

.phone-left {
  z-index: 5;
  left: -20px;
  top: 30px;
  transform: rotate(-6deg) scale(0.92);
  animation: floatLeft 7s ease-in-out infinite 0.5s;
}

.phone-right {
  z-index: 6;
  right: -20px;
  bottom: 20px;
  transform: rotate(5deg) scale(0.92);
  animation: floatRight 6.5s ease-in-out infinite 1s;
}
/* Tablet Screen Component Styling */
.tablet-screen {
  background: #0F172A;
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: inherit;
  font-size: 0.8rem;
  color: #FFFFFF;
}

.tablet-app-bar {
  background: #1E293B;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.app-dot.green { background: #2E7D32; }
.app-dot.blue { background: #3B82F6; }
.app-dot.live-pulse {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

.app-title {
  font-weight: 700;
  font-size: 0.72rem;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.live-tag {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.live-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  padding: 6px;
  flex: 1;
}

.teacher-tile {
  background: linear-gradient(135deg, #1E3A8A, #1E293B);
  border: 1px solid #3B82F6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.teacher-avatar {
  font-size: 2.2rem;
}

.teacher-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(15, 23, 42, 0.85);
  color: #60A5FA;
  font-size: 0.6rem;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 700;
}

.roster-tile {
  background: #1E293B;
  border-radius: 8px;
  padding: 6px;
}

.roster-header {
  font-size: 0.6rem;
  color: #94A3B8;
  margin-bottom: 4px;
  font-weight: 700;
}

.roster-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roster-item {
  font-size: 0.6rem;
  color: #F8FAFC;
  background: #0F172A;
  padding: 3px 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.class-controls-bar {
  background: #1E293B;
  padding: 4px 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ctrl-btn {
  font-size: 0.85rem;
  background: #0F172A;
  padding: 3px 6px;
  border-radius: 5px;
  cursor: pointer;
}

/* Whiteboard Screen Styling */
.whiteboard-screen {
  background: #F8FAFC !important;
  color: #0F172A !important;
}

.whiteboard-screen .tablet-app-bar {
  background: #1E293B;
  color: #FFFFFF;
}

.whiteboard-canvas {
  display: flex;
  flex: 1;
  position: relative;
  padding: 6px;
}

.wb-tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #1E293B;
  padding: 4px;
  border-radius: 6px;
  z-index: 2;
}

.wb-tool {
  font-size: 0.75rem;
  padding: 2px;
  border-radius: 4px;
}

.wb-drawing {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wb-svg {
  width: 100%;
  height: 100%;
}

/* AI Poll Screen Styling */
.poll-content {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poll-question {
  font-size: 0.68rem;
  font-weight: 700;
  color: #F8FAFC;
}

.poll-option {
  position: relative;
  background: #1E293B;
  border-radius: 6px;
  padding: 4px 8px;
  overflow: hidden;
}

.poll-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #2E7D32;
  opacity: 0.6;
}

.poll-option:not(.correct) .poll-bar {
  background: #3B82F6;
}

.poll-label {
  position: relative;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
}

.ai-speech-bubble {
  background: linear-gradient(135deg, #1E3A8A, #0F172A);
  border: 1px solid #3B82F6;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 0.62rem;
  color: #E2E8F0;
  margin-top: 4px;
}

.teacher-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #60A5FA;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.roster-tile {
  background: #1E293B;
  border-radius: 8px;
  padding: 6px;
}

.roster-header {
  font-size: 0.65rem;
  color: #94A3B8;
  margin-bottom: 6px;
  font-weight: 700;
}

.roster-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roster-item {
  font-size: 0.65rem;
  color: #F8FAFC;
  background: #0F172A;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.class-controls-bar {
  background: #1E293B;
  padding: 6px 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ctrl-btn {
  font-size: 0.9rem;
  background: #0F172A;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

/* Tablet 2 (Top Left Overlap: Smart Whiteboard) */
.tablet-left {
  width: 310px;
  height: 200px;
  z-index: 5;
  top: 10px;
  left: 20px;
  transform: rotate(-4deg) scale(0.92);
  opacity: 0.92;
}

.whiteboard-screen {
  background: #F8FAFC !important;
  color: #0F172A !important;
}

.whiteboard-screen .tablet-app-bar {
  background: #1E293B;
  color: #FFFFFF;
}

.whiteboard-canvas {
  display: flex;
  flex: 1;
  position: relative;
  padding: 8px;
}

.wb-tools {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #1E293B;
  padding: 6px;
  border-radius: 6px;
  z-index: 2;
}

.wb-tool {
  font-size: 0.8rem;
  padding: 2px;
  border-radius: 4px;
}

.wb-drawing {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wb-svg {
  width: 100%;
  height: 100%;
}

/* Tablet 3 (Bottom Right Overlap: Real-Time Polls & EduAI) */
.tablet-right {
  width: 300px;
  height: 190px;
  z-index: 6;
  bottom: 20px;
  right: 20px;
  transform: rotate(3deg) scale(0.92);
  opacity: 0.95;
}

.poll-content {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poll-question {
  font-size: 0.7rem;
  font-weight: 700;
  color: #F8FAFC;
}

.poll-option {
  position: relative;
  background: #1E293B;
  border-radius: 6px;
  padding: 4px 8px;
  overflow: hidden;
}

.poll-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #2E7D32;
  opacity: 0.6;
}

.poll-option:not(.correct) .poll-bar {
  background: #3B82F6;
}

.poll-label {
  position: relative;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
}

.ai-speech-bubble {
  background: linear-gradient(135deg, #1E3A8A, #0F172A);
  border: 1px solid #3B82F6;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.65rem;
  color: #E2E8F0;
  margin-top: 4px;
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
  width: 100%;
}

/* Powerful Features Section (Below Hero) */
.section-features {
  padding: 80px 0;
  border-top: 1px solid var(--edu-border);
  background-color: #090E1A;
  width: 100%;
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.features-tag {
  color: #4ADE80;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.features-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--edu-text-white);
}

.features-grid-8 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 100%;
}

.feature-card-compact {
  background-color: var(--edu-bg-card);
  border: 1px solid var(--edu-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.feature-card-compact:hover {
  border-color: var(--edu-primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feature-icon-box.blue { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.feature-icon-box.green { background: rgba(34, 197, 94, 0.2); color: #4ADE80; }
.feature-icon-box.purple { background: rgba(168, 85, 247, 0.2); color: #C084FC; }
.feature-icon-box.orange { background: rgba(249, 115, 22, 0.2); color: #FB923C; }
.feature-icon-box.teal { background: rgba(20, 184, 166, 0.2); color: #2DD4BF; }
.feature-icon-box.gold { background: rgba(212, 175, 55, 0.2); color: #FACC15; }
.feature-icon-box.red { background: rgba(239, 68, 68, 0.2); color: #F87171; }

.feature-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--edu-text-white);
}

.feature-card-desc {
  font-size: 0.92rem;
  color: var(--edu-text-slate);
  line-height: 1.6;
}

/* Role Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--edu-border);
  width: 100%;
}

.role-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  width: 100%;
}

.role-card {
  background: linear-gradient(180deg, var(--edu-bg-card) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid var(--edu-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  min-width: 0;
}

.role-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.role-tag.student {
  background: rgba(46, 125, 50, 0.2);
  color: #4ADE80;
}

.role-tag.teacher {
  background: rgba(59, 130, 246, 0.2);
  color: var(--edu-sky-blue);
}

.role-list {
  list-style: none;
  margin-top: 24px;
}

.role-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--edu-text-slate);
  font-size: 0.98rem;
}

.role-list span.check {
  color: #4ADE80;
  font-weight: bold;
}

/* Legal Content Pages */
.legal-content {
  background-color: var(--edu-bg-card);
  border: 1px solid var(--edu-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 900px;
  margin: 40px auto;
  width: 100%;
}

.legal-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--edu-sky-blue);
}

.legal-content p, .legal-content ul, .legal-content ol {
  color: var(--edu-text-slate);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--edu-text-white);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--edu-bg-navy);
  border: 1px solid var(--edu-border);
  border-radius: var(--radius-sm);
  color: var(--edu-text-white);
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--edu-primary-blue);
}

/* EduAI Floating Website Assistant Button (Bottom-Right) */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.eduai-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  border: 2px solid #60A5FA;
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  animation: pulseGlow 3s infinite;
  cursor: pointer;
  transition: all 0.25s ease;
}

.eduai-floating-btn:hover {
  transform: scale(1.08);
}

.eduai-btn-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.eduai-btn-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* EduAI Interactive Website Assistant Chat Widget */
.eduai-widget-overlay {
  display: none;
  position: fixed;
  bottom: 108px;
  right: 28px;
  width: 380px;
  max-width: calc(100vw - 40px);
  max-height: 520px;
  background: linear-gradient(180deg, #1E293B, #0F172A);
  border: 1px solid #3B82F6;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0,0,0,0.6);
  z-index: 2000;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.eduai-widget-overlay.active {
  display: flex;
}

.eduai-widget-header {
  background: linear-gradient(135deg, #1E293B, #111827);
  padding: 16px 20px;
  border-bottom: 1px solid var(--edu-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eduai-widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
}

.eduai-widget-close {
  background: none;
  border: none;
  color: var(--edu-text-slate);
  font-size: 1.3rem;
  cursor: pointer;
}

.eduai-widget-body {
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.eduai-chat-msg {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--edu-text-slate);
}

.eduai-chat-msg strong {
  color: var(--edu-text-white);
}

.eduai-quick-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eduai-chip-btn {
  background: #111827;
  border: 1px solid var(--edu-border);
  color: var(--edu-sky-blue);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eduai-chip-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--edu-primary-blue);
  color: #FFFFFF;
}

/* Footer */
.footer {
  background-color: #070D19;
  border-top: 1px solid var(--edu-border);
  padding: 60px 0 32px;
  margin-top: auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  width: 100%;
}

.footer-brand p {
  color: var(--edu-text-slate);
  font-size: 0.95rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--edu-text-white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--edu-text-slate);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--edu-primary-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--edu-border);
  color: var(--edu-text-muted);
  font-size: 0.88rem;
}

/* RESPONSIVE MEDIA QUERIES */

/* Laptop / Small Desktop (1200px and below) */
@media (max-width: 1200px) {
  .brand-slogan-sub {
    display: none;
  }
  .nav-links {
    gap: 14px;
  }
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--edu-bg-card);
    padding: 24px;
    border-bottom: 1px solid var(--edu-border);
    gap: 16px;
    z-index: 200;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-body-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .role-section {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile & Small Tablet (768px and below) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .hero-main-title {
    font-size: 2.5rem;
  }
  .hero-slogan-stack {
    font-size: 1.8rem;
  }
  .hero-artwork-img {
    max-height: 300px;
  }
  .role-card {
    padding: 28px 20px;
  }
  .legal-content {
    padding: 24px 16px;
  }
  .eduai-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
  .eduai-widget-overlay {
    bottom: 90px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
  }
}

/* About Section Styling */
.section-about {
  padding: 80px 0;
  background: linear-gradient(180deg, #090E1A 0%, #0F172A 100%);
  border-top: 1px solid var(--edu-border);
  width: 100%;
}

.about-card {
  background-color: var(--edu-bg-card);
  border: 1px solid var(--edu-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.about-tag {
  color: #38BDF8;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--edu-text-white);
  margin-bottom: 20px;
}

.about-body {
  color: var(--edu-text-slate);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 900px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 23, 42, 0.6);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--edu-text-white);
  margin-bottom: 6px;
}

.pillar-text p {
  font-size: 0.9rem;
  color: var(--edu-text-slate);
  line-height: 1.5;
}

/* Small Mobile (480px and below: 390px, 360px) */
@media (max-width: 480px) {
  .brand-wordmark {
    font-size: 1.35rem;
  }
  .header-logo-img {
    height: 36px;
    width: 36px;
  }
  a.btn-header-download {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
  }
  .hero-main-title {
    font-size: 2.0rem;
  }
  .hero-slogan-stack {
    font-size: 1.4rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-body-text {
    font-size: 0.95rem;
  }
  .features-title {
    font-size: 1.8rem;
  }
  .features-grid-8 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
