/* ============================================
   LearnAI – styles.css
   Futuristic AI-Inspired Dark Theme
   ============================================ */

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

:root {
    /* Core palette */
    --bg-deep: #05060f;
    --bg-surface: #0a0c1a;
    --bg-card: #0d1025;
    --bg-card-hover: #111433;
    --border: rgba(99, 102, 241, 0.12);
    --border-hover: rgba(99, 102, 241, 0.3);

    /* Neon accents */
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-green: #22d3ee;
    --gold: #f59e0b;
    --gold-light: #fbbf24;

    /* Text */
    --text-primary: #e8eaed;
    --text-secondary: #8892a4;
    --text-muted: #5a6377;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #00d4ff, #a855f7);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-card: linear-gradient(160deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));

    /* Glows */
    --glow-blue: 0 0 30px rgba(0, 212, 255, 0.15);
    --glow-purple: 0 0 30px rgba(168, 85, 247, 0.15);

    /* Spacing */
    --section-pad: clamp(4rem, 8vw, 7rem);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Background Effects --- */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    animation: glowFloat 20s ease-in-out infinite;
}

.bg-glow--1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 212, 255, 0.06);
    top: -200px;
    right: -100px;
}

.bg-glow--2 {
    width: 500px;
    height: 500px;
    background: rgba(168, 85, 247, 0.05);
    bottom: 30%;
    left: -150px;
    animation-delay: -7s;
}

.bg-glow--3 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.04);
    bottom: -100px;
    right: 20%;
    animation-delay: -14s;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* --- Utility --- */
.text-accent { color: var(--neon-blue); }
.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 25px rgba(0, 212, 255, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn--ghost:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: var(--glow-blue);
}

.btn--gold {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 25px rgba(245, 158, 11, 0.25);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(245, 158, 11, 0.4);
}

.btn--small {
    padding: 0.625rem 1.25rem;
    font-size: 0.65rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

.nav--scrolled {
    padding: 0.6rem 0;
    backdrop-filter: blur(20px);
    background: rgba(5, 6, 15, 0.85);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.04em;
}

.nav__logo-icon {
    font-size: 1.6rem;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

.nav__links {
    display: flex;
    gap: 2rem;
}

.nav__links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    transition: color 0.3s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s;
}

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

.nav__links a:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    z-index: 1;
    overflow: hidden;
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neon-purple);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero__title {
    font-family: 'Orbitron', sans-serif;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__title-line {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__title-sub {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__title-highlight {
    display: block;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--neon-blue);
    font-weight: 500;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__message {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero__stat {
    text-align: center;
}

.hero__stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-blue);
}

.hero__stat-suffix {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-purple);
}

.hero__stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    letter-spacing: 0.03em;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero__scroll span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon-blue), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.section-tag--gold {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--gold);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Why AI Section --- */
.why-ai {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

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

.why-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.why-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow-blue);
}

.why-card--warning {
    border-color: rgba(236, 72, 153, 0.2);
}

.why-card--warning:hover {
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.12);
}

.why-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Main Layout with Sidebar --- */
.main-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--section-pad) clamp(1rem, 3vw, 2rem);
}

/* --- Categories --- */
.category {
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(20px);
}

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

.category__header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.category__number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.3;
}

.category__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

/* --- Tool Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.tool-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.tool-card:hover .tool-card__glow {
    opacity: 1;
}

.tool-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--glow-purple);
    background: var(--bg-card-hover);
}

.tool-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    transition: transform 0.35s;
}

.tool-card:hover .tool-card__icon {
    transform: scale(1.15);
}

.tool-card__name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.tool-card__arrow {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: all 0.3s;
}

.tool-card:hover .tool-card__arrow {
    opacity: 1;
    transform: translate(0, 0);
    color: var(--neon-blue);
}

/* --- Sidebar --- */
.sidebar {
    position: relative;
}

.sidebar__sticky {
    position: sticky;
    top: 6rem;
}

.sidebar__block {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.sidebar__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: center;
    color: var(--gold);
}

.sidebar__products {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.sidebar__product {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.sidebar__product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.sidebar__product-placeholder {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.sidebar__product:hover .sidebar__product-placeholder {
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--gold);
}

.sidebar__product-placeholder span:first-child {
    font-size: 1.5rem;
}

.sidebar__product-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.sidebar__product:hover .sidebar__product-img {
    filter: brightness(1.1);
    transform: scale(1.03);
}

.sidebar__product-label {
    display: block;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

.sidebar__product:hover .sidebar__product-label {
    color: var(--gold);
}

.sidebar__cta {
    width: 100%;
    justify-content: center;
    font-size: 0.6rem;
}

/* --- Learning Section --- */
.learning {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}

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

a.learning__card {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.learning__card:hover {
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
}

a.learning__card:hover h3 {
    color: var(--neon-blue);
}

.learning__card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 2rem;
    transition: all 0.4s;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

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

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

.learning__card-number {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.04;
    color: var(--neon-blue);
    line-height: 1;
}

.learning__card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.learning__card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.learning__card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.learning__cta {
    text-align: center;
}

.learning__cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.learning__cta strong {
    color: var(--neon-blue);
}

/* --- Certifications --- */
.certifications {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

.cert__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(160deg, rgba(245, 158, 11, 0.05), rgba(249, 115, 22, 0.03));
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4rem);
}

.cert__title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cert__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cert__text:last-of-type {
    margin-bottom: 2rem;
}

.cert__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert__badge-link {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.cert__badge-link:hover {
    transform: scale(1.08);
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.3);
}

.cert__badge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.1); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.2); }
}

/* --- VPN Section --- */
.vpn {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

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

.vpn__card {
    position: relative;
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(20px);
}

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

.vpn__card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow-blue);
}

.vpn__card--featured {
    border-color: rgba(0, 212, 255, 0.25);
    background: linear-gradient(160deg, rgba(0, 212, 255, 0.06), var(--bg-card));
}

.vpn__card--featured:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}

.vpn__badge-best {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: var(--gradient-main);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    letter-spacing: 0.08em;
}

.vpn__card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.vpn__card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.vpn__card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.vpn__card-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-blue);
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.vpn__card:hover .vpn__card-link {
    color: var(--neon-purple);
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--neon-blue);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

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

.footer__hosting a {
    color: var(--neon-blue);
    transition: color 0.3s;
    font-weight: 500;
}

.footer__hosting a:hover {
    color: var(--neon-purple);
}

/* --- Reveal Animation --- */
[data-reveal] {
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }

    .sidebar__sticky {
        position: static;
    }

    .sidebar__block {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .sidebar__product {
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 1.5rem 2rem;
        background: rgba(5, 6, 15, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        gap: 1rem;
    }

    .nav__links.active {
        display: flex;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__stats {
        gap: 1.5rem;
    }

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

    .cert__visual {
        order: -1;
    }

    .cert__badge-link {
        width: 160px;
        height: 160px;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

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

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .tool-card {
        padding: 1.25rem 0.75rem;
    }

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

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