/* =============================================
   THE LEARNAHOLICS ACADEMY — WE HAVE MOVED
   Luxury Blue Theme
   ============================================= */

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

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

:root {
  --deep-navy:     #0a0f2e;
  --royal-blue:    #1a237e;
  --mid-blue:      #1565c0;
  --bright-blue:   #1e88e5;
  --sky-blue:      #42a5f5;
  --light-blue:    #90caf9;
  --pale-blue:     #e3f2fd;
  --gold:          #ffd54f;
  --white:         #ffffff;
  --glass-bg:      rgba(255, 255, 255, 0.06);
  --glass-border:  rgba(255, 255, 255, 0.12);
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--deep-navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ── Background layers ── */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(26,35,126,0.85) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%,  rgba(21,101,192,0.5) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 90%,  rgba(30,136,229,0.35) 0%, transparent 60%),
    linear-gradient(160deg, #060b22 0%, #0d1540 50%, #091228 100%);
  z-index: 0;
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(144,202,249,0.6) 0%, transparent 70%);
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0.5); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ── Grid lines (luxury texture) ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Main card ── */
.card {
  position: relative;
  z-index: 10;
  max-width: 720px;
  width: 90%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 64px 56px 56px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 24px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(30,136,229,0.12),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: cardIn 1s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Top accent line */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky-blue), var(--bright-blue), var(--sky-blue), transparent);
  border-radius: 0 0 4px 4px;
}

/* ── Logo ── */
.logo-wrap {
  margin-bottom: 36px;
  animation: logoIn 1s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.8) rotate(-4deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(144,202,249,0.3);
  box-shadow:
    0 0 30px rgba(30,136,229,0.25),
    0 0 80px rgba(30,136,229,0.1),
    inset 0 0 20px rgba(255,255,255,0.03);
  position: relative;
}

.logo-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(144,202,249,0.2);
  animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.logo-ring img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 16px rgba(30,136,229,0.3));
}

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-blue);
  background: rgba(30,136,229,0.1);
  border: 1px solid rgba(30,136,229,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky-blue);
  box-shadow: 0 0 8px var(--sky-blue);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Headline ── */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.5s ease both;
}

h1 .line1 {
  display: block;
  color: var(--white);
}

h1 .line2 {
  display: block;
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--bright-blue) 40%, var(--light-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 24px;
  width: 60%;
  animation: fadeUp 0.8s 0.6s ease both;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(144,202,249,0.4), transparent);
}

.divider-icon {
  font-size: 1rem;
  color: var(--sky-blue);
}

/* ── Body text ── */
.body-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s 0.65s ease both;
}

.body-text strong {
  color: var(--light-blue);
  font-weight: 500;
}

/* ── CTA Button ── */
.cta-wrap {
  animation: fadeUp 0.8s 0.75s ease both;
  margin-bottom: 36px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--mid-blue) 0%, var(--bright-blue) 60%, var(--sky-blue) 100%);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 18px 44px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(30,136,229,0.45),
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0%   { left: -60%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 16px 48px rgba(30,136,229,0.6),
    0 4px 16px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.cta-btn:active {
  transform: translateY(0) scale(0.99);
}

.cta-arrow {
  display: inline-flex;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* ── Timer (auto-redirect countdown) ── */
.timer-wrap {
  animation: fadeUp 0.8s 0.85s ease both;
  margin-bottom: 32px;
}

.timer-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

.timer-text span {
  color: var(--sky-blue);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ── Features strip ── */
.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  animation: fadeUp 0.8s 0.95s ease both;
}

.feat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
}

.feat-icon {
  font-size: 0.95rem;
  color: var(--sky-blue);
  opacity: 0.85;
}

/* ── Footer note ── */
.footer-note {
  position: relative;
  z-index: 10;
  margin-top: 32px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  animation: fadeUp 0.8s 1.05s ease both;
}

/* ── Keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .card {
    padding: 44px 28px 40px;
    border-radius: 20px;
  }
  .logo-ring {
    width: 120px; height: 120px;
  }
  .logo-ring img {
    width: 94px; height: 94px;
  }
  .divider { width: 80%; }
  .features { gap: 14px; }
}
