:root {
    --bg-deep: #090C12;
    --bg-graphite: #171D28;
    --text-tech: #8992A3;
    --text-white: #F3F5F7;
    --accent-lime: #B9F36B;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

a, button {
    cursor: none;
}

.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--bg-deep);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo {
    width: 220px;
    height: auto;
}

.preloader-bar {
    width: 240px;
    height: 2px;
    background: rgba(243, 245, 247, 0.1);
    overflow: hidden;
    position: relative;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-lime);
    transition: width 0.1s linear;
}

.preloader-percent {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-tech);
}

.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-lime);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(185, 243, 107, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.custom-cursor.hover {
    width: 16px;
    height: 16px;
    background: var(--accent-lime);
}

.custom-cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-lime);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(9,12,18,0.9), transparent);
    transition: padding 0.4s ease, background 0.4s ease;
}

.site-header.scrolled {
    padding: 1.2rem 5%;
    background: rgba(9, 12, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-svg {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.logo-svg:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-tech);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-lime);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    background-color: var(--accent-lime);
    color: var(--bg-deep);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background-color: #a4dc52;
    box-shadow: 0 10px 30px rgba(185, 243, 107, 0.3);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(185, 243, 107, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--accent-lime);
    background: rgba(185, 243, 107, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(185, 243, 107, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(185, 243, 107, 0.2), transparent);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline .line {
    display: block;
    overflow: hidden;
}

.hero-headline em {
    font-style: normal;
    color: var(--accent-lime);
    position: relative;
    display: inline-block;
}

.hero-headline em::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.08em;
    background: var(--accent-lime);
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineReveal 1s ease 2.8s forwards;
}

@keyframes underlineReveal {
    to { transform: scaleX(1); }
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-tech);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent-lime);
    color: var(--bg-deep);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

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

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: #a4dc52;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(185, 243, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(243, 245, 247, 0.2);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(243, 245, 247, 0.05);
    transition: left 0.4s ease;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.3rem 3rem;
    font-size: 1.05rem;
}

.hero-visual-abstract {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.abstract-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(185, 243, 107, 0.2);
}

.ring-1 {
    width: 500px;
    height: 500px;
    animation: rotateSlow 30s linear infinite;
}

.ring-2 {
    width: 350px;
    height: 350px;
    border-color: rgba(185, 243, 107, 0.15);
    animation: rotateSlow 20s linear infinite reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    border-color: rgba(185, 243, 107, 0.1);
    animation: rotateSlow 15s linear infinite;
}

.ring-1::before,
.ring-2::before,
.ring-3::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-lime);
    border-radius: 50%;
    top: -3px;
    left: 50%;
    box-shadow: 0 0 20px var(--accent-lime);
}

.abstract-core {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(185,243,107,0.4) 0%, rgba(185,243,107,0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulseCore 4s ease-in-out infinite;
}

@keyframes pulseCore {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

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

.abstract-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-lime);
    border-radius: 50%;
    opacity: 0.6;
}

.manifesto-section {
    padding: 12rem 5%;
    background-color: var(--bg-graphite);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.manifesto-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(185, 243, 107, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-tag {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent-lime);
    margin-bottom: 1.5rem;
    display: block;
}

.manifesto-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    max-width: 1000px;
}

.manifesto-text span {
    color: var(--accent-lime);
}

.services-section {
    padding: 10rem 5%;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-graphite);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-lime), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

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

.service-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(185, 243, 107, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(185, 243, 107, 0.4);
}

.service-number {
    font-family: var(--font-heading);
    color: var(--accent-lime);
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-number {
    transform: translateX(8px);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-tech);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.portfolio-section {
    padding: 10rem 5%;
    background-color: var(--bg-graphite);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    transition: transform 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    background: var(--bg-deep);
    border: 1px solid rgba(255,255,255,0.05);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(185, 243, 107, 0.1) 0%, rgba(185, 243, 107, 0.02) 50%, transparent 100%);
    position: relative;
}

.portfolio-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(185, 243, 107, 0.1) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.portfolio-item:hover .portfolio-placeholder::after {
    transform: translateX(100%);
}

.portfolio-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-item p {
    color: var(--text-tech);
    font-size: 0.9rem;
}

.stats-section {
    padding: 8rem 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--accent-lime);
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--text-tech);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.process-section {
    padding: 10rem 5%;
    background-color: var(--bg-graphite);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    padding: 2rem;
    border-left: 2px solid rgba(185, 243, 107, 0.2);
    transition: border-color 0.4s ease, transform 0.4s ease;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2rem;
    width: 10px;
    height: 10px;
    background: var(--bg-graphite);
    border: 2px solid var(--accent-lime);
    border-radius: 50%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process-step:hover {
    border-color: var(--accent-lime);
    transform: translateX(8px);
}

.process-step:hover::before {
    transform: scale(1.4);
    box-shadow: 0 0 20px var(--accent-lime);
}

.process-number {
    font-family: var(--font-heading);
    color: var(--accent-lime);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.process-step p {
    color: var(--text-tech);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-section {
    padding: 12rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(185, 243, 107, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-title span {
    color: var(--accent-lime);
}

.cta-sub {
    color: var(--text-tech);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    position: relative;
    z-index: 1;
}

.site-footer {
    padding: 4rem 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-deep);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo .logo-svg {
    height: 24px;
}

.footer-text {
    color: var(--text-tech);
    font-size: 0.9rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.9, 0.3, 1), transform 1s cubic-bezier(0.2, 0.9, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .hero-visual-abstract {
        width: 350px;
        height: 350px;
        opacity: 0.5;
    }

    .ring-1 { width: 350px; height: 350px; }
    .ring-2 { width: 250px; height: 250px; }
    .ring-3 { width: 150px; height: 150px; }
}

@media (max-width: 768px) {
    .nav-links,
    .hero-visual-abstract {
        display: none;
    }

    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .hero-section {
        padding-top: 120px;
    }

    .manifesto-section,
    .services-section,
    .portfolio-section,
    .stats-section,
    .process-section,
    .cta-section {
        padding: 6rem 5%;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}