:root {
    /* Colors - Modern tech palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --accent: #10b981;
    --accent-light: #34d399;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Neutral colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.brand-text {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.1rem;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Main content */
.main {
    padding: var(--space-2xl) 0;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-glow);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Code Window */
.code-window {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
}

.window-header {
    background: var(--gray-800);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 1px solid var(--gray-700);
}

.window-controls {
    display: flex;
    gap: var(--space-xs);
}

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

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.window-title {
    color: var(--gray-400);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.code-content {
    padding: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.8;
}

.code-line {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: 4px;
}

.line-number {
    color: var(--gray-500);
    width: 20px;
    text-align: right;
    user-select: none;
}

.code-text .keyword { color: #c792ea; }
.code-text .class { color: #ffcb6b; }
.code-text .function { color: #82aaff; }
.code-text .string { color: #c3e88d; }
.code-text .comment { color: var(--gray-500); font-style: italic; }

/* Skills Showcase */
.skills-showcase {
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.02em;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.skill-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.skill-card.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.skill-card.primary .skill-level .level-bar {
    background: rgba(255, 255, 255, 0.2);
}

.skill-card.primary .skill-level .level-bar::before {
    background: white;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.skill-level {
    margin-bottom: var(--space-lg);
}

.level-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.level-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--width, 0%);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    transition: width 1s ease;
}

.level-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
}

.skill-card.primary .level-text {
    color: rgba(255, 255, 255, 0.9);
}

.skill-details {
    list-style: none;
}

.skill-details li {
    padding: var(--space-xs) 0;
    color: var(--gray-600);
    position: relative;
    padding-left: var(--space-lg);
}

.skill-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.skill-card.primary .skill-details li {
    color: rgba(255, 255, 255, 0.9);
}

.skill-card.primary .skill-details li::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Experience Timeline */
.experience {
    margin-bottom: var(--space-3xl);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-2xl);
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 21px;
    top: var(--space-sm);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.timeline-item.active .timeline-marker {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    animation: pulse-marker 2s infinite;
}

.timeline-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.timeline-period {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--gray-200);
}

.timeline-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Value Proposition */
.value-prop {
    margin-bottom: var(--space-3xl);
}

.value-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.value-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-xl);
    line-height: 1.3;
}

.value-points {
    display: grid;
    gap: var(--space-lg);
}

.value-point {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.point-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.point-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

.urgency-card {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 100px;
}

.urgency-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.urgency-icon {
    font-size: 1.5rem;
}

.urgency-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.urgency-card p {
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    opacity: 0.95;
}

.availability-info {
    margin-bottom: var(--space-lg);
}

.availability-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
    opacity: 0.9;
}

.urgency-cta {
    display: block;
    text-align: center;
    background: white;
    color: var(--warning);
    padding: var(--space-md);
    border-radius: var(--radius-xl);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Contact Section */
.contact {
    margin-bottom: var(--space-3xl);
}

.contact-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.contact-card > p {
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-method.telegram {
    background: rgba(34, 139, 230, 0.05);
    border-color: rgba(34, 139, 230, 0.2);
    color: #228be6;
}

.contact-method.telegram:hover {
    background: rgba(34, 139, 230, 0.1);
    border-color: #228be6;
}

.contact-method.whatsapp {
    background: rgba(37, 211, 102, 0.05);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.contact-method.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
}

.method-icon {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 28px;
    height: 28px;
}

.method-info strong {
    display: block;
    margin-bottom: 2px;
    color: var(--gray-900);
}

.method-info small {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.response-time {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Footer */
.footer {
    border-top: 1px solid var(--gray-200);
    padding: var(--space-xl) var(--space-lg);
    background: var(--gray-50);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-marker {
    0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1); }
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .value-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .urgency-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav {
        padding: var(--space-sm) var(--space-md);
    }

    .brand-text {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        gap: var(--space-lg);
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .timeline {
        margin-left: var(--space-md);
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: 6px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-footer {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .value-text h2 {
        font-size: 1.75rem;
    }
}