/* ========================================
   ZERITH WEB AGENCY - Exact PDF Match
======================================== */

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

:root {
    --black: #000000;
    --white: #FFFFFF;
    --dark-grey: #34363a;
    --grey: #949697;
    --border: #c5c5c5;
    --red: #FF242A;
    --orange: #FF5900;
    --green: #159e47;
    --logo-color: #2A2B2E;

    --font-mono: 'Space Mono', monospace;
    --font-sans: 'Instrument Sans', sans-serif;
    --radius: 5px;
}

html { scroll-behavior: smooth; }

/* =====================
   ACCESSIBILITY
===================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--logo-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    z-index: 9999;
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* Remove default outline when using mouse */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* =====================
   404 & THANK YOU PAGE
===================== */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px;
    margin-top: 120px;
}

.error-page h1 {
    font-family: var(--font-mono);
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 700;
    color: var(--logo-color);
    line-height: 1;
    margin-bottom: 24px;
}

.error-page p {
    font-size: 18px;
    color: var(--grey);
    max-width: 400px;
    margin-bottom: 32px;
}

body.dark-mode .error-page h1 {
    color: var(--white);
}

body.dark-mode .skip-link {
    background: var(--white);
    color: var(--logo-color);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--logo-color);
    background: var(--white);
    transition: background 0.4s ease, color 0.4s ease;
}

main,
.header,
.mobile-menu,
.footer,
.pricing-row,
.contact-form,
.testimonial,
.carousel-card,
.form-field input,
.form-field textarea,
.btn-dark,
.btn-outline,
.hero-logo-svg .hero-letter,
.nav-link,
.mobile-nav-link,
.hamburger-line {
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, fill 0.4s ease, filter 0.4s ease;
}

body.popup-open {
    overflow: hidden;
}

p {
    line-height: 150%;
}

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

main {
    position: relative;
    z-index: 1;
    background: var(--white);
    margin-bottom: 500px;
}

/* =====================
   HEADER
===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 100;
    transition: transform 0.3s ease;
}

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

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 18px;
    width: auto;
}

.logo-svg {
    height: 18px;
    width: auto;
}

.hero-logo {
    overflow: visible;
}

.hero-logo-svg {
    width: 1100px;
    max-width: 100%;
    height: auto;
    overflow: visible;
}

.hero-logo-svg .hero-letter {
    transition: fill 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
    transform-box: fill-box;
    cursor: pointer;
}

.hero-logo-svg .hero-letter:hover {
    fill: var(--orange);
    transform: scale(1.08) translateY(-6px);
}

.header-top {
    display: flex;
    justify-content: center;
    padding: 8px 48px;
}

.desktop-spots {
    display: flex;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--dark-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--logo-color);
    transition: width 0.3s ease;
}

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

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

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.spots-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--green);
}

.green-diamond {
    width: 6px;
    height: 6px;
    background: var(--green);
    transform: rotate(45deg);
    animation: spinDiamond 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes spinDiamond {
    0% {
        transform: rotate(45deg) scale(1);
    }
    15% {
        transform: rotate(405deg) scale(0.7);
    }
    30% {
        transform: rotate(765deg) scale(1);
    }
    100% {
        transform: rotate(765deg) scale(1);
    }
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--dark-grey);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--black);
    transition: width 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: -1;
    border-radius: 100px;
}

.btn-dark:hover::before {
    width: 100%;
}

.btn-arrow {
    width: 24px;
    height: 24px;
}

.btn-dark .btn-arrow {
    filter: brightness(0) invert(1);
}

.btn-outline:hover .btn-arrow {
    filter: brightness(0) invert(1);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.btn-outline:hover .btn-icon {
    filter: brightness(0) invert(1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    color: var(--logo-color);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--dark-grey);
    transition: width 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: -1;
    border-radius: 100px;
}

.btn-outline:hover {
    color: var(--white);
    border-color: var(--dark-grey);
}

.btn-outline:hover::before {
    width: 100%;
}

/* =====================
   PRELOADER ANIMATIONS
===================== */
body.preload .header {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.6s ease, filter 0.6s ease;
}

body.preload.nav-visible .header {
    opacity: 1;
    filter: blur(0);
}

body.preload .hero-logo-svg .hero-letter {
    transform: scale(1.2) translateY(100%);
    opacity: 0;
}

body.preload.letters-animating .hero-logo-svg .hero-letter {
    transform: scale(1) translateY(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

body.preload .hero-logo-svg .hero-letter:nth-child(1) { transition-delay: 0s; }
body.preload .hero-logo-svg .hero-letter:nth-child(2) { transition-delay: 0.08s; }
body.preload .hero-logo-svg .hero-letter:nth-child(3) { transition-delay: 0.16s; }
body.preload .hero-logo-svg .hero-letter:nth-child(4) { transition-delay: 0.24s; }
body.preload .hero-logo-svg .hero-letter:nth-child(5) { transition-delay: 0.32s; }
body.preload .hero-logo-svg .hero-letter:nth-child(6) { transition-delay: 0.40s; }

.word-anim {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.25em;
    line-height: 1.15;
}

.word-anim > span {
    display: inline-block;
}

body.preload .word-anim > span {
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.preload.text-visible .word-anim > span {
    transform: translateY(0);
}

.line-anim {
    display: block;
    overflow: hidden;
}

.line-anim > span {
    display: block;
}

body.preload .line-anim > span {
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.preload.text-visible .line-anim > span {
    transform: translateY(0);
}

body.preload.text-visible .line-anim:nth-child(1) > span { transition-delay: 0s; }
body.preload.text-visible .line-anim:nth-child(2) > span { transition-delay: 0.1s; }
body.preload.text-visible .line-anim:nth-child(3) > span { transition-delay: 0.2s; }
body.preload.text-visible .line-anim:nth-child(4) > span { transition-delay: 0.3s; }

body.preload .carousel-card {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.6s ease, filter 0.6s ease;
}

body.preload.carousel-visible .carousel-card {
    opacity: 1;
    filter: blur(0);
}

body.preload.carousel-visible .carousel-card:nth-child(1) { transition-delay: 0s; }
body.preload.carousel-visible .carousel-card:nth-child(2) { transition-delay: 0.15s; }
body.preload.carousel-visible .carousel-card:nth-child(3) { transition-delay: 0.3s; }
body.preload.carousel-visible .carousel-card:nth-child(4) { transition-delay: 0.45s; }
body.preload.carousel-visible .carousel-card:nth-child(5) { transition-delay: 0.6s; }
body.preload.carousel-visible .carousel-card:nth-child(6) { transition-delay: 0.75s; }
body.preload.carousel-visible .carousel-card:nth-child(7) { transition-delay: 0.9s; }

/* Contact Page Preloader */
body.contact-page .hero-logo-svg .hero-letter {
    fill: #c5c5c5;
    transition: fill 0.6s ease;
}



body.contact-page.preload .anim-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.contact-page.preload.text-visible .anim-item {
    opacity: 1;
    transform: translateY(0);
}

body.contact-page.preload.text-visible .anim-item:nth-child(1) { transition-delay: 0.4s; }
body.contact-page.preload.text-visible .anim-item:nth-child(2) { transition-delay: 0.5s; }
body.contact-page.preload.text-visible .anim-item:nth-child(3) { transition-delay: 0.6s; }

/* =====================
   HERO
===================== */
.hero {
    padding: 210px 48px 64px;
    max-width: 1440px;
    min-height: 90vh;
    margin: 0 auto;
}

.hero-row {
    margin-bottom: 48px;
}

.hero-logo {
    text-align: center;
    margin-bottom: 64px;
}

.hero-logo img {
    width: 1100px;
    max-width: 100%;
    height: auto;
}

.hero-content {
    max-width: 500px;
    margin-left: auto;
}

.hero-content h2 {
    font-family: var(--font-sans);
    font-size: 49px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-content p {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: var(--dark-grey);
}

/* =====================
   CAROUSEL SECTION
===================== */
.carousel {
    padding: 0 0 80px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    width: fit-content;
    transition: transform 0.1s linear;
}

.carousel-card {
    flex-shrink: 0;
    background: var(--dark-grey);
    border-radius: var(--radius);
    overflow: hidden;
}

.carousel-card img {
    height: 100%;
    width: auto;
    display: block;
}

.carousel-card.card-lg {
    height: 320px;
}

.carousel-card.card-md {
    height: 280px;
}

.carousel-card.card-sm {
    height: 240px;
}

@keyframes slideCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =====================
   LAUNCHED SECTION
===================== */
.launched {
    padding: 80px 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.launched-row {
    display: flex;
    flex-direction: row;
    gap: 64px;
}

.launched-content {
    max-width: 500px;
}

.launched-content h2 {
    font-family: var(--font-sans);
    font-size: 49px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 20px;
}

.launched-content > p {
    font-size: 16px;
    line-height: 150%;
    color: var(--dark-grey);
    margin-bottom: 24px;
}

.why-choose {
    margin-top: 48px;
}

.why-label {
    display: block;
    font-size: 14px;
    color: var(--logo-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.benefit {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 150%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit p {
    margin: 0;
    color: var(--grey);
}

.benefit strong {
    font-weight: 600;
    color: var(--logo-color);
}

.red-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--red);
    transform: rotate(45deg);
    margin-top: 6px;
}

.benefit:hover .red-dot {
    animation: spinRedDot 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes spinRedDot {
    0% {
        transform: rotate(45deg) scale(1);
    }
    50% {
        transform: rotate(405deg) scale(0.7);
    }
    100% {
        transform: rotate(765deg) scale(1);
    }
}

.launched-image {
    flex: 1;
}

.launched-image img,
.launched-image svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gradient-frame .shape-1 {
    animation: moveShape1 3s ease-in-out infinite;
}

.gradient-frame .shape-2 {
    animation: moveShape2 4s ease-in-out infinite;
}

.gradient-frame .shape-3 {
    animation: moveShape3 3.5s ease-in-out infinite;
}

.gradient-frame .shape-4 {
    animation: moveShape4 4.5s ease-in-out infinite;
}

.gradient-frame .shape-5 {
    animation: moveShape5 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes moveShape1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

@keyframes moveShape2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, -30px); }
}

@keyframes moveShape3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(35px, 25px); }
}

@keyframes moveShape4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -35px); }
}

@keyframes moveShape5 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    15% { transform: translate(25px, -15px) rotate(1.5deg) scale(1.05); }
    30% { transform: translate(35px, 10px) rotate(-1deg) scale(0.95); }
    45% { transform: translate(10px, 25px) rotate(-2deg) scale(1.08); }
    60% { transform: translate(-30px, 15px) rotate(0.5deg) scale(0.92); }
    75% { transform: translate(-25px, -20px) rotate(2deg) scale(1.04); }
    90% { transform: translate(-10px, -10px) rotate(0.5deg) scale(0.97); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--dark-grey);
    border-radius: var(--radius);
}

/* =====================
   PROJECTS
===================== */
.projects {
    padding: 80px 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.projects > h2 {
    font-size: 49px;
    font-weight: 500;
    margin-bottom: 40px;
}

.projects-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.project-card {
    display: block;
}

.project-card:hover {
    opacity: 0.9;
}

.project-img {
    background: var(--dark-grey);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: auto;
    display: block;
}

.project-card strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    margin: 0 0 8px 0;
}

.project-card span {
    display: block;
    font-size: 14px;
    line-height: 1;
    color: var(--grey);
    margin: 0;
}

.projects-btn {
    text-align: center;
}

/* =====================
   PRICING
===================== */
.pricing {
    padding: 80px 48px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.pricing-row {
    display: inline-flex;
    gap: 32px;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 32px;
    position: relative;
    z-index: 2;
    background: var(--white);
    width: 490px;
}

.pricing-content {
    max-width: 500px;
    text-align: left;
    color: var(--logo-color);
}

.pricing-content h2 {
    font-size: 31px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 16px;
}

.pricing-content > p {
    font-size: 14px;
    line-height: 150%;
    color: var(--logo-color);
    margin-bottom: 16px;
}

.whats-included {
    margin-bottom: 16px;
}

.whats-included strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.whats-included ul {
    list-style: none;
}

.whats-included li {
    font-size: 14px;
    font-weight: 600;
    color: var(--logo-color);
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
}

.whats-included li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--red);
    transform: rotate(45deg);
}

.whats-included li:hover::before {
    animation: spinRedDot 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-tag .from {
    font-size: 14px;
    color: var(--logo-color);
}

.price-tag .amount {
    font-family: var(--font-mono);
    font-size: 76px;
    font-weight: 400;
}

.pricing-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pricing-btns .btn-dark {
    background: var(--white);
    color: var(--logo-color);
    border: 1px solid var(--border);
}

.pricing-btns .btn-dark .btn-arrow {
    filter: none;
}

.pricing-btns .btn-dark:hover {
    color: var(--logo-color);
    border-color: var(--orange);
}

.pricing-btns .btn-dark:hover .btn-arrow {
    filter: none;
}

.pricing-btns .btn-dark::before {
    background: var(--orange);
}

.pricing-watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watermark-vector {
    width: 110%;
    height: auto;
}

.pricing-watermark .watermark-shape {
    position: absolute;
    width: 14%;
    height: auto;
    top: 33%;
    left: 76%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* =====================
   TESTIMONIALS
===================== */
.testimonials {
    padding: 80px 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.testimonials > h2 {
    font-size: 49px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 40px;
}

.testimonials {
    position: relative;
}

body.hide-cursor,
body.hide-cursor * {
    cursor: none !important;
}

.testimonials-row,
.testimonials-row *,
.testimonial,
.testimonial * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.testimonials-row {
    display: flex;
    gap: 16px;
    overflow-x: hidden;
}

.drag-cursor {
    position: fixed;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--dark-grey);
    color: var(--white);
    font-size: 14px;
    border-radius: 100px;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
}

.look-cursor {
    position: fixed;
    display: none;
    align-items: center;
    padding: 10px 20px;
    background: var(--white);
    color: var(--logo-color);
    font-size: 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
}

.project-card {
    cursor: none;
}

.testimonial {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 650px;
    width: 550px;
    min-width: 550px;
    position: relative;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.testimonial:hover .testimonial-bg {
    opacity: 0.7;
}

.testimonial:hover p {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial p {
    transition: opacity 0.3s ease;
}

.testimonial-top,
.testimonial-bottom {
    position: relative;
    z-index: 1;
}

.testimonial-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    background: var(--dark-grey);
    border-radius: 50%;
    border: 1px solid var(--border);
    overflow: hidden;
}

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

.testimonial-top .name {
    font-size: 14px;
    font-weight: 500;
}

.testimonial p {
    font-size: 14px;
    line-height: 150%;
    color: var(--logo-color);
}

.testimonial-bottom {
    padding-top: 16px;
}

.testimonial-bottom strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.testimonial-bottom span {
    font-size: 13px;
    color: var(--grey);
}

/* =====================
   PLAYGROUND
===================== */
.playground {
    padding: 48px;
    max-width: 1440px;
    margin: 0 auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.playground-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.playground-label {
    position: absolute;
    top: 10px;
    left: 24px;
    font-size: 49px;
    font-weight: 700;
    color: var(--border);
    letter-spacing: 1px;
    z-index: 0;
    pointer-events: none;
}

.playground-counter {
    position: absolute;
    bottom: 0;
    left: 24px;
    font-size: 186px;
    font-weight: 700;
    color: var(--border);
    letter-spacing: 1px;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.drag-hint {
    margin-bottom: 32px;
    pointer-events: none;
    position: relative;
    z-index: 10;
    font-family: var(--font-mono);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.drag-hint::before {
    display: none;
}

.drag-hint:hover {
    color: var(--logo-color);
    border-color: var(--border);
}

.asterisk {
    cursor: grab;
    user-select: none;
    position: absolute;
    bottom: 16px;
    right: 16px;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.asterisk:active {
    cursor: grabbing;
}

.asterisk-img {
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.asterisk {
    cursor: grab;
}

.asterisk.dragging {
    cursor: grabbing;
}

/* =====================
   CTA
===================== */
.cta {
    padding: 0 48px;
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 100px;
    position: relative;
    height: 120vh;
    overflow: hidden;
}

.cta-sticky {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 80vh;
}

.cta-left, .cta-right {
    font-size: 14px;
    color: var(--logo-color);
    flex-shrink: 0;
    transition: transform 0.1s ease-out;
    align-self: flex-end;
    margin-bottom: 85px;
}

.cta-center {
    text-align: center;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.cta-center h2 {
    font-size: 95px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 40px;
}

.cta-center .btn-wrap {
    margin-bottom: 0;
}

.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
}

.word {
    display: block;
    transform: translateY(120%);
    transition: transform 0.5s ease-out;
}

.cta-center.animate .word-wrap:nth-of-type(1) .word { transform: translateY(0); transition-delay: 0s; }
.cta-center.animate .word-wrap:nth-of-type(2) .word { transform: translateY(0); transition-delay: 0.1s; }
.cta-center.animate .word-wrap:nth-of-type(3) .word { transform: translateY(0); transition-delay: 0.2s; }
.cta-center.animate .word-wrap:nth-of-type(4) .word { transform: translateY(0); transition-delay: 0.3s; }
.cta-center.animate .word-wrap:nth-of-type(5) .word { transform: translateY(0); transition-delay: 0.4s; }
.cta-center.animate .word-wrap:nth-of-type(6) .word { transform: translateY(0); transition-delay: 0.5s; }
.cta-center.animate .word-wrap:nth-of-type(7) .word { transform: translateY(0); transition-delay: 0.6s; }
.cta-center.animate .word-wrap:nth-of-type(8) .word { transform: translateY(0); transition-delay: 0.7s; }

.btn-wrap {
    overflow: hidden;
}

.cta-btn {
    transform: translateY(100%);
    transition: transform 0.6s ease-out 0.5s;
    pointer-events: auto;
}

.cta-center.animate .cta-btn {
    transform: translateY(0);
}

/* =====================
   FOOTER
===================== */
.footer {
    background: var(--dark-grey);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 48px 10px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 64px;
}

.footer-nav a {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--white);
    opacity: 0.5;
    position: relative;
    padding-bottom: 4px;
    display: inline-block;
    width: fit-content;
}

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.footer-logo {
    display: block;
    flex: 1;
}

.footer-logo img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: left;
    opacity: 0.08;
    filter: brightness(0) invert(1);
}

.footer-asterisk {
    height: 200px;
    width: auto;
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: var(--white);
    opacity: 0.15;
    margin: 24px 0 0;
    padding: 0;
    font-family: var(--font-mono);
}

/* =====================
   PROJECTS PAGE
===================== */
.page-hero {
    padding: 200px 48px 64px;
    max-width: 1440px;
    margin: 0 auto;
}

.page-hero-row {
    display: flex;
    gap: 80px;
}

.page-hero h1 {
    font-size: 49px;
    font-weight: 500;
    line-height: 1;
    flex: 1;
}

.page-hero p {
    flex: 1;
    font-size: 14px;
    line-height: 150%;
    color: var(--logo-color);
    max-width: 500px;
}

.projects-grid {
    padding: 0 48px 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.projects-grid-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


.coming-soon-card {
    height: 500px;
    background: transparent;
    border: 1px solid #c5c5c5;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.coming-soon-card span {
    font-size: 75px;
    font-weight: 700;
    color: #c5c5c5;
    transform: rotate(-35deg);
    white-space: nowrap;
    position: absolute;
    text-transform: uppercase;
}

.coming-soon-btn-wrap {
    text-align: center;
    margin-top: 32px;
}

.coming-soon-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--white);
    color: var(--border);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: default;
    user-select: none;
}

/* =====================
   PROJECT DETAIL
===================== */
.project-detail-hero {
    padding: 200px 48px 0;
    max-width: 500px;
    margin: 0 auto 16px;
    text-align: center;
}

.project-detail-hero h1 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 32px;
}

.project-detail-hero > p {
    font-size: 14px;
    line-height: 150%;
    color: var(--logo-color);
    margin-bottom: 16px;
}

.project-quote {
    max-width: 500px;
    margin: 0 auto 16px;
    padding: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    color: var(--dark-grey);
}

.project-text {
    max-width: 500px;
    margin: 0 auto 16px;
    padding: 0;
    text-align: center;
    font-size: 14px;
    line-height: 150%;
    color: var(--logo-color);
}

.project-link {
    text-align: center;
    margin-bottom: 64px;
}

.project-gallery {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px 80px;
    margin-top: 128px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.gallery-item.full {
    grid-column: span 2;
}

.other-projects {
    padding: 64px 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.other-projects h2 {
    font-size: 49px;
    font-weight: 500;
    margin-bottom: 32px;
}

/* =====================
   CONTACT PAGE
===================== */
.contact-hero {
    padding: 210px 48px 48px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 128px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.contact-hero h1 {
    line-height: 1;
}

.contact-logo-img img {
    height: 120px;
    width: auto;
}

.contact-info {
    padding: 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.contact-hero .contact-info-row {
    justify-content: center;
}

.contact-hero .contact-info-row h2 {
    font-size: 49px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    max-width: 500px;
}

body.contact-page .hero-logo-svg .hero-letter:hover {
    fill: var(--logo-color);
    transform: none;
}

body.contact-page .hero-logo-svg .hero-letter.activated {
    fill: var(--logo-color);
}

.contact-info-row {
    display: flex;
    gap: 256px;
}

.contact-info h2 {
    flex: 1;
    font-size: 49px;
    font-weight: 500;
    line-height: 1;
    max-width: 500px;
}

.contact-details {
    flex: 1;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item label {
    display: block;
    font-size: 13px;
    color: var(--grey);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-form-section {
    padding: 200px 48px;
    max-width: 1440px;
    margin: 0 auto;
}

.contact-form-row {
    display: flex;
    gap: 128px;
    align-items: flex-start;
    justify-content: center;
}

.contact-form-intro {
    flex: 1;
    font-size: 16px;
    line-height: 150%;
    color: var(--logo-color);
    max-width: 300px;
}

.contact-form {
    flex: 1.5;
    background: var(--dark-grey);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 500px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 14px;
    border: none;
    border-radius: var(--radius);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--grey);
}

.contact-form {
    text-align: center;
}

.contact-form .form-field {
    text-align: left;
}

.contact-form .btn-outline {
    background: var(--logo-color);
    color: var(--white);
    border-color: var(--white);
}

.contact-form .btn-outline::before {
    background: var(--white);
}

.contact-form .btn-outline .btn-arrow {
    filter: brightness(0) invert(1);
}

.contact-form .btn-outline:hover {
    color: var(--logo-color);
    border-color: var(--white);
}

.contact-form .btn-outline:hover .btn-arrow {
    filter: none;
}

/* =====================
   POPUP
===================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 48px;
}

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

.popup {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.popup-close-icon {
    width: 24px;
    height: 24px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.popup-close:hover .popup-close-icon {
    transform: rotate(135deg);
}

.popup-header {
    margin-bottom: 32px;
}

.popup-package-title {
    font-size: 31px;
    font-weight: 500;
    color: var(--logo-color);
    margin-bottom: 8px;
}

.popup-package-desc {
    font-size: 14px;
    color: var(--logo-color);
    margin-bottom: 16px;
}

.popup-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 100px 100px;
    gap: 8px;
}

.popup-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

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

.popup-image:nth-child(1) {
    grid-column: 1 / 2;
}

.popup-image:nth-child(2) {
    grid-column: 2 / 4;
}

.popup-image:nth-child(3) {
    grid-column: 1 / 3;
}

.popup-image:nth-child(4) {
    grid-column: 3 / 4;
}

.popup-title {
    font-size: 31px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--logo-color);
}

.popup-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.popup-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--logo-color);
}

.popup-item-desc {
    font-size: 14px;
    color: var(--logo-color);
}

.popup-item-list {
    list-style: none;
    margin-top: 8px;
}

.popup-item-list li {
    font-size: 14px;
    color: var(--logo-color);
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.popup-item-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--red);
    transform: rotate(45deg);
}

.popup-footer {
    margin-top: 32px;
    text-align: center;
}

/* =====================
   HAMBURGER MENU
===================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--logo-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.mobile-spots {
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mobile-nav-link {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--dark-grey);
    text-transform: uppercase;
}

.mobile-nav-link.active {
    color: var(--logo-color);
}

.mobile-cta {
    align-self: center;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
    .cta-center h2 { font-size: 64px; }
}

@media (max-width: 820px) {
    /* Show hamburger, hide desktop nav */
    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .header-top,
    .nav,
    .header-right {
        display: none;
    }

    .header-inner {
        padding: 16px 48px;
    }

    .line-anim {
        display: inline;
    }

    .line-anim > span {
        display: inline;
    }

    .hero-paragraph {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    body.text-visible .hero-paragraph,
    body:not(.preload) .hero-paragraph {
        opacity: 1;
        transform: translateY(0);
    }

    /* Footer - not fixed on mobile */
    .footer {
        position: relative;
        z-index: 1;
    }

    main {
        margin-bottom: 0 !important;
    }

    /* Layout adjustments */
    .hero-row,
    .launched-row,
    .pricing-row,
    .contact-info-row,
    .contact-form-row,
    .page-hero-row {
        flex-direction: column;
        gap: 32px;
    }

    .hero-content { max-width: 100%; }
    .launched-row { gap: 32px; }
    .launched-content { max-width: 100%; }
    .launched-image {
        flex: none;
        width: 100%;
        height: 350px;
    }
    .contact-info-row { gap: 48px; }
    .contact-form-row { gap: 48px; }

    /* Title sizes - max 31px */
    .hero-content h2,
    .hero-subtitle {
        font-size: 31px;
        line-height: 1;
        letter-spacing: 0;
        max-width: 500px;
    }

    .projects > h2,
    .launched-content h2,
    .pricing-content h2,
    .testimonials > h2,
    .other-projects h2,
    .page-hero h1,
    .contact-info h2,
    .contact-hero .contact-info-row h2 {
        font-size: 31px;
        line-height: 1;
        letter-spacing: 0;
    }

    .cta-center h2 {
        font-size: 31px;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-logo-svg {
        width: 100%;
    }

    /* Page hero */
    .page-hero {
        padding-top: 120px;
    }

    /* Contact hero */
    .contact-hero {
        padding-top: 120px;
        min-height: auto;
        gap: 64px;
    }

    .contact-hero .contact-info-row h2 {
        max-width: 100%;
    }

    .contact-form-section {
        padding-top: 32px;
        padding-bottom: 64px;
    }

    /* Project detail */
    .project-detail-hero,
    .project-quote,
    .project-text {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        text-align: left;
    }

    .project-detail-hero {
        padding-top: 120px;
    }

    .project-detail-hero h1 {
        text-align: center;
    }

    /* Grids */
    .projects-grid-inner,
    .projects-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gallery-item.full { grid-column: span 1; }


    /* Testimonials */
    .testimonials-row {
        flex-direction: column;
        overflow-x: visible;
    }

    .testimonial {
        width: 100%;
        min-width: 100%;
        height: auto;
        min-height: 400px;
    }

    .drag-cursor {
        display: none !important;
    }

    /* Pricing */
    .pricing-row {
        width: 100%;
    }

    .pricing-watermark { display: none; }

    .price-tag .amount {
        font-size: 48px;
    }

    .pricing-btns {
        flex-direction: row;
        gap: 8px;
    }

    .pricing-btns .btn-dark,
    .pricing-btns .btn-outline {
        padding: 10px 16px;
        font-size: 12px;
    }

    /* CTA */
    .cta {
        height: auto;
        padding-top: 64px;
        padding-bottom: 64px;
        margin-top: 48px;
    }

    .cta-sticky {
        position: relative;
        top: 0;
        transform: none;
        height: auto;
        justify-content: center;
    }

    .cta-left, .cta-right { display: none; }

    .cta-center {
        justify-content: center;
    }

    .cta-center .word {
        transform: translateY(120%);
    }

    .cta-center.animate .word {
        transform: translateY(0);
    }

    .cta-center .cta-btn {
        transform: none;
        transition: none;
    }

    /* Playground */
    .playground {
        height: 90vh;
        padding: 16px;
    }

    .playground-label {
        font-size: 31px;
        top: 8px;
        left: 16px;
    }

    .playground-counter {
        font-size: 61px;
        bottom: 8px;
        left: 16px;
    }

    .asterisk-img {
        width: 100px;
        height: 100px;
    }

    .asterisk {
        bottom: 8px;
        right: 8px;
    }

    /* Footer */
    .footer-inner {
        padding: 16px;
    }

    .footer-nav {
        gap: 8px;
        margin-bottom: 32px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 8px;
        width: 100%;
    }

    .footer-logo {
        flex: 1;
    }

    .footer-logo img {
        width: 100%;
        height: auto;
    }

    .footer-asterisk {
        height: auto;
        width: 15%;
        align-self: flex-end;
    }

    /* Carousel */
    .carousel-track {
        gap: 8px;
    }

    .carousel-card.card-lg {
        height: 200px;
    }

    .carousel-card.card-md {
        height: 180px;
    }

    .carousel-card.card-sm {
        height: 160px;
    }

    /* Launched image */
    .launched-image {
        height: 300px;
    }

    /* Popup */
    .popup-overlay {
        padding: 16px;
    }

    .popup {
        padding: 24px;
    }

    .popup-package-title,
    .popup-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .header-inner,
    .hero,
    .launched,
    .projects,
    .pricing,
    .testimonials,
    .playground,
    .cta,
    .footer-inner,
    .page-hero,
    .projects-grid,
    .contact-hero,
    .contact-form-section,
    .project-detail-hero,
    .project-gallery,
    .other-projects {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Even smaller titles */
    .hero-content h2,
    .hero-subtitle {
        font-size: 28px;
        line-height: 1;
        letter-spacing: 0;
        max-width: 500px;
    }

    .projects > h2,
    .launched-content h2,
    .pricing-content h2,
    .testimonials > h2,
    .other-projects h2,
    .page-hero h1,
    .contact-info h2,
    .contact-hero .contact-info-row h2,
    .cta-center h2 {
        font-size: 28px;
    }

    .pricing-btns {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-btns .btn-dark,
    .pricing-btns .btn-outline {
        width: auto;
    }

    .contact-form {
        padding: 24px;
        max-width: 100%;
        width: 100%;
    }

    .contact-form-intro {
        max-width: 100%;
    }

    /* Hide fixed switchers on mobile */
    #theme-switcher,
    #lang-switcher {
        display: none;
    }

    /* Mobile theme switcher in menu */
    .mobile-theme-switcher {
        position: relative !important;
        display: flex !important;
        width: 50px !important;
        height: 50px !important;
        bottom: auto !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
    }

    /* Dark mode hamburger */
    body.dark-mode .hamburger-line {
        background: #FFFFFF;
    }

}

/* =====================
   LANGUAGE SWITCHER
===================== */
.lang-switcher {
    position: fixed;
    bottom: 82px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background: var(--border);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.lang-switcher span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--logo-color);
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.lang-switcher:hover {
    transform: scale(1.05);
}

body.dark-mode .lang-switcher {
    background: #FFFFFF;
    border-color: var(--border);
}

body.dark-mode .lang-switcher span {
    color: var(--logo-color);
}

/* Mobile language switcher in menu */
.mobile-lang-switcher {
    position: relative !important;
    display: flex !important;
    width: 50px !important;
    height: 50px !important;
    bottom: auto !important;
    right: auto !important;
    top: auto !important;
    left: auto !important;
}

/* =====================
   THEME SWITCHER
===================== */
.theme-switcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    background: var(--border);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.theme-switcher:hover {
}

.theme-switcher.hidden {
    opacity: 0;
    pointer-events: none;
}

.theme-icon {
    display: none;
}

.theme-switcher::before,
.theme-switcher::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    top: 50%;
    margin-top: -7px;
    transition: left 0.3s ease, right 0.3s ease, background 0.3s ease;
}

.theme-switcher::before {
    background: var(--logo-color);
    right: 12px;
}

.theme-switcher::after {
    background: var(--white);
    left: 12px;
}

.theme-switcher:hover::before {
    right: 22px;
}

.theme-switcher:hover::after {
    left: 22px;
}

/* Dark Mode */
body.dark-mode {
    background: #1a1a1a;
    color: #FFFFFF;
}

body.dark-mode .header {
    background: #1a1a1a;
}

body.dark-mode .mobile-menu {
    background: #1a1a1a;
}

body.dark-mode main {
    background: #1a1a1a;
}

body.dark-mode .logo img {
    filter: brightness(0) invert(1);
}

body.dark-mode .hero-logo-svg .hero-letter {
    fill: #FFFFFF;
}

body.dark-mode .hero-logo-svg .hero-letter:hover {
    fill: var(--orange);
}

body.dark-mode .nav-link,
body.dark-mode .mobile-nav-link {
    color: #FFFFFF;
}

body.dark-mode .nav-link::after {
    background: #FFFFFF;
}

body.dark-mode .hero-content h2,
body.dark-mode .hero-subtitle,
body.dark-mode .hero-paragraph,
body.dark-mode .line-anim {
    color: #FFFFFF;
}

body.dark-mode .btn-outline {
    background: #1a1a1a;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

body.dark-mode .btn-outline .btn-arrow,
body.dark-mode .btn-outline .btn-icon {
    filter: brightness(0) invert(1);
}

body.dark-mode .btn-outline::before {
    background: #FFFFFF;
}

body.dark-mode .btn-outline:hover {
    color: var(--logo-color);
}

body.dark-mode .btn-outline:hover .btn-arrow,
body.dark-mode .btn-outline:hover .btn-icon {
    filter: none;
}

body.dark-mode .header .btn-dark {
    background: #FFFFFF;
    color: var(--logo-color);
}

body.dark-mode .header .btn-dark .btn-arrow {
    filter: brightness(0);
}

body.dark-mode .header .btn-dark::before {
    background: var(--dark-grey);
}

body.dark-mode .header .btn-dark:hover {
    color: #FFFFFF;
}

body.dark-mode .header .btn-dark:hover .btn-arrow {
    filter: brightness(0) invert(1);
}

body.dark-mode .carousel-card {
    border: 1px solid #444;
}

body.dark-mode .launched-content h2,
body.dark-mode .launched-content > p,
body.dark-mode .benefit p,
body.dark-mode .benefit strong,
body.dark-mode .why-label {
    color: #FFFFFF;
}

body.dark-mode .projects > h2,
body.dark-mode .project-card strong,
body.dark-mode .project-card span {
    color: #FFFFFF;
}

body.dark-mode .coming-soon-btn {
    background: #1a1a1a;
}

body.dark-mode .pricing-row {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .pricing-content h2,
body.dark-mode .pricing-content > p {
    color: #FFFFFF;
}

body.dark-mode .price-tag .from,
body.dark-mode .price-tag .amount,
body.dark-mode .price-tag .period {
    color: #FFFFFF;
}

body.dark-mode .whats-included strong,
body.dark-mode .whats-included li {
    color: #FFFFFF;
}

body.dark-mode .pricing-watermark .watermark-vector {
    opacity: 0.15;
}

body.dark-mode .pricing-btns .btn-dark {
    background: #1a1a1a;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

body.dark-mode .pricing-btns .btn-dark .btn-arrow {
    filter: brightness(0) invert(1);
}

body.dark-mode .pricing-btns .btn-dark:hover {
    color: #FFFFFF;
}

body.dark-mode .pricing-btns .btn-dark:hover .btn-arrow {
    filter: brightness(0) invert(1);
}

body.dark-mode .testimonials > h2 {
    color: #FFFFFF;
}

body.dark-mode .testimonial {
    border-color: #444;
}

body.dark-mode .testimonial p,
body.dark-mode .testimonial strong,
body.dark-mode .testimonial span {
    color: #FFFFFF;
}

body.dark-mode .playground-box {
    border-color: #444;
}

body.dark-mode .playground-label,
body.dark-mode .playground-counter {
    color: #444;
}

body.dark-mode .drag-hint {
    border-color: #444;
    color: #FFFFFF;
}

body.dark-mode .drag-hint .btn-icon {
    filter: none;
}

body.dark-mode .cta {
    background: #1a1a1a;
}

body.dark-mode .cta-left,
body.dark-mode .cta-right,
body.dark-mode .cta-center h2 {
    color: #FFFFFF;
}

body.dark-mode .footer {
    background: #FAF9F6;
}

body.dark-mode .footer-nav a {
    color: #34363a;
}

body.dark-mode .footer-nav a::after {
    background: #34363a;
}

body.dark-mode .footer-logo img {
    filter: brightness(0);
}

body.dark-mode .theme-switcher {
    background: #FFFFFF;
    border-color: var(--border);
}

body.dark-mode .theme-switcher::before {
    background: var(--grey);
}

body.dark-mode .theme-switcher::after {
    background: var(--logo-color);
}

body.dark-mode .page-hero h1,
body.dark-mode .page-hero p {
    color: #FFFFFF;
}

body.dark-mode .project-detail-hero h1,
body.dark-mode .project-detail-hero p,
body.dark-mode .project-quote,
body.dark-mode .project-text {
    color: #FFFFFF;
}

body.dark-mode .other-projects h2 {
    color: #FFFFFF;
}

body.dark-mode .popup {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .popup-package-title,
body.dark-mode .popup-package-desc,
body.dark-mode .popup-title,
body.dark-mode .popup-item-title,
body.dark-mode .popup-item-desc,
body.dark-mode .popup-item-list li {
    color: #FFFFFF;
}

body.dark-mode .popup-close-icon {
    filter: brightness(0) invert(1);
}

body.dark-mode .popup-image {
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .contact-hero h2,
body.dark-mode .contact-details label,
body.dark-mode .contact-details a,
body.dark-mode .contact-details p,
body.dark-mode .contact-form-intro {
    color: #FFFFFF;
}

body.dark-mode .contact-form {
    background: #FFFFFF;
}

body.dark-mode .contact-form .form-field label {
    color: var(--logo-color);
}

body.dark-mode .contact-form .form-field input,
body.dark-mode .contact-form .form-field textarea {
    background: var(--logo-color);
    color: #FFFFFF;
}

body.dark-mode .contact-form .btn-outline {
    background: transparent;
    color: var(--logo-color);
    border-color: var(--logo-color);
}

body.dark-mode .contact-form .btn-outline .btn-arrow {
    filter: none;
}

body.dark-mode .contact-form .btn-outline::before {
    background: var(--logo-color);
}

body.dark-mode .contact-form .btn-outline:hover {
    color: #FFFFFF;
}

body.dark-mode .contact-form .btn-outline:hover .btn-arrow {
    filter: brightness(0) invert(1);
}

body.dark-mode.contact-page .hero-logo-svg .hero-letter {
    fill: #FFFFFF;
}

body.dark-mode.contact-page .hero-logo-svg .hero-letter:hover,
body.dark-mode.contact-page .hero-logo-svg .hero-letter.activated {
    fill: var(--logo-color);
}

