:root {
  /* Colors - Base */
  --color-bg-dark: #050a14;
  --color-bg-panel: #0b1526;
  --color-text: #ffffff;
  --color-text-dim: #b0c4de;
  --color-border: #1e3a5f;

  /* Global Default Vars */
  --bg-color: var(--color-bg-dark);
  --text-color: var(--color-text);

  /* Color Palette */
  --color-cyan: #00f0ff;
  --color-green: #00ff66;
  --color-gold: #ffcc00;
  --color-red: #ff3333;
  --color-navy: #040e24;
  --color-orange: #ff6600;
  --color-skill-blue: #0099ff;
  /* New Skill Blue */
  --color-skill-cyan: #00daff;

  /* Theme Colors */
  --color-primary: var(--color-cyan);
  --color-training: var(--color-green);
  --color-diagnostics: var(--color-green);

  /* Current Theme Variable (Default) */
  --theme-color: var(--color-primary);

  /* Spacing */
  --spacing-sm: 8px;
  --container-width: 1280px;
  --header-height: 80px;

  /* ... skipping base styles ... */
  /* Theme Overrides */
  body.theme-diagnostics {
    --color-primary: var(--color-red);
    /* Override primary to Red */
    --theme-color: var(--color-red);
  }

  body.theme-training {
    --color-primary: var(--color-orange);
    --theme-color: var(--color-orange);
  }

  body.theme-teaching {
    --color-primary: var(--color-skill-cyan);
    --theme-color: var(--color-skill-cyan);
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: linear-gradient(to bottom, rgba(4, 14, 36, 0.95), rgba(4, 14, 36, 0.98));
    /* Fallback/Overlay handled in individual pages if needed */
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }

  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Typography */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .text-primary {
    color: var(--color-primary);
  }

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

  .text-green {
    color: var(--color-green);
  }

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

  .text-red {
    color: var(--color-red);
  }

  .text-orange {
    color: var(--color-orange);
  }

  .text-white {
    color: #fff;
  }

  .text-muted {
    color: var(--color-muted);
  }

  .text-muted-foreground {
    color: var(--color-muted-foreground);
  }

  .font-bold {
    font-weight: 700;
  }

  .font-heading {
    font-family: var(--font-heading);
  }

  .font-mono {
    font-family: var(--font-mono);
  }

  .font-tech {
    font-family: var(--font-tech);
  }

  .text-center {
    text-align: center;
  }

  .text-xl {
    font-size: 1.25rem;
  }

  .text-2xl {
    font-size: 1.5rem;
  }

  .text-3xl {
    font-size: 1.875rem;
  }

  .text-4xl {
    font-size: 2.25rem;
  }

  .text-5xl {
    font-size: 3rem;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .tracking-wider {
    letter-spacing: 0.05em;
  }

  /* Layout Utilities */
  .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
  }

  .flex {
    display: flex;
  }

  .flex-col {
    flex-direction: column;
  }

  .items-center {
    align-items: center;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

  .gap-2 {
    gap: 0.5rem;
  }

  .gap-4 {
    gap: 1rem;
  }

  .gap-6 {
    gap: 1.5rem;
  }

  .gap-8 {
    gap: 2rem;
  }

  .gap-12 {
    gap: 3rem;
  }

  .grid {
    display: grid;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  @media (max-width: 768px) {
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 768px) {
    .md\:flex {
      display: flex;
    }

    .md\:hidden {
      display: none;
    }

    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .hidden {
    display: none;
  }

  .block {
    display: block;
  }

  .inline-block {
    display: inline-block;
  }

  .py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .mb-4 {
    margin-bottom: 1rem;
  }

  .mb-8 {
    margin-bottom: 2rem;
  }

  .mb-16 {
    margin-bottom: 4rem;
  }

  /* Components */

  /* Header */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    background: transparent;
  }

  .site-header.scrolled {
    background: rgba(4, 14, 36, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

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

  .logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--color-primary);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
    border-radius: 4px;
  }

  .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: #fff;
  }

  /* Navigation */
  .main-nav {
    display: none;
  }

  @media (min-width: 768px) {
    .main-nav {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .main-nav ul {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
  }

  .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted-foreground);
  }

  .nav-link:hover {
    color: var(--color-primary);
  }

  .nav-cta {
    background-color: var(--color-primary);
    color: var(--color-navy);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
  }

  .nav-cta:hover {
    opacity: 0.9;
  }

  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  @media (min-width: 768px) {
    .mobile-menu-btn {
      display: none;
    }
  }

  /* Mobile Menu Overlay */
  /* Mobile Menu Overlay */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 10, 20, 0.98);
    z-index: 999;
    display: none;
    /* Force hidden */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(10px);
  }

  .mobile-menu.active {
    display: flex;
    /* Show only when active */
    opacity: 1;
    /* Reset just in case */
    visibility: visible;
  }

  .mobile-menu .nav-link {
    font-size: 1.5rem;
    color: white;
  }

  .mobile-menu .nav-link:hover {
    color: var(--theme-color);
  }

  .service-card-train::before {
    background-image: url('../images/hero-card-train.jpg');
  }

  .service-card-teach::before {
    background-image: url('../images/hero-card-teach.jpg');
  }

  .hero-card-link:hover::before {
    opacity: 0.7;
    transform: scale(1.05);
  }

  .hero-card-link .icon,
  .hero-card-link .text {
    position: relative;
    z-index: 1;
  }

  .hero-card-link:hover {
    border-color: var(--theme-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    background: rgba(11, 21, 38, 0.9);
  }

  .hero-card-link .icon {
    font-size: 2rem;
  }

  .hero-card-link .label {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    letter-spacing: 0.1em;
  }

  .hero-card-link .desc {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-top: 4px;
  }

  /* Sub-Page Hero */
  .sub-hero {
    padding: 180px 0 100px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
  }

  .sub-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.7) 0%, var(--color-bg-dark) 100%);
    z-index: 1;
  }

  .sub-hero .container {
    position: relative;
    z-index: 2;
  }

  .tag-label {
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 24px;
    text-transform: uppercase;
  }

  .page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }

  /* Sections & Cards */
  .panel {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 40px;
  }

  .card-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .icon-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s;
  }

  .icon-card:hover {
    border-color: var(--theme-color);
    background: rgba(255, 255, 255, 0.05);
  }

  .num-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
  }

  .btn-primary {
    background-color: var(--theme-color);
    color: #000;
    border: none;
  }

  .btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 15px var(--theme-color);
  }

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

  .btn-outline:hover {
    background: var(--theme-color);
    color: #000;
  }

  /* Footer */
  .site-footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid #111;
  }

  .footer-heading {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .footer-links a {
    font-size: 0.9rem;
    color: #666;
  }

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

  .copyright {
    margin-top: 60px;
    text-align: center;
    font-size: 0.8rem;
    color: #444;
  }

  /* Responsive */
  @media (max-width: 900px) {
    .hero-title {
      font-size: 2rem;
    }

    .page-title {
      font-size: 2rem;
    }

    .site-nav {
      display: none;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      background: var(--color-bg-dark);
      padding: 20px;
      border-bottom: 1px solid #333;
    }

    .site-nav.open {
      display: block;
    }

    .site-nav ul {
      flex-direction: column;
      gap: 20px;
    }

    .mobile-menu-btn {
      display: block;
    }

    .hero-actions {
      flex-direction: column;
      align-items: center;
    }
  }

  /* --- Advanced Service Section Styles --- */
  .service-row {
    display: flex;
    flex-wrap: wrap;
    min-height: 480px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .service-row.reverse {
    flex-direction: row-reverse;
  }

  /* Image Column */
  .service-img-col {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    background-color: #000;
    min-height: 300px;
  }

  /* We use a pseudo-element for the image to scale it without affecting layout */
  .service-img-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: inherit;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
  }

  /* Zoom on hover */
  .service-row:hover .service-img-col::before {
    transform: scale(1.08);
  }

  /* Overlay for better text integration visually */
  .service-img-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 10, 20, 0.8) 0%, rgba(5, 10, 20, 0) 50%);
    pointer-events: none;
  }

  /* Text Column */
  .service-text-col {
    flex: 1;
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: background 0.5s ease;
  }

  /* Richer Gradients */
  .bg-gradient-right {
    background: radial-gradient(circle at 100% 50%, rgba(0, 17, 0, 0.4) 0%, rgba(5, 10, 20, 1) 100%);
  }

  .service-row:nth-child(1) .service-text-col {
    /* Diagnostics */
    background: linear-gradient(135deg, rgba(5, 10, 20, 1) 0%, rgba(0, 255, 102, 0.15) 100%);
  }

  .service-row:nth-child(2) .service-text-col {
    /* Training */
    background: linear-gradient(225deg, rgba(5, 10, 20, 1) 0%, rgba(255, 204, 0, 0.15) 100%);
  }

  .service-row:nth-child(3) .service-text-col {
    /* Teaching */
    background: linear-gradient(135deg, rgba(5, 10, 20, 1) 0%, rgba(0, 240, 255, 0.15) 100%);
  }

  .service-category {
    font-family: var(--font-en);
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 0 10px currentColor;
    /* Neon glow for text */
  }

  .service-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
  }

  .service-desc {
    color: var(--color-text-dim);
    margin-bottom: 45px;
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .service-actions {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .link-partner {
    color: white;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 4px;
  }

  .link-partner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
  }

  .link-partner:hover::after {
    width: 100%;
  }

  /* Button Shine Effect */
  .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
  }

  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
  }

  .btn:hover::before {
    left: 100%;
  }

  /* --- Teaching Page (Blue Theme) Specifics --- */

  /* Header Override for Dark Theme */
  /* Header Override for Dark Theme - Specifity Boosted */
  body.theme-teaching .site-header .nav-link,
  body.theme-teaching .site-header .logo-text,
  body.theme-teaching .site-header .container .main-nav ul li a.nav-link {
    color: white !important;
  }

  body.theme-teaching .site-header .nav-link:hover {
    opacity: 0.8;
  }

  body.theme-teaching .site-header.scrolled .nav-link,
  body.theme-teaching .site-header.scrolled .logo-text {
    color: var(--color-text-main);
    /* Revert to dark on scroll if background becomes white */
  }

  /* Hero */
  .teaching-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: #050a14;
    /* Ensure base color is dark */
  }

  .teaching-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .teaching-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Focus on top-center */
    opacity: 0.7;
    /* Increased visibility */
  }

  .teaching-hero-gradient {
    position: absolute;
    inset: 0;
    /* Much lighter gradient to let image show through */
    background: linear-gradient(to right, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.4) 50%, rgba(5, 10, 20, 0.2) 100%);
    z-index: 1;
  }

  /* --- Top Page Specifics --- */

  /* 1. Hero Section */
  .top-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }

  .top-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .top-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
  }

  .top-hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-dark), rgba(5, 10, 20, 0.8), transparent);
  }

  .top-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid var(--color-cyan);
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-cyan);
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    color: white;
  }

  .hero-description {
    font-size: 1.1rem;
    color: var(--color-text-dim);
    max-width: 800px;
    margin-bottom: 48px;
    line-height: 1.8;
  }

  @media (min-width: 768px) {
    .hero-title {
      font-size: 4.5rem;
    }
  }

  /* Service Nav (Cards in Hero) */
  .top-service-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: 1024px;
  }

  @media (min-width: 768px) {
    .top-service-nav {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .nav-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    display: block;
    height: 100%;
  }

  .nav-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
  }

  .nav-card.highlight-cyan:hover {
    border-color: var(--color-cyan);
  }

  .nav-card.highlight-green:hover {
    border-color: var(--color-green);
  }

  .nav-card.highlight-gold:hover {
    border-color: var(--color-gold);
  }

  .nav-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .icon-lg {
    width: 32px;
    height: 32px;
  }

  .icon-sm {
    width: 20px;
    height: 20px;
  }

  .nav-card.highlight-cyan .icon-lg {
    color: var(--color-cyan);
  }

  .nav-card.highlight-green .icon-lg {
    color: var(--color-green);
  }

  .nav-card.highlight-gold .icon-lg {
    color: var(--color-gold);
  }

  .nav-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
  }

  .nav-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-dim);
  }

  /* Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }

  .scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-cyan), transparent);
    margin-bottom: 8px;
  }

  .scroll-indicator .text {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-muted-foreground);
  }

  /* 2. Concept Section */
  .top-concept {
    padding: 100px 0;
    overflow: hidden;
  }

  .concept-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
  }

  @media (min-width: 900px) {
    .concept-layout {
      grid-template-columns: 1fr 1fr;
    }
  }

  .concept-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-red);
    border: 1px solid var(--color-red);
    background: rgba(255, 51, 51, 0.1);
    margin-bottom: 24px;
  }

  .concept-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .concept-desc {
    font-size: 1.1rem;
    color: var(--color-text-dim);
    margin-bottom: 40px;
  }

  .concept-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .concept-items .item {
    display: flex;
    gap: 20px;
  }

  .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
  }

  .icon-box.icon-cyan {
    color: var(--color-cyan);
  }

  .icon-box.icon-green {
    color: var(--color-green);
  }

  .icon-box.icon-gold {
    color: var(--color-gold);
  }

  .concept-items h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
  }

  .concept-items p {
    font-size: 0.9rem;
    color: var(--color-text-dim);
  }

  /* 3. Service Sections */
  .top-service-section {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 600px;
  }

  @media (min-width: 900px) {
    .top-service-section {
      grid-template-columns: 1fr 1fr;
      height: 600px;
    }

    .top-service-section.reverse .service-media {
      order: 2;
    }
  }

  .service-media {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  @media (min-width: 900px) {
    .service-media {
      height: 100%;
    }
  }

  .service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0.4);
  }

  .service-content {
    padding: 60px 40px;
    background: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service-number {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: block;
  }

  .service-name {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 16px;
  }

  .service-sub {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
  }

  .service-text {
    font-size: 1rem;
    color: var(--color-text-dim);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
  }

  .service-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .btn-main {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 700;
    color: var(--color-bg-dark);
    border-radius: 4px;
    transition: all 0.3s;
  }

  .btn-main.theme-cyan {
    background: var(--color-cyan);
  }

  .btn-main.theme-green {
    background: var(--color-green);
  }

  .btn-main.theme-gold {
    background: var(--color-gold);
  }

  .btn-main:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 15px currentColor;
  }

  .link-sub {
    color: white;
    font-size: 0.9rem;
    border-bottom: 1px solid white;
    padding-bottom: 2px;
  }

  .link-sub:hover {
    opacity: 0.8;
  }

  /* 4. News Section */
  .top-news {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-border);
  }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
  }

  .view-all {
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  @media (min-width: 768px) {
    .news-list {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .news-item {
    border: 1px solid var(--color-border);
    padding: 24px;
    transition: border-color 0.3s;
  }

  .news-item:hover {
    border-color: var(--color-cyan);
  }

  .news-item .category {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-bottom: 12px;
  }

  .news-item .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .news-item .date {
    font-size: 0.85rem;
    color: var(--color-text-dim);
  }

  /* 5. Partner Section */
  .top-partners {
    padding: 100px 0;
  }

  .partner-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid var(--color-cyan);
  }

  .partner-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
  }

  .partner-box p {
    color: var(--color-text-dim);
    margin-bottom: 32px;
    line-height: 1.8;
  }

  /* Highlight Colors Helpers */
  .highlight-cyan {
    color: var(--color-cyan);
  }

  .highlight-green {
    color: var(--color-green);
  }

  .highlight-gold {
    color: var(--color-gold);
  }

  .highlight-red {
    color: var(--color-red);
  }

  /* Footer Layout specific */
  .footer-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
  }

  @media (min-width: 768px) {
    .footer-layout {
      grid-template-columns: 2fr 1fr 1fr 1fr;
    }
  }

  .footer-brand .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .footer-brand img {
    height: 32px;
  }

  .footer-brand span {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    color: white;
    letter-spacing: 0.1em;
  }

  .footer-links h4,
  .footer-contact h4 {
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .footer-links ul li {
    margin-bottom: 8px;
  }

  .footer-links a {
    color: var(--color-text-dim);
    transition: color 0.2s;
  }

  .footer-links a:hover {
    color: white;
  }

  .btn-footer {
    display: block;
    width: 100%;
    padding: 10px;
    background: white;
    color: var(--color-bg-dark);
    text-align: center;
    font-weight: 700;
    border-radius: 4px;
  }

  .copyright {
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
    text-align: center;
    color: var(--color-text-dim);
    font-size: 0.8rem;
  }

  /* Forms */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s, background 0.3s;
  }

  input:focus,
  textarea:focus {
    outline: none;
    border-color: var(--theme-color, var(--color-primary));
    background: rgba(0, 0, 0, 0.4);
  }

  label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
  }

  input[type="checkbox"] {
    accent-color: var(--theme-color, var(--color-primary));
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
  }

  .checkbox-card {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    padding: 15px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
    border-radius: 4px;
  }

  .checkbox-card:hover {
    border-color: var(--theme-color, var(--color-primary));
    background: rgba(255, 255, 255, 0.08);
  }

  .checkbox-card input {
    margin-right: 12px;
  }

  .form-group {
    margin-bottom: 24px;
  }

  .required-mark {
    color: #ff3333;
    margin-left: 4px;
  }

  /* Modal */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
  }

  .modal-overlay.hidden {
    display: none;
  }

  .modal-content {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  }

  /* Footer Grid */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
    text-align: left;
  }

  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .modal-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  /* --- Partner Page Specifics --- */
  .partner-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--color-bg-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
  }

  .partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
      linear-gradient(to bottom, rgba(5, 10, 20, 0.9), rgba(5, 10, 20, 0.7)),
      url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: 0;
  }

  .partner-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
  }

  @media (min-width: 900px) {
    .partner-hero-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .partner-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: white;
  }

  .partner-hero-content h1 .highlight {
    color: var(--color-cyan);
  }

  @media (min-width: 768px) {
    .partner-hero-content h1 {
      font-size: 3.5rem;
    }
  }

  .partner-hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.3);
  }

  /* Concept Section */
  .partner-concept-section {
    padding: 120px 0;
    background: var(--color-bg-dark);
  }

  .concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 80px;
  }

  @media (min-width: 768px) {
    .concept-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .concept-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Increased visibility */
    border-radius: 12px;
    padding: 60px 40px;
    /* Increased padding */
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 320px;
    /* Ensure uniform height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .concept-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-green);
  }

  .concept-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(50, 255, 100, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    border: 1px solid var(--color-green);
  }

  .concept-card h3 {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  /* Feature Split Section */
  .feature-split {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
  }

  @media (min-width: 900px) {
    .feature-split {
      grid-template-columns: 1fr 1fr;
    }

    .feature-split.reverse .feature-media {
      order: 2;
    }
  }

  .feature-media img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
  }

  .feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
  }

  /* Comparison Section */
  .comparison-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 100px 0;
  }

  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
  }

  @media (min-width: 768px) {
    .comparison-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .comparison-box {
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
  }

  .comparison-box.old {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .comparison-box.new {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--color-cyan);
    position: relative;
    overflow: hidden;
  }

  .comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
  }

  .comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--color-text-dim);
  }

  /* Benefits Grid */
  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
  }

  @media (min-width: 768px) {
    .benefits-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s;
  }

  .benefit-card:hover {
    border-color: var(--color-green);
    transform: translateY(-5px);
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--color-green);
  }

  .benefit-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
  }

  /* CTA Footer */
  .partner-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(rgba(5, 10, 20, 0.9), rgba(5, 10, 20, 0.9)), url('../images/hero-bg.jpg') center/cover fixed;
  }

  .partner-cta h2 {
    font-size: 2.5rem;
    /* Ensure size */
    line-height: 1.6;
    /* Increased line height */
    margin-bottom: 40px;
    /* Increased spacing */
    color: white;
  }

  .partner-cta p {
    font-size: 1.25rem;
    line-height: 2.0;
    /* Relaxed reading experience */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    /* More space before buttons */
  }

  .partner-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
  }

  @media (min-width: 768px) {
    .partner-cta-buttons {
      flex-direction: row;
      align-items: center;
    }
  }

  .partner-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }

  @media (min-width: 768px) {
    .partner-steps {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .partner-step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 50px;
    justify-content: flex-start;
    /* Left align content inside pill */
  }

  @media (min-width: 768px) {
    .partner-step-item {
      justify-content: center;
      /* Center align on desktop */
    }
  }

  .step-number {
    width: 32px;
    height: 32px;
    background: var(--color-green);
    color: #000;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .step-text {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
  }

  /* =========================================
   Teaching Page Semantic Overrides (FIX)
   ========================================= */

  /* Background Utilities */
  .bg-dark-navy {
    background-color: #050a14;
  }

  .bg-dark-panel {
    background-color: #081220;
  }

  .bg-gradient-hero {
    background: linear-gradient(to bottom, #050a14, #02050a);
  }

  /* Typography Utilities */
  .text-skill-cyan {
    color: #00daff;
  }

  .text-skill-blue {
    color: #0099ff;
  }

  .text-white {
    color: white !important;
  }

  .text-text-dim {
    color: #b0c4de;
  }

  .font-bold {
    font-weight: 700;
  }

  /* Section Spacing */
  .section-padding {
    padding: 100px 0;
  }

  /* Problem Icons */
  .problem-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 218, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
  }

  .problem-icon-wrapper i {
    color: #00daff;
    width: 20px;
    height: 20px;
  }

  /* List Spacing */
  .space-y-6>*+* {
    margin-top: 24px;
  }

  /* Layout Utilities (Re-enforcing) */
  .teaching-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
  }

  @media (min-width: 900px) {
    .teaching-grid-2 {
      grid-template-columns: 1fr 1fr;
    }
  }

  .teaching-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  @media (min-width: 900px) {
    .teaching-grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  /* Analysis Section Specifics */
  .analysis-header {
    margin-bottom: 64px;
    text-align: center;
  }

  /* Buttons (Teaching Specific) */
  .btn-teaching-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #00daff, #0099ff);
    color: white;
    padding: 16px 40px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(0, 218, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
  }

  .btn-teaching-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 218, 255, 0.6);
    color: white;
  }

  /* Footer Fixes */
  /* The original .footer-grid and its media query are removed from here */

  /* Fix for raw Tailwind classes in HTML that might persist */
  .bg-\[\#050a14\] {
    background-color: #050a14;
  }

  .bg-\[\#081220\] {
    background-color: #081220;
  }

  .text-\[\#00daff\] {
    color: #00daff;
  }

  /* Teaching layout fixes */
  .teaching-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
  }

  /* Prevent full-width stretching on mobile unless explicitly desired, but center is better */
  .teaching-actions .btn-teaching-primary {
    width: auto;
    max-width: 100%;
  }

  /* Ensure footer grid doesn't collapse weirdly */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
    text-align: left;
    width: 100%;
  }

  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 48px;
    }
  }

  /* --- Diagnostics Page (Red Theme) Specifics --- */

  /* Header Override for Diagnostics Theme */
  body.theme-diagnostics .site-header .nav-link,
  body.theme-diagnostics .site-header .logo-text,
  body.theme-diagnostics .site-header .container .main-nav ul li a.nav-link {
    color: white !important;
  }

  body.theme-diagnostics .site-header .mobile-menu-btn {
    color: white !important;
  }

  body.theme-diagnostics .site-header .nav-link:hover {
    color: var(--color-red) !important;
    opacity: 1;
  }

  /* --- Training Page (Orange Theme) Specifics --- */
  .training-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .training-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 10, 0, 0.8) 100%);
    z-index: 1;
  }

  .training-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .training-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
  }

  .text-gradient-orange {
    background: linear-gradient(90deg, #ff6600, #ff9933);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .training-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 4px;
    color: #ff6600;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
  }

  /* Iceberg Section Refinement */
  .iceberg-section {
    position: relative;
    padding: 80px 0;
    background: #050a14;
    overflow: hidden;
  }

  /* Override btn-training-primary to Orange */
  .btn-training-primary {
    background: var(--color-orange);
    color: var(--color-navy);
    border: none;
    font-weight: 700;
  }

  .btn-training-primary:hover {
    background: #ff8533;
    color: var(--color-navy);
  }

  /* Risk Cards */
  .risk-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 51, 51, 0.2);
    padding: 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .risk-card:hover {
    border-color: rgba(255, 51, 51, 0.6);
    background: rgba(255, 51, 51, 0.05);
    transform: translateY(-4px);
  }

  .risk-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 51, 51, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ff3333;
  }

  /* Step List (Solution) */
  .solution-step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
  }

  .solution-step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 51, 51, 0.5);
  }

  .solution-step-content h4 {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 8px;
  }

  /* Plan Cards */
  .plan-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.3s;
  }

  .plan-card.featured {
    background: rgba(255, 51, 51, 0.05);
    border: 2px solid #ff3333;
    transform: scale(1.02);
    z-index: 10;
  }

  .plan-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff3333;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 16px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    font-family: var(--font-mono);
  }

  .plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-dim);
    margin-left: 4px;
  }

  .check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--color-text-dim);
  }

  .check-list li i {
    color: #ff3333;
    flex-shrink: 0;
  }

  /* Buttons */
  .btn-diagnostics-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, #ff3333, #bd0000);
    color: white;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.2s;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 51, 51, 0.3);
  }

  .btn-diagnostics-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 51, 51, 0.5);
    color: white;
  }

  /* FAQ Accordion */
  .faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .faq-q {
    font-weight: 700;
    color: white;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
  }

  .faq-mark {
    color: #ff3333;
  }

  /* --- Contact Page Specifics --- */
  .contact-page-section {
    padding: 80px 0 120px;
  }

  .contact-header {
    text-align: center;
    margin-bottom: 64px;
  }

  .contact-header-subtitle {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    color: var(--color-cyan);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
  }

  .contact-header-text {
    color: var(--color-text-dim);
  }

  .contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
  }

  @media (min-width: 768px) {
    .contact-form-container {
      padding: 60px;
    }
  }

  .contact-form-group {
    margin-bottom: 32px;
  }

  .contact-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    font-size: 0.95rem;
  }

  .contact-form-group input[type="text"],
  .contact-form-group input[type="email"],
  .contact-form-group input[type="tel"],
  .contact-form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 4px;
    color: white;
    font-family: inherit;
    transition: all 0.2s;
  }

  .contact-form-group input:focus,
  .contact-form-group textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    background: rgba(0, 218, 255, 0.05);
  }

  .required-mark {
    color: #ff3333;
    margin-left: 4px;
  }

  .contact-label-hint {
    font-weight: normal;
    font-size: 0.8rem;
    color: var(--color-text-dim);
  }

  .contact-textarea-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-top: 4px;
  }

  /* Checkbox Grid */
  .checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  @media (min-width: 640px) {
    .checkbox-group {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .checkbox-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
  }

  .checkbox-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-cyan);
  }

  .checkbox-card input[type="checkbox"] {
    accent-color: var(--color-cyan);
    width: 18px;
    height: 18px;
  }

  /* Spam Check */
  .spam-check-box {
    background: rgba(0, 218, 255, 0.05);
    border: 1px solid rgba(0, 218, 255, 0.1);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 40px;
  }

  .spam-check-box h3 {
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .spam-check-desc {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-bottom: 16px;
  }

  .spam-calc-container {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .spam-calc-num {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
  }

  .spam-calc-op {
    color: var(--color-cyan);
    font-weight: bold;
  }

  .spam-calc-input {
    width: 80px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px;
    padding: 4px;
  }

  .btn-contact-submit {
    background: var(--color-cyan);
    color: var(--color-navy);
    padding: 16px 48px;
    width: 100%;
    max-width: 300px;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 9999px;
    box-shadow: 0 0 20px rgba(0, 218, 255, 0.3);
  }

  .btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 218, 255, 0.5);
  }

  /* Modal Styling */
  .modal-confirm-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: white;
  }

  .modal-confirm-label {
    font-weight: bold;
    display: block;
    color: var(--color-cyan);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }

  /* Utilities */
  .text-cyan {
    color: var(--color-cyan) !important;
  }