/* ─────────────────────────────────────────────────────────────
   VidyaForce — Main Stylesheet
   Palette: Deep Navy · Electric Blue · Gold
   Powered by Satavahana LLC
   ───────────────────────────────────────────────────────────── */

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

/* ─── Variables ──────────────────────────────────────────────── */
:root {
  --navy-deep:    #070D1A;
  --navy:         #0B1528;
  --navy-mid:     #0F1E3A;
  --navy-card:    #111E35;
  --navy-border:  #1A2E50;
  --electric:     #1E8FFF;
  --electric-dim: #1270CC;
  --electric-glow:rgba(30,143,255,0.25);
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --gold-glow:    rgba(201,168,76,0.2);
  --white:        #F0F4FF;
  --white-70:     rgba(240,244,255,0.7);
  --white-50:     rgba(240,244,255,0.5);
  --white-30:     rgba(240,244,255,0.3);
  --white-10:     rgba(240,244,255,0.08);
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, 'Inter', BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: rgba(7,13,26,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--navy-border);
  box-shadow: 0 1px 0 rgba(30,143,255,0.08), 0 4px 24px rgba(0,0,0,0.4);
}

nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--gold), var(--electric), transparent);
}

.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #ff453a, #00e676);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0,200,83,0.45), 0 2px 8px rgba(0,0,0,0.3);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.2;
}

.logo-powered {
  font-size: 0.58rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.03em;
  opacity: 0.75;
  line-height: 1;
}

.nav-links {
  flex: 2;
  display: flex;
  justify-content: center;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white-50);
  transition: color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }

.nav-auth {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.btn-signin {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white-70);
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--navy-border);
  transition: all 0.2s;
}
.btn-signin:hover {
  color: var(--white);
  border-color: rgba(30,143,255,0.4);
  background: rgba(30,143,255,0.08);
}

.btn-signup {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--electric), var(--electric-dim));
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.2s;
  box-shadow: 0 0 20px var(--electric-glow), 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: 0.01em;
}
.btn-signup:hover {
  background: linear-gradient(135deg, #3aa3ff, var(--electric));
  box-shadow: 0 0 28px rgba(30,143,255,0.45);
  transform: translateY(-1px);
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 80px 20px 70px;
  border-bottom: 1px solid var(--navy-border);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30,143,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,143,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,143,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(30,143,255,0.1);
  border: 1px solid rgba(30,143,255,0.2);
  border-radius: 100px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--electric);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  position: relative;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #1E8FFF 0%, #5AC8FA 30%, #E8C96A 65%, #C9A84C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  position: relative;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--white-70);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.quote-block {
  position: relative;
  display: inline-block;
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 28px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.07), rgba(201,168,76,0.03));
  border-radius: 0 12px 12px 0;
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.1);
}

.quote-block blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.quote-block cite {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── ACHIEVEMENTS BAR ───────────────────────────────────────── */
.achievements-bar {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 48px 20px;
  position: relative;
}
.achievements-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.achievements-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.achievements-inner h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--white-70);
  font-weight: 500;
  transition: all 0.2s;
}
.badge-chip:hover {
  border-color: rgba(201,168,76,0.3);
  color: var(--white);
  background: rgba(201,168,76,0.05);
}
.badge-chip span { font-size: 1rem; }

/* ─── COURSES SECTION ────────────────────────────────────────── */
.courses-section {
  padding: 72px 20px 90px;
  max-width: 1100px;
  margin: 0 auto;
}

.courses-header {
  text-align: center;
  margin-bottom: 48px;
}

.courses-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 10px;
}

.courses-header p {
  font-size: 0.92rem;
  color: var(--white-50);
  font-weight: 300;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--navy-border);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--navy-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(30,143,255,0.06);
}

.course-tile {
  position: relative;
  background: var(--navy-card);
  padding: 44px 28px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.25s;
  overflow: hidden;
  min-height: 320px;
}
.course-tile:hover { background: #152040; }

.course-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0.8;
}
.tile-admin::before   { background: linear-gradient(90deg, #1d6ff5, #78b4ff); }
.tile-dev::before     { background: linear-gradient(90deg, #34c759, #7ceb96); }
.tile-ai::before      { background: linear-gradient(90deg, #ff9f0a, #ffd060); }
.tile-data::before    { background: linear-gradient(90deg, #bf5af2, #e09aff); }
.tile-ba::before      { background: linear-gradient(90deg, #ff453a, #ff8a82); }
.tile-revenue::before { background: linear-gradient(90deg, #5ac8fa, #a0e4ff); }

.tile-blur {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  z-index: 2;
  pointer-events: none;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(7,13,26,0.9);
  border: 1px solid var(--navy-border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white-70);
  cursor: pointer;
  pointer-events: all;
  transition: all 0.2s;
}
.soon-pill:hover {
  background: rgba(30,143,255,0.12);
  border-color: rgba(30,143,255,0.4);
  color: #78b4ff;
  box-shadow: 0 0 16px rgba(30,143,255,0.2);
}
.soon-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold);
}

.tile-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.tile-cert-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 4px;
}

.tile-name {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 10px;
}

.tile-tagline {
  font-size: 0.8rem;
  color: var(--white-50);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 200px;
}

.btn-enroll {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.3;
  pointer-events: none;
  margin-top: auto;
}

.tile-admin .tile-cert-tag   { color: #1d6ff5; background: rgba(29,111,245,0.12); }
.tile-dev   .tile-cert-tag   { color: #34c759; background: rgba(52,199,89,0.12); }
.tile-ai    .tile-cert-tag   { color: #ff9f0a; background: rgba(255,159,10,0.12); }
.tile-data  .tile-cert-tag   { color: #bf5af2; background: rgba(191,90,242,0.12); }
.tile-ba    .tile-cert-tag   { color: #ff453a; background: rgba(255,69,58,0.12); }
.tile-revenue .tile-cert-tag { color: #5ac8fa; background: rgba(90,200,250,0.12); }

.tile-admin   .btn-enroll { color: #1d6ff5; }
.tile-dev     .btn-enroll { color: #34c759; }
.tile-ai      .btn-enroll { color: #ff9f0a; }
.tile-data    .btn-enroll { color: #bf5af2; }
.tile-ba      .btn-enroll { color: #ff453a; }
.tile-revenue .btn-enroll { color: #5ac8fa; }

/* ─── NOTIFY MODAL ───────────────────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  position: relative;
  animation: modalIn 0.25s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(30,143,255,0.1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 1.1rem;
  color: var(--white-30);
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white-10);
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,0.12); }

.modal-icon       { font-size: 2.4rem; margin-bottom: 16px; }
.modal-course-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }

.modal-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.modal-sub {
  font-size: 0.82rem;
  color: var(--white-50);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-form { display: flex; flex-direction: column; gap: 10px; }

.modal-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal-input::placeholder { color: var(--white-30); }
.modal-input:focus {
  border-color: rgba(30,143,255,0.5);
  box-shadow: 0 0 0 3px rgba(30,143,255,0.1);
}

.modal-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--electric), var(--electric-dim));
  color: white;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  box-shadow: 0 4px 16px var(--electric-glow);
}
.modal-submit:hover {
  background: linear-gradient(135deg, #3aa3ff, var(--electric));
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30,143,255,0.35);
}

.modal-success { display: none; flex-direction: column; align-items: center; gap: 10px; }
.modal-success.show { display: flex; }
.modal-success-icon { font-size: 2.6rem; }
.modal-success-msg  { font-size: 0.9rem; color: var(--white-70); font-weight: 300; line-height: 1.6; }
.modal-privacy      { font-size: 0.65rem; color: var(--white-30); margin-top: 10px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-border);
  padding: 32px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy    { font-size: 0.72rem; color: var(--white-30); }
.footer-links   { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 0.72rem; color: var(--white-30); transition: color 0.15s; }
.footer-links a:hover { color: var(--white-70); }

/* ─── FADE IN ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero > * { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.hero-eyebrow  { animation-delay: 0.05s; }
.hero-headline { animation-delay: 0.15s; }
.hero-sub      { animation-delay: 0.25s; }
.quote-block   { animation-delay: 0.35s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .courses-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 60px 20px 52px; }
  nav { padding: 0 16px; }
}
