/* ============ DESIGN TOKENS ============ */
:root {
  --color-bg: #0b0f1a;
  --color-bg-secondary: #0e1220;
  --color-surface: #151c2e;
  --color-surface-raised: #1c2438;
  --color-surface-overlay: #232d45;
  --color-border: rgba(255,255,255,0.07);
  --color-border-strong: rgba(255,255,255,0.14);
  --color-text-primary: #f5f5f5;
  --color-text-secondary: #a3a3a3;
  --color-text-muted: #6b6b6b;
  --color-text-faint: #3a3a3a;
  --color-accent: #3b82f6;
  --color-accent-hover: #2563eb;
  --color-accent-subtle: rgba(59,130,246,0.1);
  --color-accent-glow: rgba(59,130,246,0.06);
  --color-cta: #c8e614;
  --color-cta-hover: #b8d410;
  --color-cta-subtle: rgba(200,230,20,0.1);
  --color-cta-text: #0d0d0d;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface-overlay); border-radius: 3px; }

/* ============ TYPOGRAPHY ============ */
.display { font-family: 'Instrument Serif', serif; }
h1, h2, h3 { line-height: 1.15; }

/* ============ LAYOUT ============ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-logo-tagline {
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--color-border);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  white-space: nowrap;
  line-height: 1.3;
  display: none;
}
@media (min-width: 1025px) {
  .nav-logo-tagline {
    display: inline;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  background: transparent;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text-primary); }
.nav-cta {
  background: var(--color-cta);
  color: var(--color-cta-text) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--color-cta-hover) !important; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 60%, var(--color-bg) 100%),
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(59,130,246,0.05) 0%, transparent 70%);
}
.court-lines {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 420px;
  opacity: 0.04;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cta);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--color-cta);
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--color-accent);
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(200,230,20,0.2);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--color-border-strong);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-subtle);
}
.hero-stats {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
}
.stat-item {}
.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: 2.25rem;
  color: var(--color-text-primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Floating card */
.hero-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 16px;
  padding: 1.75rem;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.card-title { font-size: 0.875rem; font-weight: 600; }
.card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--color-cta-subtle);
  color: var(--color-cta);
  border: 1px solid rgba(200,230,20,0.2);
}
.court-slots {
  display: grid;
  gap: 0.5rem;
}
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
}
.slot-time { font-weight: 500; }
.slot-court { color: var(--color-text-muted); font-size: 0.75rem; }
.slot.available {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
}
.slot.taken {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  opacity: 0.5;
}
.slot-status {
  font-size: 0.75rem;
  font-weight: 600;
}
.slot.available .slot-status { color: var(--color-accent); }
.slot.taken .slot-status { color: var(--color-text-muted); }

/* ============ SECTION COMMON ============ */
section { padding: 6rem 2rem; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  font-weight: 300;
}

/* ============ FEATURES ============ */
.features { background: var(--color-bg-secondary); }
.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.features-header .section-desc { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--color-surface);
  padding: 2rem;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--color-surface-raised);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-accent-subtle);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--color-accent); }
.feature-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============ HOW IT WORKS ============ */
.hiw-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hiw-steps { display: flex; flex-direction: column; gap: 0; }
.hiw-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.hiw-step:last-child { padding-bottom: 0; }
.hiw-step-line {
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-border-strong), transparent);
}
.hiw-step:last-child .hiw-step-line { display: none; }
.hiw-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.hiw-step-content {}
.hiw-step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  margin-top: 0.5rem;
}
.hiw-step-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}
.hiw-visual {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 16px;
  overflow: hidden;
}
.hiw-visual-header {
  background: var(--color-surface-raised);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #f87171; }
.dot-y { background: #fbbf24; }
.dot-g { background: #34d399; }
.hiw-visual-title {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-left: auto;
  margin-right: auto;
}
.hiw-visual-body { padding: 1.5rem; }
.tournament-bracket {
  display: flex;
  gap: 1.0rem;
  align-items: center;
  overflow-x: auto;
}
.bracket-round { display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; }
.bracket-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 0.5rem;
}
.bracket-match {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  overflow: hidden;
  min-width: 130px;
}
.bracket-player {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.bracket-player + .bracket-player { border-top: 1px solid var(--color-border); }
.bracket-player.winner { color: var(--color-cta); }
.bracket-score { color: var(--color-text-muted); font-size: 0.75rem; }

/* ============ ADMIN FEATURES ============ */
.admin-features { background: var(--color-bg-secondary); }
.admin-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.admin-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.admin-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: all 0.2s;
  cursor: default;
}
.admin-item:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-raised);
}
.admin-item-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-raised);
  border-radius: 8px;
  flex-shrink: 0;
}
.admin-item-icon svg { width: 20px; height: 20px; color: var(--color-accent); }
.admin-item-title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.admin-item-desc { font-size: 0.85rem; color: var(--color-text-secondary); }
.admin-dashboard {
  position: sticky;
  top: 100px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 6rem;
}
.dashboard-header {
  padding: 1rem 1.5rem;
  background: var(--color-surface-raised);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-title { font-size: 0.8125rem; font-weight: 600; }
.dashboard-badge {
  font-size: 0.7rem;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-weight: 600;
  border: 1px solid rgba(59,130,246,0.2);
}
.dashboard-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.dash-row {
  display: flex;
  gap: 0.75rem;
}
.dash-stat {
  flex: 1;
  padding: 1rem;
  background: var(--color-surface-raised);
  border-radius: 10px;
  border: 1px solid var(--color-border);
}
.dash-stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.dash-stat-label { font-size: 0.75rem; color: var(--color-text-muted); }
.dash-schedule { display: flex; flex-direction: column; gap: 0.5rem; }
.schedule-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
}
.schedule-time { font-size: 0.8rem; font-weight: 600; color: var(--color-text-muted); width: 42px; flex-shrink: 0; }
.schedule-name { font-size: 0.85rem; font-weight: 500; flex: 1; }
.schedule-court { font-size: 0.75rem; color: var(--color-text-muted); }
.schedule-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.pricing-card.featured {
  background: var(--color-surface-raised);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), 0 24px 60px rgba(59,130,246,0.1);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px var(--color-accent), 0 32px 80px rgba(59,130,246,0.2);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
}
.pricing-plan {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  line-height: 1;
}
.price-currency { font-size: 1.25rem; color: var(--color-text-secondary); align-self: flex-start; margin-top: 0.5rem; }
.price-period { font-size: 0.875rem; color: var(--color-text-muted); }
.pricing-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}
.pricing-features { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}
.pricing-feature .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(59,130,246,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.pricing-feature .check svg { width: 11px; height: 11px; }
.pricing-feature .cross {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-surface-overlay);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #444;
}
.pricing-feature .cross svg { width: 11px; height: 11px; }
.pricing-feature.disabled { opacity: 0.4; }
.btn-plan {
  width: 100%;
  padding: 0.875rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-plan-outline {
  background: transparent;
  border: 1px solid var(--color-border-strong) !important;
  color: var(--color-text-primary);
}
.btn-plan-outline:hover {
  border-color: var(--color-accent) !important;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
}
.btn-plan-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-plan-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}
.btn-plan-cta {
  background: var(--color-cta);
  color: var(--color-cta-text);
}
.btn-plan-cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,230,20,0.25);
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 70%);
}
.cta-banner-inner { position: relative; }
.cta-banner h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
}
.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
}
.footer-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-meta a { transition: color 0.2s; }
.footer-meta a:hover { color: var(--color-text-secondary); }
.footer-by {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.footer-by {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-by a {
  color: var(--color-accent);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.footer-by a:hover { opacity: 0.8; }
.topdiv-logo-img {
  height: 18px;
  width: auto;
  display: block;
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--color-border);
  color: var(--color-text-primary);
}
.modal-header { margin-bottom: 2rem; }
.modal-title {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  margin: 0.5rem 0 0.5rem;
  color: var(--color-text-primary);
}
.modal-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-weight: 300;
}
.kontakt-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--color-accent); }
.required { color: var(--color-cta); }
.optional { color: var(--color-text-muted); font-weight: 400; font-size: 0.75rem; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============ LANG SWITCHER ============ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.lang-btn {
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.45;
  display: flex;
  align-items: center;
}
.lang-btn img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.lang-btn:hover { opacity: 0.75; }
.lang-btn.active {
  opacity: 1;
  border-color: rgba(255,255,255,0.3);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 100%; }
  .hiw-inner { grid-template-columns: 1fr; gap: 3rem; }
  .admin-inner { grid-template-columns: 1fr; gap: 3rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}
/* Hamburger dugme — vidljivo samo na mobilnom */
#mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
#mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
#mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
#mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobilni meni overlay */
#mobile-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 57px; left: 0; right: 0; bottom: 0;
  background: rgba(11,15,26,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0;
}
#mobile-menu a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--color-text-primary); }
#mobile-menu .nav-cta {
  background: var(--color-cta);
  color: var(--color-cta-text);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
}

@media (max-width: 768px) {
  nav { padding: 0.75rem 10px; }
  .nav-links { display: none; }
  #mobile-toggle { display: flex; }
  .container { padding: 0 10px; }
  section { padding: 3rem 10px; }
  .hero { padding: 5rem 10px 3rem; }
  .hero-stats { gap: 1.5rem; }
  .cta-banner { padding: 2rem 10px; }
  footer { padding: 2.5rem 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-meta { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  .footer-by { font-size: 0.75rem; }
}
