/* --- Variables & Setup --- */
:root {
    --color-bg: #F8FAFC;
    --color-text: #334155;
    --color-primary: #0F172A; /* Slate 900 */
    --color-accent: #84CC16; /* Lime 500 */
    --color-accent-hover: #65A30D;
    --color-white: #FFFFFF;
    --color-border: #E2E8F0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-full: 999px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn--header {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--header:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.logo__icon svg {
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text);
    position: relative;
}

.nav__link:hover, .nav__link.active {
    color: var(--color-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-primary);
    color: #94A3B8; /* Slate 400 */
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.logo--footer {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer__desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer__title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 18px;
    margin-bottom: 24px;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__link {
    font-size: 14px;
}

.footer__link:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer__icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* --- Mobile Adaptive --- */
@media (max-width: 992px) {
    .header__container {
        padding: 0 20px;
    }
    
    .burger {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-white);
        flex-direction: column;
        padding: 40px 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        border-top: 1px solid var(--color-border);
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 24px;
        margin-bottom: 40px;
    }

    .nav__link {
        font-size: 18px;
        font-weight: 700;
    }

    .btn--header {
        width: 100%;
    }

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Full screen height */
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    padding-top: var(--header-height); /* Offset fixed header */
    overflow: hidden;
    color: var(--color-white);
}

#hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(132, 204, 22, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(132, 204, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
}

.hero__title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 18px;
    color: #94A3B8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.btn--hero {
    background-color: var(--color-accent);
    color: var(--color-primary);
    gap: 8px;
    padding: 16px 32px;
}

.btn--glow:hover {
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.5);
    background-color: var(--color-white);
}

.btn--hero-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--hero-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.hero__stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
}

.stat-label {
    font-size: 14px;
    color: #94A3B8;
}

/* 3D Tilt Card */
.hero__visual {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    position: relative;
}

.tilt-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(0) rotateY(0);
    transition: transform 0.1s ease-out; /* Smooth follow */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.tilt-card__content {
    transform: translateZ(40px); /* Pop out effect */
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.user-avatar-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent), #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.card-name {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.card-status {
    font-size: 14px;
    color: #94A3B8;
}

.card-status .accent {
    color: var(--color-accent);
}

.progress-row {
    margin-bottom: 20px;
}

.progress-row span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #CBD5E1;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 4px;
}

.card-badge {
    margin-top: 30px;
    background: rgba(132, 204, 22, 0.1);
    color: var(--color-accent);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
}

/* Background Blurs for Card */
.circle-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    opacity: 0.2;
    top: -50px;
    right: -50px;
    transform: translateZ(-50px);
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: #3B82F6;
    opacity: 0.2;
    bottom: -30px;
    left: -30px;
    transform: translateZ(-50px);
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    animation: float 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    display: block;
    position: relative;
}

.wheel {
    width: 2px;
    height: 8px;
    background: var(--color-accent);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero__title { font-size: 40px; }
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .hero__desc { margin: 0 auto 40px; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__visual { display: none; /* Hide complex 3D on tablet to save space or adjust */ }
    /* Or make it smaller: */
    /* .hero__visual { margin-top: 40px; } */
}

@media (min-width: 993px) {
    .hero__visual { display: flex; }
}

/* --- Strategy Section --- */
.strategy {
    background-color: #020617; /* Darker than hero for contrast */
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
}

.strategy__container {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

/* Left Side (Sticky Interface) */
.strategy__visual-wrapper {
    flex: 1;
    position: sticky;
    top: 120px; /* Offset from header */
    height: 400px;
    display: flex;
    justify-content: center;
}

.strategy__interface {
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(132, 204, 22, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.interface__header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #64748B;
    margin-bottom: auto;
}

.interface__dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
}

.interface__display {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.interface__icon-ring {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(132, 204, 22, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.interface__icon-ring svg {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scanner Animation */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 45%, rgba(132, 204, 22, 0.2) 50%, transparent 55%);
    background-size: 100% 200%;
    animation: scan 3s linear infinite;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes scan {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 200%; }
}

.interface__footer {
    margin-top: auto;
}

.interface__data span {
    display: block;
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.data-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.data-fill {
    height: 100%;
    width: 30%; /* Default */
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Right Side (Scrolling Steps) */
.strategy__content {
    flex: 1.2;
    padding-bottom: 100px; /* Extra space to finish scroll */
}

.strategy__step {
    min-height: 80vh; /* Each step takes almost full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.2; /* Inactive state */
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 20px 0;
}

.strategy__step.active {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: -20px;
    display: block;
}

.step-title {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--color-white);
}

.step-desc {
    font-size: 18px;
    color: #94A3B8;
    margin-bottom: 30px;
    max-width: 500px;
}

.step-desc strong {
    color: var(--color-accent);
}

.step-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.step-list svg {
    color: var(--color-accent);
    width: 20px;
}

.step-note {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-left: 2px solid var(--color-accent);
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #E2E8F0;
    border-radius: 0 8px 8px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .strategy__container {
        flex-direction: column;
    }
    
    .strategy__visual-wrapper {
        position: relative;
        top: 0;
        height: auto;
        width: 100%;
        margin-bottom: 40px;
    }

    .strategy__interface {
        max-width: 100%;
        height: 300px;
    }

    .strategy__step {
        min-height: auto;
        margin-bottom: 80px;
        opacity: 1; /* Always visible on mobile */
    }
}

/* --- Skills Section --- */
.skills {
    padding: 120px 0;
    position: relative;
    background-color: #0F172A; /* Base dark */
    overflow: hidden;
}

/* Background aesthetic */
.skills__bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.skills__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: #94A3B8;
}

.section-desc strong {
    color: var(--color-accent);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto; /* Flexible rows */
    gap: 24px;
    position: relative;
    z-index: 1;
}

.bento-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

/* Hover Effect */
.bento-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(132, 204, 22, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Grid Spanning logic */
.bento-item--large {
    grid-column: span 2;
}

.bento-item--wide {
    grid-column: span 2;
}

.bento-item--tall {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(132,204,22,0.05) 100%);
}

/* Content Styling */
.bento-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(132, 204, 22, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.color-blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.color-purple { background: rgba(168, 85, 247, 0.1); color: #A855F7; }
.color-orange { background: rgba(249, 115, 22, 0.1); color: #F97316; }

.bento-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.bento-item p {
    font-size: 15px;
    color: #94A3B8;
    line-height: 1.5;
}

/* Wide card layout */
.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.bento-text {
    flex: 1;
    padding-right: 20px;
}

.bento-visual {
    flex: 0.5;
    display: flex;
    justify-content: center;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
}

.link-arrow:hover {
    gap: 12px;
}

/* Visual Morph Animation */
.shape-morph {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--color-accent), #3B82F6);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 6s ease-in-out infinite;
    filter: blur(20px);
    opacity: 0.8;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(180deg); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(360deg); }
}

/* Tags Cloud in Tall Card */
.tags-cloud {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
}

.tags-cloud span {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #CBD5E1;
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-item--large, .bento-item--wide {
        grid-column: span 2;
    }
    .bento-item--tall {
        grid-column: span 1;
        grid-row: span 1; /* Reset row span */
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item--large, .bento-item--wide, .bento-item--tall {
        grid-column: span 1;
    }
    .flex-row {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .bento-visual {
        margin-bottom: 20px;
        width: 100%;
        justify-content: flex-start;
    }
}

/* --- Mentoring Section --- */
.mentoring {
    padding: 100px 0;
    background-color: #0F172A;
    overflow: hidden; /* For glow effect containment */
}

.mentoring__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Side Info */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.mentoring__features {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-row {
    display: flex;
    gap: 16px;
}

.feature-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-row strong {
    color: var(--color-white);
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

.feature-row p {
    font-size: 14px;
    color: #94A3B8;
}

/* Right Side Chat Interface */
.mentoring__visual {
    position: relative;
}

.chat-interface {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 2;
    min-height: 480px; /* Fixed height for animation stability */
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.chat-meta {
    flex: 1;
}

.chat-name {
    display: block;
    color: var(--color-white);
    font-weight: 700;
    font-size: 14px;
}

.chat-status {
    font-size: 12px;
    color: #94A3B8;
}

.chat-actions {
    display: flex;
    gap: 6px;
}

.chat-actions span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #334155;
}

.chat-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

/* Message Bubbles */
.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: slideUpFade 0.4s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

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

.message--system {
    align-self: flex-start;
    background: #334155;
    color: #E2E8F0;
    border-bottom-left-radius: 4px;
}

.message--user {
    align-self: flex-end;
    background: var(--color-accent);
    color: var(--color-primary);
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.message-time {
    display: block;
    font-size: 10px;
    opacity: 0.6;
    margin-top: 4px;
    text-align: right;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #334155;
    border-radius: 16px;
    width: fit-content;
    border-bottom-left-radius: 4px;
    margin-top: 5px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #94A3B8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Chat Input */
.chat-input-area {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input-placeholder {
    flex: 1;
    color: #64748B;
    font-size: 14px;
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.glow-spot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .mentoring__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .btn--wide-mobile {
        width: 100%;
    }

    .mentoring__info {
        text-align: center;
    }

    .mentoring__features {
        align-items: center;
        text-align: left; /* Keep feature text left-aligned for readability */
    }
}

/* --- Blog Section --- */
.blog {
    padding: 100px 0;
    background-color: #0F172A; /* Match previous section bg for seamless feel or slightly lighter */
    position: relative;
}

.blog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.blog__controls {
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

/* Slider Container */
.blog__slider-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px; /* Space for shadow/hover transform */
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

/* Hide Scrollbar */
.blog__slider-wrapper::-webkit-scrollbar {
    height: 6px;
}

.blog__slider-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.blog__slider-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.blog__slider-wrapper:active {
    cursor: grabbing;
}

/* Blog Card (Data Plate) */
.blog-card {
    min-width: 350px;
    max-width: 350px;
    scroll-snap-align: start;
    background: #1E293B;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(132, 204, 22, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.blog-card__image {
    height: 200px;
    background: #334155;
    position: relative;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
    opacity: 1;
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--color-accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.blog-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meta-row {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #94A3B8;
    margin-bottom: 16px;
}

.meta-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-row svg {
    width: 14px;
    height: 14px;
}

.blog-card__title {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card__desc {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 24px;
    flex: 1;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

.btn-link:hover {
    color: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .blog__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background-color: #020617; /* Very dark slate */
    position: relative;
    overflow: hidden;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Info */
.contact__badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(132, 204, 22, 0.1);
    color: var(--color-accent);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact__benefits {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__benefits li {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: #1E293B;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact__benefits strong {
    color: var(--color-white);
    display: block;
    margin-bottom: 4px;
}

.contact__benefits p {
    font-size: 14px;
    color: #94A3B8;
}

/* Right Form Wrapper */
.contact__form-wrapper {
    position: relative;
}

.form-box {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    z-index: 2;
}

.form-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.form-header h3 {
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: 8px;
}

.form-header p {
    color: #94A3B8;
    font-size: 14px;
}

/* Inputs */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    color: #CBD5E1;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #64748B;
    transition: color 0.3s;
}

.form-input {
    width: 100%;
    background: #0F172A;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px 16px 14px 48px; /* Space for icon */
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #1E293B;
}

.form-input:focus + .input-icon, /* Not possible with CSS siblings order, using focus-within in JS or just simple css */
.input-wrapper:focus-within .input-icon {
    color: var(--color-accent);
}

/* Validation Error Styles */
.form-group.error .form-input {
    border-color: #EF4444;
}

.error-msg {
    display: none;
    color: #EF4444;
    font-size: 12px;
    margin-top: 6px;
}

.form-group.error .error-msg {
    display: block;
}

/* Captcha */
.captcha-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.captcha-question {
    background: #334155;
    color: var(--color-white);
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    user-select: none;
}

.captcha-input {
    padding-left: 16px; /* No icon here */
    width: 100px;
    text-align: center;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.form-checkbox input {
    margin-top: 4px;
    accent-color: var(--color-accent);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--color-accent);
    text-decoration: underline;
}

.btn--full {
    width: 100%;
}

/* Success Message */
.success-message {
    display: none; /* Hidden by default */
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.success-message h3 {
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: 12px;
}

.success-message p {
    color: #94A3B8;
}

/* Background Glow */
.form-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__info {
        text-align: center;
    }
    
    .contact__benefits {
        align-items: center;
        text-align: left;
    }
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 400px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(132, 204, 22, 0.3);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex; /* Flex to align button */
    flex-direction: column;
    gap: 16px;
    transform: translateY(150%); /* Hidden by default */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cookie-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.cookie-popup p {
    font-size: 13px;
    color: #CBD5E1;
    line-height: 1.5;
    margin: 0;
}

.cookie-popup a {
    color: var(--color-accent);
    text-decoration: underline;
}

.btn--xs {
    align-self: flex-end;
    padding: 8px 20px;
    font-size: 13px;
    background: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.btn--xs:hover {
    background: var(--color-white);
}

@media (max-width: 576px) {
    .cookie-popup {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
}

/* --- Legal Pages Styling --- */
.pages {
    padding: 140px 0 80px; /* Space for fixed header */
    min-height: 80vh;
    background-color: var(--color-bg); /* Uses global light BG or define dark specific */
}

/* Override background for legal pages if you want dark theme consistency */
body .pages {
    background-color: #0F172A;
    color: #CBD5E1;
}

.pages .container {
    max-width: 800px; /* Optimize for reading */
}

.pages h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--color-white);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pages h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-accent);
    margin-top: 40px;
    margin-bottom: 16px;
}

.pages p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #94A3B8;
}

.pages ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style: disc;
    color: #94A3B8;
}

.pages li {
    margin-bottom: 10px;
    padding-left: 8px;
}

.pages li strong {
    color: var(--color-white);
}

.pages a {
    color: var(--color-accent);
    text-decoration: underline;
}

.pages a:hover {
    color: var(--color-white);
}