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

:root {
  --bg-deep: #060611;
  --bg-primary: #0a0a1a;
  --bg-alt: #0c0c22;
  --bg-card: rgba(14, 14, 38, 0.75);
  --bg-card-solid: #0e0e26;
  --bg-input: rgba(18, 18, 48, 0.9);
  --border: rgba(80, 80, 160, 0.12);
  --border-accent: rgba(0, 229, 255, 0.25);
  --text: #e0e0f0;
  --text-dim: #6b6b90;
  --text-bright: #ffffff;
  --cyan: #00e5ff;
  --magenta: #ff2d6a;
  --gold: #ffd700;
  --cyan-glow: 0 0 25px rgba(0, 229, 255, 0.35);
  --magenta-glow: 0 0 25px rgba(255, 45, 106, 0.35);
  --gold-glow: 0 0 25px rgba(255, 215, 0, 0.35);
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--bg-deep);
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

a:hover { color: var(--text-bright); }

ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 6, 17, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: 2px;
}

.brand-accent { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  display: block;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #000;
  box-shadow: var(--cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
  color: var(--cyan);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #cc9900);
  color: #000;
  box-shadow: var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
  color: #000;
}

.btn-magenta {
  background: linear-gradient(135deg, var(--magenta), #cc1155);
  color: #fff;
  box-shadow: var(--magenta-glow);
}

.btn-danger {
  background: rgba(255, 45, 45, 0.15);
  color: #ff4444;
  border: 1px solid rgba(255, 45, 45, 0.3);
}

.btn-danger:hover {
  background: rgba(255, 45, 45, 0.25);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-block { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.35) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6,6,17,0.95) 0%, rgba(6,6,17,0.6) 40%, rgba(6,6,17,0.3) 60%, rgba(6,6,17,0.85) 100%),
    linear-gradient(to bottom, transparent 60%, var(--bg-deep) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 2rem 80px;
  width: 100%;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--cyan);
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cyan { color: var(--cyan); }
.text-gold { color: var(--gold); }
.text-magenta { color: var(--magenta); }

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background: var(--bg-alt);
}

.section-alt > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-bright);
  margin-bottom: 3rem;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.achievements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.achievement {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.3s var(--ease);
}

.achievement:hover { border-color: var(--border-accent); }

.achievement-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
}

.achievement-label {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.contact-note {
  font-size: 1rem;
  color: var(--text-dim);
  border-left: 3px solid var(--cyan);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.contact-note strong { color: var(--text-bright); }

.about-image { position: relative; }

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--bg-deep));
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  display: block;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--cyan-glow);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: var(--border-accent);
}

.service-card.featured::before { opacity: 1; }

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.95rem;
  color: var(--text-dim);
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.price-card-featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.06) 0%, var(--bg-card) 40%);
  transform: scale(1.03);
}

.price-card-featured:hover { transform: scale(1.03) translateY(-4px); }

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #cc9900);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-badge-alt {
  background: linear-gradient(135deg, var(--magenta), #cc1155);
  color: #fff;
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.price-header h3 {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.price span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dim);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-features {
  flex: 1;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dim);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(80, 80, 160, 0.06);
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.3s var(--ease);
}

.contact-method:hover { border-color: var(--border-accent); }

.method-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-method strong {
  color: var(--text-bright);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-method p { color: var(--text); margin: 0; }

.payment-info {
  margin-top: 2.5rem;
}

.payment-info h3 {
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.payment-method strong {
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-method span {
  color: var(--text);
  font-weight: 600;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrapper h3 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.form-group { margin-bottom: 1rem; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card-solid);
  color: var(--text);
}

textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success h3 {
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 2rem;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.auth-card h1 {
  font-size: 1.8rem;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.auth-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-form .form-group { margin-bottom: 1.25rem; }

.auth-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.auth-link a { color: var(--cyan); }

.auth-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: none;
}

.auth-message.success {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan);
  display: block;
}

.auth-message.error {
  background: rgba(255, 45, 106, 0.1);
  border: 1px solid rgba(255, 45, 106, 0.25);
  color: var(--magenta);
  display: block;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 120px 2rem 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-bright);
}

.page-header p {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ===== PORTAL / PROGRAMS ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
}

.program-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.program-card h3 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.program-card .program-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.program-card .program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.program-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.program-type {
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 229, 255, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ===== ADMIN ===== */
.admin-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  min-height: 60vh;
}

.admin-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.admin-sidebar h3 {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.client-item {
  padding: 12px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
}

.client-item:hover { background: rgba(0, 229, 255, 0.06); }

.client-item.active {
  background: rgba(0, 229, 255, 0.1);
  border-left: 3px solid var(--cyan);
}

.client-item .client-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.client-item .client-email {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.admin-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.admin-main h3 {
  font-size: 1rem;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.upload-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.upload-section h3 {
  margin-bottom: 1.25rem;
}

.upload-form .form-group { margin-bottom: 1rem; }

.upload-form input[type="text"],
.upload-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.upload-form input[type="text"]:focus,
.upload-form textarea:focus {
  border-color: var(--cyan);
}

.upload-form input[type="file"] {
  padding: 12px;
  font-family: var(--font-body);
  color: var(--text-dim);
  background: var(--bg-input);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  width: 100%;
  cursor: pointer;
}

.upload-form input[type="file"]:hover {
  border-color: var(--border-accent);
}

.admin-program-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(6, 6, 17, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.admin-program-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.admin-program-info p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.admin-program-actions {
  display: flex;
  gap: 0.5rem;
}

/* ===== EMPTY & LOADING STATES ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-dim);
}

.empty-state h3 {
  color: var(--text);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-dim);
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

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

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 6, 17, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  width: 100%;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 45, 106, 0.15);
  color: var(--magenta);
}

.modal-content img {
  border-radius: var(--radius);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 2px;
}

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

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ===== STATUS BADGE ===== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-active {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
}

.status-active::before { background: var(--cyan); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 6, 17, 0.96);
    backdrop-filter: blur(24px);
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-content { padding: 100px 1.5rem 60px; }

  .section { padding: 60px 1.5rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }

  .services-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }

  .price-card-featured { transform: none; }
  .price-card-featured:hover { transform: translateY(-4px); }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .achievements { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .programs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .section-heading { font-size: 1.8rem; }
  .auth-card { padding: 2rem 1.5rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: #00ccdd; }

/* ===== ADMIN TABS ===== */
.admin-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.admin-tab {
  flex: 1;
  padding: 12px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.admin-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.admin-tab:hover { color: var(--text-bright); }

/* ===== WEEKLY PROGRAM BUILDER ===== */
.day-builder { display: flex; flex-direction: column; gap: 1.5rem; }

.day-block {
  background: rgba(6, 6, 17, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.day-title-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 0;
  outline: none;
  width: 200px;
}

.exercise-list { display: flex; flex-direction: column; gap: 0.5rem; }

.exercise-row {
  display: grid;
  grid-template-columns: 2fr 0.7fr 0.7fr 0.7fr 1.5fr 36px;
  gap: 0.5rem;
  align-items: center;
}

.exercise-row input {
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.exercise-row input:focus {
  border-color: var(--cyan);
}

.exercise-row input::placeholder { color: var(--text-dim); font-size: 0.8rem; }

.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.btn-remove-ex {
  background: rgba(255, 45, 45, 0.1);
  color: #ff4444;
}

.btn-remove-ex:hover { background: rgba(255, 45, 45, 0.25); }

.add-exercise-btn { margin-top: 0.75rem; }

/* ===== WEEKLY PROGRAM CARD (ADMIN LIST) ===== */
.weekly-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(6, 6, 17, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: border-color 0.3s var(--ease);
}

.weekly-item:hover { border-color: var(--border-accent); }

.weekly-item-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.weekly-item-info p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.weekly-item-actions { display: flex; gap: 0.5rem; }

/* ===== PROGRAM TEMPLATE PAGE ===== */
.program-template {
  min-height: 100vh;
  background: var(--bg-deep);
  padding: 2rem;
}

.program-sheet {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.program-sheet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--gold));
}

.sheet-header {
  padding: 2.5rem 2.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.04) 0%, transparent 100%);
}

.sheet-brand {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.sheet-header h1 {
  font-size: 2rem;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.sheet-header .sheet-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

.sheet-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sheet-meta-label {
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.sheet-body { padding: 2rem 2.5rem; }

.sheet-day {
  margin-bottom: 2rem;
  page-break-inside: avoid;
}

.sheet-day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.sheet-day-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  color: #000;
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sheet-day-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
}

.sheet-table th {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
  padding: 10px 12px;
  text-align: left;
  background: rgba(0, 229, 255, 0.05);
  border-bottom: 1px solid var(--border);
}

.sheet-table td {
  padding: 10px 12px;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid rgba(80, 80, 160, 0.06);
}

.sheet-table tr:hover td { background: rgba(0, 229, 255, 0.02); }

.sheet-table .ex-number {
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.8rem;
  width: 30px;
}

.sheet-table .ex-name-cell { font-weight: 600; color: var(--text-bright); }

.sheet-table .ex-notes-cell {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}

.sheet-coach-notes {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.sheet-coach-notes h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.sheet-coach-notes p {
  color: var(--text-dim);
  line-height: 1.7;
  white-space: pre-wrap;
}

.sheet-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  background: rgba(0, 229, 255, 0.02);
}

.sheet-footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.sheet-footer .brand-line {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.sheet-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== WEEKLY PROGRAMS IN PORTAL ===== */
.portal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.portal-tab {
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.portal-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.portal-tab:hover { color: var(--text-bright); }

.weekly-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.weekly-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.weekly-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.weekly-card h3 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 0.25rem;
}

.weekly-card .week-label {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.weekly-card .weekly-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
}

.weekly-card .day-count {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .exercise-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .exercise-row input[placeholder="Exercise name"] {
    grid-column: 1 / -1;
  }
  .btn-remove-ex {
    grid-column: 2;
    justify-self: end;
  }
  .sheet-header { padding: 2rem 1.25rem 1.25rem; }
  .sheet-body { padding: 1.25rem; }
  .sheet-table th, .sheet-table td { padding: 8px 6px; font-size: 0.85rem; }
  .sheet-meta { flex-direction: column; gap: 0.5rem; }
  .sheet-actions { flex-direction: column; padding: 0 1rem; }
  .sheet-actions .btn { width: 100%; }
}

@media print {
  body { background: #000 !important; }
  .nav, .sheet-actions { display: none !important; }
  .program-template { padding: 0; }
  .program-sheet { border: none; border-radius: 0; }
  .sheet-table th { background: rgba(0, 229, 255, 0.1) !important; }
}
