/* ===================================================
   TVB Performance – Main Stylesheet
   Colors: Dark Blue #0a1628, White #ffffff, Accent Blue #1d4ed8
   =================================================== */

:root {
  --dark:      #0a1628;
  --dark-2:    #0d1f3c;
  --dark-3:    #1a2d4a;
  --blue:      #1d4ed8;
  --blue-light:#3b82f6;
  --blue-glow: rgba(29, 78, 216, 0.3);
  --white:     #ffffff;
  --white-90:  rgba(255,255,255,0.9);
  --white-60:  rgba(255,255,255,0.6);
  --white-20:  rgba(255,255,255,0.2);
  --white-10:  rgba(255,255,255,0.1);
  --white-05:  rgba(255,255,255,0.05);
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(10,22,40,0.4);
  --shadow-lg: 0 8px 48px rgba(10,22,40,0.6);
  --transition: 0.25s ease;
  --nav-h:     72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--white-60);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(29, 78, 216, 0.55);
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white-10);
  color: var(--white);
  border: 1px solid var(--white-20);
}
.btn-secondary:hover {
  background: var(--white-20);
  border-color: var(--white-60);
  transform: translateY(-2px);
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; }
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-60);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: var(--white-10); }

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
  color: var(--white);
  margin-left: 0.5rem;
  box-shadow: 0 2px 12px rgba(29, 78, 216, 0.35);
}
.nav-link.nav-cta:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% -10%, rgba(29, 78, 216, 0.22) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 60%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              var(--dark);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  max-width: 700px;
  padding-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white-60);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--white-60);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--white-20);
}

.hero-scroll {
  position: absolute;
  right: 2rem;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-60);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to top, transparent, var(--white-60));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== INFO BAR ===== */
.info-bar {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 0;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

.info-item svg {
  width: 20px; height: 20px;
  color: var(--blue-light);
  flex-shrink: 0;
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.info-item span {
  font-size: 0.78rem;
  color: var(--white-60);
}

.info-divider {
  width: 1px;
  height: 40px;
  background: var(--white-10);
  flex-shrink: 0;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25d366;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}
.whatsapp-btn svg { width: 18px; height: 18px; }
.whatsapp-btn.small { padding: 8px 16px; font-size: 0.8rem; }

/* ===== SERVICES ===== */
.services {
  position: relative;
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(29, 78, 216, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29, 78, 216, 0.2);
}

.service-card.featured {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.18) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  grid-column: span 1;
}
.service-card.featured:hover {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.28) 0%, rgba(59, 130, 246, 0.15) 100%);
}

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg {
  width: 26px; height: 26px;
  color: var(--blue-light);
}

.service-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.65;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0.25rem;
}
.service-features li {
  font-size: 0.82rem;
  color: var(--white-60);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-top: auto;
  transition: var(--transition);
}
.service-link:hover { color: var(--white); letter-spacing: 0.02em; }

.configurator-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
  border-color: transparent;
}
.configurator-cta:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29, 78, 216, 0.4);
  border-color: transparent;
}
.configurator-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.configurator-cta h3 { color: var(--white); }
.configurator-cta p { color: rgba(255,255,255,0.8); }
.configurator-cta .service-icon {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}
.configurator-cta .service-icon svg { color: var(--white); }

/* ===== TUNING KONFIGURATOR ===== */
.configurator {
  background: var(--dark-2);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
}

.configurator-wrapper {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.config-steps {
  display: flex;
  align-items: center;
  padding: 2rem;
  background: var(--dark-3);
  border-bottom: 1px solid var(--white-10);
  flex-wrap: wrap;
  gap: 0;
}

.config-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  transition: var(--transition);
}

.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white-10);
  border: 2px solid var(--white-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white-60);
  flex-shrink: 0;
  transition: var(--transition);
}

.config-step.active .step-number {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.25);
}

.config-step.done .step-number {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.config-step span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.config-step.active span { color: var(--white); }

.step-connector {
  flex: 0 0 2rem;
  height: 1px;
  background: var(--white-20);
}

.config-body { padding: 2.5rem; }

.config-panel { display: none; }
.config-panel.active { display: block; }

.config-panel h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  color: var(--white);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.config-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.config-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-60);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.config-field input,
.config-field select,
.config-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white-05);
  border: 1px solid var(--white-20);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.config-field input::placeholder,
.config-field textarea::placeholder { color: var(--white-60); }
.config-field input:focus,
.config-field select:focus,
.config-field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: rgba(29, 78, 216, 0.08);
}
.config-field select option { background: var(--dark-2); color: var(--white); }

.goal-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.goal-card {
  padding: 1.5rem;
  background: var(--white-05);
  border: 2px solid var(--white-10);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.goal-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(29, 78, 216, 0.1);
  transform: translateY(-2px);
}
.goal-card.selected {
  border-color: var(--blue);
  background: rgba(29, 78, 216, 0.18);
}
.goal-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.goal-card h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.goal-card p { font-size: 0.82rem; color: var(--white-60); line-height: 1.5; }

.services-check {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.check-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(29, 78, 216, 0.08);
}
.check-item input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.check-content { display: flex; flex-direction: column; gap: 2px; }
.check-content strong { font-size: 0.92rem; font-weight: 600; }
.check-content span { font-size: 0.8rem; color: var(--white-60); }

.config-nav {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.summary-box {
  background: var(--dark-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--white-10);
  font-size: 0.88rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--white-60); font-size: 0.82rem; }
.summary-row .value { font-weight: 600; text-align: right; }

.config-success {
  text-align: center;
  padding: 2rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  margin-top: 1.5rem;
}
.success-icon {
  width: 56px; height: 56px;
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  color: #22c55e;
}

/* ===== ABOUT ===== */
.about {
  background: var(--dark);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}

.about-content .section-tag { display: inline-flex; text-align: left; }
.about-content .section-title { text-align: left; }

.about-text {
  font-size: 1rem;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 36px; height: 36px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon svg {
  width: 16px; height: 16px;
  color: #22c55e;
}

.value-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.value-item strong { font-size: 0.92rem; font-weight: 600; }
.value-item span { font-size: 0.82rem; color: var(--white-60); }

.about-visual {
  position: relative;
}

.about-card {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-card-header {
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo {
  width: 180px;
  filter: brightness(1.1) drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.about-info {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--white-90);
}
.about-info-row svg {
  width: 18px; height: 18px;
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--dark-2);
  border-top: 1px solid var(--white-10);
}

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-card:not(.no-link):hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(29, 78, 216, 0.1);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card-icon.phone { background: rgba(29, 78, 216, 0.2); border: 1px solid rgba(59, 130, 246, 0.3); }
.contact-card-icon.phone svg { color: var(--blue-light); }
.contact-card-icon.whatsapp { background: rgba(37, 211, 102, 0.15); border: 1px solid rgba(37, 211, 102, 0.25); }
.contact-card-icon.whatsapp svg { color: #25d366; }
.contact-card-icon.location { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.25); }
.contact-card-icon.location svg { color: #f59e0b; }
.contact-card-icon.hours { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.25); }
.contact-card-icon.hours svg { color: #8b5cf6; }

.contact-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-card strong { font-size: 0.88rem; font-weight: 600; }
.contact-card span { font-size: 0.82rem; color: var(--white-60); line-height: 1.5; }

.contact-form {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.25rem;
}
.form-field:last-of-type { margin-bottom: 1.5rem; }

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-60);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white-05);
  border: 1px solid var(--white-20);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--white-60); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: rgba(29, 78, 216, 0.08);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.25rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #4ade80;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  background: #060e1c;
  border-top: 1px solid var(--white-10);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--white-10);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--white-60);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-60);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links li,
.footer-links a {
  font-size: 0.88rem;
  color: var(--white-60);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.8rem; color: var(--white-60); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--white-60);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-options { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    border-bottom: 1px solid var(--white-10);
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav-links.open .nav-link { width: 100%; padding: 10px 12px; }
  .hamburger { display: flex; }

  .hero-content { max-width: 100%; }
  .hero-scroll { display: none; }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }

  .info-container { flex-direction: column; }
  .info-divider { display: none; }
  .info-item { min-width: 100%; }

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

  .config-steps { gap: 0.5rem; }
  .step-connector { flex: 0 0 1rem; }
  .config-step span { display: none; }
  .config-grid { grid-template-columns: 1fr; }
  .goal-cards { grid-template-columns: 1fr; }
  .config-body { padding: 1.5rem; }

  .contact-options { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: unset; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section-container { padding: 4rem 1.25rem; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .config-nav { flex-direction: column; }
  .config-nav .btn { width: 100%; justify-content: center; }
}

/* ===================================================
   SUB-PAGE STYLES (service pages, legal pages)
   =================================================== */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29, 78, 216, 0.2) 0%, transparent 65%), var(--dark);
  border-bottom: 1px solid var(--white-10);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  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;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--white-60);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--white-60); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb .sep { color: var(--white-20); }
.breadcrumb .current { color: var(--white); font-weight: 500; }

.page-hero-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.25), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.page-hero-icon svg { width: 36px; height: 36px; color: var(--blue-light); }

.page-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--white-60);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.25rem;
}
.page-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== SERVICE PAGE LAYOUT ===== */
.service-page { background: var(--dark); }

.service-page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* ===== SERVICE CONTENT (left) ===== */
.service-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}
.service-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}
.service-content p {
  font-size: 0.95rem;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--white-90);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.process-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}
.process-step-body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.process-step-body span {
  font-size: 0.85rem;
  color: var(--white-60);
  line-height: 1.5;
}

/* Info boxes */
.info-box {
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--white-90);
  line-height: 1.65;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.info-box svg {
  width: 20px; height: 20px;
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== SIDEBAR (right sticky) ===== */
.service-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-contact {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.18) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.sidebar-contact h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sidebar-contact p {
  font-size: 0.85rem;
  color: var(--white-60);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.sidebar-contact .btn { width: 100%; justify-content: center; margin-bottom: 0.75rem; }

.sidebar-info {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-info h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-60);
  margin-bottom: 1rem;
}
.sidebar-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--white-90);
  padding: 8px 0;
  border-bottom: 1px solid var(--white-10);
}
.sidebar-info-row:last-child { border-bottom: none; }
.sidebar-info-row svg {
  width: 16px; height: 16px;
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1e40af 50%, #1d4ed8 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-banner .btn-primary:hover { background: var(--gray-100); color: var(--blue); }
.cta-banner .btn-secondary { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* ===== RELATED SERVICES ===== */
.related-services {
  background: var(--dark-2);
  border-top: 1px solid var(--white-10);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.related-card {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.related-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(29, 78, 216, 0.1);
  transform: translateY(-3px);
}
.related-card .service-icon { width: 44px; height: 44px; border-radius: 12px; }
.related-card .service-icon svg { width: 22px; height: 22px; }
.related-card h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.related-card p { font-size: 0.82rem; color: var(--white-60); line-height: 1.55; flex: 1; }
.related-card .service-link { font-size: 0.82rem; margin-top: auto; }

/* ===== LEGAL PAGES ===== */
.legal-page { background: var(--dark); }
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.legal-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--white);
  padding-top: 1rem;
  border-top: 1px solid var(--white-10);
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--white-90);
}
.legal-content p {
  font-size: 0.92rem;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}
.legal-content a { color: var(--blue-light); transition: color 0.2s; }
.legal-content a:hover { color: var(--white); }
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0 1rem;
}
.legal-content ul li {
  font-size: 0.92rem;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--white-60);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 2.5rem;
}

/* ===== RESPONSIVE SUB-PAGES ===== */
@media (max-width: 1024px) {
  .service-page-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions .btn { width: 100%; justify-content: center; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .cta-banner-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ===================================================
   NAV DROPDOWN
   =================================================== */

.nav-item.has-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
  /* reset browser button defaults */
  background: none;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-60);
  transition: var(--transition);
}
.nav-dropdown-toggle:hover { color: var(--white); background: var(--white-10); }
.nav-dropdown-toggle .dd-arrow {
  width: 12px; height: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.has-dropdown.open .nav-dropdown-toggle .dd-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 290px;
  background: rgba(8, 18, 35, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: rgba(8, 18, 35, 0.98);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
}
.has-dropdown.open .nav-dropdown { display: flex; }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s;
  cursor: pointer;
  color: var(--white);
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.07); }
.nav-dropdown-item.active { background: rgba(29,78,216,0.18); }
.nav-dd-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dd-icon svg { width: 18px; height: 18px; color: var(--blue-light); }
.nav-dd-text { display: flex; flex-direction: column; gap: 1px; }
.nav-dd-text strong { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.nav-dd-text span { font-size: 0.74rem; color: var(--white-60); }

.nav-dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}
.nav-dropdown-cta .nav-dd-icon {
  background: rgba(29,78,216,0.2);
  border-color: rgba(59,130,246,0.35);
}

/* Nav user state */
.nav-user-li { display: flex; align-items: center; }
.nav-user-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 12px !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  transition: var(--transition);
}
.nav-user-link:hover {
  background: rgba(255,255,255,0.12) !important;
  color: var(--white) !important;
}
.nav-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.nav-credits-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-light);
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  padding: 2px 8px;
  border-radius: 100px;
}
.nav-login-link {
  font-size: 0.88rem !important;
  color: var(--white-60) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  padding: 6px 16px !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
}
.nav-login-link:hover { color: var(--white) !important; background: rgba(255,255,255,0.08) !important; }

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none;
    min-width: 100%;
    border-radius: 10px;
    margin-top: 4px;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
  }
  .nav-dropdown::before { display: none; }
  .nav-item.has-dropdown { width: 100%; flex-direction: column; align-items: flex-start; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .has-dropdown.open .nav-dropdown { display: flex; }
}

/* ===================================================
   PORTAL / LOGIN / SHOP STYLES
   =================================================== */

/* ---- Auth Page (login.html) ---- */
.auth-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29,78,216,0.18) 0%, transparent 60%), var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
}
.auth-box {
  width: 100%;
  max-width: 440px;
  background: rgba(10, 24, 50, 0.85);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
.auth-logo {
  display: block;
  margin: 0 auto 1.75rem;
  text-align: center;
}
.auth-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.auth-tabs {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 2rem;
}
.auth-tab {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  color: var(--white-60);
  transition: var(--transition);
}
.auth-tab.active {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(29,78,216,0.4);
}
.auth-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .35rem;
  text-align: center;
}
.auth-subtitle {
  font-size: .875rem;
  color: var(--white-60);
  text-align: center;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}
.auth-switch {
  text-align: center;
  font-size: .85rem;
  color: var(--white-60);
  margin-top: .25rem;
}
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.auth-form input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.auth-form input::placeholder { color: var(--white-60); }
.auth-form input:focus { outline: none; border-color: var(--blue-light); background: rgba(29,78,216,0.06); }
.auth-form .btn { width: 100%; justify-content: center; }
.auth-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #fca5a5;
  display: none;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0.5rem 0;
  font-size: 0.78rem;
  color: var(--white-60);
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
}

/* ---- Portal Layout ---- */
.portal-page {
  min-height: 100vh;
  background: var(--dark);
  padding-top: var(--nav-h);
}
.portal-header {
  background: var(--dark-2);
  border-bottom: 1px solid var(--white-10);
  padding: 1.5rem 2rem;
}
.portal-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.portal-greeting { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; }
.portal-greeting span { color: var(--blue-light); }
.portal-credits-display {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius);
  padding: 10px 18px;
}
.portal-credits-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
}
.portal-credits-label { font-size: 0.78rem; color: var(--white-60); text-transform: uppercase; letter-spacing: 0.08em; }

.portal-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar nav */
.portal-sidenav {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.portal-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-60);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.portal-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.portal-nav-item:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.portal-nav-item.active { background: rgba(29,78,216,0.18); color: var(--white); }
.portal-nav-item.active svg { color: var(--blue-light); }
.portal-nav-divider { height: 1px; background: var(--white-10); margin: 6px 0; }

/* Portal content area */
.portal-content { min-height: 60vh; }
.portal-tab { display: none; }
.portal-tab.active { display: block; }

.portal-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* File cards */
.file-list { display: flex; flex-direction: column; gap: 1rem; }
.file-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.file-card:hover { border-color: rgba(59,130,246,0.3); }
.file-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  flex-wrap: wrap;
}
.file-type-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 100px;
  flex-shrink: 0;
}
.badge-inmod { background: rgba(139,92,246,0.18); border: 1px solid rgba(139,92,246,0.35); color: #c4b5fd; }
.badge-slays { background: rgba(245,158,11,0.18); border: 1px solid rgba(245,158,11,0.35); color: #fbbf24; }
.badge-txt { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); color: #4ade80; }

.file-vehicle { flex: 1; min-width: 0; }
.file-vehicle strong { display: block; font-size: 0.95rem; }
.file-vehicle span { font-size: 0.8rem; color: var(--white-60); }

.file-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
  white-space: nowrap;
}
.status-ausstehend { background: rgba(148,163,184,0.12); border: 1px solid rgba(148,163,184,0.25); color: #94a3b8; }
.status-bearbeitung { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: #fbbf24; }
.status-bereit { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.status-nacharbeit { background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.3); color: #fb923c; }

.file-card-body {
  padding: 0 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.file-meta { display: flex; gap: 1.5rem; flex: 1; flex-wrap: wrap; }
.file-meta-item { display: flex; flex-direction: column; gap: 2px; }
.file-meta-item label { font-size: 0.7rem; color: var(--white-60); text-transform: uppercase; letter-spacing: 0.08em; }
.file-meta-item span { font-size: 0.82rem; }
.file-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.file-actions .btn { font-size: 0.8rem; padding: 8px 14px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--white-60);
}
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 1rem; opacity: 0.4; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--white); }
.empty-state p { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Ticket card */
.ticket-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.ticket-card:hover { border-color: rgba(59,130,246,0.3); background: rgba(29,78,216,0.06); }
.ticket-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.ticket-dot.offen { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
.ticket-dot.in-bearbeitung { background: #f59e0b; }
.ticket-dot.geschlossen { background: #475569; }
.ticket-info { flex: 1; }
.ticket-info strong { display: block; font-size: 0.92rem; margin-bottom: 3px; }
.ticket-info span { font-size: 0.8rem; color: var(--white-60); }
.ticket-meta { font-size: 0.75rem; color: var(--white-60); white-space: nowrap; }

/* Ticket modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  display: none;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--dark-2);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--white-10);
}
.modal-header h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.25rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.12); }
.modal-body { padding: 1.5rem; overflow-y: auto; flex: 1; }
.modal-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--white-10); display: flex; gap: 0.75rem; }
.modal-footer input, .modal-footer textarea {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  resize: none;
}
.modal-footer input:focus, .modal-footer textarea:focus { outline: none; border-color: var(--blue-light); }

/* Chat messages */
.chat-messages { display: flex; flex-direction: column; gap: 1rem; }
.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.chat-msg.from-support { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.87rem;
  line-height: 1.55;
}
.chat-msg.from-user .chat-bubble {
  background: rgba(29,78,216,0.2);
  border: 1px solid rgba(59,130,246,0.25);
}
.chat-msg.from-support .chat-bubble {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}
.chat-ts { font-size: 0.7rem; color: var(--white-60); margin-top: 4px; }

/* Transaction list */
.transaction-list { display: flex; flex-direction: column; gap: 0.5rem; }
.transaction-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  font-size: 0.88rem;
}
.transaction-amount { font-weight: 700; }
.transaction-amount.positive { color: #4ade80; }
.transaction-amount.negative { color: #f87171; }

/* ---- Shop Page ---- */
.shop-page { background: var(--dark); padding-top: var(--nav-h); }
.shop-hero {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(29,78,216,0.18) 0%, transparent 60%), var(--dark);
  padding: calc(var(--nav-h) + 2rem) 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--white-10);
}
.shop-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2rem,5vw,3.5rem); font-weight: 700; margin-bottom: 0.75rem; }
.shop-hero p { color: var(--white-60); font-size: 1rem; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.package-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: var(--transition);
}
.package-card:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(29,78,216,0.2); }
.package-card.featured {
  background: linear-gradient(135deg, rgba(29,78,216,0.2), rgba(59,130,246,0.1));
  border-color: rgba(59,130,246,0.4);
}
.package-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-popular { background: var(--blue); color: white; }
.badge-best { background: linear-gradient(135deg, #f59e0b, #ef4444); color: white; }

.package-name { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white-60); }
.package-credits {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.package-credits span { font-size: 1rem; color: var(--white-60); font-family: 'Inter', sans-serif; font-weight: 400; }
.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-light);
}
.package-per-credit {
  font-size: 0.78rem;
  color: var(--white-60);
  margin-top: -0.5rem;
}
.package-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.package-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--white-60);
}
.package-feature::before { content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; }

/* File cost table */
.file-costs {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.file-costs h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; text-align: center; }
.costs-table {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.costs-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--white-10);
  font-size: 0.9rem;
}
.costs-row:last-child { border-bottom: none; }
.costs-row.header { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white-60); }
.costs-credits { font-weight: 700; color: var(--blue-light); text-align: right; }
.costs-euros { color: var(--white-60); font-size: 0.82rem; text-align: right; }

/* ---- Admin panel ---- */
.admin-page { background: var(--dark); min-height: 100vh; padding-top: var(--nav-h); }
.admin-login-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-60);
  border-bottom: 1px solid var(--white-10);
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.03); }
select.status-select {
  background: var(--dark-3);
  border: 1px solid var(--white-20);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.8rem;
  padding: 4px 8px;
  cursor: pointer;
}

/* Responsive portal */
@media (max-width: 900px) {
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidenav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .portal-nav-item { flex: 1; min-width: 120px; justify-content: center; padding: 10px 8px; font-size: 0.8rem; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .packages-grid { grid-template-columns: 1fr; }
  .auth-box { padding: 1.75rem; }
}

/* ══════════════════════════════════════════
   NAV – user pill & credits badge
══════════════════════════════════════════ */
.nav-user-pill {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(29,78,216,.18); border: 1px solid rgba(59,130,246,.35);
  border-radius: 100px; padding: .3rem .8rem;
  color: var(--white); text-decoration: none; font-size: .85rem;
  transition: background .2s;
}
.nav-user-pill:hover { background: rgba(29,78,216,.35); }
.nav-user-name { font-weight: 600; }
.nav-credits-badge {
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .15rem .45rem; border-radius: 100px;
}
.nav-user-item { display: flex; align-items: center; }
.nav-logout { font-size: .85rem !important; }

/* ══════════════════════════════════════════
   PORTAL – tab header, empty, account grid
══════════════════════════════════════════ */
.portal-tab-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem;
}
.portal-tab-header h2 { font-size: 1.25rem; margin: 0; }
.portal-empty {
  text-align: center; padding: 3rem 1rem; color: var(--text-muted);
}
.portal-empty svg { margin-bottom: 1rem; opacity: .4; }
.portal-empty p { margin-bottom: 1rem; }
.account-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 640px) {
  .account-grid { grid-template-columns: 1fr; }
}

/* file card extras */
.file-card-body { padding: .75rem 0; }
.file-vehicle { font-size: .95rem; margin-bottom: .25rem; }
.file-specs { font-size: .8rem; color: var(--text-muted); margin-bottom: .2rem; }
.file-meta {
  display: flex; gap: 1.5rem; font-size: .75rem;
  color: var(--text-muted); margin-top: .5rem; flex-wrap: wrap;
}
.file-admin-note {
  margin-top: .5rem; padding: .5rem .75rem;
  background: rgba(59,130,246,.08); border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0; font-size: .82rem; color: var(--text-muted);
}
.file-card-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }

/* chat */
.chat-meta { font-size: .7rem; color: var(--text-muted); margin-bottom: .25rem; }
.chat-text { font-size: .875rem; line-height: 1.5; }

/* ══════════════════════════════════════════
   SHOP – balance bar, packages, FAQ
══════════════════════════════════════════ */
.balance-bar {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(29,78,216,.12); border: 1px solid rgba(29,78,216,.3);
  border-radius: 8px; padding: .6rem 1rem; margin-bottom: 2rem;
  font-size: .9rem; flex-wrap: wrap; max-width: 900px; margin-inline: auto;
}
.package-name { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .5rem; }
.package-credits { font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: .25rem; }
.package-credits span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.package-price { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: .15rem; }
.package-per-cr { font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; }
.package-features { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.package-features li { font-size: .85rem; color: var(--text-muted); margin-bottom: .3rem; }
.package-btn { width: 100%; }
.badge-gold { background: linear-gradient(135deg,#f59e0b,#d97706) !important; }
.costs-table-wrap {
  max-width: 900px; margin: 2.5rem auto 0;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 2rem;
}
.faq-list { display: flex; flex-direction: column; gap: 1.25rem; }
.faq-item { padding: 1rem; background: rgba(255,255,255,.03); border-radius: 10px; }
.faq-item strong { display: block; margin-bottom: .35rem; font-size: .95rem; }
.faq-item p { color: var(--text-muted); font-size: .875rem; margin: 0; }

/* ══════════════════════════════════════════
   ADMIN – stats, tabs, table, section header
══════════════════════════════════════════ */
.admin-stats {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.admin-stat-card {
  flex: 1; min-width: 120px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 1rem; text-align: center;
}
.admin-stat-val   { font-size: 2rem; font-weight: 800; color: var(--white); }
.admin-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.admin-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-tab {
  padding: .5rem 1.25rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.12);
  background: transparent; color: var(--text-muted); cursor: pointer; font-size: .9rem;
  transition: all .2s;
}
.admin-tab:hover  { background: rgba(255,255,255,.06); color: var(--white); }
.admin-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.admin-section-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem;
}
.admin-section-header h2 { font-size: 1.1rem; margin: 0; }

/* form-input fallback for admin selects/inputs */
.form-input {
  width: 100%; padding: .65rem .9rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; color: var(--white); font-size: .9rem; font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--accent); }
textarea.form-input { resize: vertical; }

/* ══════════════════════════════════════════
   PORTAL – nav badge fix
══════════════════════════════════════════ */
.portal-nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff; font-size: .7rem; font-weight: 700;
  padding: .1rem .45rem; border-radius: 100px;
  min-width: 18px; text-align: center;
}

/* ══════════════════════════════════════════
   MODAL – size variant
══════════════════════════════════════════ */
.modal-sm { max-width: 420px; }

/* btn full-width helper */
.btn-full { width: 100%; justify-content: center; }

/* ── btn-sm: smaller variant ── */
.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

/* ── btn-outline: ghost/border variant ── */
.btn-outline {
  background: transparent;
  color: var(--white-60);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  transform: none;
}

/* ── portal header actions ── */
.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.credits-display {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   NOTIFICATION BELL & PANEL
══════════════════════════════════════════════════════════════ */
.nav-bell-wrap { position:relative; display:flex; align-items:center; }
.nav-bell-btn {
  background:none; border:none; cursor:pointer; color:var(--white-60);
  padding:6px; border-radius:8px; transition:color .2s,background .2s;
  display:flex; align-items:center;
}
.nav-bell-btn:hover { color:var(--white); background:var(--white-10); }
.nav-bell-badge {
  position:absolute; top:-2px; right:-2px;
  background:#ef4444; color:#fff; font-size:.65rem; font-weight:800;
  min-width:16px; height:16px; border-radius:100px; display:flex;
  align-items:center; justify-content:center; padding:0 3px;
  pointer-events:none;
}
.notif-panel {
  position:absolute; top:calc(100% + 12px); right:-80px;
  width:340px; max-height:420px; overflow-y:auto;
  background:rgba(10,22,45,.97); border:1px solid rgba(59,130,246,.25);
  border-radius:16px; box-shadow:0 16px 64px rgba(0,0,0,.6);
  backdrop-filter:blur(20px); z-index:900; display:none;
}
.notif-panel.open { display:block; animation:slideDown .18s ease; }
.notif-panel-header {
  display:flex; justify-content:space-between; align-items:center;
  padding:.85rem 1rem; border-bottom:1px solid rgba(255,255,255,.07);
  font-size:.85rem; font-weight:600;
}
.notif-panel-header button {
  background:none; border:none; color:var(--accent); cursor:pointer;
  font-size:.75rem; font-weight:600;
}
.notif-item {
  display:flex; gap:.75rem; padding:.75rem 1rem;
  border-bottom:1px solid rgba(255,255,255,.05);
  cursor:pointer; transition:background .15s;
}
.notif-item:hover { background:rgba(255,255,255,.04); }
.notif-item.unread { background:rgba(29,78,216,.07); }
.notif-dot {
  width:8px; height:8px; border-radius:50%; background:var(--accent);
  flex-shrink:0; margin-top:5px;
}
.notif-dot.read { background:transparent; border:1px solid rgba(255,255,255,.2); }
.notif-title { font-size:.83rem; font-weight:600; margin-bottom:.2rem; }
.notif-body  { font-size:.77rem; color:var(--text-muted); line-height:1.4; }
.notif-time  { font-size:.7rem; color:rgba(255,255,255,.3); margin-top:.2rem; }
.notif-empty { text-align:center; padding:2rem 1rem; color:var(--text-muted); font-size:.85rem; }

/* ══════════════════════════════════════════════════════════════
   VEHICLE STATS PANEL (iFrame-style embed)
══════════════════════════════════════════════════════════════ */
.vehicle-stats-panel {
  background:linear-gradient(135deg,rgba(29,78,216,.12),rgba(10,22,45,.8));
  border:1px solid rgba(59,130,246,.3); border-radius:16px;
  padding:1.5rem; margin:1.25rem 0; display:none;
}
.vehicle-stats-panel.visible { display:block; animation:fadeIn .3s ease; }
.vehicle-stats-header {
  display:flex; justify-content:space-between; align-items:flex-start;
  margin-bottom:1rem; flex-wrap:wrap; gap:.5rem;
}
.vehicle-stats-name { font-family:var(--font-display); font-size:1.3rem; font-weight:700; }
.vehicle-stats-tag {
  background:rgba(29,78,216,.3); color:var(--accent);
  padding:.25rem .75rem; border-radius:100px; font-size:.75rem; font-weight:600;
}
.vehicle-stats-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; margin-bottom:1rem;
}
@media(max-width:600px){ .vehicle-stats-grid{ grid-template-columns:repeat(2,1fr); } }
.vehicle-stat-item {
  background:rgba(255,255,255,.05); border-radius:10px; padding:.75rem;
  text-align:center;
}
.vehicle-stat-val  { font-size:1.2rem; font-weight:800; color:var(--white); }
.vehicle-stat-unit { font-size:.7rem; color:var(--text-muted); }
.vehicle-stat-label{ font-size:.75rem; color:var(--text-muted); margin-top:.2rem; }
.tuning-potential-bar {
  height:6px; background:rgba(255,255,255,.1); border-radius:100px; overflow:hidden;
  margin:.5rem 0 .25rem;
}
.tuning-potential-fill { height:100%; border-radius:100px; transition:width .6s ease; }

/* ══════════════════════════════════════════════════════════════
   DYNO CHART
══════════════════════════════════════════════════════════════ */
.dyno-wrap {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:12px; padding:1rem; margin-top:1rem;
}
.dyno-legend {
  display:flex; gap:1.25rem; margin-bottom:.75rem; flex-wrap:wrap;
}
.dyno-legend-item { display:flex; align-items:center; gap:.4rem; font-size:.8rem; color:var(--text-muted); }
.dyno-legend-line { width:24px; height:3px; border-radius:2px; }
.dyno-gains-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; margin-top:1rem;
}
.dyno-gain-card {
  background:rgba(29,78,216,.1); border:1px solid rgba(29,78,216,.2);
  border-radius:10px; padding:.75rem; text-align:center;
}
.dyno-gain-plus { font-size:1.4rem; font-weight:800; color:#4ade80; }
.dyno-gain-label{ font-size:.75rem; color:var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   TUNING TYPE CARDS (konfigurator)
══════════════════════════════════════════════════════════════ */
.tuning-types-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:.75rem;
  margin-bottom:1.5rem;
}
.tuning-type-card {
  background:rgba(255,255,255,.04); border:2px solid rgba(255,255,255,.08);
  border-radius:12px; padding:1rem; cursor:pointer; transition:all .2s;
  position:relative;
}
.tuning-type-card:hover  { border-color:var(--accent); background:rgba(29,78,216,.1); }
.tuning-type-card.selected{ border-color:var(--accent); background:rgba(29,78,216,.2);
  box-shadow:0 0 0 3px rgba(29,78,216,.25); }
.tt-icon { font-size:1.75rem; margin-bottom:.5rem; }
.tt-name { font-weight:700; font-size:.9rem; margin-bottom:.2rem; }
.tt-cost { font-size:.8rem; color:var(--accent); font-weight:700; margin-bottom:.4rem; }
.tt-desc { font-size:.75rem; color:var(--text-muted); line-height:1.4; }
.tt-gains { display:flex; gap:.4rem; margin-top:.5rem; flex-wrap:wrap; }
.tt-gain-chip {
  background:rgba(74,222,128,.12); color:#4ade80;
  font-size:.7rem; font-weight:700; padding:.1rem .4rem; border-radius:100px;
}
.tt-category-badge {
  position:absolute; top:.5rem; right:.5rem;
  font-size:.65rem; font-weight:700; padding:.1rem .4rem; border-radius:100px;
}
.cat-performance { background:rgba(239,68,68,.2); color:#f87171; }
.cat-eco         { background:rgba(74,222,128,.2); color:#4ade80; }
.cat-delete      { background:rgba(245,158,11,.2); color:#fbbf24; }
.cat-feature     { background:rgba(139,92,246,.2); color:#a78bfa; }
.cat-custom      { background:rgba(59,130,246,.2); color:var(--accent); }

/* Options & Reading Method step */
.options-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:.6rem;
  margin-bottom:1.5rem;
}
.option-check-item {
  display:flex; align-items:flex-start; gap:.6rem;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  border-radius:10px; padding:.75rem; cursor:pointer; transition:all .2s;
}
.option-check-item:has(input:checked) { border-color:var(--accent); background:rgba(29,78,216,.1); }
.option-check-item input { margin-top:2px; accent-color:var(--accent); flex-shrink:0; }
.option-check-name { font-size:.85rem; font-weight:600; }
.option-check-cost { font-size:.75rem; color:var(--accent); }
.option-check-desc { font-size:.73rem; color:var(--text-muted); margin-top:.15rem; line-height:1.3; }

.methods-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:.6rem;
  margin-bottom:1.5rem;
}
.method-card {
  background:rgba(255,255,255,.04); border:2px solid rgba(255,255,255,.08);
  border-radius:10px; padding:.85rem; cursor:pointer; transition:all .2s; text-align:center;
}
.method-card:hover    { border-color:rgba(255,255,255,.25); }
.method-card.selected { border-color:var(--accent); background:rgba(29,78,216,.15); }
.method-icon    { font-size:1.5rem; margin-bottom:.4rem; }
.method-name    { font-weight:700; font-size:.85rem; margin-bottom:.2rem; }
.method-cost    { font-size:.75rem; color:var(--accent); margin-bottom:.2rem; }
.method-diff    { font-size:.7rem; color:var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   WARRANTY BADGE
══════════════════════════════════════════════════════════════ */
.warranty-badge {
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.25rem .65rem; border-radius:100px; font-size:.72rem; font-weight:700;
}
.warranty-active   { background:rgba(74,222,128,.15); color:#4ade80; border:1px solid rgba(74,222,128,.3); }
.warranty-expiring { background:rgba(245,158,11,.15); color:#fbbf24; border:1px solid rgba(245,158,11,.3); }
.warranty-expired  { background:rgba(255,255,255,.06); color:var(--text-muted); border:1px solid rgba(255,255,255,.1); }

/* ══════════════════════════════════════════════════════════════
   FILE CHAT (per-file, portal.html)
══════════════════════════════════════════════════════════════ */
.file-chat-badge {
  display:inline-flex; align-items:center; justify-content:center;
  background:#ef4444; color:#fff; font-size:.65rem; font-weight:800;
  width:16px; height:16px; border-radius:50%; margin-left:.25rem;
}

/* ══════════════════════════════════════════════════════════════
   PAYMENT METHOD SELECTOR
══════════════════════════════════════════════════════════════ */
.payment-methods { display:flex; gap:.75rem; flex-wrap:wrap; margin-bottom:1.5rem; }
.payment-method-card {
  flex:1; min-width:110px; background:rgba(255,255,255,.04);
  border:2px solid rgba(255,255,255,.1); border-radius:12px;
  padding:.85rem; cursor:pointer; transition:all .2s; text-align:center;
}
.payment-method-card:hover    { border-color:rgba(255,255,255,.3); }
.payment-method-card.selected { border-color:var(--accent); background:rgba(29,78,216,.15); }
.payment-icon  { font-size:1.75rem; margin-bottom:.35rem; }
.payment-label { font-size:.8rem; font-weight:600; }
.payment-form  { display:none; }
.payment-form.active { display:block; animation:fadeIn .2s ease; }
.payment-input {
  width:100%; padding:.7rem 1rem;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.15);
  border-radius:8px; color:var(--white); font-size:.9rem; font-family:inherit;
  margin-bottom:.75rem;
}
.payment-input:focus { outline:none; border-color:var(--accent); }
.payment-input::placeholder { color:rgba(255,255,255,.35); }
.payment-row   { display:grid; grid-template-columns:2fr 1fr; gap:.75rem; }
.vat-breakdown {
  background:rgba(255,255,255,.04); border-radius:10px;
  padding:1rem; margin-bottom:1.25rem; font-size:.85rem;
}
.vat-row { display:flex; justify-content:space-between; padding:.25rem 0; }
.vat-row.total { font-weight:700; font-size:.95rem; border-top:1px solid rgba(255,255,255,.1); margin-top:.5rem; padding-top:.5rem; }
.iban-box {
  background:rgba(255,255,255,.06); border:1px dashed rgba(255,255,255,.2);
  border-radius:10px; padding:1rem; font-family:monospace; font-size:.9rem;
  word-break:break-all; margin-bottom:1rem;
}

/* ══════════════════════════════════════════════════════════════
   ROLE BADGE
══════════════════════════════════════════════════════════════ */
.role-badge {
  display:inline-block; padding:.15rem .55rem; border-radius:100px;
  font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
}

/* ══════════════════════════════════════════════════════════════
   ADMIN CONFIG TABLES
══════════════════════════════════════════════════════════════ */
.config-card {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:12px; padding:1.25rem; margin-bottom:1rem;
}
.config-card-header {
  display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem;
}
.config-card-header h3 { font-size:.95rem; margin:0; }
.config-item-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:.6rem .75rem; border-radius:8px; transition:background .15s;
  gap:.75rem;
}
.config-item-row:hover { background:rgba(255,255,255,.04); }
.config-item-info { flex:1; min-width:0; }
.config-item-name { font-size:.87rem; font-weight:600; }
.config-item-desc { font-size:.75rem; color:var(--text-muted); }
.config-item-cost {
  background:rgba(29,78,216,.2); color:var(--accent);
  padding:.15rem .5rem; border-radius:100px; font-size:.75rem; font-weight:700; white-space:nowrap;
}
.config-item-actions { display:flex; gap:.4rem; flex-shrink:0; }
.btn-icon {
  background:rgba(255,255,255,.08); border:none; border-radius:6px;
  color:var(--text-muted); cursor:pointer; padding:.3rem .5rem;
  font-size:.8rem; transition:all .2s;
}
.btn-icon:hover { background:rgba(239,68,68,.2); color:#f87171; }
.btn-icon.edit:hover { background:rgba(59,130,246,.2); color:var(--accent); }

/* ══════════════════════════════════════════════════════════════
   INLINE FORM (admin config add-form)
══════════════════════════════════════════════════════════════ */
.inline-form {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1);
  border-radius:10px; padding:1rem; margin-top:.75rem; display:none;
}
.inline-form.open { display:block; animation:fadeIn .2s ease; }
.inline-form-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:.6rem; margin-bottom:.75rem; }
.inline-form label { font-size:.75rem; color:var(--text-muted); display:block; margin-bottom:.25rem; }
.inline-form input, .inline-form select, .inline-form textarea {
  width:100%; padding:.55rem .75rem;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12);
  border-radius:7px; color:var(--white); font-size:.85rem; font-family:inherit;
}
.inline-form input:focus, .inline-form select:focus, .inline-form textarea:focus {
  outline:none; border-color:var(--accent);
}
.inline-form input::placeholder, .inline-form textarea::placeholder { color:rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════════════════════
   ADMIN DASHBOARD CHART
══════════════════════════════════════════════════════════════ */
.admin-chart-wrap {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:12px; padding:1.25rem; margin-bottom:1.5rem; max-height:260px;
}

/* ══════════════════════════════════════════════════════════════
   KONFIGURATOR – Step 5 cost summary
══════════════════════════════════════════════════════════════ */
.cost-breakdown-table {
  width:100%; border-collapse:collapse; font-size:.875rem; margin-bottom:1.25rem;
}
.cost-breakdown-table td { padding:.5rem .6rem; border-bottom:1px solid rgba(255,255,255,.06); }
.cost-breakdown-table tr:last-child td { border-bottom:none; font-weight:700; font-size:.95rem; }
.cost-breakdown-table .cr { color:var(--accent); font-weight:700; text-align:right; }

/* ══════════════════════════════════════════════════════════════
   PORTAL – Dealer panel
══════════════════════════════════════════════════════════════ */
.dealer-stat { background:rgba(139,92,246,.1); border:1px solid rgba(139,92,246,.25); border-radius:10px; padding:.85rem; text-align:center; }
.dealer-stat-val { font-size:1.6rem; font-weight:800; color:#a78bfa; }
.dealer-stat-label { font-size:.75rem; color:var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   VIN DECODER
══════════════════════════════════════════════════════════════ */
.vin-row { display:flex; gap:.5rem; margin-bottom:1rem; }
.vin-row input { flex:1; }
.vin-result {
  background:rgba(74,222,128,.08); border:1px solid rgba(74,222,128,.2);
  border-radius:8px; padding:.75rem 1rem; font-size:.82rem;
  margin-bottom:.75rem; display:none;
}
.vin-result.visible { display:block; }
.vin-error {
  background:rgba(239,68,68,.08); border:1px solid rgba(239,68,68,.25);
  border-radius:8px; padding:.75rem 1rem; font-size:.82rem;
  margin-bottom:.75rem; color:#fca5a5; display:none;
}
.vin-error.visible { display:block; }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes slideDown {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}

/* Autocomplete dropdown */
.autocomplete-wrap { position:relative; }
.autocomplete-list {
  position:absolute; top:100%; left:0; right:0; z-index:200;
  background:rgba(10,22,45,.98); border:1px solid rgba(59,130,246,.25);
  border-radius:0 0 10px 10px; max-height:200px; overflow-y:auto;
  box-shadow:0 8px 32px rgba(0,0,0,.5);
}
.autocomplete-item {
  padding:.55rem 1rem; cursor:pointer; font-size:.88rem; transition:background .1s;
}
.autocomplete-item:hover { background:rgba(29,78,216,.25); color:var(--white); }

/* Step progress indicator completed */
.config-step.completed .step-number { background:var(--accent); color:#fff; }

/* Chat bubble directional layout (left = user, right = admin/support) */
.chat-bubble.left,
.chat-bubble.right {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .87rem;
  line-height: 1.55;
  margin-bottom: .25rem;
}
.chat-bubble.left {
  align-self: flex-start;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-bottom-left-radius: 4px;
}
.chat-bubble.right {
  align-self: flex-end;
  background: rgba(29,78,216,.2);
  border: 1px solid rgba(59,130,246,.25);
  border-bottom-right-radius: 4px;
}
.chat-bubble.right .chat-meta { text-align: right; }

/* Chat input row */
.chat-input-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.chat-input-row input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: .55rem .9rem;
  color: var(--white);
  font-family: inherit;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
}
.chat-input-row input:focus { border-color: rgba(59,130,246,.5); }

/* Admin dashboard chart grid responsive */
@media (max-width: 768px) {
  .admin-page > div > div[style*="grid-template-columns:1fr 1fr"],
  .admin-page .config-card + .config-card { margin-top: 1rem; }
}

/* ── Site-wide mini footer ── */
.site-footer {
  background: #070f1e;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.1rem 2rem;
  margin-top: auto;
}
.site-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .8rem;
  color: #64748b;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer .footer-links {
  display: flex;
  gap: 1.2rem;
}
.site-footer .footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: .8rem;
  transition: color .2s;
}
.site-footer .footer-links a:hover { color: #e2e8f0; }

/* ── Orders table (portal Bestellübersicht) ── */
.orders-table-wrap { overflow-x: auto; }
.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.orders-table th {
  text-align: left;
  padding: .55rem .9rem;
  color: #64748b;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}
.orders-table td {
  padding: .6rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: middle;
}
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: rgba(255,255,255,.02); }
