/* --- VARIABLES --- */
:root {
    /* Palette */
    --color-bg: #0B0E14;        /* Deep Dark */
    --color-surface: #151A25;   /* Lighter Dark */
    --color-primary: #8B5CF6;   /* Electric Violet */
    --color-primary-hover: #7C3AED;
    --color-accent: #BEF264;    /* Lime Green */
    --color-text: #F1F5F9;      /* White-ish */
    --color-text-muted: #94A3B8;
    --color-border: #2D3748;

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-head: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1240px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(11, 14, 20, 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;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text);
}

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

.header__menu {
    display: flex;
    gap: 32px;
}

.header__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

.header__link:hover {
    color: var(--color-accent);
}

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

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

/* Burger Button */
.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.header__burger-line {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* --- MAIN --- */
.main {
    padding-top: var(--header-height); /* Offset for fixed header */
    min-height: 60vh; /* Temporary min-height */
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-surface);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
    margin-top: 80px; /* Space from content */
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer__desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--color-text);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer__links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer__contact-item a:hover {
    color: var(--color-accent);
}

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

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .header__burger {
        display: flex;
        z-index: 1002;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        z-index: 1001;
    }

    .header__nav.active {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .header__link {
        font-size: 1.5rem;
    }

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

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

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 40px; /* Header offset compensation inside flex center */
}

/* Background Canvas */
.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1e293b 0%, var(--color-bg) 70%);
}

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

/* Content Column */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(190, 242, 100, 0.1);
    color: var(--color-accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(190, 242, 100, 0.2);
}

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

.hero__title {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

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

.hero__desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero__desc strong {
    color: var(--color-text);
}

/* Buttons & Note */
.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 48px;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    align-self: flex-start;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

.hero__note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    opacity: 0.7;
}

/* Stats */
.hero__stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.hero__stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.hero__stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Visual Column */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 2;
    border: 1px solid var(--color-border);
}

.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--color-primary);
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

/* Floating Cards Animation */
.hero__card {
    position: absolute;
    background: rgba(21, 26, 37, 0.9);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.hero__card--1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.hero__card--2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 3s;
}

.hero__card-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.icon-success {
    color: var(--color-accent);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Typewriter Cursor */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--color-accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .hero__actions, .hero__badge {
        align-self: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__image-wrapper {
        margin: 40px auto 0;
        max-width: 400px;
    }
}

/* --- PIPELINE SECTION (Methodology) --- */
.pipeline {
    padding: 100px 0;
    position: relative;
    /* Optional: subtle grid background for tech feel */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.pipeline__header {
    margin-bottom: 80px;
    max-width: 700px;
}

.pipeline__title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.pipeline__subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* The Track Container */
.pipeline__track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0; /* No gap, connected by flow */
    padding-left: 20px;
}

/* Vertical Line */
.pipeline__track::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 44px; /* Align with center of marker */
    width: 2px;
    background: var(--color-border);
    z-index: 0;
}

/* Individual Item */
.pipeline__item {
    position: relative;
    display: flex;
    gap: 40px;
    padding: 40px 0;
    cursor: default;
    transition: var(--transition);
    opacity: 0.6; /* Dimmed by default */
}

/* Hover Effect: Highlight active item */
.pipeline__item:hover {
    opacity: 1;
}

/* The Marker (Circle with Number) */
.pipeline__marker {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.pipeline__num {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

/* Hover State for Marker */
.pipeline__item:hover .pipeline__marker {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: scale(1.1);
}

.pipeline__item:hover .pipeline__num {
    color: var(--color-primary);
}

/* Content Styling */
.pipeline__content {
    padding-top: 5px; /* Visual alignment */
    max-width: 600px;
}

.pipeline__step-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-text);
    transition: var(--transition);
}

.pipeline__item:hover .pipeline__step-title {
    color: var(--color-accent);
}

.pipeline__text {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.pipeline__text strong {
    color: var(--color-text);
}

/* Text Button link */
.btn--text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-weight: 600;
    padding: 0;
    margin-top: 10px;
}

.btn--text:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

/* Active Line Segment (Advanced Visual) */
/* We create a gradient effect on the item hover to simulate the line lighting up */
.pipeline__item::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    transform: translateX(0.5px); /* Fine tune alignment */
}

.pipeline__item:hover::after {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .pipeline__track::before {
        left: 24px;
    }
    
    .pipeline__item {
        gap: 20px;
    }

    .pipeline__marker {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .pipeline__step-title {
        font-size: 1.25rem;
    }
    
    /* Adjust line connecting logic */
    .pipeline__item::after {
        left: 19px;
    }
}

/* --- COURSES SECTION (IDE) --- */
.courses {
    padding: 80px 0;
}

.courses__header {
    margin-bottom: 40px;
    text-align: center;
}

.courses__title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.courses__subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* IDE Window */
.ide {
    background-color: #1E1E1E; /* VS Code Dark */
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Consolas', 'Monaco', monospace; /* Code font */
}

/* Top Bar */
.ide__topbar {
    background-color: #2D2D2D;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.ide__dots {
    display: flex;
    gap: 8px;
}

.ide__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.ide__dot--red { background-color: #FF5F56; }
.ide__dot--yellow { background-color: #FFBD2E; }
.ide__dot--green { background-color: #27C93F; }

.ide__filename {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #999;
    font-size: 0.85rem;
}

/* Body (Sidebar + Content) */
.ide__body {
    display: flex;
    min-height: 450px;
}

/* Sidebar */
.ide__sidebar {
    width: 250px;
    background-color: #252526;
    border-right: 1px solid #333;
    flex-shrink: 0;
}

.ide__sidebar-title {
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6F7075;
    letter-spacing: 1px;
}

.ide__tabs {
    display: flex;
    flex-direction: column;
}

.ide__tab {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #969696;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
}

.ide__tab:hover {
    background-color: #2A2D2E;
    color: #fff;
}

.ide__tab.active {
    background-color: #37373D;
    color: #fff;
    border-left-color: var(--color-accent);
}

.ide__icon-js { color: #F7DF1E; width: 16px; }
.ide__icon-py { color: #3776AB; width: 16px; }
.ide__icon-fig { color: #F24E1E; width: 16px; }
.ide__icon-qa { color: #4CAF50; width: 16px; }

/* Content Area */
.ide__content {
    flex-grow: 1;
    padding: 30px;
    position: relative;
    background-color: #1E1E1E;
}

.ide__panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.ide__panel.active {
    display: block;
}

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

/* Code Syntax Highlighting Simulation */
.ide__code-line {
    color: #D4D4D4;
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre;
}

.indent { padding-left: 20px; }
.indent-2 { padding-left: 40px; }

.code-keyword { color: #C586C0; } /* Purple */
.code-var { color: #9CDCFE; } /* Light Blue */
.code-string { color: #CE9178; } /* Orange */
.code-num { color: #B5CEA8; } /* Light Green */
.code-comment { color: #6A9955; font-style: italic; } /* Green */
.code-func { color: #DCDCAA; } /* Yellow */
.code-class { color: #4EC9B0; } /* Teal */
.code-selector { color: #D7BA7D; } /* CSS Selector color */

/* Description & Footer inside IDE */
.ide__description {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-family: var(--font-main); /* Switch back to readable font */
}

.ide__description h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.ide__description p {
    color: #CCCCCC;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.highlight-text {
    color: var(--color-accent) !important;
}

.ide__footer {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ide__status {
    color: var(--color-primary);
    font-size: 0.8rem;
    font-family: monospace;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Responsive IDE */
@media (max-width: 768px) {
    .ide__body {
        flex-direction: column;
    }
    
    .ide__sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #333;
    }
    
    .ide__tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .ide__tab {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 2px solid transparent;
    }
    
    .ide__tab.active {
        border-left: none;
        border-bottom-color: var(--color-accent);
    }

    .ide__content {
        padding: 20px;
    }
}

/* --- SHARED TITLES --- */
.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 60px;
}

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

/* --- MENTORS SECTION --- */
.mentors {
    padding: 100px 0;
    background-color: #0d1117; /* Трохи темніший фон для контрасту */
}

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

.mentor-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    group: hover; /* for tailwind logic imitation */
}

.mentor-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.mentor-card__image-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.mentor-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mentor-card:hover .mentor-card__img {
    transform: scale(1.05);
}

/* Overlay with Tech Stack */
.mentor-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(11,14,20, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.mentor-card:hover .mentor-card__overlay {
    transform: translateY(0);
}

.mentor-card__tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.2);
    color: #d8b4fe;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.mentor-card__info {
    padding: 24px;
}

.mentor-card__name {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.mentor-card__role {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.mentor-card__desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- CAREER SECTION --- */
.career {
    padding: 100px 0;
    border-top: 1px solid var(--color-border);
}

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

.career__text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

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

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

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

.career__feature strong {
    display: block;
    color: var(--color-text);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

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

/* Terminal Visual */
.career__terminal {
    background-color: #1e1e1e;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    overflow: hidden;
    font-family: 'Consolas', monospace;
}

.terminal__header {
    background-color: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal__btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.terminal__btn--red { background: #ff5f56; }
.terminal__btn--yellow { background: #ffbd2e; }
.terminal__btn--green { background: #27c93f; }

.terminal__title {
    margin-left: auto;
    margin-right: auto;
    color: #999;
    font-size: 0.8rem;
}

.terminal__body {
    padding: 24px;
    color: #f1f5f9;
}

.terminal__line {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.cmd-user { color: var(--color-accent); }
.cmd-sys { color: #64748b; }
.cmd-success { color: #27c93f; }

.terminal__stats {
    margin: 20px 0;
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.stat-row:last-child { margin-bottom: 0; }

.stat-bar {
    flex-grow: 1;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 3px;
}

.cursor-block {
    animation: blink 1s step-end infinite;
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 992px) {
    .career__wrapper {
        grid-template-columns: 1fr;
    }
    
    .career__terminal {
        margin-top: 40px;
    }
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #1e1b4b 0%, var(--color-bg) 40%);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact__desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.contact__note {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--color-text);
}

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

/* Form Styling */
.contact__form-wrapper {
    background: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

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

.form__checkbox {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.form__checkbox-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    cursor: pointer;
}

.form__checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form__submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

.form__status {
    margin-top: 20px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 20px;
}

.form__status.success { color: var(--color-accent); }
.form__status.error { color: #ff5f56; }

/* Responsive */
@media (max-width: 768px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__form-wrapper {
        padding: 25px;
    }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 9999;
    max-width: 400px;
    transform: translateY(150%); /* Hidden by default */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.cookie-popup__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-popup__text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.cookie-popup__text a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* --- POLICY PAGES STYLES (Privacy, Terms, etc.) --- */
.pages {
    padding: 120px 0 80px; /* Offset for fixed header */
    min-height: 80vh;
}

.pages h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.pages h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-top: 40px;
    margin-bottom: 16px;
}

.pages p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.pages ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
    color: var(--color-text-muted);
}

.pages li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

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

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

/* Mobile fix for popup */
@media (max-width: 576px) {
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
    }
}