/* ===== CSS VARIABLES ===== */
:root {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 9999px;
    --gradient: linear-gradient(135deg, #2563eb, #7c3aed);
    --highlight: #2563eb;
    --nav-bg: rgba(248, 250, 252, 0.8);
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
}

[data-theme="dark"] {
    --bg: #0a0f1e;
    --bg-card: #111827;
    --bg-card-hover: #1e293b;
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: rgba(59, 130, 246, 0.15);
    --border: #1e293b;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --nav-bg: rgba(10, 15, 30, 0.85);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

::selection {
    background: var(--primary);
    color: white;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0 auto 24px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 16px;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    animation: loaderProgress 0.8s ease forwards;
}

.loader-text {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes loaderProgress {
    to { width: 100%; }
}

/* ===== CUSTOM CURSOR (DESKTOP ONLY) ===== */
@media (min-width: 769px) {
    body {
        cursor: none;
    }
    
    a, button, input, textarea, select, .clickable {
        cursor: none;
    }
}

.custom-cursor {
    display: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    transform: translate(-50%, -50%);
    background: transparent;
}

.custom-cursor-dot {
    display: none;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.2s ease;
}

@media (min-width: 769px) {
    .custom-cursor,
    .custom-cursor-dot {
        display: block;
    }
}

/* ===== PARTICLES ===== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
}

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

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary-light);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.nav-cta-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.menu-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SIDE MENU ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.side-menu.open {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.menu-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-subtitle {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.menu-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.menu-close:hover {
    background: var(--bg-card-hover);
}

.menu-list {
    list-style: none;
    flex: 1;
}

.menu-list li {
    margin-bottom: 4px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s;
}

.menu-link:hover, .menu-link.active {
    background: var(--primary-light);
    color: var(--primary);
}

.menu-footer {
    margin-top: 20px;
}

.menu-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.menu-contact-btn:hover {
    background: var(--primary-hover);
}

.menu-telegram {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.menu-telegram a {
    color: var(--primary);
    font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.premium-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.premium-btn-outline {
    border: 2px solid var(--border);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.premium-btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.02em;
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-gradient-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.sphere-1 {
    top: -200px;
    right: -100px;
}

.sphere-2 {
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
    animation-delay: -3s;
}

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

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--border) 1px, transparent 1px),
                linear-gradient(0deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
}

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

.badge-arrow {
    width: 16px;
    height: 16px;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -0.03em;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #2563eb, #7c3aed, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 650px;
}

.hero-description-role {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* ===== PREMIUM STATS CARDS ===== */
.hero-stats-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    width: 100%;
}

.premium-stat-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 28px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.premium-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
}

.premium-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.premium-stat-card:hover .premium-card-glow {
    opacity: 1;
}

.premium-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #7c3aed, #ec4899);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-stat-card:hover .premium-card-accent {
    transform: scaleX(1);
}

.premium-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.premium-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.premium-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.premium-stat-card:hover .premium-card-icon {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.premium-card-badge {
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.premium-stat-card:hover .premium-card-badge {
    background: var(--primary);
    color: white;
}

.premium-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-card-number {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.number-large {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: all 0.3s ease;
}

.premium-stat-card:hover .number-large {
    transform: scale(1.05);
}

.number-plus {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.premium-card-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.premium-card-label-large {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.premium-card-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.premium-card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
}

.premium-stat-card:hover .particle {
    opacity: 0.6;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 0.5s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(4) {
    top: 30%;
    right: 25%;
    animation-delay: 1.5s;
    width: 5px;
    height: 5px;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.4;
    }
    75% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
}

/* ===== TRUSTED BY - HORIZONTAL SCROLL ===== */
.trusted-by {
    text-align: center;
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.trusted-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.trusted-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.trusted-scroll-track {
    display: flex;
    gap: 32px;
    padding: 10px 0;
    animation: scrollTrusted 25s linear infinite;
    width: max-content;
}

.trusted-scroll-track:hover {
    animation-play-state: paused;
}

.trusted-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.trusted-logo:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    background: linear-gradient(135deg, var(--bg-card), var(--primary-light));
}

.trusted-logo svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.trusted-logo:hover svg {
    transform: scale(1.1);
    color: var(--primary);
}

@keyframes scrollTrusted {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== TECH STACK ===== */
.tech-stack-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card-hover) 100%);
    width: 100%;
}

.tech-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.tech-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border-bottom: 1px solid var(--border);
    gap: 24px;
    flex-wrap: wrap;
}

.tech-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tech-brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tech-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.tech-brand-version {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.tech-nav-desktop {
    display: flex;
    gap: 8px;
    background: var(--bg-card-hover);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.tech-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tech-nav-btn:hover {
    background: var(--bg-card);
    color: var(--text);
}

.tech-nav-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tech-mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text);
    flex-shrink: 0;
}

.tech-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card);
    z-index: 3000;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
    overflow-y: auto;
}

.tech-mobile-nav.open {
    right: 0;
}

.tech-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.tech-mobile-nav-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.tech-mobile-nav-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-card-hover);
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-mobile-nav-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-mobile-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: left;
}

.tech-mobile-nav-btn:hover {
    background: var(--bg-card-hover);
}

.tech-mobile-nav-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tech-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tech-mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.tech-content-wrapper {
    padding: 0;
    width: 100%;
}

.tech-row-container {
    padding: 32px;
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.tech-row-container:last-child {
    border-bottom: none;
}

.tech-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.tech-row-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-row-header h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 2px;
}

.tech-row-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-card-hover);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.tech-row-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.tech-row-scroll::-webkit-scrollbar {
    height: 6px;
}

.tech-row-scroll::-webkit-scrollbar-track {
    background: var(--bg-card-hover);
    border-radius: 10px;
}

.tech-row-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 10px;
}

.tech-row-track {
    display: flex;
    gap: 16px;
    min-width: max-content;
}

.tech-row-card {
    flex: 0 0 200px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-row-card:hover::before {
    transform: scaleX(1);
}

.tech-row-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.tech-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.tech-row-card:hover .tech-card-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
}

.tech-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.tech-emoji-icon {
    font-size: 28px;
}

.tech-card-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.2;
}

.tech-card-details span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.tech-card-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid;
}

.tech-card-level.expert {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.3);
}

.tech-card-level.advanced {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.3);
}

.tech-card-level.intermediate {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Tech Card Animations */
.tech-row-card {
    animation: cardSlideIn 0.5s ease forwards;
    opacity: 0;
}

.tech-row-card:nth-child(1) { animation-delay: 0.05s; }
.tech-row-card:nth-child(2) { animation-delay: 0.1s; }
.tech-row-card:nth-child(3) { animation-delay: 0.15s; }
.tech-row-card:nth-child(4) { animation-delay: 0.2s; }
.tech-row-card:nth-child(5) { animation-delay: 0.25s; }
.tech-row-card:nth-child(6) { animation-delay: 0.3s; }
.tech-row-card:nth-child(7) { animation-delay: 0.35s; }
.tech-row-card:nth-child(8) { animation-delay: 0.4s; }

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

/* ===== PROJECTS ===== */
.projects {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    width: 100%;
}

.project-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
    width: 100%;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-preview {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view-btn {
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-view-btn:hover {
    background: white;
    color: #0f172a;
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.project-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.projects-cta {
    text-align: center;
}

/* ===== SERVICES ===== */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-card-hover) 0%, var(--bg) 100%);
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.service-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.service-tags span {
    padding: 4px 12px;
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

/* ===== EXPERIENCE ===== */
.experience {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    width: 100%;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.timeline-item {
    margin-bottom: 16px;
}

.timeline-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    width: 100%;
}

.timeline-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: white;
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-content h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.timeline-date {
    font-size: 12px;
    color: var(--text-muted);
    padding: 2px 10px;
    background: var(--bg-card-hover);
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.current-badge {
    padding: 2px 10px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.3);
    white-space: nowrap;
}

/* ===== ABOUT / EDUCATION ===== */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card-hover) 100%);
    width: 100%;
}

.education-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto 30px;
    padding-left: 30px;
    width: 100%;
}

.edu-line {
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), #7c3aed, transparent);
}

.edu-item {
    position: relative;
    margin-bottom: 30px;
}

.edu-dot {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.edu-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    width: 100%;
}

.edu-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.edu-level {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edu-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 6px 0 4px;
    color: var(--text);
}

.edu-date {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.edu-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== LANGUAGES ===== */
.languages {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    width: 100%;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.language-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    width: 100%;
}

.language-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.language-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.language-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.language-level {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

/* ===== CONTACT ===== */
.contact {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card-hover) 100%);
    width: 100%;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto 48px;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.hire-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-light) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: center;
    width: 100%;
}

.hire-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hire-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.hire-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hire-list {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.hire-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.hire-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.hire-card .btn {
    margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.footer-connect {
    text-align: center;
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.footer-connect h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.footer-connect p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== FLOATING BUTTON ===== */
.floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    animation: floatBtn 2s ease-in-out infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
    animation: none;
}

@keyframes floatBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== ANIMATIONS ===== */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== DARK MODE SPECIFIC ===== */
[data-theme="dark"] .premium-stat-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
}

[data-theme="dark"] .premium-card-glow {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

[data-theme="dark"] .premium-card-badge {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ===== NAV SUPPORT BUTTON ===== */
.nav-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    color: #ec4899;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 72, 153, 0.2);
    white-space: nowrap;
    text-decoration: none;
}

.nav-support-btn:hover {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.nav-support-btn svg {
    transition: transform 0.3s ease;
}

.nav-support-btn:hover svg {
    transform: scale(1.2);
}

/* ===== MENU SUPPORT BUTTON ===== */
.menu-support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    color: #ec4899;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 72, 153, 0.2);
    text-decoration: none;
}

.menu-support-btn:hover {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border-color: transparent;
}

/* ===== PROJECT FEATURED IMAGE ===== */
.project-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.project-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.project-card:hover .project-preview-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.project-preview-content {
    text-align: center;
    color: white;
    z-index: 1;
}

/* ===== CASE STUDY MODAL ===== */
.case-study-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.case-study-modal.open {
    opacity: 1;
    visibility: visible;
}

.case-study-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.case-study-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: 5vh auto;
    background: var(--bg-card);
    border-radius: 24px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.case-study-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.case-study-close:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: rotate(90deg);
}

.case-study-content {
    padding: 0;
}

.case-study-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.case-study-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

.case-study-header-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    color: white;
}

.case-study-header-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.case-study-header-content .case-study-category {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.case-study-body {
    padding: 40px;
}

.case-study-section {
    margin-bottom: 32px;
}

.case-study-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-study-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 2px;
}

.case-study-section p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.case-study-tags .tag {
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.case-study-stat {
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.case-study-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.case-study-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== HIRE CARD SUPPORT BUTTON ===== */
.hire-card .btn-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.hire-card .btn-primary:hover {
    background: linear-gradient(135deg, #db2777, #7c3aed);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

/* Mobile responsive for support button */
@media (max-width: 768px) {
    .nav-support-btn {
        display: none;
    }
    
    .case-study-header {
        height: 200px;
    }
    
    .case-study-header-content {
        padding: 24px;
    }
    
    .case-study-header-content h2 {
        font-size: 24px;
    }
    
    .case-study-body {
        padding: 24px;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .case-study-header {
        height: 160px;
    }
    
    .case-study-header-content h2 {
        font-size: 20px;
    }
    
    .case-study-body {
        padding: 20px;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Screens */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    .nav-center {
        gap: 4px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .hero-stats-premium {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .tech-nav-desktop {
        display: none;
    }
    
    .tech-mobile-menu-btn {
        display: flex;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-center {
        display: none;
    }
    
    .nav-cta-btn {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-description-role {
        font-size: 18px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-premium {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .premium-stat-card {
        padding: 24px 20px;
    }
    
    .premium-card-icon {
        width: 52px;
        height: 52px;
    }
    
    .number-large {
        font-size: 44px;
    }
    
    .premium-card-label-large {
        font-size: 22px;
    }
    
    .trusted-scroll-track {
        gap: 20px;
        animation: scrollTrusted 20s linear infinite;
    }
    
    .trusted-logo {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .tech-stack-section {
        padding: 60px 0;
    }
    
    .tech-dashboard {
        border-radius: 16px;
    }
    
    .tech-dashboard-header {
        padding: 16px 20px;
    }
    
    .tech-row-container {
        padding: 20px;
    }
    
    .tech-row-card {
        flex: 0 0 160px;
        padding: 16px;
    }
    
    .tech-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    
    .projects {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .experience {
        padding: 60px 0;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .languages {
        padding: 60px 0;
    }
    
    .languages-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .hire-card {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .floating-btn {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 10px 16px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-description-role {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-stats-premium {
        gap: 12px;
    }
    
    .premium-stat-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
    
    .premium-card-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    
    .premium-card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .number-large {
        font-size: 40px;
    }
    
    .premium-card-label-large {
        font-size: 20px;
    }
    
    .premium-card-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .trusted-scroll-track {
        gap: 16px;
        animation: scrollTrusted 15s linear infinite;
    }
    
    .trusted-logo {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 10px;
    }
    
    .trusted-logo svg {
        width: 20px;
        height: 20px;
    }
    
    .tech-dashboard-header {
        padding: 12px 16px;
    }
    
    .tech-row-container {
        padding: 16px;
    }
    
    .tech-row-header h3 {
        font-size: 15px;
    }
    
    .tech-row-card {
        flex: 0 0 150px;
        padding: 14px;
    }
    
    .tech-card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
    }
    
    .tech-card-details h4 {
        font-size: 13px;
    }
    
    .tech-card-details span {
        font-size: 11px;
    }
    
    .tech-card-level {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .tech-mobile-nav {
        width: 100%;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 16px;
    }
    
    .project-info h3 {
        font-size: 16px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
    
    .timeline-card {
        padding: 16px;
        gap: 12px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .timeline-content h3 {
        font-size: 14px;
    }
    
    .edu-card {
        padding: 16px;
    }
    
    .edu-card h3 {
        font-size: 16px;
    }
    
    .languages-grid {
        grid-template-columns: 1fr;
    }
    
    .language-card {
        padding: 14px;
        gap: 12px;
    }
    
    .hire-card {
        padding: 24px 20px;
    }
    
    .hire-card h3 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .footer-connect {
        padding: 32px 0 20px;
    }
    
    .footer-socials {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-label {
        font-size: 11px;
    }
    
    .floating-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .floating-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Small Mobile Phones */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }
    
    .tech-row-card {
        flex: 0 0 140px;
        padding: 12px;
    }
    
    .trusted-logo {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .tech-row-container {
        padding: 12px;
    }
}