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

:root {
    --vh: 1vh;
    --primary-color: #9333ea;
    --secondary-color: #c084fc;
    --bg-dark: #000;
    --bg-lighter: #1a1a1a;
    --text-primary: #fff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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 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;
}

.particle {
    position: absolute;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: float 15s infinite linear;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, -100px) rotate(90deg);
    }
    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.3s ease;
    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;
}

.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;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 40px;
}

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

.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;
}

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

.portfolio-details strong {
    color: var(--secondary-color);
    display: block;
    margin-top: 10px;
}

.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);
}

.see-more-btn {
    margin-top: 40px;
}

/* ===== 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;
}

/* ===== 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) {
    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: 80%;
    }
    
    .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: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 15px 0;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        scrollbar-width: none;
        width: 100vw;
        scroll-behavior: smooth;
        overscroll-behavior: contain;
    }
    
    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }
    
    .portfolio-grid::before,
    .portfolio-grid::after {
        content: '';
        flex: 0 0 calc(50% - 140px);
        min-width: 20px;
    }
    
    .portfolio-item {
        min-width: 280px;
        width: 85%;
        flex: 0 0 auto;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        margin: 0 15px;
        background: rgba(26, 26, 26, 0.9);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 7px 10px rgba(147, 51, 234, 0.4);
        border: 1px solid var(--primary-color);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        will-change: transform, box-shadow;
        position: relative;
        z-index: 1;
    }
    
    .portfolio-item:first-child {
        margin-left: 25px;
    }
    
    .portfolio-item:last-child {
        margin-right: 25px;
    }
    
    .portfolio-item.active-slide {
        box-shadow: 0 5px 10px rgba(147, 51, 234, 0.6);
        transform: translateY(-5px) scale(1.02);
        z-index: 2;
    }
    
    .portfolio-item.active-slide .portfolio-image-img {
        transform: scale(1.05);
    }
    
    .portfolio-item.active-slide .portfolio-visit-btn {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        transform: translateY(-3px);
    }
    
    .portfolio-item:active {
        transform: scale(0.98);
    }
    
    .trigger-effect {
        animation: slideActiveEffect 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .portfolio-image {
        overflow: hidden;
        border-radius: 15px 15px 0 0;
        position: relative;
        aspect-ratio: 16/9;
    }
    
    .portfolio-image::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }
    
    .portfolio-item.active-slide .portfolio-image::before {
        opacity: 1;
    }
    
    .portfolio-image-img {
        transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .portfolio-info {
        padding: 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .portfolio-details {
        margin-bottom: 15px;
        flex: 1;
    }
    
    .portfolio-overlay {
        display: none;
    }
    
    .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: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .portfolio-visit-btn:active {
        transform: scale(0.95);
    }
    
    .portfolio-slider-nav {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin: 25px 0 20px;
    }
    
    .portfolio-slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(147, 51, 234, 0.3);
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        position: relative;
    }
    
    .portfolio-slider-dot.active {
        background: var(--primary-color);
        transform: scale(1.3);
    }
    
    .portfolio-slider-dot.active::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 1px solid rgba(147, 51, 234, 0.5);
        animation: pulseRing 2s infinite;
    }
    
    @keyframes pulseRing {
        0% {
            transform: scale(0.33);
            opacity: 1;
        }
        80%, 100% {
            transform: scale(2.33);
            opacity: 0;
        }
    }
    
    .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);
    }
}

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