:root {
    --color-bg: #0D0D0D;
    --color-surface: #1A1A1A;
    --color-primary: #CCFF00;
    --color-accent: #FF4D6D;
    --color-text: #FFFFFF;
    --color-text-dim: #A0A0A0;

    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Epilogue', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

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

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(204, 255, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 77, 109, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    animation: slideDown 0.6s var(--ease-out);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.nav-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    transition: all 0.3s var(--ease-out);
    font-size: 0.95rem;
}



.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text-dim);
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 3rem 6rem;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
    padding-bottom: 0.05em;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text);
    font-weight: 400;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.5s forwards;
    white-space: nowrap;
}

.hero-scroll-btn {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-dim);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
}



.hero-scroll-btn svg {
    transition: transform 0.3s var(--ease-out);
    width: 20px;
    height: 20px;
    opacity: 0.7;
}



/* Animated shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ... (skipping unchanged lines) ... */
.hero-scroll-btn {
    bottom: 8rem;
    font-size: 0.9rem;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: float 20s infinite ease-in-out, fadeIn 1s var(--ease-out) forwards;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -30px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

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

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0.6s;
    opacity: 0.03;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    bottom: 20%;
    left: 15%;
    animation-delay: 0.8s;
    animation-duration: 25s;
    opacity: 0.04;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 1s;
    animation-duration: 30s;
    opacity: 0.02;
}

/* What We Do Section */
.what-we-do {
    padding: 8rem 3rem;
    position: relative;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--color-surface);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.card-1 {
    animation-delay: 0.2s;
}

.card-2 {
    animation-delay: 0.4s;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}





.card-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.card h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.card p {
    color: var(--color-text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 3rem;
    position: relative;
}

.portfolio-alt {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 77, 109, 0.02) 100%);
}

.portfolio-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-dim);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
}

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

.project-card {
    background: var(--color-surface);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
    cursor: pointer;
}

.project-card:nth-child(1) {
    animation-delay: 0.4s;
}

.project-card:nth-child(2) {
    animation-delay: 0.5s;
}

.project-card:nth-child(3) {
    animation-delay: 0.6s;
}

.project-card:nth-child(4) {
    animation-delay: 0.7s;
}

.project-card:nth-child(5) {
    animation-delay: 0.8s;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    z-index: 1;
}





.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}



.project-content {
    padding: 2rem 2.5rem 2.5rem;
}

.project-placeholder {
    border-style: dashed;
    border-color: rgba(204, 255, 0, 0.3);
}



.project-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: rgba(204, 255, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

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

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.client-card {
    background: var(--color-surface);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    min-height: 280px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.client-card:nth-child(1) {
    animation-delay: 0.4s;
}

.client-card:nth-child(2) {
    animation-delay: 0.5s;
}

.client-card:nth-child(3) {
    animation-delay: 0.6s;
}

.client-card:nth-child(4) {
    animation-delay: 0.7s;
}

.client-card:nth-child(5) {
    animation-delay: 0.8s;
}

.client-card:nth-child(6) {
    animation-delay: 0.9s;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}





.client-card img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    opacity: 0.9;
    transition: all 0.4s var(--ease-out);
}



.client-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 1.5rem;
    color: var(--color-text);
    text-align: center;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

/* Vibe Check Section */
.vibe-check {
    padding: 8rem 3rem;
    background: linear-gradient(180deg, transparent 0%, rgba(204, 255, 0, 0.02) 100%);
    position: relative;
}

.vibe-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

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

.vibe-item {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.vibe-item:nth-child(1) {
    animation-delay: 0.3s;
}

.vibe-item:nth-child(2) {
    animation-delay: 0.4s;
}

.vibe-item:nth-child(3) {
    animation-delay: 0.5s;
}

.vibe-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    filter: grayscale(1);
    opacity: 0.8;
}

.vibe-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.vibe-item p {
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 12rem 3rem 8rem;
    position: relative;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 900;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-primary);
    color: var(--color-bg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
    border: 3px solid var(--color-primary);
}



.contact-button svg {
    transition: transform 0.4s var(--ease-out);
}



/* Footer */
.footer {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: var(--color-text-dim);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .hero-subtitle {
        white-space: normal;
    }

    .what-we-do,
    .vibe-check,
    .portfolio {
        padding: 4rem 1.5rem;
    }

    .contact {
        padding: 6rem 1.5rem 4rem;
    }

    .grid,
    .project-grid,
    .client-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vibe-grid {
        gap: 2rem;
    }

    .card {
        padding: 2rem;
    }

    .project-content {
        padding: 1.5rem 2rem 2rem;
    }

    .project-image {
        height: 200px;
    }

    .project-label {
        font-size: 0.7rem;
        padding: 0.4rem 0.9rem;
        margin-bottom: 1rem;
    }

    .client-card {
        padding: 2.5rem;
        min-height: 150px;
    }

    .contact-button {
        font-size: 1rem;
        padding: 1.1rem 2rem;
    }

    .hero-scroll-btn {
        bottom: 8rem;
        font-size: 0.9rem;
    }
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}

.form-group {
    position: relative;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
}

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

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-dim);
    opacity: 0.5;
}

.submit-button {
    align-self: center;
    cursor: pointer;
    width: auto;
    min-width: 200px;
    justify-content: center;
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 1rem;
    font-weight: 500;
    min-height: 1.5rem;
}

.form-status.success {
    color: var(--color-primary);
}

.form-status.error {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .contact-form {
        gap: 1rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.875rem 1.25rem;
    }
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s var(--ease-out);
    transform-origin: left;
}

.mobile-menu-btn.active .hamburger-line:first-child {
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:last-child {
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 800;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-out);
}

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

.mobile-menu.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.2s;
}

@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--color-surface);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-content {
    padding: 0;
}

.modal-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
}

.modal-image {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-title-group {
    width: 100%;
    padding: 0 1.5rem;
}

.modal-description {
    color: var(--color-text-dim);
    font-size: 1.1rem;
    line-height: 1.5;
}

.modal-body {
    padding: 0 1.5rem;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.modal-tasks-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.modal-tasks-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text);
    font-size: 1rem;
}

.modal-tasks-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 1.5rem 2rem;
}

.modal-button {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
}