/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --vh: 1vh;
    --primary-color: #7c3aed;
    --secondary-color: #a855f7;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --bg-dark: #0a0a0b;
    --bg-lighter: #1a1a1b;
    --bg-section: #0f0f10;
    --bg-card: #161617;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--bg-dark);
    opacity: 0;
    animation: fadeInBody 0.8s ease-in-out 0.2s forwards;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%237c3aed" fill-opacity="0.02"><circle cx="30" cy="30" r="1.5"/></g></svg>');
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

html {
    scroll-padding-top: 60px;
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

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

.loader-logo {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

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

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading 2s ease forwards;
}

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

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(147, 51, 234, 0.5);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(147, 51, 234, 0.8);
}

.trail {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.5);
    pointer-events: none;
    z-index: 9998;
    animation: fadeOut 1s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0);
    }
}

/* ===== HEADER & NAVIGATION ===== */
.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 50;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

nav li {
    position: relative;
}

nav a {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4b5563;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

nav a.active {
    background-color: var(--primary-color);
    transform: scale(1.5);
    box-shadow: 0 0 15px var(--primary-color);
}

nav a:hover {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

nav .nav-label {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-lighter);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--primary-color);
}

nav li:hover .nav-label,
nav a.active + .nav-label {
    opacity: 1;
    left: 40px;
}

nav a.active + .nav-label {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    display: none;
}

.mobile-menu-btn {
    scale: 1.3;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 50;
    width: 45px;
    height: 45px;
    background: transparent;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
    font-size: 20px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-lighter) 100%);
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.mobile-menu li {
    margin: 15px 0;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s forwards;
}

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

.mobile-menu a {
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
    display: block;
}

.mobile-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.mobile-menu a:hover:after,
.mobile-menu a.active:after {
    width: 100%;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 40;
    background: rgba(26, 26, 26, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.lang-switcher:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
}

.lang-switcher-divider {
    color: var(--primary-color);
    font-size: 16px;
}

.lang-switcher span {
    transition: all 0.3s ease;
}

.lang-switcher span.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== SECTIONS ===== */
section {
    min-height: 100vh;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* ===== HERO SECTION ===== */
#hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(circle at center, #1a0033, var(--bg-dark));
    animation: heroGradientShift 8s ease-in-out infinite;
}

@keyframes heroGradientShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
            radial-gradient(circle at center, #1a0033, var(--bg-dark));
    }
    50% { 
        background: 
            radial-gradient(circle at 60% 30%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
            radial-gradient(circle at 40% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
            radial-gradient(circle at center, #1a0033, var(--bg-dark));
    }
}

.hero-bg-mobile {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 50%, var(--bg-dark) 100%);
    opacity: 0.1;
    display: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: floatParticle1 12s ease-in-out infinite;
}

.hero-particles::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 30%;
    right: 15%;
    animation: floatParticle2 15s ease-in-out infinite;
}

@keyframes floatParticle1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(30px, -20px) scale(1.1); opacity: 0.5; }
    50% { transform: translate(-20px, 10px) scale(0.9); opacity: 0.4; }
    75% { transform: translate(40px, 30px) scale(1.05); opacity: 0.6; }
}

@keyframes floatParticle2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.2; }
    33% { transform: translate(-25px, -15px) scale(1.2) rotate(120deg); opacity: 0.4; }
    66% { transform: translate(15px, 25px) scale(0.8) rotate(240deg); opacity: 0.3; }
}

.particle {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    opacity: 0.4;
    filter: blur(1px);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(100px, -100px) rotate(90deg) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-100px, -200px) rotate(180deg);
    }
    75% {
        transform: translate(50px, 100px) rotate(270deg);
    }
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    background: linear-gradient(45deg, var(--text-primary), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(147, 51, 234, 0.8);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 10;
    line-height: 1.6;
}

.btn-container {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    justify-content: center;
    transform: translateY(0);
}

.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: 0.5s;
}

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

.btn-primary {
    background: linear-gradient(45deg, #7c3aed, var(--primary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 0.8s forwards;
}

/* ===== ABOUT SECTION ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.about-left {
    position: relative;
}

.about-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, #7c3aed, var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image:before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: 30px;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.memoji {
    font-size: 150px;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.memoji img {
    width: 100%;
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.floating-element {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    padding: 10px 20px;
    color: white;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: floatElement 6s ease-in-out infinite;
}

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

.about-content {
    padding: 40px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--text-primary), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-bio {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(147, 51, 234, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-tag {
    background: rgba(147, 51, 234, 0.1);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== SERVICES SECTION ===== */
#services {
    background: linear-gradient(to bottom, var(--bg-dark), #0a001a);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.service-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-btn {
    padding: 10px 25px;
    background: linear-gradient(45deg, #7c3aed, var(--primary-color));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.5);
}

/* ===== TECH STACK SECTION ===== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    margin-top: 50px;
}

.tech-card {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.tech-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

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

.tech-icon {
    font-size: 60px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}

.tech-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tech-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tech-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 14px;
    color: var(--secondary-color);
}

.tech-card:hover .tech-details {
    max-height: 100px;
}

/* ===== PROCESS SECTION ===== */
.process-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
    margin-top: 50px;
}

.process-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #4b5563, transparent);
    transform: translateX(-50%);
}

.process-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.5s ease;
}

.process-item {
    position: relative;
    margin-bottom: 120px;
    display: flex;
    align-items: center;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.process-item.active {
    opacity: 1;
}

.process-item:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-end;
}

.process-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.process-content {
    width: 45%;
    padding: 30px;
    background: rgba(26, 26, 26, 1);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.process-number {
    position: absolute;
    left: 50%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #7c3aed, var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border: 4px solid var(--bg-dark);
    transform: translateX(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.process-item.active .process-number {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 20px var(--primary-color);
}

.process-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.process-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== PORTFOLIO SECTION ===== */
#portfolio {
    background: linear-gradient(to bottom, var(--bg-dark), #0a001a);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.see-more-btn {
    display: flex;
    margin: 0 auto 40px;
}

.portfolio-slider {
    display: none;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.portfolio-swiper {
    width: 100%;
    padding: 10px 10px 70px;
}

.portfolio-swiper .swiper-wrapper {
    padding-bottom: 30px;
}

.portfolio-swiper .swiper-slide {
    height: auto;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-lighter);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.4);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #111;
}

.portfolio-image-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image-img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-details {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.portfolio-details strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.portfolio-details strong::after {
    content: ':';
    margin-left: 4px;
    color: inherit;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, #7c3aed, var(--primary-color));
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.5);
}

.portfolio-visit-btn {
    display: none;
}

.portfolio-swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 20px;
}

.portfolio-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

.portfolio-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.02);
}

.portfolio-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.portfolio-swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.portfolio-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(147, 51, 234, 0.3);
    opacity: 1;
    transition: transform 0.3s ease, background 0.3s ease;
}

.portfolio-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    width: 100%;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(147, 51, 234, 0.1);
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding: 10px 25px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
#cta {
    background: linear-gradient(135deg, #0a001a 0%, var(--bg-dark) 50%, #1a0033 100%);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    padding: 60px 40px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--text-primary), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content h2:after {
    display: none;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-availability {
    margin-bottom: 40px;
}

.cta-availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    padding: 15px 25px;
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.cta-availability-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
}

.cta-contact-info {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.cta-contact-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.cta-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.cta-circle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cta-circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.cta-circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, rgba(124, 58, 237, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%237c3aed" fill-opacity="0.03"><polygon points="40,0 80,40 40,80 0,40"/></g></svg>');
    pointer-events: none;
    z-index: 0;
}

.testimonials-section > * {
    position: relative;
    z-index: 1;
}

.section-heading {
    text-align: left;
    margin-bottom: 3rem;
}

.section-heading.center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-heading h2 {
    text-align: inherit;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    opacity: 0.85;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 2.4rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

.upwork-section {
    margin: 0 auto 4rem;
    width: min(1050px, 100%);
    background: linear-gradient(120deg, rgba(18, 16, 28, 0.95), rgba(10, 10, 18, 0.92));
    border-radius: 28px;
    padding: 2.5rem 2.8rem;
    border: 1px solid rgba(124, 58, 237, 0.25);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.upwork-intro {
    text-align: left;
}

.upwork-badge {
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.18);
    color: #d9b6ff;
}

.upwork-intro h3 {
    margin: 0.8rem 0 0.5rem;
    font-size: clamp(1.8rem, 3.6vw, 2.2rem);
}

.upwork-intro p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.upwork-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.upwork-metrics-grid.compact.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upwork-metrics-grid.compact .upwork-metric-card {
    flex-direction: row;
    align-items: center;
}

.upwork-metric-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.015);
    padding: 1.2rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.metric-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.18);
    font-weight: 700;
    font-size: 11px;
    margin-right: 0.9rem;
}

.metric-title {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.metric-note {
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.upwork-metric-card.highlight {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(124, 58, 237, 0.1);
}

.upwork-metric-card .metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.upwork-metric-card .metric-label {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.upwork-metric-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.upwork-foot {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.6rem;
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.foot-trust {
    margin: 0;
    font-weight: 600;
}

.foot-quote {
    margin: 0;
    font-style: italic;
    color: var(--text-secondary);
}

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

.testimonials-slider {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
}

.testimonials-swiper {
    width: 100%;
    padding: 0 10px 70px;
}

.testimonials-swiper .swiper-wrapper {
    padding-bottom: 20px;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

@media (max-width: 767px) {
    .testimonials-container {
        padding: 0;
        max-width: 100%;
    }
    
    .testimonials-slider {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
    }
    
    .slider-btn {
        display: none !important;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .testimonials-swiper {
        padding-bottom: 50px;
        max-width: 100%;
        width: 100%;
    }
    
    .testimonials-swiper .swiper-wrapper {
        max-width: 100%;
    }
    
    .testimonials-swiper .swiper-slide {
        width: 100% !important;
        box-sizing: border-box;
    }
}

.slider-btn {
    position: absolute;
    top: 41%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
    animation: buttonPulse 1.5s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6), 0 0 20px rgba(124, 58, 237, 0.3);
    }
    100% {
        box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
    }
}

@keyframes fadeInBody {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.prev-btn {
    left: 0px;
}

.next-btn {
    right: 0px;
}

@media (max-width: 1400px) {
    .prev-btn {
        left: 25px;
    }
    
    .next-btn {
        right: 25px;
    }
}

@media (max-width: 768px) {
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

.testimonials-pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

@media (max-width: 768px) {
    .testimonials-pagination {
        margin-top: 2.5rem;
    }
    
    .testimonials-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 280px;
    width: 100%;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
        min-height: 250px;
    }
}

.testimonial-card:hover {
    border-color: var(--primary-color);
}

.testimonial-card:hover .stars i {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

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

/* ===== SURVEY POPUP ===== */
/* ===== SURVEY POPUP ===== */
.survey-widget {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 200;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.survey-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(124, 58, 237, 0.2);
    color: var(--text-primary);
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.survey-widget.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-16px);
}

.survey-trigger:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.45);
}

.survey-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
}

.survey-modal.open {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.survey-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 23, 0.78);
    backdrop-filter: blur(12px);
}

.survey-panel {
    position: relative;
    width: min(540px, 94vw);
    background: linear-gradient(150deg, rgba(18, 18, 27, 0.98), rgba(8, 8, 12, 0.96));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 45px 90px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.survey-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.survey-intro {
    text-align: center;
}

.survey-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.survey-intro p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.survey-form.hidden {
    display: none;
}

.survey-field {
    margin-bottom: 1.5rem;
}

.survey-field label {
    display: block;
    margin-bottom: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.survey-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.survey-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(20, 20, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.survey-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.survey-option:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.12);
}

.survey-option.selected {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.12);
}

.survey-option input:checked + span {
    color: var(--primary-color);
}

.survey-field input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 15, 0.8);
    color: var(--text-primary);
}

.survey-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.survey-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.survey-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    min-height: 22px;
}

.survey-result {
    margin-top: 1.5rem;
}

.survey-result.hidden {
    display: none;
}

.survey-result-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    padding: 1.6rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.survey-result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d399;
    font-size: 1.4rem;
}

.survey-result-card h3 {
    margin-bottom: 0.6rem;
}

.survey-result-card p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.survey-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 4rem;
    padding-top: 1.8rem;
}

.survey-progress-bar {
    position: absolute;
    top: 0.9rem;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.survey-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: var(--survey-progress, 0%);
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.survey-progress-step {
    flex: 1;
    padding-top: 0;
    text-align: center;
    position: relative;
    margin-top: -30px;
}

.survey-progress-step span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 30, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.survey-progress-step p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.survey-progress-step.active span {
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
}

.survey-progress-step.completed span {
    border-color: transparent;
    background: var(--gradient-primary);
    color: white;
}

.survey-step {
    display: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    animation: fadeIn 0.3s ease;
}

.survey-step.active {
    display: block;
}

.survey-navigation {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.survey-navigation .btn {
    width: 100%;
}

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

@media (max-width: 640px) {
    .survey-intro p {
        font-size: .8rem;
    }
.survey-intro h3 {
    font-size: 1rem;
}
    .survey-progress-step p {
    font-size: 10px;
}

    .survey-panel {
        width: calc(100% - 2rem);
        max-height: 90vh;
        border-radius: 20px;
        padding: 1.5rem;
        overflow-y: auto;
    }
    
    .survey-widget {
        left: 15px;
        bottom: 20px;
    }
    
    .survey-trigger {
        padding: 0.8rem;
        border-radius: 50%;
        width: 54px;
        height: 54px;
        justify-content: center;
    }
    
    .survey-trigger span {
        display: none;
    }
    
    .survey-progress {
        flex-direction: row;
        gap: 0.6rem;
    }
    
    .survey-progress-step {
        text-align: center;
    }
    
    .survey-progress-step::after {
        display: none;
    }
    
    .survey-navigation {
        flex-direction: column;
    }
    
    .survey-navigation .btn {
        width: 100%;
    }
    
    .survey-step {
        padding: 1rem;
    }
}
/* Mobile optimizations */
@media (max-width: 1024px) {
    .upwork-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .upwork-bottom-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .testimonials-section h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .upwork-section {
        padding: 2rem 1.4rem;
        margin-bottom: 3rem;
        border-radius: 22px;
    }
    
    .upwork-badge {
        font-size: 0.75rem;
    }
    
    .upwork-metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
footer {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #0a0a0a, var(--bg-dark));
    position: relative;
    text-align: center;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 24px;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    color: #6b7280;
    font-size: 14px;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-lighter);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: modalIn 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--text-primary), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.modal-service-desc {
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-service-features {
    margin-bottom: 30px;
}

.modal-service-features h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.modal-service-features ul {
    list-style: none;
    color: var(--text-muted);
}

.modal-service-features li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.modal-service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

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

.form-input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

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

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

.form-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
    .upwork-metrics-grid {
        display: none;
    }
    body {
        overflow-x: hidden !important;
    }
    
    section {
        padding: 60px 15px;
        min-height: auto;
    }
    
    /* Hide elements on mobile */
    .custom-cursor,
    .trail {
        display: none !important;
    }
    
    nav {
        display: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    /* Logo */
    .logo {
        display: none;
    }
    
    /* Mobile header */
    .mobile-header {
        height: 72px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 16px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        opacity: 0.95;
        background: linear-gradient(45deg, #0d0017, #33003f);
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
        will-change: transform;
    }
    
    .mobile-logo {
        opacity: 1;
        position: fixed;
        top: 20px;
        left: 20px;
        font-size: 24px;
        font-weight: bold;
        z-index: 50;
        background: white;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: fixed;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        z-index: 51;
    }
    
    /* Mobile menu */
    .mobile-menu {
        backdrop-filter: blur(10px);
        background: rgba(0, 0, 0, 0.95);
    }
    
    .mobile-menu ul {
        width: 100%;
        padding: 0 20px;
    }
    
    .mobile-menu li {
        margin: 15px 0;
    }
    
    .mobile-menu a {
        font-size: 22px;
        padding: 10px 0;
        display: block;
    }
    
    /* Language switcher */
    .lang-switcher {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Hero section */
    #hero {
        padding-top: 80px;
    }
    
    .hero-bg-mobile {
        display: block;
        opacity: 0.8;
    }
    
    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .btn-container {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        padding: 0 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        font-size: 15px;
    }
    
    /* About section */
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image-container {
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .memoji {
        font-size: 120px;
    }
    
    .memoji img {
        width: 100%;
        scale: 0.8;
    }
    
    .about-content {
        padding: 25px;
        margin: 0;
    }
    
    .about-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .about-bio {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .skill-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px;
        border-color: var(--primary-color);
        box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-desc {
        font-size: 14px;
    }
    
    /* Tech section */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tech-card {
        padding: 30px 20px;
        border-color: var(--primary-color);
        box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
    }
    
    .tech-icon {
        font-size: 50px;
    }
    
    .tech-name {
        font-size: 20px;
    }
    
    .tech-details {
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* Process section */
    .process-container {
        margin-top: 30px;
    }
    
    .process-item {
        flex-direction: column !important;
        margin-bottom: 0px;
        align-items: center;
        justify-content: center;
    }
    
    .process-content {
        width: 100%;
        margin: 20px 0 0 0 !important;
        padding: 25px;
    }
    
    .process-number {
        position: relative !important;
        left: 6% !important;
        top: -150px !important;
        margin-bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .process-title {
        font-size: 20px;
    }
    
    /* Portfolio section */
    .portfolio-grid {
        display: none;
    }
    
    .portfolio-slider {
        display: block;
        margin-bottom: 10px;
    }
    
    .portfolio-swiper {
        padding: 0 0 60px;
    }
    
    .portfolio-swiper-controls {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 10px;
    }
    
    .portfolio-nav-btn {
        display: none;
    }
    
    .portfolio-overlay {
        display: none;
    }
    
    .portfolio-details {
        margin-bottom: 12px;
    }
    
    .portfolio-visit-btn {
        display: block;
        background: linear-gradient(45deg, #7c3aed, var(--primary-color));
        color: white;
        padding: 12px;
        text-align: center;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        margin-top: auto;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .portfolio-visit-btn:active {
        transform: scale(0.97);
    }
    
    .see-more-btn {
        display: none !important;
    }
    
    #portfolio {
        padding-bottom: 60px;
    }
    
    /* FAQ */
    .faq-container {
        width: 100%;
    }
    
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: left;
    }
    
    .faq-question span {
        flex: 1;
        padding-right: 15px;
        max-width: 340px !important;
    }
    
    .faq-icon {
        flex-shrink: 0;
    }
    
    .faq-answer p {
        padding: 10px 15px 15px;
        font-size: 14px;
    }
    
    /* CTA Section */
    .cta-content {
        padding: 40px 20px;
        margin: 0 15px;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-availability-badge {
        padding: 12px 20px;
        font-size: 13px;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .cta-btn {
        width: 100%;
        padding: 15px 30px;
    }
    
    .cta-contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Footer */
    footer {
        padding: 40px 15px;
    }
    
    .footer-logo {
        font-size: 20px;
    }
    
    .footer-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    /* Modals */
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        max-height: 85vh;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 26px;
    }
    
    .modal-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-input {
        padding: 12px 16px;
        font-size: 16px !important;
        -webkit-appearance: none;
        border-radius: 10px;
    }
    
    .form-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
    
    /* Section headings */
    h2 {
        font-size: 2.8rem;
        margin-bottom: 35px;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

/* ===== SMALLER MOBILE DEVICES ===== */
@media (max-width: 480px) {
    section {
        padding: 50px 10px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    /* Hero adjustments */
    h1 {
        font-size: 1.9rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* About section */
    .about-image-container {
        max-width: 240px;
        height: 240px;
    }
    
    .memoji {
        font-size: 100px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .about-title {
        font-size: 1.6rem;
    }
    
    .about-bio {
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .skill-tag {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    /* Services */
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .service-title {
        font-size: 17px;
    }
    
    /* Tech stack */
    .tech-card {
        padding: 25px 15px;
    }
    
    .tech-icon {
        font-size: 45px;
    }
    
    /* Process */
    .process-content {
        padding: 20px;
    }
    
    .process-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .process-title {
        font-size: 18px;
    }
    
    /* Portfolio */
    .portfolio-image {
        height: 180px;
    }
    
    .portfolio-info {
        padding: 15px;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content {
        padding: 30px 15px;
    }
    
    /* Footer */
    .footer-logo {
        font-size: 18px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* Modals */
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    /* Typography */
    h2 {
        font-size: 2.6rem;
        margin-bottom: 30px;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

/* ===== LANDSCAPE MODE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: 100vh;
        padding: 40px 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn-container {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        width: auto;
    }
}

/* ===== TOUCH DEVICES ===== */
@media (hover: none) {
    .tech-card:hover .tech-details {
        max-height: 0;
    }
    
    .portfolio-item:hover .portfolio-overlay {
        opacity: 0;
    }
    
    .portfolio-item .portfolio-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.7);
    }
}

.touch-device .tech-card:hover .tech-details,
.touch-device .portfolio-item:hover .portfolio-overlay,
.touch-device .service-card:hover,
.touch-device .process-content:hover {
    transform: none;
}

.touch-device .btn:hover,
.touch-device .social-link:hover,
.touch-device .skill-tag:hover {
    transform: none;
    box-shadow: none;
}

/* ===== iOS FIXES ===== */
@supports (-webkit-touch-callout: none) {
    .modal-content {
        -webkit-overflow-scrolling: touch;
    }
    
    input, textarea {
        font-size: 16px;
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .lang-switcher {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* ===== ANDROID FIXES ===== */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .btn {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-contrast: high) {
    .service-card,
    .tech-card,
    .process-content,
    .faq-item {
        border: 1px solid var(--text-primary);
    }
}

/* ===== EXPERTISE SECTION ===== */
.expertise-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23a855f7" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>');
    pointer-events: none;
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.expertise-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
    border-color: var(--primary-color);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.3));
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.expertise-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.expertise-card ul {
    list-style: none;
    text-align: left;
}

.expertise-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 30px;
}

.expertise-card li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 8px;
}

.expertise-benefits {
    text-align: center;
    margin-top: 80px;
}

.expertise-benefits h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
    padding: 100px 0;
    background: var(--bg-section);
    position: relative;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
    border-color: var(--primary-color);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.why-choose-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.why-choose-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive for Why Choose Section */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
    }
    
    .why-choose-section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .why-choose-card {
        padding: 30px 20px;
    }
    
    .why-choose-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FLOATING BACKGROUND ELEMENTS ===== */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.1));
    pointer-events: none;
    animation: floatUpDown 8s infinite ease-in-out;
    z-index: 0;
}

.floating-circle:nth-child(1) {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.floating-circle:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.floating-circle:nth-child(3) {
    width: 25px;
    height: 25px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.floating-circle:nth-child(4) {
    width: 18px;
    height: 18px;
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.floating-circle:nth-child(5) {
    width: 22px;
    height: 22px;
    top: 70%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 9s;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-25px) rotate(270deg);
        opacity: 0.5;
    }
}

/* Hide on mobile for performance */
@media (max-width: 768px) {
    .floating-circle {
        display: none;
    }
}
