/* ============================================
   TECHCLICK - Modern IT Training Website
   Premium Cybersecurity Theme
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-cyan: #00d4ff;
    --primary-purple: #7c3aed;
    --primary-pink: #ec4899;
    --primary-green: #10b981;
    --primary-gold: #f59e0b;

    /* Background */
    --bg-dark: #050508;
    --bg-darker: #020203;
    --bg-card: rgba(15, 15, 25, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-strong: rgba(255, 255, 255, 0.08);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    --gradient-hero: linear-gradient(135deg, #030305 0%, #0a0a15 30%, #0d0d1a 70%, #050508 100%);
    --gradient-card: linear-gradient(145deg, rgba(124, 58, 237, 0.08), rgba(0, 212, 255, 0.05));
    --gradient-rainbow: linear-gradient(90deg, #00d4ff, #7c3aed, #ec4899, #f59e0b, #10b981, #00d4ff);
    --gradient-mesh: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);

    /* Borders */
    --border-glow: 1px solid rgba(0, 212, 255, 0.2);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.05);

    /* Shadows */
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.25);
    --shadow-glow-strong: 0 0 60px rgba(0, 212, 255, 0.4), 0 0 120px rgba(124, 58, 237, 0.2);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);

    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

section {
    padding: 6rem 0;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(5, 5, 10, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled,
.navbar.menu-open {
    padding: 0.8rem 0;
    background: rgba(5, 5, 10, 0.95);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.navbar.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Hide on Scroll */
.navbar.nav-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.announcement-banner {
    transition: transform 0.3s ease;
}

.announcement-banner.nav-hidden {
    transform: translateY(-100%);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    height: 45px;
    width: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 10100;
    /* Always above nav-links (10002) */
    position: relative;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: relative;
}

/* Professional Hamburger Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Nav Auth Buttons */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.nav-profile-btn {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--bg-dark);
    transition: var(--transition-fast);
}

.nav-profile-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: var(--primary-cyan);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary-cyan);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35), 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.01);
}

.btn-secondary {
    background: var(--bg-glass-strong);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 10px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

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

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
}

.hero-simulator-preview {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 1rem 1.2rem 1rem;
    border: var(--border-glow);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    max-width: 480px;
}

.simulator-header {
    display: flex;
    gap: 6px;
    margin-bottom: 0.8rem;
}

.simulator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.simulator-dot.red {
    background: #ff5f57;
}

.simulator-dot.yellow {
    background: #febc2e;
}

.simulator-dot.green {
    background: #28c840;
}

.simulator-content {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--primary-cyan);
    line-height: 1.65;
}

.simulator-content .command {
    color: var(--primary-purple);
}

.simulator-content .output {
    color: var(--text-secondary);
}

/* ===== HERO SIMULATOR SLIDER ===== */
.sim-slider-wrap {
    position: relative;
    overflow: hidden;
}

.sim-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.sim-tab {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.sim-tab:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.sim-tab.active {
    background: rgba(0,212,255,0.12);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.sim-slides {
    position: relative;
    overflow: hidden;
}

.sim-slide {
    display: none;
}

.sim-slide.active {
    display: block;
    animation: simFadeIn 0.35s ease;
}

@keyframes simFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.sim-progress {
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin-top: 1.2rem;
    overflow: hidden;
}

.sim-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    border: var(--border-subtle);
    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
}

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

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-card);
    border-color: rgba(0, 212, 255, 0.4);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-card);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    background: var(--bg-dark);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ===== STATS SECTION ===== */
.stats {
    background: var(--gradient-card);
    border-top: var(--border-glow);
    border-bottom: var(--border-glow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===== TRAINING CARDS ===== */
.training-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: var(--border-glow);
    transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.training-image {
    height: 200px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.training-content {
    padding: 2rem;
}

.training-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.training-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.training-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.training-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.training-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BLOG CARDS ===== */
/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(20px);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.blog-image {
    height: 220px;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 25, 0.8) 100%);
    pointer-events: none;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: auto;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-read-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.blog-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.blog-simulator-btn {
    background: transparent;
    color: var(--primary-cyan);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog-simulator-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

/* ===== SIMULATOR SECTION ===== */
.simulator-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1117 100%);
}

.simulator-container {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    border: var(--border-glow);
    box-shadow: var(--shadow-lg);
}

.simulator-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.simulator-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.simulator-tab.active {
    background: var(--gradient-primary);
    color: white;
}

.simulator-tab:hover:not(.active) {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.simulator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.network-topology {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    min-height: 400px;
    position: relative;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.topology-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.router {
    position: absolute;
    width: 100px;
    height: 80px;
    background: var(--gradient-card);
    border: 2px solid var(--primary-cyan);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

.router:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.router-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.router-1 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.router-2 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 2px;
    opacity: 0.3;
    transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

.connection-line.active {
    opacity: 1;
    animation: pulse-line 2s infinite;
}

@keyframes pulse-line {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.config-panel {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.config-title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.config-group {
    margin-bottom: 1.5rem;
}

.config-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.config-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.config-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.config-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}

.config-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cli-output {
    background: #000;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-cyan);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.cli-output .prompt {
    color: var(--primary-purple);
}

.cli-output .command {
    color: white;
}

.cli-output .output {
    color: var(--text-secondary);
}

.cli-output .success {
    color: #28c840;
}

.cli-output .error {
    color: #ff5f57;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    background: var(--gradient-hero);
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
}

.feature-card .card-icon {
    margin: 0 auto 1.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: var(--border-glow);
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-cyan);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: #050508;
    padding: 4rem 0 2rem;
    border-top: var(--border-glow);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: var(--border-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

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

    .simulator-body {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10001;
        /* Below toggle button */
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-brand p {
        margin: 1rem auto 0;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 100px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1117 100%);
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--primary-cyan);
}

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

.about-feature.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo-img {
    height: 45px;
    width: auto;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.about-feature span:first-child {
    font-size: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: var(--border-glow);
    transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-card h3 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-secondary);
}

/* ===== COURSES SECTION ===== */
.courses-section {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: var(--border-glow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.course-card.featured {
    border-color: var(--primary-cyan);
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.1), var(--bg-card));
}

.course-card.premium {
    border-color: var(--primary-purple);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.15), var(--bg-card));
}

.course-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.course-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.course-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 1rem;
}

.course-pricing {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.course-pricing .price {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-pricing .price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.price-option {
    margin-bottom: 0.5rem;
}

.price-option.combo {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-card .btn {
    width: 100%;
}

/* ===== FORM SECTIONS ===== */
.internship-section,
.job-section {
    padding: 6rem 0;
}

.internship-section {
    background: linear-gradient(180deg, #0d1117 0%, var(--bg-dark) 100%);
}

.job-section {
    background: var(--gradient-hero);
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.form-info {
    padding: 2rem;
}

.form-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-info ul {
    list-style: none;
}

.form-info li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.partner-logos span {
    background: var(--bg-glass);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.application-form {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem;
    border: var(--border-glow);
}

.application-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.application-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.application-form input[type="file"] {
    padding: 0.75rem;
    cursor: pointer;
}

.application-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.5);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #10b981;
    font-weight: 500;
}

/* ===== CONSULTATION SECTION ===== */
.consultation-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.consultation-card {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 4rem;
    border: var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.consultation-content h2 {
    margin-bottom: 1rem;
}

.consultation-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.consultation-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.consultation-content li {
    color: var(--text-secondary);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== RESPONSIVE FOR NEW SECTIONS ===== */
@media (max-width: 1024px) {

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

    .consultation-card {
        flex-direction: column;
        text-align: center;
    }

    .consultation-content ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }

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

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

    .application-form {
        padding: 1.5rem;
    }

    .consultation-card {
        padding: 2rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

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

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

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

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

.mb-3 {
    margin-bottom: 1.5rem;
}

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

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ============================================
   ENHANCED MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile Navigation - Solid Background */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 70px) !important;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        z-index: 10002;
        /* Above banner if still visible */
        border-top: var(--border-glow);
        overflow-y: auto;
        width: 100% !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        text-align: center;
        background: rgba(0, 212, 255, 0.05);
        border-radius: 10px;
        border: 1px solid rgba(0, 212, 255, 0.1);
    }

    .nav-links a:hover {
        background: rgba(0, 212, 255, 0.15);
        border-color: var(--primary-cyan);
    }

    .nav-cta {
        background: var(--gradient-primary) !important;
        margin-top: 1rem;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* General Button Stacking */
    .btn-group,
    .action-buttons,
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    /* Cards Grid Mobile */
    .courses-grid,
    .features-grid,
    .stats-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    /* Section Headers Mobile */
    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Card Improvements */
    .course-card,
    .blog-card,
    .feature-card {
        padding: 1.5rem;
    }

    /* Forms Mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Modal Mobile */
    .modal-content {
        margin: 1rem;
        max-height: 90vh;
        width: calc(100% - 2rem);
    }

    /* Simulator Mobile */
    .simulator-body {
        grid-template-columns: 1fr;
    }

    .device-panel {
        flex-direction: column;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Announcement Banner Mobile */
    .announcement-banner {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .announcement-banner .close-banner {
        font-size: 1.2rem;
    }

    /* PCAP Tool Mobile */
    .upload-zone {
        padding: 2rem 1rem;
    }

    .upload-icon {
        font-size: 3rem;
    }

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

    .packets-table {
        font-size: 0.75rem;
    }

    .packets-table th,
    .packets-table td {
        padding: 0.5rem;
    }

    /* Chatbot Mobile */
    .chatbot-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .chatbot-toggle {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
}

/* Prevent Horizontal Scroll */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Touch-friendly targets */
@media (pointer: coarse) {

    .btn,
    .nav-links a,
    input,
    select,
    textarea,
    button {
        min-height: 44px;
    }
}

/* ===== PREMIUM ANIMATIONS ===== */

/* Gradient text animation */
@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.gradient-text-animated {
    background: var(--gradient-rainbow);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

    50% {
        transform: translateY(-5px) rotate(0deg);
    }

    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse glow effect */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2), 0 0 80px rgba(124, 58, 237, 0.1);
    }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scale in animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.4s ease forwards;
}

/* Border glow animation */
@keyframes border-glow {

    0%,
    100% {
        border-color: rgba(0, 212, 255, 0.3);
    }

    50% {
        border-color: rgba(124, 58, 237, 0.5);
    }
}

.border-glow-animated {
    animation: border-glow 4s ease-in-out infinite;
}

/* Particle float (for background decorations) */
@keyframes particle-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translate(10px, -20px) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translate(-5px, -40px) rotate(180deg);
        opacity: 0.4;
    }

    75% {
        transform: translate(-15px, -20px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Premium card hover effect */
.card-premium {
    position: relative;
    overflow: hidden;
}

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

.card-premium:hover::before {
    left: 100%;
}

/* Neon text shadow */
.neon-text {
    text-shadow:
        0 0 10px var(--primary-cyan),
        0 0 20px var(--primary-cyan),
        0 0 40px var(--primary-cyan),
        0 0 80px var(--primary-purple);
}

/* Glass morphism enhanced */
.glass-premium {
    background: rgba(15, 15, 25, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Animated underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Mesh gradient background */
.mesh-bg {
    background: var(--gradient-mesh);
}

/* Enhanced button states */
.btn-premium {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-premium:active::after {
    width: 300px;
    height: 300px;
}

/* Stagger animation delays */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

/* Smooth scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 20px;
    height: 30px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 2px;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.5;
    }
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 10000;
    border: var(--border-glow);
    backdrop-filter: blur(20px);
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-cyan);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.nav-links li {
    display: flex;
    align-items: center;
}
/* ═══════════════════════════════════════════════
   PARTNER TECH STRIP — scrolling logo marquee
═══════════════════════════════════════════════ */
.partner-strip {
    background: rgba(5,5,10,0.9);
    border-top: 1px solid rgba(0,212,255,0.12);
    border-bottom: 1px solid rgba(0,212,255,0.12);
    height: 54px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.partner-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: ptscroll 30s linear infinite;
    white-space: nowrap;
    will-change: transform;
    min-width: max-content;
}
.partner-strip:hover .partner-track { animation-play-state: paused; }
@keyframes ptscroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.pt-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255,255,255,0.08);
    height: 54px;
    transition: color 0.2s;
    flex-shrink: 0;
}
.pt-item:hover { color: rgba(0,212,255,0.9); }
.pt-item img {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.5);
    transition: filter 0.2s;
    display: inline-block;
}
.pt-item:hover img { filter: brightness(0) invert(1) opacity(0.9); }

/* Tech-stack band sitting just above the footer columns. */
.footer-tech-band {
    background: rgba(5,5,10,0.95);
}
.footer-tech-eyebrow {
    margin: 0;
    padding: 14px 0 10px;
    text-align: center;
    font-size: 0.7rem;
    font-family: var(--font-mono, monospace);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(0,212,255,0.7);
}

/* ═══════════════════════════════════════════════
   TECH LOGOS SHOWCASE
═══════════════════════════════════════════════ */
.tech-logos-section {
    padding: 48px 0 40px;
    background: linear-gradient(180deg, rgba(5,5,10,0.95) 0%, rgba(10,10,20,0.95) 100%);
    border-bottom: 1px solid rgba(0,212,255,0.1);
}

.tl-eyebrow {
    text-align: center;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-bottom: 28px;
    opacity: 0.7;
}

.tl-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 900px) { .tl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .tl-grid { grid-template-columns: repeat(2, 1fr); } }

.tl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.tl-card:hover {
    background: rgba(0,212,255,0.06);
    border-color: rgba(0,212,255,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,212,255,0.12);
}

/* fixed-size image box — prevents SVGs from inflating */
.tl-img-box {
    width: 130px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.tl-img {
    max-width: 120px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.tl-card:hover .tl-img {
    opacity: 1;
}

.tl-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.2px;
}

.tl-sub {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════
   HERO STATS BAR
═══════════════════════════════════════════════ */
.hero-stats-bar {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.hs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 22px;
}
.hs-num {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.hs-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
}
.hs-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .hero-stats-bar { flex-wrap: wrap; border-radius: 12px; }
    .hs-divider { display: none; }
    .hs-stat { padding: 8px 14px; }
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════════ */
.testimonials-section {
    background: var(--bg-darker);
    border-top: 1px solid rgba(124,58,237,0.12);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .testimonials-grid { grid-template-columns: 1fr; } }
.testi-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.testi-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    color: rgba(0,212,255,0.04);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 25px rgba(0,212,255,0.08);
    border-color: rgba(0,212,255,0.25);
}
.testi-card.featured {
    border-color: rgba(0,212,255,0.3);
    background: linear-gradient(145deg, rgba(0,212,255,0.06), var(--bg-card));
}
.testi-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 2px;
}
.testi-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}
.testi-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
}
.testi-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════
   COURSE CARD ENHANCEMENTS
═══════════════════════════════════════════════ */
.course-card:hover {
    border-color: rgba(0,212,255,0.5) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,212,255,0.15) !important;
}
.course-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.course-card:hover::after { opacity: 1; }

/* Enhanced social link hover colors */
.social-link:nth-child(1):hover { background: #25d366 !important; color: white; } /* WhatsApp */
.social-link:nth-child(2):hover { background: #0077b5 !important; color: white; } /* LinkedIn */
.social-link:nth-child(3):hover { background: #ff0000 !important; color: white; } /* YouTube */
.social-link:nth-child(4):hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; color: white; } /* Instagram */
.social-link { font-size: 1rem; color: var(--text-secondary); }

/* ============================================================
   PHASE 2 — Hero refresh (eyebrow tag + product grid)
   ============================================================ */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #a5b4fc;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.32);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00d4ff;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
    animation: heroDotPulse 1.6s ease-in-out infinite;
}

@keyframes heroDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15); }
    50%      { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.05); }
}

/* Hero product grid (replaces terminal slider) */
.hero-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(124, 58, 237, 0.12), 0 4px 18px rgba(0, 0, 0, 0.25);
    max-width: 540px;
    margin-left: auto;
}

.hp-card {
    position: relative;
    display: block;
    padding: 1.15rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s, background 0.3s;
    overflow: hidden;
}

.hp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--card-color, rgba(124,58,237,0.25)) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hp-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.45);
}

.hp-card:hover::before {
    opacity: 0.7;
}

.hp-card[data-color] { --card-color: attr(data-color color); }

.hp-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    margin-bottom: 0.85rem;
    transition: transform 0.3s ease;
}

.hp-card:hover .hp-icon {
    transform: scale(1.06);
}

.hp-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.hp-card:hover .hp-icon img {
    filter: none;
    opacity: 1;
}

.hp-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.hp-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.hp-trust-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hp-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    animation: heroDotPulse 2.2s ease-in-out infinite;
}

@media (max-width: 992px) {
    .hero-product-grid { margin: 2rem auto 0; max-width: 100%; }
    .hp-trust-line { justify-content: center; padding: 0; }
}

@media (max-width: 480px) {
    .hero-product-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .hero-eyebrow { font-size: 0.72rem; padding: 0.4rem 0.85rem; }
}

/* ============================================================
   trainings.html — brand logos in training-image gradient block
   ============================================================ */
.training-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.training-card:hover .training-logo {
    transform: scale(1.06);
    opacity: 1;
}

@media (max-width: 480px) {
    .training-logo { width: 96px; height: 96px; }
}

/* ============================================================
   PHASE 3 — scroll reveal animations
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s cubic-bezier(.2, .8, .2, 1),
        transform 0.7s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Disable in reduced-motion environments — fully visible no animation */
.reveal-disabled .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* If JS is disabled, do not hide content forever */
.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* Belt-and-suspenders: if JS truly fails, content visible after 6s */
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.reveal { animation: revealFallback 0s 6s forwards; }
.reveal.revealed { animation: none; }

/* ============================================================
   PHASE 4 — brand-colored hover glow on course/training cards
   ============================================================ */
.course-card,
.training-card {
    --brand: #00d4ff;            /* fallback */
    position: relative;
}

/* Soft top border accent in brand color */
.course-card::before,
.training-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.course-card:hover::before,
.training-card:hover::before {
    opacity: 0.9;
}

/* Override existing hover shadow with brand-tinted glow */
.course-card:hover {
    border-color: color-mix(in srgb, var(--brand) 55%, transparent) !important;
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent),
        0 14px 38px color-mix(in srgb, var(--brand) 25%, transparent) !important;
}

.training-card:hover {
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.45),
        0 14px 38px color-mix(in srgb, var(--brand) 28%, transparent);
}

/* Brand-tinted radial glow inside the card (subtle) */
.course-card::after {
    background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--brand) 20%, transparent) 0%, transparent 60%) !important;
}

/* Brand-tint the price + main button on hover */
.course-card:hover .price {
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 50%, white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   PHASE 5 — typography & section polish
   ============================================================ */

/* Section headers — bigger, tighter, more whitespace */
.section-header {
    margin-bottom: 4.5rem;
}
.section-header h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
}
.section-header p {
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 640px;
    margin: 0.75rem auto 0;
}

/* Optional eyebrow tag above section headers — apply via .has-eyebrow on .section-header */
.section-header .eyebrow,
.about-section .section-header::before {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #a5b4fc;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.32);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

/* Smarter gradient on h1 / h2 .gradient-text — already present but let's tighten the kerning */
.gradient-text {
    letter-spacing: -0.015em;
}

/* Section-level breathing room — more vertical space per major section */
.about-section,
.courses-section,
.internship-section,
.job-section,
.consultation-section,
.testimonials-section,
.tech-logos-section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

@media (max-width: 768px) {
    .about-section,
    .courses-section,
    .internship-section,
    .job-section,
    .consultation-section,
    .testimonials-section,
    .tech-logos-section { padding-top: 4rem; padding-bottom: 4rem; }
    .section-header { margin-bottom: 3rem; }
}

/* Subtle divider between sections (a thin gradient line) */
.section-divider,
.about-section + section,
.courses-section + section,
.internship-section + section,
.job-section + section,
.consultation-section + section {
    position: relative;
}
.about-section + section::before,
.courses-section + section::before,
.internship-section + section::before,
.job-section + section::before,
.consultation-section + section::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(900px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.4), transparent);
    opacity: 0.5;
    pointer-events: none;
}

/* Tighter paragraph rhythm globally */
section p {
    line-height: 1.7;
}

/* Stronger hero h1 — keep size responsive but tighter letter spacing */
.hero-text h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 800;
}

/* Cleaner buttons — reduce visual noise at large sizes */
.btn-primary,
.btn-secondary {
    letter-spacing: 0.01em;
}

/* ╔════════════════════════════════════════════════════════════════╗
   ║  THEME SYSTEM — dim (softer dark, new default), dark, light    ║
   ║  Toggle via [data-theme="..."] on <html>                       ║
   ╚════════════════════════════════════════════════════════════════╝ */

/* ─────────── DIM (softer dark — new default) ─────────── */
html[data-theme="dim"] {
    --bg-dark: #15202b;          /* Twitter dim, less harsh than pure black */
    --bg-darker: #0e1620;
    --bg-card: rgba(33, 47, 61, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-strong: rgba(255, 255, 255, 0.08);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gradient-hero: linear-gradient(135deg, #0e1620 0%, #15202b 40%, #1a2c3d 80%, #15202b 100%);
    --gradient-card: linear-gradient(145deg, rgba(124, 58, 237, 0.10), rgba(0, 212, 255, 0.06));
    --shadow-lg: 0 24px 50px -12px rgba(0, 0, 0, 0.55);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ─────────── LIGHT THEME ─────────── */
html[data-theme="light"] {
    --primary-cyan: #0284c7;     /* darker cyan readable on white */
    --primary-purple: #6d28d9;
    --primary-pink: #db2777;
    --primary-green: #059669;
    --primary-gold: #d97706;

    --bg-dark: #f6f8fb;          /* very soft blue-gray */
    --bg-darker: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-strong: rgba(255, 255, 255, 1);
    --text-primary: #0f172a;     /* deep slate */
    --text-secondary: #475569;
    --text-muted: #64748b;

    --gradient-primary: linear-gradient(135deg, #0284c7, #6d28d9);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #eff4fa 30%, #e6effa 70%, #f8fafc 100%);
    --gradient-card: linear-gradient(145deg, rgba(109, 40, 217, 0.05), rgba(2, 132, 199, 0.03));
    --gradient-mesh:
        radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(109, 40, 217, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(219, 39, 119, 0.06) 0%, transparent 50%);

    --border-glow: 1px solid rgba(2, 132, 199, 0.25);
    --border-subtle: 1px solid rgba(15, 23, 42, 0.08);

    --shadow-lg: 0 18px 38px -10px rgba(15, 23, 42, 0.18);
    --shadow-glow: 0 0 28px rgba(2, 132, 199, 0.18);
    --shadow-glow-strong: 0 0 36px rgba(2, 132, 199, 0.25), 0 0 80px rgba(109, 40, 217, 0.12);
    --shadow-card: 0 2px 12px rgba(15, 23, 42, 0.08);
}

/* Light-theme: re-paint hardcoded dark surfaces */
html[data-theme="light"] body { background: #f6f8fb; color: #0f172a; }
html[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.92) !important; backdrop-filter: blur(16px); border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
html[data-theme="light"] .navbar .nav-link { color: #334155 !important; }
html[data-theme="light"] .navbar .nav-link:hover { color: #6d28d9 !important; }
html[data-theme="light"] .quiz-card,
html[data-theme="light"] .training-card,
html[data-theme="light"] .course-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .card,
html[data-theme="light"] .testimonial-card,
html[data-theme="light"] .tech-card,
html[data-theme="light"] .blog-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06) !important;
    color: #0f172a;
}
html[data-theme="light"] .quiz-card *,
html[data-theme="light"] .training-card *,
html[data-theme="light"] .course-card *,
html[data-theme="light"] .blog-card * { color: inherit; }
html[data-theme="light"] .quiz-card h3,
html[data-theme="light"] .training-card h3,
html[data-theme="light"] .course-card h3,
html[data-theme="light"] .blog-card h3,
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h4 { color: #0f172a !important; }
html[data-theme="light"] p,
html[data-theme="light"] .quiz-card p,
html[data-theme="light"] .training-card p,
html[data-theme="light"] .course-card p { color: #475569 !important; }
html[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #0284c7, #6d28d9) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
html[data-theme="light"] .hero { background: var(--gradient-hero) !important; }
html[data-theme="light"] .stats { background: #ffffff !important; }
html[data-theme="light"] section { background: transparent !important; }
html[data-theme="light"] .footer,
html[data-theme="light"] footer { background: #0f172a !important; color: #cbd5e1 !important; }
html[data-theme="light"] .form-control,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="tel"],
html[data-theme="light"] textarea,
html[data-theme="light"] select {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    color: #0f172a !important;
}
html[data-theme="light"] .form-control::placeholder { color: #94a3b8 !important; }
html[data-theme="light"] .filter-btn,
html[data-theme="light"] .phase-btn { background: #ffffff !important; color: #475569 !important; border: 1px solid rgba(15, 23, 42, 0.1) !important; }
html[data-theme="light"] .filter-btn.active,
html[data-theme="light"] .phase-btn.tab-active { background: linear-gradient(135deg, #0284c7, #6d28d9) !important; color: #fff !important; }
html[data-theme="light"] .quiz-meta,
html[data-theme="light"] .quiz-tag { color: #475569 !important; }
html[data-theme="light"] .training-image { color: #fff; } /* card top headers stay colored */
html[data-theme="light"] .review-item { background: #ffffff !important; }
html[data-theme="light"] code,
html[data-theme="light"] pre { background: #f1f5f9 !important; color: #0f172a !important; border: 1px solid rgba(15, 23, 42, 0.08) !important; }

/* ─── Theme toggle button (injected by header.js) ─── */
.theme-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.2s ease;
    font-size: 16px;
}
.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}
html[data-theme="light"] .theme-toggle {
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
}
html[data-theme="light"] .theme-toggle:hover {
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.3);
}
.theme-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    min-width: 160px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
}
html[data-theme="light"] .theme-menu {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.theme-menu.open { display: block; }
.theme-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}
.theme-menu button:hover { background: rgba(0, 212, 255, 0.1); }
html[data-theme="light"] .theme-menu button { color: #0f172a; }
html[data-theme="light"] .theme-menu button:hover { background: rgba(2, 132, 199, 0.1); }
.theme-menu button.active { background: linear-gradient(135deg, #0284c7, #6d28d9); color: #fff; }
.theme-menu button.active:hover { background: linear-gradient(135deg, #0284c7, #6d28d9); }

/* Smooth color transitions when switching themes */
html, body, .navbar, .quiz-card, .training-card, .course-card, .glass-card, .card,
.feature-card, .blog-card, .footer, .form-control, .filter-btn, .phase-btn {
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  ROUTER-STYLE CLI BANNER — sleek scrolling marquee        ║
   ╚═══════════════════════════════════════════════════════════╝ */
.cli-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;                          /* above .navbar (z-index 1000) */
    height: 36px;
    background: linear-gradient(180deg, #050a14 0%, #0a1018 100%);
    border-bottom: 1px solid rgba(80, 250, 123, 0.25);
    color: #c8f5cf;
    font-family: 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
    font-size: 12.5px;
    line-height: 36px;
    overflow: hidden;
    box-shadow: inset 0 0 24px rgba(80, 250, 123, 0.06), 0 1px 0 rgba(80, 250, 123, 0.15);
    white-space: nowrap;
    padding-right: 40px;                    /* leave room for close button */
}

.cli-banner-inner {
    display: inline-block;
    padding-left: 100%;                     /* start off-screen right */
    animation: cli-marquee 38s linear infinite;
    will-change: transform;
}
.cli-banner:hover .cli-banner-inner { animation-play-state: paused; }

@keyframes cli-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.cli-host { color: #ffd866; font-weight: 600; }
.cli-mode { color: #ffffff; font-weight: 700; padding: 0 4px 0 1px; }
.cli-cmd  { color: #f8f8f2; font-weight: 500; }
.cli-sep  { color: #50fa7b; opacity: 0.6; padding: 0 12px; }
.cli-tag  { color: #ff5555; font-weight: 700; }
.cli-tag-ok   { color: #50fa7b; }
.cli-tag-info { color: #8be9fd; }
.cli-text { color: #aef0bb; }
.cli-live { color: #50fa7b; font-weight: 700; }
.cli-banner a { color: #8be9fd; text-decoration: underline; text-decoration-color: rgba(139,233,253,0.4); }
.cli-banner a:hover { color: #ffffff; }
.cli-cta {
    color: #50fa7b !important;
    text-decoration: none !important;
    font-weight: 700;
    background: rgba(80, 250, 123, 0.12);
    padding: 2px 9px;
    border-radius: 4px;
    border: 1px solid rgba(80, 250, 123, 0.4);
    margin-left: 4px;
}
.cli-cta:hover {
    background: rgba(80, 250, 123, 0.25);
    border-color: rgba(80, 250, 123, 0.7);
    color: #ffffff !important;
}
.cli-cursor {
    display: inline-block;
    color: #50fa7b;
    margin-left: 8px;
    animation: cli-blink 1s steps(2, end) infinite;
}
@keyframes cli-blink { 50% { opacity: 0; } }

.cli-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(255, 85, 85, 0.12);
    border: 1px solid rgba(255, 85, 85, 0.3);
    color: #ff5555;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    z-index: 2;
}
.cli-close:hover { background: rgba(255, 85, 85, 0.3); color: #fff; border-color: rgba(255, 85, 85, 0.7); }

/* Push the navbar down by the banner height (36px) when banner is visible */
.cli-banner ~ .navbar,
body:has(.cli-banner) .navbar { top: 36px !important; }
/* And nudge body content down so hero isn't hidden behind both */
body:has(.cli-banner) { padding-top: 0; }

/* When user closes banner — JS removes it from DOM, navbar slides back to top:0 by default */

/* Light-theme: keep CLI banner dark — feels like a real terminal in a window */
html[data-theme="light"] .cli-banner {
    background: linear-gradient(180deg, #0a0f1c 0%, #14192a 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.18);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
    .cli-banner { font-size: 11px; height: 32px; line-height: 32px; }
    .cli-sep { padding: 0 8px; }
    .cli-banner ~ .navbar,
    body:has(.cli-banner) .navbar { top: 32px !important; }
}

/* ============================================================
   MOBILE OVERRIDES — comprehensive responsive fixes (2026-05)
   Appended last so these rules win specificity ties.
   ============================================================ */

/* Universal: stop accidental horizontal scroll on phones */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

/* Tablet & below */
@media (max-width: 900px) {
    .container { padding-left: 1rem !important; padding-right: 1rem !important; }
    section { padding: 3rem 0 !important; }

    /* Hero — keep readable, not towering */
    .hero { padding-top: 90px !important; padding-bottom: 2rem !important; min-height: auto !important; }
    .hero-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .hero-content h1, .hero-text h1 { font-size: 2rem !important; line-height: 1.2 !important; }
    .hero-content p, .hero-text p  { font-size: 1rem !important; }
    .hero-buttons { flex-direction: column !important; gap: 0.75rem !important; align-items: stretch !important; }
    .hero-buttons .btn { width: 100% !important; }
    .hero-stats-bar { flex-wrap: wrap !important; gap: 0.75rem !important; justify-content: center !important; }

    /* Hero product grid (Palo Alto / Zscaler / F5 / Cisco cards) */
    .hero-product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
    .hp-card { padding: 0.75rem !important; }
    .hp-icon img { width: 36px !important; height: 36px !important; }

    /* Trust line / partner trust dots */
    .hp-trust-line, .pt-line { flex-wrap: wrap !important; justify-content: center !important; gap: 0.5rem !important; }
    .pt-item { font-size: 0.75rem !important; }
    .pt-item img { width: 18px !important; height: 18px !important; }

    /* Trained-on logos grid */
    .tl-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
    .tl-card { padding: 0.75rem !important; }

    /* Courses grid — one column, full width */
    .courses-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .course-card { padding: 1.25rem !important; }
    .course-card h3 { font-size: 1.15rem !important; }
    .course-card p  { font-size: 0.9rem !important; }
    .course-pricing { flex-direction: column !important; gap: 0.5rem !important; align-items: flex-start !important; }
    .course-pricing .price { font-size: 1.5rem !important; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; text-align: center !important; gap: 1.5rem !important; }
    .footer-social { justify-content: center !important; }

    /* Buttons — finger-friendly (Apple/Google a11y guideline = 44px min) */
    .btn { min-height: 44px !important; padding: 0.85rem 1.25rem !important; font-size: 0.95rem !important; }

    /* Headings */
    h1 { font-size: 1.85rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.5rem  !important; line-height: 1.25 !important; }
    h3 { font-size: 1.15rem !important; }

    /* Modals / forms — fit screen */
    .modal, .modal-content, .application-form { max-width: 95vw !important; padding: 1.25rem !important; }
    input, select, textarea { font-size: 16px !important; /* prevent iOS zoom-on-focus */ }
}

/* Phones (most common: iPhone SE / mid-Android) */
@media (max-width: 600px) {
    .hero-content h1, .hero-text h1, h1 { font-size: 1.65rem !important; }
    .hero-content p, .hero-text p { font-size: 0.95rem !important; }

    /* Cut padding so hero doesn't push content way down */
    .hero { padding-top: 80px !important; padding-bottom: 1.5rem !important; }
    section { padding: 2.25rem 0 !important; }

    /* Hero product grid — 2 cols still, but tighter */
    .hero-product-grid { gap: 0.5rem !important; }
    .hp-card { padding: 0.6rem !important; }
    .hp-name { font-size: 0.8rem !important; }
    .hp-sub  { font-size: 0.7rem !important; }

    /* Trained-on logos — 2 cols */
    .tl-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Course cards */
    .course-card { padding: 1rem !important; }
    .course-pricing .price { font-size: 1.35rem !important; }
    .course-pricing .price-label { font-size: 0.8rem !important; }
    .course-card .btn { width: 100% !important; }
}

/* Very small phones (<= 360px) */
@media (max-width: 380px) {
    .container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
    .hero-content h1, .hero-text h1, h1 { font-size: 1.45rem !important; }
    .hero-product-grid { grid-template-columns: 1fr !important; }
    .tl-grid { grid-template-columns: 1fr !important; }
    .stats-grid, .about-stats { grid-template-columns: 1fr !important; }
    .btn { padding: 0.85rem 1rem !important; font-size: 0.9rem !important; }
}

/* Long words (URLs, emails) — wrap instead of overflowing */
@media (max-width: 768px) {
    p, li, a, span, h1, h2, h3, h4 { word-wrap: break-word; overflow-wrap: break-word; }
    pre, code { white-space: pre-wrap !important; word-break: break-word !important; }
}

/* Sticky banners shouldn't eat the whole screen on phones */
@media (max-width: 600px) {
    #techclick-unified-banner { font-size: 11px !important; padding: 6px 10px !important; }
    .announcement-banner { font-size: 0.8rem !important; padding: 0.4rem 0.75rem !important; }
}
/* === END MOBILE OVERRIDES === */

/* ============================================================
   PROFESSIONAL ANNOUNCEMENT BANNER (replaces CLI router banner)
   ============================================================ */
.tc-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
    height: 38px; line-height: 38px;
    background: linear-gradient(90deg, #0b0f1f 0%, #0f1530 50%, #0b0f1f 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    overflow: hidden;
    color: #e6edff;
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    display: flex; align-items: center;
}
.tc-banner-track {
    display: inline-flex; align-items: center; gap: 14px;
    padding-left: 100%;
    animation: tcMarquee 38s linear infinite;
    will-change: transform;
}
.tc-banner:hover .tc-banner-track { animation-play-state: paused; }
@keyframes tcMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.tc-banner .tc-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
    text-transform: uppercase;
}
.tc-banner .tc-pill-live {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.tc-banner .tc-pill-live .tc-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: tcPulse 1.6s ease-in-out infinite;
}
@keyframes tcPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.85); }
}
.tc-banner .tc-pill-intern {
    background: rgba(124, 58, 237, 0.16);
    color: #c4b5fd;
    border: 1px solid rgba(124, 58, 237, 0.4);
}
.tc-banner .tc-item { color: #d1d8ec; }
.tc-banner .tc-sep  { color: rgba(255,255,255,0.18); padding: 0 4px; }
.tc-banner .tc-cta {
    display: inline-block;
    margin-left: 4px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px; font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-banner .tc-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.35);
}
.tc-banner-close {
    position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
    width: 24px; height: 24px;
    background: rgba(255, 255, 255, 0.05);
    color: #9aa3bd;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px; line-height: 1;
    z-index: 2;
    transition: all 0.2s ease;
}
.tc-banner-close:hover {
    background: rgba(239, 68, 68, 0.18);
    color: #fff;
    border-color: rgba(239, 68, 68, 0.5);
}
/* Push the navbar down by the banner height — overrides legacy cli-banner top:42px */
.tc-banner ~ .navbar,
body:has(.tc-banner) .navbar { top: 38px !important; }

/* Mobile tweaks */
@media (max-width: 600px) {
    .tc-banner { height: 34px; line-height: 34px; font-size: 12px; }
    .tc-banner .tc-pill { font-size: 10px; padding: 3px 8px; }
    .tc-banner .tc-cta { font-size: 11px; padding: 3px 10px; }
    .tc-banner-track { animation-duration: 30s; gap: 10px; }
    .tc-banner ~ .navbar,
    body:has(.tc-banner) .navbar { top: 34px !important; }
}

/* Light theme: keep banner dark — looks like a deliberate accent strip */
html[data-theme="light"] .tc-banner {
    background: linear-gradient(90deg, #0a0f1c 0%, #14192a 50%, #0a0f1c 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.18);
}
