@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    padding: 2rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 5%;
    position: relative;
    z-index: 1;
}

:root {
    --bg: #000000;
    --surface: #0a0a0a;
    --surface-elevated: #161616;
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --accent: #c084fc;
    --text: #f5f5f7;
    --text-secondary: #86868b;
    --success: #30d158;
    --purple: #bf5af2;
    --purple-dark: #6d28d9;
    --pink: #f0abfc;
    --orange: #ff9f0a;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

canvas#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='4' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' /%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%,
    100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-5%, -10%);
    }
    30% {
        transform: translate(3%, -15%);
    }
    50% {
        transform: translate(12%, 9%);
    }
    70% {
        transform: translate(9%, 4%);
    }
    90% {
        transform: translate(-1%, 7%);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.preloader.complete {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease 0.2s,
        visibility 0.3s ease 0.2s;
}

/* Gem Container */
.gem-container {
    position: relative;
    width: 200px;
    height: 200px;
}

/* Main Gem */
.gem {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--purple);
    transform: translate(-50%, 100vh) rotate(0deg);
    filter: drop-shadow(0 0 30px var(--primary))
        drop-shadow(0 0 60px var(--pink));
    animation: gemShootUp 4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gem::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -30px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 40px solid var(--amber);
}

.gem::after {
    content: "";
    position: absolute;
    top: 100px;
    left: -40px;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 30px solid var(--primary-light);
}

@keyframes gemShootUp {
    0% {
        transform: translate(-50%, 100vh) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    60% {
        transform: translate(-50%, -60%) rotate(720deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(720deg) scale(1.2);
    }
}

/* Shatter Animation */
.gem-container.shatter .gem {
    animation: none;
    opacity: 0;
}

/* Shard Pieces */
.shard {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
}

.gem-container.shatter .shard {
    animation: shardExplode 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Individual Shards */
.shard1 {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid var(--purple);
    filter: drop-shadow(0 0 20px var(--purple));
    animation-delay: 0s;
    --angle: -45deg;
    --distance: 800px;
}

.shard2 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 45px solid var(--amber);
    filter: drop-shadow(0 0 20px var(--amber));
    animation-delay: 0.05s;
    --angle: 15deg;
    --distance: 900px;
}

.shard3 {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 60px solid var(--pink);
    filter: drop-shadow(0 0 20px var(--pink));
    animation-delay: 0.1s;
    --angle: 75deg;
    --distance: 750px;
}

.shard4 {
    width: 0;
    height: 0;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-bottom: 55px solid var(--primary-light);
    filter: drop-shadow(0 0 20px var(--primary-light));
    animation-delay: 0.02s;
    --angle: 135deg;
    --distance: 850px;
}

.shard5 {
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 48px solid var(--purple);
    filter: drop-shadow(0 0 20px var(--purple));
    animation-delay: 0.08s;
    --angle: -120deg;
    --distance: 780px;
}

.shard6 {
    width: 0;
    height: 0;
    border-left: 26px solid transparent;
    border-right: 26px solid transparent;
    border-bottom: 52px solid var(--amber);
    filter: drop-shadow(0 0 20px var(--amber));
    animation-delay: 0.06s;
    --angle: -85deg;
    --distance: 820px;
}

.shard7 {
    width: 0;
    height: 0;
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    border-bottom: 50px solid var(--pink);
    filter: drop-shadow(0 0 20px var(--pink));
    animation-delay: 0.04s;
    --angle: 180deg;
    --distance: 880px;
}

.shard8 {
    width: 0;
    height: 0;
    border-left: 27px solid transparent;
    border-right: 27px solid transparent;
    border-bottom: 46px solid var(--primary);
    filter: drop-shadow(0 0 20px var(--primary));
    animation-delay: 0.03s;
    --angle: 45deg;
    --distance: 790px;
}

@keyframes shardExplode {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(
                calc(-50% + cos(var(--angle)) * var(--distance)),
                calc(-50% + sin(var(--angle)) * var(--distance))
            )
            rotate(calc(var(--angle) * 3)) scale(0.3);
        opacity: 0;
    }
}

/* Gradient Orbs Background */
.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--purple);
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--pink);
    bottom: 10%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.92);
}

nav.hidden {
    transform: translateY(-100%);
}

.nav-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.logo {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    transition: opacity 0.3s;
    cursor: pointer;
}

.logo:hover {
    opacity: 0.8;
}

.logo::before {
    content: "◆";
    color: var(--primary);
    font-size: 16px;
    animation: logoFloat 3s ease-in-out infinite;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    transition: all 0.3s;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Styles */
@media (max-width: 734px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 44px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 44px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        padding: 40px 24px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        font-weight: 500;
    }

    .nav-links a::after {
        display: none;
    }
}

.mobile-menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.container {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    position: relative;
    margin-top: 44px;
}

.hero-content {
    max-width: 980px;
    text-align: center;
    padding: 80px 0 120px;
}

.eyebrow {
    font-size: 17px;
    line-height: 1.23536;
    font-weight: 600;
    letter-spacing: -0.022em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.28, 0.11, 0.32, 1) 0.1s forwards;
}

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

h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.28, 0.11, 0.32, 1) 0.2s forwards;
}

.hero h1 {
    background: linear-gradient(
        180deg,
        #f5f5f7 0%,
        rgba(245, 245, 247, 0.8) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-word {
    background: linear-gradient(
        90deg,
        var(--primary-light),
        var(--purple),
        var(--pink),
        var(--accent)
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    display: inline-block;
}

@keyframes shimmer {
    to {
        background-position: 300% center;
    }
}

.tagline {
    font-size: clamp(21px, 3vw, 28px);
    line-height: 1.2857;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.28, 0.11, 0.32, 1) 0.4s forwards;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.28, 0.11, 0.32, 1) 0.6s forwards;
}

.btn {
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    font-family: inherit;
    border: none;
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.022em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s,
        height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.02);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.28, 0.11, 0.32, 1) 0.8s forwards;
}

.stat-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-value {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.015em;
    background: linear-gradient(135deg, var(--primary-light), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.floating-code {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.code-left {
    left: 5%;
    top: 30%;
    animation: floatSlow 20s ease-in-out infinite;
}

.code-right {
    right: 5%;
    top: 40%;
    animation: floatSlow 25s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

.code-snippet {
    font-family: "JetBrains Mono", "SF Mono", Monaco, monospace;
    font-size: 13px;
    background: rgba(22, 22, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    line-height: 1.6;
}

.keyword {
    color: #ff7ab2;
}
.function {
    color: #6699ff;
}
.string {
    color: #a8ff60;
}
.comment {
    color: #6c7986;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 44px;
    left: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--purple),
        var(--pink),
        var(--accent)
    );
    z-index: 1001;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

section {
    padding: 120px 22px;
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(139, 92, 246, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(191, 90, 242, 0.03) 0%,
            transparent 50%
        );
    pointer-events: none;
    z-index: 0;
}

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

.section-header {
    max-width: 980px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-title {
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    background: linear-gradient(
        180deg,
        #f5f5f7 0%,
        rgba(245, 245, 247, 0.85) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    margin-left: 15px;
    margin-top: 0.5rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1440px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.03),
        rgba(191, 90, 242, 0.03)
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 48px 40px;
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(139, 92, 246, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(139, 92, 246, 0.5),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.06),
        rgba(191, 90, 242, 0.06)
    );
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.feature-title {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: -0.009em;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}

/* Timeline Section */
.timeline-section {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent,
        var(--primary),
        transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.timeline-item:nth-child(even) .timeline-content {
    transform: translateX(50px);
}

.timeline-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px var(--primary);
}

.timeline-year {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Projects Showcase */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.project-card {
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9),
        rgba(22, 22, 22, 0.9)
    );
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.15));
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.3);
}

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

.project-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(139, 92, 246, 0.3),
        transparent
    );
}

.project-content {
    padding: 32px;
}

.project-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-light);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.showcase-section {
    background: var(--surface);
    border-radius: 32px;
    padding: 80px 60px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.showcase-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
}

.terminal-window {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
    cursor: pointer;
}

.terminal-dot:hover {
    transform: scale(1.2);
}

.dot-red {
    background: #ff5f57;
}
.dot-yellow {
    background: #febc2e;
}
.dot-green {
    background: #28c840;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: "JetBrains Mono", monospace;
}

.terminal-body {
    padding: 24px;
    font-family: "JetBrains Mono", "SF Mono", Monaco, monospace;
    font-size: 14px;
    line-height: 1.8;
    max-height: 400px;
    overflow-y: auto;
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.terminal-line {
    margin: 8px 0;
    opacity: 0;
    transform: translateX(-10px);
}

.terminal-line.visible {
    animation: terminalSlide 0.4s cubic-bezier(0.28, 0.11, 0.32, 1) forwards;
}

@keyframes terminalSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.prompt {
    color: var(--success);
}
.output {
    color: var(--text-secondary);
}

/* Interactive Demo Section */
.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 60px;
    position: relative;
}

.code-editor {
    background: #0d0d0d;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.editor-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.editor-tabs {
    display: flex;
    gap: 8px;
}

.editor-tab {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 12px;
    font-family: "JetBrains Mono", monospace;
    cursor: pointer;
    transition: all 0.2s;
}

.editor-tab.active {
    background: var(--primary);
    color: white;
}

.editor-body {
    padding: 20px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    line-height: 1.6;
    min-height: 200px;
}

.run-button {
    padding: 10px 24px;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.run-button:hover {
    background: #2ec850;
    transform: scale(1.05);
}

.demo-output {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    min-height: 100px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.cta-banner {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1),
        rgba(191, 90, 242, 0.1)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.cta-banner h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.08349;
    font-weight: 700;
    letter-spacing: -0.003em;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 21px;
    line-height: 1.381;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 280px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

footer {
    padding: 60px 22px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 120px;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 21px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo::before {
    content: "◆";
    color: var(--primary);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.33337;
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    font-size: 16px;
}

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

@media (max-width: 1068px) {
    .nav-content {
        padding: 0 16px;
    }

    .hero,
    section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .showcase-section,
    .cta-banner,
    .demo-container {
        padding: 60px 40px;
    }

    .floating-code {
        display: none;
    }

    .stats {
        gap: 48px;
    }

    .timeline-line {
        left: 20px;
    }

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

    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-dot {
        left: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 734px) {
    .nav-content {
        gap: 16px;
    }

    h1 {
        margin-bottom: 16px;
    }

    .tagline {
        margin-bottom: 24px;
    }

    .cta-group {
        margin-bottom: 48px;
    }

    .stats {
        gap: 32px;
    }

    .stat-value {
        font-size: 40px;
    }

    .features-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .showcase-section,
    .cta-banner,
    .demo-container {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .footer-content {
        text-align: center;
        align-items: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}
