/* ===== CSS Variables ===== */
:root {
    --primary: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    --secondary: #06B6D4;
    --accent: #F59E0B;
    --success: #10B981;
    
    --bg-dark: #0A0A0F;
    --bg-darker: #050507;
    --bg-card: #12121A;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 50%, #10B981 100%);
    --border-color: rgba(139, 92, 246, 0.2);
    
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 3rem;
    }
}

/* ===== Custom Cursor ===== */
.cursor-dot,
.cursor-outline {
    display: none;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 769px) {
    .cursor-dot,
    .cursor-outline {
        display: block;
    }
    
    body {
        cursor: none;
    }
    
    a, button, input, textarea, select, .clickable {
        cursor: none;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
}

.cursor-outline {
    width: 35px;
    height: 35px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    transition: width 0.2s, height 0.2s;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: var(--secondary);
}

.cursor-outline.hover {
    width: 50px;
    height: 50px;
    border-color: rgba(6, 182, 212, 0.5);
}

/* ===== Loader ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

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

.loader-logo {
    margin-bottom: 2rem;
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 3rem;
    }
}

.logo-vibe {
    background: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.loader-percent {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ===== Canvas ===== */
#webgl-canvas,
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#webgl-canvas {
    z-index: -2;
}

#particle-canvas {
    z-index: -1;
    opacity: 0.5;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .nav {
        padding: 1.5rem 3rem;
    }
}

.nav.scrolled {
    padding: 0.75rem 1.5rem;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .nav.scrolled {
        padding: 0.75rem 3rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 1001;
}

@media (min-width: 768px) {
    .nav-logo {
        font-size: 1.5rem;
    }
}

.logo-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    display: none;
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

@media (min-width: 900px) {
    .nav-cta {
        display: inline-block;
    }
}

.nav-cta:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.nav-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

@media (min-width: 900px) {
    .nav-menu-btn {
        display: none;
    }
}

.nav-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-link:hover {
    color: var(--primary);
}

/* ===== Sections ===== */
section {
    padding: 4rem 0;
    position: relative;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-badge.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

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

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

.hero-badge span:last-child {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.1s;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.title-line {
    display: block;
}

.word {
    display: inline-block;
}

.highlight {
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    width: 100%;
    height: 0.12em;
    background: var(--gradient-primary);
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
}

.hero-description.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.2s;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.1rem;
    }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.3s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translate(3px, -3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

/* ===== Hero Stats ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    max-width: 480px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.4s;
}

@media (min-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
}

.stat {
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(139, 92, 246, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .stat {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }
}

.stat:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

.stat-suffix {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .stat-suffix {
        font-size: 1.25rem;
    }
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 0.8rem;
    }
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .scroll-indicator {
        display: flex;
    }
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 7px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== About Section ===== */
.about {
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.about-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .about-lead {
        font-size: 1.1rem;
    }
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.02);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(139, 92, 246, 0.06);
    border-color: var(--border-color);
    transform: translateX(8px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    background: var(--primary);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.feature:hover .feature-icon svg {
    stroke: white;
}

.feature-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.feature-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== Tech Orbit ===== */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    order: -1;
}

@media (min-width: 768px) {
    .about-visual {
        min-height: 380px;
    }
}

@media (min-width: 1024px) {
    .about-visual {
        order: 0;
        min-height: 420px;
    }
}

.tech-orbit {
    position: relative;
    width: 260px;
    height: 260px;
}

@media (min-width: 768px) {
    .tech-orbit {
        width: 340px;
        height: 340px;
    }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    z-index: 10;
}

@media (min-width: 768px) {
    .orbit-center {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed var(--border-color);
    border-radius: 50%;
}

.orbit-1 {
    width: 140px;
    height: 140px;
    animation: rotate 25s linear infinite;
}

.orbit-2 {
    width: 230px;
    height: 230px;
    animation: rotate 35s linear infinite reverse;
}

@media (min-width: 768px) {
    .orbit-1 {
        width: 180px;
        height: 180px;
    }
    
    .orbit-2 {
        width: 300px;
        height: 300px;
    }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
}

.orbit-item span {
    display: block;
    padding: 0.35rem 0.7rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .orbit-item span {
        padding: 0.4rem 0.85rem;
        font-size: 0.75rem;
    }
}

.orbit-item span:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.orbit-item-1 { animation: orbit1 25s linear infinite; }
.orbit-item-2 { animation: orbit2 25s linear infinite; }
.orbit-item-3 { animation: orbit3 25s linear infinite; }
.orbit-item-4 { animation: orbit4 35s linear infinite reverse; }
.orbit-item-5 { animation: orbit5 35s linear infinite reverse; }
.orbit-item-6 { animation: orbit6 35s linear infinite reverse; }

@keyframes orbit1 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(70px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(70px) rotate(-360deg); }
}
@keyframes orbit2 {
    from { transform: translate(-50%, -50%) rotate(120deg) translateX(70px) rotate(-120deg); }
    to { transform: translate(-50%, -50%) rotate(480deg) translateX(70px) rotate(-480deg); }
}
@keyframes orbit3 {
    from { transform: translate(-50%, -50%) rotate(240deg) translateX(70px) rotate(-240deg); }
    to { transform: translate(-50%, -50%) rotate(600deg) translateX(70px) rotate(-600deg); }
}
@keyframes orbit4 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(115px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg) translateX(115px) rotate(360deg); }
}
@keyframes orbit5 {
    from { transform: translate(-50%, -50%) rotate(120deg) translateX(115px) rotate(-120deg); }
    to { transform: translate(-50%, -50%) rotate(-240deg) translateX(115px) rotate(240deg); }
}
@keyframes orbit6 {
    from { transform: translate(-50%, -50%) rotate(240deg) translateX(115px) rotate(-240deg); }
    to { transform: translate(-50%, -50%) rotate(-120deg) translateX(115px) rotate(120deg); }
}

@media (min-width: 768px) {
    @keyframes orbit1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(90px) rotate(-360deg); }
    }
    @keyframes orbit2 {
        from { transform: translate(-50%, -50%) rotate(120deg) translateX(90px) rotate(-120deg); }
        to { transform: translate(-50%, -50%) rotate(480deg) translateX(90px) rotate(-480deg); }
    }
    @keyframes orbit3 {
        from { transform: translate(-50%, -50%) rotate(240deg) translateX(90px) rotate(-240deg); }
        to { transform: translate(-50%, -50%) rotate(600deg) translateX(90px) rotate(-600deg); }
    }
    @keyframes orbit4 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(-360deg) translateX(150px) rotate(360deg); }
    }
    @keyframes orbit5 {
        from { transform: translate(-50%, -50%) rotate(120deg) translateX(150px) rotate(-120deg); }
        to { transform: translate(-50%, -50%) rotate(-240deg) translateX(150px) rotate(240deg); }
    }
    @keyframes orbit6 {
        from { transform: translate(-50%, -50%) rotate(240deg) translateX(150px) rotate(-240deg); }
        to { transform: translate(-50%, -50%) rotate(-120deg) translateX(150px) rotate(120deg); }
    }
}
/* ===== Projects Section ===== */
.projects {
    background: var(--bg-darker);
}

.projects-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

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

@media (min-width: 768px) {
    .project-image {
        height: 240px;
    }
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-placeholder.placeholder-2 {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
}

.project-placeholder.placeholder-3 {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.placeholder-icon-svg {
    width: 70px;
    height: 70px;
}

@media (min-width: 768px) {
    .placeholder-icon-svg {
        width: 85px;
        height: 85px;
    }
}

.placeholder-icon-svg svg {
    width: 100%;
    height: 100%;
    stroke: rgba(139, 92, 246, 0.5);
    transition: all 0.4s ease;
}

.project-card:hover .placeholder-icon-svg svg {
    stroke: rgba(139, 92, 246, 0.8);
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
    transform: scale(1.1);
}

.project-card[data-project="2"] .placeholder-icon-svg svg {
    stroke: rgba(16, 185, 129, 0.5);
}

.project-card[data-project="2"]:hover .placeholder-icon-svg svg {
    stroke: rgba(16, 185, 129, 0.8);
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.5));
}

.project-card[data-project="3"] .placeholder-icon-svg svg {
    stroke: rgba(6, 182, 212, 0.5);
}

.project-card[data-project="3"]:hover .placeholder-icon-svg svg {
    stroke: rgba(6, 182, 212, 0.8);
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.5));
}

.placeholder-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.project-link {
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.6);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-link {
    transform: scale(1);
    opacity: 1;
}

.project-link:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.project-link svg {
    width: 22px;
    height: 22px;
    stroke: white;
    stroke-width: 2;
}

.project-info {
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .project-info {
        padding: 1.5rem;
    }
}

.project-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.tag {
    padding: 0.2rem 0.6rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--primary-light);
}

.project-title {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .project-title {
        font-size: 1.25rem;
    }
}

.project-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .project-description {
        font-size: 0.85rem;
    }
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    transition: gap 0.3s ease;
}

.project-cta:hover {
    gap: 0.7rem;
}

.project-cta svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.project-number {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

/* ===== Services Section ===== */
.services {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .service-card {
        padding: 1.75rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.12);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

@media (min-width: 768px) {
    .service-card h3 {
        font-size: 1.1rem;
    }
}

.service-card > p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features li {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.35rem;
}

.service-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.45rem;
    top: 0.25em;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 1.25rem 0 1.75rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(139, 92, 246, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-link:hover .contact-icon {
    background: var(--primary);
}

.contact-icon svg {
    width: 17px;
    height: 17px;
    stroke: var(--primary);
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.contact-link:hover .contact-icon svg {
    stroke: white;
}

.contact-link span {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

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

.social-link svg {
    width: 17px;
    height: 17px;
    fill: var(--text-secondary);
    transition: fill 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.social-link:hover svg {
    fill: white;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--bg-card);
    padding: 0 0.25rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--primary);
}

.btn-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ===== Footer ===== */
.footer-simple {
    background: var(--bg-darker);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-simple-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-simple-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-simple-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Animations on Scroll ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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