:root {
  --primary: #1e3a8a;
  --secondary: #38bdf8;
  --accent: #f59e0b;
  --light: #f8fafc;
  --dark: #0f172a;
  --muted: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  background: linear-gradient(180deg, #ffffff, var(--light));
  color: var(--dark);
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 75px;
  display: block;
}

.brand-name {
  font-size: 2.50rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.brand-name {
  color: var(--primary);   /* Exam = dark blue */
}

.brand-name span {
  color: var(--accent);   /* Rehearse = orange */
}

.nav {
  display: flex;
  align-items: center;
}

/* ===== Buttons ===== */
.btn {
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}

.btn-primary {
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  box-shadow: 0 12px 22px rgba(30, 64, 175, 0.45);
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border-radius: 0 0 40px 40px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.25rem;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-visual img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: auto;
}

/* ===== Value Strip ===== */
.value-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.value img {
  height: 56px;
  margin-bottom: 1rem;
}

.value h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ===== How It Works ===== */
.how-it-works {
  background: linear-gradient(180deg, #ffffff, #f1f5ff);
  padding: 4rem 2rem;
  text-align: center;
}

.how-it-works h2 {
  color: var(--primary);
  margin-bottom: 2.5rem;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 220px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.step span {
  display: inline-block;
  background: var(--secondary);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ===== Future ===== */
.future {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted);
}

.future h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: #e5e7eb;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.menu {
  position: relative;
  margin-right: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.menu-label {
  cursor: pointer;
  padding: 0.5rem 0.75rem;
}

.menu-label::after {
  content: " ▾";
  font-size: 0.8rem;
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  min-width: 180px;
  display: none;
  z-index: 100;
}

.menu-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--dark);
}

.menu-dropdown a:hover {
  background: #f1f5ff;
}

.menu:hover .menu-dropdown,
.menu-dropdown:hover {
  display: block;
}

