/* ============================================
   MABSTUDIO - AWWWARDS DESIGN
   Architecture Digitale
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Text Selection Effect - Négatif */
::selection {
    background: var(--white);
    color: var(--black);
}

::-moz-selection {
    background: var(--white);
    color: var(--black);
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --red: #FF0000;
    --gray: #999999;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    cursor: none;
}

/* Noise / Grain Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.03;
    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='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* No transition - handled by GSAP */
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.preloader-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}

.preloader-logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #E11D2A;
}

.preloader-progress {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #E11D2A, #ff4757);
    transition: width 0.1s ease-out;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(225, 29, 42, 0.5);
}

.preloader-text {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray);
    opacity: 0.6;
}

.preloader-percent {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    line-height: 1;
}

/* Decorative elements for preloader */
.preloader::before {
    content: '✕';
    position: absolute;
    top: 3rem;
    left: 3rem;
    font-size: 1.5rem;
    color: #E11D2A;
    opacity: 0.5;
    animation: spin-slow 10s linear infinite;
}

.preloader::after {
    content: '✕';
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.2);
    animation: spin-slow 8s linear infinite reverse;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Hide content during loading */
body.is-loading {
    overflow: hidden;
}

body.is-loading .hero-section,
body.is-loading .project-section,
body.is-loading .webdesign-hero,
body.is-loading .redbull-3d-section,
body.is-loading .services-showcase,
body.is-loading .pricing-section,
body.is-loading .testimonial-section,
body.is-loading .footer {
    opacity: 0;
}

/* Curseur Custom Simple */
/* Curseur Custom Simple - Style Croix */
.cursor-magnetic {
    position: fixed;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    /* Transition fluide pour réactivité */
    transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.2s ease;
}

.cursor-magnetic::before,
.cursor-magnetic::after {
    content: '';
    position: absolute;
    background: var(--white);
}

.cursor-magnetic::before {
    width: 100%;
    height: 1px;
}

.cursor-magnetic::after {
    height: 100%;
    width: 1px;
}

.cursor-magnetic.is-hover {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 2rem 3rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    z-index: 100;
    mix-blend-mode: difference;
}

.header-left {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.header-left:visited {
    color: inherit;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Smaller hero for internal pages */
.hero-section.page-hero {
    height: 70vh;
    min-height: 500px;
}

/* Hero Video Background */
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-container {
    text-align: center;
}

.hero-brand {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 3rem;
    font-weight: 600;
    display: block;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 12vw, 14rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 5rem;
}

.header-right {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.8rem 1.2rem;
    /* Larger click area */
    margin: 0 -1.2rem;
    /* Compensate layout */
    position: relative;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    color: #E11D2A;
    /* Red highlight */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1.2rem;
    right: 1.2rem;
    height: 1px;
    background: #E11D2A;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-subtitle {
    font-size: 1.125rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 12rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--white);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

/* ==================== NEW SECTIONS ==================== */

/* Section Common Styles */
.section-header {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--gray);
    display: block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* "ensemble" en rouge au scroll */
.title-word-accent {
    transition: color 0.4s ease;
}

.services-section.is-inview .title-word-accent {
    color: #E11D2A;
}

/* Services Section */
.services-section {
    padding: 10rem 5vw;
    background: var(--black);
}

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

.service-card {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

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

.service-number {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray);
    display: block;
    margin-bottom: 2rem;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #E11D2A;
}

.service-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 8rem 5vw;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
    color: var(--white);
}

.stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
}

/* About Teaser Section */
.about-teaser {
    padding: 10rem 5vw;
    background: var(--black);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.about-desc {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-link {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--white);
    text-decoration: none;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--white);
    transition: all 0.3s ease;
}

.about-link:hover {
    letter-spacing: 0.15em;
}

.about-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

.about-marquee span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.1;
    padding-right: 1rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Process Section */
.process-section {
    padding: 10rem 5vw;
    background: var(--black);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.process-step {
    padding: 2rem;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step:first-child {
    border-left: none;
}

@media (max-width: 900px) {
    .process-step {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
    }

    .process-step:first-child {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.process-line {
    position: absolute;
    top: 0;
    left: -1px;
    width: 1px;
    height: 0%;
    background: var(--white);
    transition: height 1s ease;
}

.process-step.active .process-line {
    height: 100%;
}

.process-number {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray);
    display: block;
    margin-bottom: 1.5rem;
}

.process-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.process-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Tech Stack Section */
.tech-section {
    padding: 4rem 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.tech-marquee {
    width: 100%;
    overflow: hidden;
}

.tech-track {
    display: flex;
    white-space: nowrap;
    animation: tech-scroll 20s linear infinite;
}

.tech-track span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    padding: 0 1.5rem;
}

@keyframes tech-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonial Section */
.testimonial-section {
    padding: 12rem 5vw;
    background: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-content {
    max-width: 800px;
    text-align: center;
}

.testimonial-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 0.5;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 3rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.1em;
}

.author-role {
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 0.1em;
}

/* ==================== END NEW SECTIONS ==================== */

/* Project Section */
.project-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.project-section-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Project Background Title */
.project-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
    transform: scale(1.1);
}

/* Project Background Title */
.project-bg-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--white);
    z-index: 5;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.project-section:hover .project-bg-title {
    opacity: 0;
}

/* Iframe wrapper for live preview */
.project-iframe-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Le wrapper laisse passer les clics (sauf on change) */
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    background: #000;
}

/* SHIELD SAFARI FIX: Bloque interaction iframe */
.project-iframe-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    /* Au dessus de l'iframe mais sous le contenu */
    background: transparent;
    pointer-events: auto;
    /* Capture tout */
}

.project-section:hover .project-iframe-wrapper {
    opacity: 1;
}

.project-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1.05);
    filter: grayscale(100%) blur(4px);
    transition: filter 0.6s ease, transform 0.6s ease;
    pointer-events: none !important;
}

.iframe-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.iframe-overlay.hidden {
    opacity: 0;
}

.project-image img.color-active,
.project-iframe.color-active {
    filter: grayscale(0%) blur(2px);
    transform: scale(1);
}

/* Project Content (Card Link) */
.project-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.3s ease;

    /* PROPRIÉTÉS LIEN */
    display: block;
    text-decoration: none;
    color: var(--white);
    cursor: pointer;
}

.project-content:hover {
    border-color: var(--white);
    background: rgba(0, 0, 0, 0.85);
    /* Slightly darker on hover */
}

.project-content:visited {
    color: var(--white);
}

.project-section:hover .project-content {
    opacity: 1;
    transform: translateY(0);
}

.project-number {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 1rem;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.project-description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.project-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--white);
    letter-spacing: 0.1em;
    transition: background 0.3s ease, color 0.3s ease;
}

.project-tags span:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--black);
}

.project-link {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--white);
    padding-bottom: 0.25rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.project-link:hover {
    color: var(--red);
    border-color: var(--red);
}

/* Contact & Footer Styles remain unchanged below */

.apple-placeholder {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 2rem;
    text-align: center;
}

.apple-text-glow {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    background: linear-gradient(135deg, #444 0%, #fff 50%, #444 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.apple-sub-glow {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #666;
    margin-top: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.orbital-placeholder {
    width: 100%;
    height: 100%;
    background-color: #0f172a;
    background-image:
        radial-gradient(#334155 1px, transparent 1px);
    background-size: 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.orbital-circle {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    position: absolute;
    animation: orbit 10s linear infinite;
}

.orbital-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2em;
    z-index: 10;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Footer Monumental */
.footer {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--black);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-cta {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 13vw, 12rem);
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 4rem;
    letter-spacing: -0.04em;
}

.footer-email {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 3rem);
    color: var(--white);
    text-decoration: none;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-email:hover {
    color: var(--red);
    border-color: var(--red);
}

.footer-socials {
    display: flex;
    gap: 3rem;
    margin-bottom: 8rem;
    justify-content: center;
}

.social-link {
    color: var(--gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--white);
}

.footer-bottom {
    width: 100%;
    max-width: 1600px;
    margin-top: 2rem;
    /* Reduced from 'auto' which created huge gap */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 0.8rem;
    /* Reduced from 2rem */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

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

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

.hero-line {
    animation: fadeInUp 1s ease forwards;
}

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

.hero-subtitle {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 1.5rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-right {
        width: 100%;
        justify-content: space-between;
    }

    .footer-cta {
        font-size: 15vw;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 8rem);
    }

    .project-content {
        padding: 2rem;
        width: 90%;
    }
}

/* ==================== PRICING SECTION ==================== */
/* ==================== PRICING SECTION (PUNK EDITION) ==================== */
.pricing-section {
    padding: 10rem 5vw;
    background: var(--black);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--black);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    border-color: #E11D2A;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(225, 29, 42, 0.1);
}

.pricing-card.punk-red {
    border: 1px solid #E11D2A;
    background: rgba(225, 29, 42, 0.02);
}

.card-cross {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: #E11D2A;
    opacity: 0.5;
    transition: transform 0.5s ease;
}

.pricing-card:hover .card-cross {
    transform: rotate(90deg) scale(1.2);
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #E11D2A;
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pricing-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.1em;
}

.pricing-card-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1;
    position: relative;
}

.price-prefix {
    display: block;
    font-size: 0.9rem;
    opacity: 0.5;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.currency {
    font-size: 2rem;
    vertical-align: super;
    margin-left: 0.2rem;
    color: #E11D2A;
}

.pricing-card-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
    padding: 0 1rem;
}

.pricing-card-features li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.pricing-card-features li:last-child {
    border-bottom: none;
}

.pricing-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem;
    border: 1px solid #E11D2A;
    color: #E11D2A;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    margin-top: auto;
    font-size: 0.9rem;
}

.pricing-cta:hover {
    background: #E11D2A;
    color: var(--white);
}

.pricing-cta.filled {
    background: #E11D2A;
    color: var(--white);
}

.pricing-cta.filled:hover {
    background: transparent;
    color: #E11D2A;
}