/* ==========================================================================
   angielski4me.pl - Master Theme Stylesheet
   Theme based on official business card design (malgosia.pdf & karola_en.pdf)
   Palette: Midnight Navy, Luminous Wave Blues, Vivid Electric Orange (#FF7900)
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --bg-deep: #051329;
  --bg-dark: #081d3b;
  --bg-card: rgba(10, 32, 64, 0.75);
  --bg-card-hover: rgba(14, 44, 86, 0.88);
  --bg-surface: #0a254a;
  --bg-light-tint: rgba(88, 156, 219, 0.08);

  --primary: #09284C;
  --primary-light: #174D85;
  --primary-lighter: #2B67AB;
  --accent-cyan: #589cdb;
  --accent-sky: #70b5f2;
  
  /* Electric Orange Accent */
  --orange: #FF7900;
  --orange-light: #FF922D;
  --orange-dark: #D96500;
  --orange-glow: rgba(255, 121, 0, 0.4);

  /* Borders & Highlights */
  --border-subtle: rgba(88, 156, 219, 0.18);
  --border-hover: rgba(255, 121, 0, 0.45);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-accent: #FF7900;

  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations & Shadows */
  --shadow-card: 0 10px 30px -5px rgba(2, 10, 24, 0.6), 0 0 0 1px var(--border-subtle);
  --shadow-hover: 0 20px 40px -10px rgba(2, 10, 24, 0.8), 0 0 25px rgba(88, 156, 219, 0.25);
  --shadow-orange: 0 8px 25px rgba(255, 121, 0, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Wave & Mesh Light */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(27, 87, 149, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(255, 121, 0, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(43, 103, 171, 0.25) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

/* Subtle Geometric Wave Pattern Overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* Container */
.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-wide {
  width: min(1360px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 19, 41, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(5, 19, 41, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Logo (angielski4me.pl) */
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #09284C, #174D85);
  border: 1px solid rgba(88, 156, 219, 0.3);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.brand-link:hover .brand-icon {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.brand-accent {
  color: var(--orange);
  font-weight: 900;
  text-shadow: 0 0 16px rgba(255, 121, 0, 0.6);
}

.brand-tld {
  color: var(--accent-sky);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--text-main);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--accent-sky));
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--text-white);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 650;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #FF7900 0%, #FF922D 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF8A00 0%, #FFA84D 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 121, 0, 0.55);
}

.btn-secondary {
  background: rgba(23, 77, 133, 0.35);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(23, 77, 133, 0.65);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline-orange {
  border: 1.5px solid var(--orange);
  color: var(--orange);
  background: rgba(255, 121, 0, 0.08);
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 150px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-backdrop-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content,
.hero-card-visualizer,
.location-chip-info {
  min-width: 0;
}

/* Pill Tagline matching business card */
.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(14, 44, 86, 0.7);
  border: 1px solid rgba(88, 156, 219, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tagline-badge .dot {
  width: 7px;
  height: 7px;
  background-color: var(--orange);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--orange);
}

.tagline-badge span.highlight {
  color: var(--orange);
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-sky) 70%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}

/* Location chips in Hero */
.hero-locations-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.2rem;
}

.location-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10, 37, 74, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.location-chip:hover {
  border-color: var(--orange);
  background: rgba(14, 44, 86, 0.9);
  transform: translateY(-2px);
}

.location-chip-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 121, 0, 0.15);
  color: var(--orange);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.location-chip-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.location-chip-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero Right: 3D Card Interactive Visualizer */
.hero-card-visualizer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-container-3d {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 90 / 50;
  perspective: 1200px;
  margin-bottom: 1.25rem;
}

.card-inner-3d {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(88, 156, 219, 0.3);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  border: 1px solid rgba(88, 156, 219, 0.3);
}

.card-inner-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-switcher-tabs {
  display: flex;
  gap: 8px;
  background: rgba(10, 32, 64, 0.8);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.card-tab-btn {
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 650;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: var(--transition);
}

.card-tab-btn.active {
  background: var(--orange);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

/* Shared production utilities */
[hidden] {
  display: none !important;
}

.responsive-two-column,
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--column-gap, 1.5rem);
}

.form-row {
  margin-bottom: 1.25rem;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.error-page > section {
  width: min(100%, 620px);
  text-align: center;
}

.error-page h1 {
  margin-bottom: 1rem;
  color: var(--text-white);
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.error-page p:not(.section-eyebrow) {
  margin-bottom: 2rem;
}

.cf-turnstile {
  min-height: 65px;
  margin: 0.5rem 0 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(88, 156, 219, 0.1);
  color: var(--text-main);
  font-weight: 700;
  text-align: center;
}

.form-status.success {
  border-color: rgba(112, 181, 242, 0.55);
  color: var(--accent-sky);
}

.form-status.error {
  border-color: rgba(255, 121, 0, 0.65);
  color: var(--orange-light);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .responsive-two-column,
  .form-row {
    grid-template-columns: 1fr;
  }

  .partner-contact-card {
    padding: 1.5rem !important;
  }

  .tagline-badge {
    display: flex;
    max-width: 100%;
    padding-inline: 12px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-locations-strip,
  .location-chip,
  .hero-cta-group .btn {
    width: 100%;
  }

  .location-chip {
    justify-content: flex-start;
  }

  .location-chip-info p {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Floating Status Pills */
.floating-stat {
  position: absolute;
  background: rgba(8, 29, 59, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-stat.stat-1 {
  top: -15px;
  right: -10px;
}

.floating-stat.stat-2 {
  bottom: -20px;
  left: -15px;
  animation-delay: -2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #FFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.stat-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
}

.stat-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections Global */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: rgba(6, 23, 44, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Strategic Two Locations Showcase */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-cyan));
  transition: var(--transition);
}

.location-card.poznan::before {
  background: linear-gradient(90deg, var(--orange), #FFB066);
}

.location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 156, 219, 0.4);
  box-shadow: var(--shadow-hover);
}

.location-card.poznan:hover {
  border-color: rgba(255, 121, 0, 0.5);
  box-shadow: 0 20px 40px -10px rgba(2, 10, 24, 0.8), 0 0 25px rgba(255, 121, 0, 0.2);
}

.location-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(88, 156, 219, 0.15);
  color: var(--accent-sky);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.location-card.poznan .location-badge {
  background: rgba(255, 121, 0, 0.15);
  color: var(--orange);
}

.location-city {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.location-subtitle {
  font-size: 1.05rem;
  color: var(--accent-sky);
  font-weight: 600;
}

.location-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1.25rem;
  background: rgba(6, 24, 48, 0.7);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(88, 156, 219, 0.15);
  margin-bottom: 1.75rem;
}

.person-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
  border: 2px solid var(--accent-cyan);
  display: grid;
  place-items: center;
  color: #FFF;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.location-card.poznan .person-avatar {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  border-color: #FFB066;
}

.person-meta h4 {
  font-size: 1.15rem;
  color: var(--text-white);
}

.person-meta p {
  font-size: 0.88rem;
  color: var(--orange);
  font-weight: 600;
}

.person-meta span.title-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.location-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.location-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.location-features svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-card.lodz .location-features svg {
  color: var(--accent-sky);
}

.location-contacts {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.contact-row svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.contact-row a:hover {
  color: var(--orange);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(23, 77, 133, 0.5), rgba(88, 156, 219, 0.2));
  border: 1px solid rgba(88, 156, 219, 0.3);
  display: grid;
  place-items: center;
  color: var(--orange);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent-sky);
}

/* Exam Pills Carousel / Grid */
.exams-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(9, 40, 76, 0.9), rgba(6, 23, 44, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: center;
}

.exams-banner-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.exams-banner-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.exams-chips-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.exam-chip {
  background: rgba(10, 32, 64, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  transition: var(--transition);
}

.exam-chip:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  background: rgba(14, 44, 86, 0.9);
}

.exam-chip strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text-white);
  font-family: var(--font-heading);
}

.exam-chip span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* EdTech Apps Section */
.apps-section {
  position: relative;
  overflow: hidden;
}

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

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

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

.app-card.featured {
  border-color: rgba(255, 121, 0, 0.5);
  background: linear-gradient(170deg, rgba(14, 44, 86, 0.8) 0%, rgba(10, 32, 64, 0.9) 100%);
}

.app-card.featured::after {
  content: 'NAJPOPULARNIEJSZA';
  position: absolute;
  top: 18px;
  right: -32px;
  transform: rotate(45deg);
  background: var(--orange);
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 35px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.app-badge-role {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.app-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-learn {
  background: rgba(88, 156, 219, 0.18);
  color: var(--accent-sky);
  border: 1px solid rgba(88, 156, 219, 0.3);
}

.icon-cards {
  background: rgba(255, 121, 0, 0.15);
  color: var(--orange);
  border: 1px solid rgba(255, 121, 0, 0.3);
}

.icon-studio {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.app-card-title h3 {
  font-size: 1.5rem;
  color: var(--text-white);
}

.app-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.app-features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.app-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-features-list svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.app-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Interactive Activation Box inside Apps */
.activation-showcase {
  background: linear-gradient(135deg, rgba(10, 32, 64, 0.8), rgba(6, 23, 44, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.activation-meta h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.activation-meta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

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

.activation-input-row {
  display: flex;
  gap: 8px;
}

.activation-input {
  flex-grow: 1;
  background: rgba(5, 19, 41, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  font-family: monospace;
  font-size: 1.1rem;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: none;
  transition: var(--transition);
}

.activation-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 15px rgba(255, 121, 0, 0.3);
}

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

.activation-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.activation-qr-card img {
  width: 140px;
  height: 140px;
  background: white;
  padding: 8px;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.activation-qr-card span {
  font-size: 0.85rem;
  color: var(--accent-sky);
  font-weight: 600;
}

/* Interactive Level & Goal Finder */
.finder-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.finder-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.finder-step-col h4 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 24px;
  height: 24px;
  background: var(--orange);
  color: #FFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.finder-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-btn {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-align: left;
  font-size: 0.9rem;
  font-weight: 550;
  transition: var(--transition);
}

.option-btn:hover {
  background: rgba(88, 156, 219, 0.15);
  border-color: var(--accent-cyan);
}

.option-btn.selected {
  background: rgba(255, 121, 0, 0.18);
  border-color: var(--orange);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255, 121, 0, 0.25);
}

.finder-result-panel {
  background: linear-gradient(135deg, rgba(14, 44, 86, 0.9), rgba(6, 23, 44, 0.95));
  border: 1px solid rgba(88, 156, 219, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.result-content h4 {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.result-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
}

/* Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 19, 41, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 650;
  color: #FFF;
}

/* Contact Section & Form */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-col h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.contact-info-col > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.location-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
}

.loc-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: var(--transition);
}

.loc-tab-btn.active {
  background: var(--primary-light);
  border-color: var(--accent-cyan);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.loc-tab-btn.poznan-btn.active {
  background: var(--orange);
  border-color: #FFB066;
}

.contact-details-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-map-frame {
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(5, 19, 41, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 15px rgba(255, 121, 0, 0.25);
  background: rgba(8, 29, 59, 0.95);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: #030c1a;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-dots span.dot {
  width: 4px;
  height: 4px;
  background-color: var(--orange);
  border-radius: 50%;
}

/* Stub & Detail Pages Styling */
.page-header-banner {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, rgba(6, 23, 44, 0.95), rgba(9, 40, 76, 0.9));
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-breadcrumb a:hover {
  color: var(--orange);
}

.page-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
}

.stub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 121, 0, 0.15);
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

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

.product-feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.product-feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.spec-table th,
.spec-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table th {
  color: var(--text-white);
  font-family: var(--font-heading);
}

.spec-table td {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-inline: auto;
  }
  .hero-locations-strip {
    justify-content: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-card-visualizer {
    margin-top: 2rem;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .exams-banner {
    grid-template-columns: 1fr;
  }
  .activation-showcase {
    grid-template-columns: 1fr;
  }
  .finder-steps {
    grid-template-columns: 1fr;
  }
  .finder-result-panel {
    flex-direction: column;
    text-align: center;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
  }
  .product-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(5, 19, 41, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
  }
  .mobile-toggle {
    display: flex;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .card-container-3d {
    max-width: 100%;
  }
}


/* ==========================================================================
   Strefa Partnera (White-Label Educational Software & Subscriptions)
   ========================================================================== */

.partner-section {
  position: relative;
  background: radial-gradient(circle at 75% 20%, rgba(255, 121, 0, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(27, 87, 149, 0.25) 0%, transparent 60%);
}

.partner-simulator-box {
  background: linear-gradient(135deg, rgba(9, 40, 76, 0.95), rgba(6, 23, 44, 0.98));
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 121, 0, 0.15);
}

.partner-sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.partner-input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.partner-name-input {
  width: 100%;
  padding: 1rem 1.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  background: rgba(5, 19, 41, 0.9);
  border: 2px solid var(--orange);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.partner-name-input:focus {
  box-shadow: 0 0 20px rgba(255, 121, 0, 0.5);
  border-color: #FFA033;
}

.partner-brand-mockup {
  background: rgba(5, 19, 41, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-card);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.mockup-app-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mockup-app-pill:hover {
  border-color: var(--orange);
  background: rgba(255, 121, 0, 0.08);
}

.mockup-app-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.mockup-app-name .partner-highlight {
  color: var(--orange);
  text-shadow: 0 0 10px rgba(255, 121, 0, 0.4);
}

.partner-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.partner-model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.partner-model-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-cyan);
}

.partner-model-card.featured-partner {
  border-color: var(--orange);
  background: linear-gradient(165deg, rgba(14, 44, 86, 0.85) 0%, rgba(10, 32, 64, 0.95) 100%);
}

.partner-model-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.partner-model-card h3 {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.partner-model-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.partner-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.partner-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-features-list svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .partner-sim-grid {
    grid-template-columns: 1fr;
  }
  .partner-models-grid {
    grid-template-columns: 1fr;
  }
}


/* Clean Nav Dropdown & Brand Icon Optimization */
.brand-icon {
  width: 48px !important;
  height: 40px !important;
  padding: 3px 5px !important;
}

.brand-icon img,
.brand-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(6, 23, 44, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 230px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(88, 156, 219, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  color: var(--text-main);
  white-space: nowrap;
  transition: var(--transition);
  text-align: left;
}

.nav-dropdown a::after {
  display: none !important;
}

.nav-dropdown a:hover {
  background: rgba(255, 121, 0, 0.12);
  color: var(--orange);
  padding-left: 22px;
}

/* Brand Link with Icon and Text */
.brand-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-family: var(--font-heading) !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--text-white) !important;
}
.brand-icon {
  width: 48px !important;
  height: 38px !important;
  padding: 3px 5px !important;
  background: linear-gradient(135deg, rgba(9, 40, 76, 0.95), rgba(23, 77, 133, 0.75)) !important;
  border: 1px solid rgba(88, 156, 219, 0.4) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
  flex-shrink: 0 !important;
}
.brand-link:hover .brand-icon {
  border-color: var(--orange) !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(255, 121, 0, 0.45) !important;
}

/* Card Trust Badges - positioned cleanly below with zero overlap */
.card-trust-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 1.15rem;
  width: 100%;
  max-width: 440px;
}

.card-trust-pill {
  flex: 1;
  background: rgba(8, 29, 59, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card-trust-pill:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 121, 0, 0.2);
}

.card-trust-pill .stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #FFF;
}

.card-trust-pill .stat-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-white);
  line-height: 1.2;
}

.card-trust-pill .stat-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

@media (max-width: 480px) {
  .card-trust-badges {
    flex-direction: column;
    gap: 8px;
  }
}

/* Optimized Card Switcher Tabs for 4 items */
.card-switcher-tabs {
  display: flex !important;
  gap: 6px !important;
  background: rgba(10, 32, 64, 0.88) !important;
  padding: 5px 8px !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--border-subtle) !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  max-width: 480px !important;
}

.card-tab-btn {
  padding: 5px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 650 !important;
  border-radius: var(--radius-full) !important;
  color: var(--text-muted) !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
}

.card-tab-btn.active {
  background: var(--orange) !important;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-orange) !important;
}
