/* =========================================================================
   KOIDEK STUDIOS - STYLE SHEET (Arcturis-inspired Design System)
   ========================================================================= */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('stars.css');

/* Variables */
:root {
    --bg-color: #F0EDE8;
    --navy: #1e1e1e;
    --orange: #f26f21;
    --dark-orange: #cf530e;
    --grey: #D9D9D9;
    --light-grey: #DCDCD6;
    --white: #F0EDE8;
    --black: #000000;
    --text-dark: #1e1e1e;
    --text-light: #F4F4F0;
    --text-muted: #4a5056;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Space Mono', monospace;
    --section-spacer: 104px;
    --mobile-section-spacer: 62px;
}

/* =========================================================================
   Reset & Base Styles
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
    background-image: url('KOIDEKO/ANIMATED.svg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
}

/* Lenis smooth scrolling compatibility overrides */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--grey);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

/* Preheading */
.preheading {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a5056;
    margin-bottom: 12px;
    display: inline-block;
}

.navy-bg .preheading {
    color: #4a5056;
}

/* =========================================================================
   Containers & Spacing
   ========================================================================= */
.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section {
    padding: var(--section-spacer) 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: var(--mobile-section-spacer) 0;
    }
}

/* =========================================================================
   Buttons & Links
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 71, 19, 0.2);
}

.btn-dark {
    background-color: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.navy-bg .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.navy-bg .btn-secondary:hover {
    color: var(--orange);
    border-color: var(--orange);
}

/* =========================================================================
   Header & Drawer Menu
   ========================================================================= */
.banner {
    width: 100%;
    height: 96px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    background-color: transparent;
    transition: none;
}



.banner__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 101;
}

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy);
    letter-spacing: -0.03em;
    transition: var(--transition);
}

.menu-active .logo-text {
    color: var(--navy);
}

/* Hamburger Toggle */
.burger-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 101;
    transition: var(--transition);
}

.burger-bar {
    width: 24px;
    height: 2px;
    background-color: var(--navy);
    transition: var(--transition);
    transform-origin: center;
}

/* Drawer Aside Menu */
.burger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(19, 30, 41, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.burger-menu.active {
    opacity: 1;
    visibility: visible;
    background-color: rgba(19, 30, 41, 0.55);
    backdrop-filter: blur(3px);
}

.burger-menu__panel {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: 16px;
    width: 440px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: -10px 0 40px rgba(19, 30, 41, 0.25);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.burger-menu.active .burger-menu__panel {
    transform: translateX(0);
}

.burger-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--orange);
    border-radius: 8px;
    background-color: transparent;
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.burger-menu__close:hover {
    background-color: var(--orange);
    color: var(--white);
}

.burger-menu__close span {
    font-size: 24px;
    font-weight: 500;
}

.burger-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 60px;
    width: 100%;
}

.burger-menu__link {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 16px;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(20px);
}

.burger-menu.active .burger-menu__link {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger transition delay for menu links */
.burger-menu.active .burger-menu__link:nth-child(1) { transition-delay: 0.1s; }
.burger-menu.active .burger-menu__link:nth-child(2) { transition-delay: 0.15s; }
.burger-menu.active .burger-menu__link:nth-child(3) { transition-delay: 0.2s; }
.burger-menu.active .burger-menu__link:nth-child(4) { transition-delay: 0.25s; }
.burger-menu.active .burger-menu__cta { transition-delay: 0.3s; }

.burger-menu__link:hover {
    color: var(--orange);
    border-color: var(--orange);
    padding-left: 8px;
    transition-delay: 0s !important;
    transition: all 0.2s ease;
}

/* Burger Menu Dropdown */
.burger-menu__dropdown {
    width: 100%;
}
.burger-menu__dropdown .dropdown-icon {
    transition: transform 0.3s ease;
}
.burger-menu__dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}
.burger-menu__dropdown-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    padding-left: 16px;
    gap: 12px;
}
.burger-menu__dropdown.open .burger-menu__dropdown-content {
    max-height: 200px;
    margin-top: 16px;
}
.burger-menu__sublink {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    font-family: var(--font-sans);
    transition: color 0.2s ease, padding-left 0.2s ease;
    opacity: 0.8;
}
.burger-menu__sublink:hover {
    color: var(--orange);
    padding-left: 4px;
    opacity: 1;
}

.burger-menu__cta {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.burger-menu.active .burger-menu__cta {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .burger-menu__panel {
        top: 10px;
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        border-radius: 16px;
        padding: 40px 24px;
    }
    .burger-menu__link {
        font-size: 1.5rem;
    }
}

/* =========================================================================
   Hero Section (`.home__hero`)
   ========================================================================= */
.home__hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 120px;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #23282e;
    margin-bottom: 24px;
}

.hero-headline span.italic {
    font-style: normal;
    font-weight: 700;
    color: #23282e;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #23282e;
    opacity: 0.7;
}

.home__hero .preheading {
    color: #23282e;
}

.home__hero .btn-primary {
    background-color: #f26f21;
    color: #ffffff;
}

.home__hero .btn-secondary {
    border-color: #23282e;
    color: #23282e;
    background-color: transparent;
}

.home__hero .btn-secondary:hover {
    background-color: #23282e;
    color: #ffffff;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Scroll Indicator Arrow */
.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    opacity: 0.8;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.hero-scroll:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(4px) scale(1.08);
}

.hero-scroll-arrow {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .home__hero {
        min-height: 85vh;
        padding-bottom: 100px;
    }
    .hero-headline {
        font-size: 2.8rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-scroll {
        width: 64px;
        height: 64px;
        bottom: 16px;
    }
}

/* =========================================================================
   Image-Text Columns (`.c__image-text`)
   ========================================================================= */
.c__image-text {
    width: 100%;
}

.c__image-text__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 80px;
    align-items: center;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.navy-bg {
    background-color: var(--navy);
    color: var(--white);
}

.navy-bg h2, .navy-bg h3 {
    color: var(--white);
}

.navy-bg p {
    color: rgba(247, 247, 243, 0.7);
}

.white-bg {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--grey);
}

/* Columns */
.c__image-text--left, .c__image-text--right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.c__image-text__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.c__image-text__desc {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    background-color: rgba(255, 71, 19, 0.1);
    color: var(--orange);
    border-radius: 4px;
}

.navy-bg .tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Media Column styling */
.c__image-text__image-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.c__image-text__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.c__image-text__wrap:hover .c__image-text__image {
    transform: scale(1.05);
}

.glass-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(19, 30, 41, 0.1) 0%, rgba(19, 30, 41, 0.4) 100%);
}

#kai-webgl-container {
    background-color: #000;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 1024px) {
    .c__image-text__wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    .c__image-text__title {
        font-size: 2rem;
    }
}

/* =========================================================================
   Testimonials Carousel (replaces `.c__cards-grid`)
   ========================================================================= */
.testimonials__intro {
    max-width: 640px;
    margin: 0 auto 56px auto;
    text-align: center;
}

.testimonials__title {
    font-size: 2.8rem;
    margin-top: 12px;
    letter-spacing: -0.03em;
}

.testimonials__subtitle {
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Stage: wraps stack cards + track */
.testimonials__stage {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

/* Decorative stack cards - intentionally misaligned like a real pile */
.testimonials__stack-card {
    position: absolute;
    border-radius: 20px;
    background-color: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Card 1: slightly to the right, tilted clockwise */
.testimonials__stack-card--1 {
    transform: translateX(10px) translateY(10px) rotate(2.2deg);
    opacity: 0.38;
    z-index: 1;
}

/* Card 2: to the left, tilted counter-clockwise, deeper in the pile */
.testimonials__stack-card--2 {
    transform: translateX(-8px) translateY(18px) rotate(-1.6deg);
    opacity: 0.18;
    z-index: 0;
}

/* Track: grid overlap so all cards stack in the same cell */
.testimonials__track {
    display: grid;
    position: relative;
    z-index: 2;
}

/* All cards sit in the same grid cell: only active one is visible */
.testimonial-card {
    grid-area: 1 / 1;
    background-color: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 48px 52px 44px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    position: relative;
    overflow: hidden;
}

.testimonial-card > *:not(.stars-bg) {
    position: relative;
    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-card.exiting {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease,
                transform 0.3s ease;
}


/* Quote icon */
.testimonial-quote {
    font-size: 2.8rem;
    color: var(--orange);
    line-height: 1;
    opacity: 0.9;
    font-variation-settings: 'FILL' 1;
}

/* Quote text */
.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(244, 244, 240, 0.88);
    font-weight: 400;
}

/* Author row */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--dark-orange));
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-light);
}

.testimonial-role {
    font-size: 0.85rem;
    color: rgba(244, 244, 240, 0.5);
    font-family: var(--font-mono);
}

/* Arrow buttons */
.testimonials__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.04);
    color: rgba(244, 244, 240, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.testimonials__arrow:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.testimonials__arrow--prev { left: -68px; }
.testimonials__arrow--next { right: -68px; }

.testimonials__arrow .material-symbols-outlined {
    font-size: 20px;
}

/* Dots */
.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: var(--grey);
    cursor: pointer;
    transition: background-color 0.3s ease,
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.testimonials__dot.active {
    background-color: var(--orange);
    width: 28px;
    border-radius: 4px;
}

@media (max-width: 1000px) {
    .testimonials__arrow--prev { left: -20px; }
    .testimonials__arrow--next { right: -20px; }
    .testimonials__stage { max-width: 100%; padding: 0 44px; }
}

@media (max-width: 600px) {
    .testimonial-card { padding: 32px 28px; }
    .testimonials__title { font-size: 2.2rem; }
    .testimonials__arrow--prev { left: -12px; }
    .testimonials__arrow--next { right: -12px; }
    .testimonials__arrow { width: 40px; height: 40px; }
    .testimonial-text { font-size: 1rem; }
}



/* =========================================================================
   Bullet List / Diferenciais (`.c__bullet-list`)
   ========================================================================= */
.c__bullet-list--intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.c__bullet-list--title {
    font-size: 2.8rem;
    margin-top: 2px;
    font-weight: 900;
}

.bullet-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bullet-item {
    background-color: var(--white);
    border: 1px solid var(--grey);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.bullet-item:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 111, 33, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(242, 111, 33, 0.12);
}

.bullet-item__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(242, 111, 33, 0.12), rgba(242, 111, 33, 0.06));
    border: 1px solid rgba(242, 111, 33, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 64px;
    text-align: center;
}

.bullet-item__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--navy);
}

.bullet-item__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .bullet-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .c__bullet-list--title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .bullet-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   Pricing / Plans Section
   ========================================================================= */
.pricing__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.pricing__title {
    font-size: 2.8rem;
    margin-top: 12px;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--grey);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(19, 30, 41, 0.05);
}

.pricing-card.popular {
    border: 2px solid var(--orange);
    background-color: var(--white);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 71, 19, 0.08);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--orange);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 48px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-delivery {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 32px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.plan-features li span.icon {
    color: var(--orange);
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-target {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    display: block;
}

@media (max-width: 1024px) {
    .pricing__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }
}

/* =========================================================================
   Contact Section (`.contact__section`)
   ========================================================================= */
.contact__wrap {
    background-color: var(--navy);
    border-radius: 32px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    overflow: hidden;
    min-height: 600px;
    position: relative;
}

.contact__wrap > *:not(.stars-bg) {
    position: relative;
    z-index: 1;
}

.contact__info {
    padding: 64px;
    background-color: #232323; /* Solid color to prevent stars showing through */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__info-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.contact__info-desc {
    color: rgba(247, 247, 243, 0.7);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #292929;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 20px;
}

.channel-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(247, 247, 243, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.channel-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

/* Form Styling */
.contact__form-container {
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.form-control {
    background-color: #292929; /* Solid color to prevent stars showing through */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-control::placeholder {
    color: rgba(247, 247, 243, 0.3);
}

.form-control:focus {
    border-color: var(--orange);
    background-color: #303030;
}

select.form-control option {
    background-color: var(--navy);
    color: var(--white);
}

textarea.form-control {
    resize: none;
}

.contact__form .btn {
    margin-top: 12px;
    width: 100%;
}

@media (max-width: 1024px) {
    .contact__wrap {
        grid-template-columns: 1fr;
    }
    .contact__info {
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .contact__form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .contact__info-title {
        font-size: 2.2rem;
    }
}

/* =========================================================================
   Footer (`.page-footer`)
   ========================================================================= */
.page-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.footer-desc {
    color: rgba(247, 247, 243, 0.6);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--orange);
    border-color: var(--orange);
}

.footer-column-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(247, 247, 243, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--orange);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(247, 247, 243, 0.4);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =========================================================================
   Reveal Animations (Intersection Observer)
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   Privacy / Terms Layout (Tome Pages)
   ========================================================================= */
.legal-header {
    background-color: var(--navy);
    color: var(--white);
    padding: 120px 0 60px 0;
    text-align: center;
}

.legal-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-top: 12px;
}

.legal-content-wrap {
    padding: var(--section-spacer) 0;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 64px;
}

.legal-aside nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 120px;
}

.legal-aside-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.legal-aside-link:hover, .legal-aside-link.active {
    background-color: var(--white);
    color: var(--orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.aside-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--grey);
    transition: var(--transition);
}

.legal-aside-link.active .aside-dot {
    background-color: var(--orange);
}

.legal-article {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.legal-section {
    background-color: var(--white);
    border: 1px solid var(--grey);
    border-radius: 20px;
    padding: 40px;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.legal-section p {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.legal-section ul {
    list-style: none;
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section ul li {
    position: relative;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.legal-section ul li::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--orange);
}

@media (max-width: 900px) {
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .legal-aside {
        display: none;
    }
}

/* =========================================================================
   404 Page Custom Face Animation
   ========================================================================= */ 
.my-custom-face-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  background: #F0EDE8;
  color: #23282e;
}

.my-custom-face-container .face {
  width: 200px;
}

.my-custom-face-container .face__eyes,
.my-custom-face-container .face__eye-lid,
.my-custom-face-container .face__mouth-left,
.my-custom-face-container .face__mouth-right,
.my-custom-face-container .face__nose,
.my-custom-face-container .face__pupil {
  animation: eyes 1s 4.5s both;
}

.my-custom-face-container .face__eye-lid,
.my-custom-face-container .face__pupil {
  animation-duration: 4s;
  animation-delay: 5.5s;
  animation-iteration-count: infinite;
}

.my-custom-face-container .face__eye-lid {
  animation-name: eye-lid;
}
.my-custom-face-container .face__mouth-left {
  animation-name: mouth-left;
}
.my-custom-face-container .face__mouth-right {
  animation-name: mouth-right;
}
.my-custom-face-container .face__nose {
  animation-name: nose;
}
.my-custom-face-container .face__pupil {
  animation-name: pupil;
}

@keyframes eye-lid {
  0%,
  40%,
  45%,
  100% {
    transform: translateY(0);
  }
  42.5% {
    transform: translateY(17.5px);
  }
}

@keyframes eyes {
  from {
    transform: translateY(112.5px);
  }
  to {
    transform: translateY(15px);
  }
}

@keyframes pupil {
  0%,
  37.5%,
  40%,
  45%,
  87.5%,
  100% {
    stroke-dashoffset: 0;
    transform: translate(0, 0);
  }
  12.5%,
  25%,
  62.5%,
  75% {
    transform: translate(-35px, 0);
  }
  42.5% {
    stroke-dashoffset: 35;
    transform: translate(0, 17.5px);
  }
}

@keyframes mouth-left {
  from,
  50% {
    stroke-dashoffset: -102;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mouth-right {
  from,
  50% {
    stroke-dashoffset: 102;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes nose {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(0, 22.5px);
  }
}

/* --- SOCIAL ICONS --- */
.Btn-x { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; isolation: isolate; border-radius: 7px; cursor: pointer; transition: all 0.3s; }
.svgContainer-x { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(0px); letter-spacing: 0.8px; border-radius: 10px; transition: all 0.3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG-x { position: absolute; content: ""; width: 100%; height: 100%; background: #181818; z-index: -1; border-radius: 10px; pointer-events: none; transition: all 0.3s; }
.Btn-x:hover .BG-x { transform: rotate(35deg); transform-origin: bottom; }
.Btn-x:hover .svgContainer-x { background-color: rgba(156, 156, 156, 0.466); backdrop-filter: blur(4px); }

.Btn-gh { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; isolation: isolate; border-radius: 7px; cursor: pointer; transition: all .3s; }
.svgContainer-gh { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(0px); letter-spacing: 0.8px; border-radius: 10px; transition: all .3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG-gh { position: absolute; content: ""; width: 100%; height: 100%; background: #181818; z-index: -1; border-radius: 10px; pointer-events: none; transition: all .3s; }
.Btn-gh:hover .BG-gh { transform: rotate(35deg); transform-origin: bottom; }
.Btn-gh:hover .svgContainer-gh { background-color: rgba(156, 156, 156, 0.466); backdrop-filter: blur(4px); }

.Btn-ig { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; isolation: isolate; border-radius: 7px; cursor: pointer; transition: all .3s; }
.svgContainer-ig { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(4px); letter-spacing: 0.8px; border-radius: 10px; transition: all .3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG-ig { position: absolute; content: ""; width: 100%; height: 100%; background: #f09433; background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 ); z-index: -1; border-radius: 9px; pointer-events: none; transition: all .3s; }
.Btn-ig:hover .BG-ig { transform: rotate(35deg); transform-origin: bottom; }
.Btn-ig:hover .svgContainer-ig { background-color: rgba(156, 156, 156, 0.466); }

.Btn-fb { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; isolation: isolate; border-radius: 7px; cursor: pointer; transition: all 0.3s; }
.svgContainer-fb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(0px); letter-spacing: 0.8px; border-radius: 10px; transition: all 0.3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG-fb { position: absolute; content: ""; width: 100%; height: 100%; background: #1877f2; z-index: -1; border-radius: 10px; pointer-events: none; transition: all 0.3s; }
.Btn-fb:hover .BG-fb { transform: rotate(35deg); transform-origin: bottom; }
.Btn-fb:hover .svgContainer-fb { border: 1px solid rgba(230, 230, 230, 0.466); background-color: rgba(204, 204, 204, 0.466); backdrop-filter: blur(4px); }

.Btn-wa { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; isolation: isolate; border-radius: 7px; cursor: pointer; transition: all 0.3s; }
.svgContainer-wa { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(4px); letter-spacing: 0.8px; border-radius: 10px; transition: all 0.3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG-wa { position: absolute; content: ""; width: 100%; height: 100%; background: #00d757; z-index: -1; border-radius: 9px; pointer-events: none; transition: all 0.3s; }
.Btn-wa:hover .BG-wa { transform: rotate(35deg); transform-origin: bottom; }
.Btn-wa:hover .svgContainer-wa { background-color: rgba(156, 156, 156, 0.466); }

.Btn-yt { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; isolation: isolate; border-radius: 7px; cursor: pointer; transition: all 0.3s; }
.svgContainer-yt { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(0px); letter-spacing: 0.8px; border-radius: 10px; transition: all 0.3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG-yt { position: absolute; content: ""; width: 100%; height: 100%; background: #ff0000; z-index: -1; border-radius: 10px; pointer-events: none; transition: all 0.3s; }
.Btn-yt:hover .BG-yt { transform: rotate(35deg); transform-origin: bottom; }
.Btn-yt:hover .svgContainer-yt { border: 1px solid rgba(255, 110, 110, 0.466); background-color: rgba(219, 219, 219, 0.466); backdrop-filter: blur(4px); }

.Btn-li { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: none; background-color: transparent; position: relative; isolation: isolate; border-radius: 7px; cursor: pointer; transition: all 0.3s; }
.svgContainer-li { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: transparent; backdrop-filter: blur(0px); letter-spacing: 0.8px; border-radius: 10px; transition: all 0.3s; border: 1px solid rgba(156, 156, 156, 0.466); }
.BG-li { position: absolute; content: ""; width: 100%; height: 100%; background: #0077b5; z-index: -1; border-radius: 10px; pointer-events: none; transition: all 0.3s; }
.Btn-li:hover .BG-li { transform: rotate(35deg); transform-origin: bottom; }
.Btn-li:hover .svgContainer-li { border: 1px solid rgba(216, 216, 216, 0.466); background-color: rgba(190, 190, 190, 0.466); backdrop-filter: blur(4px); }

/* Custom Learn More Button */
.learn-more {
 position: relative;
 display: block;
 margin: 0 auto;
 cursor: pointer;
 outline: none;
 border: 0;
 text-decoration: none;
 background: transparent;
 padding: 0;
 font-size: inherit;
 font-family: inherit;
 width: 12rem;
 height: 3rem;
 color: var(--text-dark);
}

.navy-bg .learn-more,
.burger-menu .learn-more,
.contact__wrap .learn-more {
  color: var(--white);
}

.learn-more .circle {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: relative;
 display: block;
 margin: 0;
 width: 3rem;
 height: 3rem;
 background: var(--orange);
 border-radius: 1.625rem;
}

.learn-more .circle .icon {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 0;
 bottom: 0;
 margin: auto;
 background: var(--white);
}

.learn-more .circle .icon.arrow {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 left: 0.625rem;
 width: 1.125rem;
 height: 0.125rem;
 background: none;
}

.learn-more .circle .icon.arrow::before {
 position: absolute;
 content: "";
 top: -0.29rem;
 right: 0.0625rem;
 width: 0.625rem;
 height: 0.625rem;
 border-top: 0.125rem solid var(--white);
 border-right: 0.125rem solid var(--white);
 transform: rotate(45deg);
}

.learn-more .button-text {
 transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 padding: 0.75rem 0;
 margin: 0 0 0 1.85rem;
 color: inherit;
 font-weight: 700;
 line-height: 1.6;
 text-align: center;
 text-transform: uppercase;
}

.learn-more:hover .circle {
 width: 100%;
}

.learn-more:hover .circle .icon.arrow {
 background: var(--white);
 transform: translate(1rem, 0);
}

.learn-more:hover .button-text {
 color: var(--white);
}

/* =========================================================================
   Botão Voltar - Projetos
   ========================================================================= */
.styled-wrapper {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.styled-wrapper .button {
  display: block;
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0;
  overflow: hidden;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  border: 0;
}

.styled-wrapper .button:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 4px;
  border: 2px solid #23282e;
  transition:
    opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}

.styled-wrapper .button:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 4px;
  border: 2px solid #f26f21;
  transform: scale(1.3);
  transition:
    opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.styled-wrapper .button:hover:before,
.styled-wrapper .button:focus:before {
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.styled-wrapper .button:hover:after,
.styled-wrapper .button:focus:after {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
    transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
}

.styled-wrapper .button-box {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.styled-wrapper .button-elem {
  display: block;
  width: 20px;
  height: 20px;
  margin: 14px 14px 0 14px;
  transform: rotate(360deg);
  fill: #23282e;
}

.styled-wrapper .button:hover .button-box,
.styled-wrapper .button:focus .button-box {
  transition: 0.4s;
  transform: translateX(-48px);
}

/* =========================================================================
   Page Transition (Sequence 5s)
   ========================================================================= */

/* INITIAL STATE ON LOAD (Page Enter) */
/* The orange overlay covers the screen on load */
html::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--orange);
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    animation: orangeEnter 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* The body content starts hidden */
body {
    opacity: 0;
    animation: contentEnter 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ANIMATIONS FOR PAGE ENTER */
@keyframes orangeEnter {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes contentEnter {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* CLASSES FOR PAGE LEAVE */
html.page-leave body {
    animation: contentLeave 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

html.page-leave::after {
    animation: orangeLeave 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes contentLeave {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes orangeLeave {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* =========================================================================
   Toast Notifications
   ========================================================================= */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid;
    background-color: var(--navy);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    will-change: transform, opacity;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast:hover {
    transform: scale(1.02);
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 12px;
}

.toast-message {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

/* Toast Variants */
.toast-success {
    background-color: rgba(22, 101, 52, 0.8);
    border-left-color: #22c55e;
}
.toast-success .toast-icon { color: #22c55e; }

.toast-info {
    background-color: rgba(30, 58, 138, 0.8);
    border-left-color: #3b82f6;
}
.toast-info .toast-icon { color: #3b82f6; }

.toast-warning {
    background-color: rgba(113, 63, 18, 0.8);
    border-left-color: #eab308;
}
.toast-warning .toast-icon { color: #eab308; }

.toast-error {
    background-color: rgba(153, 27, 27, 0.8);
    border-left-color: #ef4444;
}
.toast-error .toast-icon { color: #ef4444; }

/* =========================================================================
   KAI PROJECT PAGE CUSTOM STYLES
   ========================================================================= */

/* Timeline (Como Funciona) */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.timeline-step {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.step-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Chatbot Mockup */
.kai-chatbot {
    background-color: #242930;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    height: 440px;
    max-width: 400px;
    margin: 0 auto;
}
.kai-chatbot__header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #2c323a;
}
.kai-chatbot__title {
    font-size: 1.1rem;
    color: var(--white);
    margin: 0;
}
.kai-chatbot__status {
    background-color: #22c55e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}
.kai-chatbot__body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kai-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}
.kai-msg--user {
    align-self: flex-end;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.kai-msg--bot {
    align-self: flex-start;
    background-color: var(--orange);
    color: #fff;
    border-bottom-left-radius: 4px;
}
.kai-chatbot__footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #2c323a;
}
.kai-chatbot__input-wrap {
    display: flex;
    gap: 8px;
}
.kai-chatbot__input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: #1e2227;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
}
.kai-chatbot__send {
    background-color: var(--orange);
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Use Cases */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.usecase-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.usecase-icon {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 16px;
}

/* Comparison */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.compare-card {
    background-color: var(--navy);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.compare-card > *:not(.stars-bg) {
    position: relative;
    z-index: 1;
}
.compare-card--bad {
    opacity: 0.8;
}
.compare-card--good {
    border-color: var(--orange);
    box-shadow: 0 0 30px rgba(230, 92, 0, 0.1);
}
.compare-title {
    font-size: 1.8rem;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}
.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}
.icon-bad {
    color: #ef4444;
}
.icon-good {
    color: #22c55e;
}

/* Mobile Adjustments for KAI */
@media (max-width: 1024px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .timeline-grid, .usecase-grid {
        grid-template-columns: 1fr;
    }
    .timeline-step {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================================================
   KOIDASH PROJECT PAGE CUSTOM STYLES
   ========================================================================= */

/* Dashboard Mockup */
.koidash-mockup {
    background-color: #f4f5f7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    height: 440px;
    max-width: 500px;
    margin: 0 auto;
    font-family: var(--font-sans);
}
.koidash-sidebar {
    width: 64px;
    background-color: #1e2227;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
}
.koidash-logo {
    color: var(--orange);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 32px;
}
.koidash-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}
.koidash-nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
}
.koidash-nav-item.active {
    background-color: var(--orange);
    color: #fff;
}
.koidash-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f4f5f7;
}
.koidash-header {
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.koidash-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e2227;
}
.koidash-avatar {
    width: 32px;
    height: 32px;
    background-color: var(--orange);
    border-radius: 50%;
}
.koidash-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.koidash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.koidash-stat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
}
.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e2227;
}
.stat-value.text-orange {
    color: var(--orange);
}
.stat-trend {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 500;
}
.stat-trend .material-symbols-outlined {
    font-size: 1rem;
}
.trend-up { color: #22c55e; }
.trend-down { color: #ef4444; }

.koidash-table {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}
.koidash-table-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
    color: #374151;
    align-items: center;
}
.koidash-table-row:last-child {
    border-bottom: none;
}
.koidash-table-row.header {
    background-color: #f9fafb;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    width: max-content;
}
.status-paid {
    background-color: #dcfce7;
    color: #166534;
}
.status-pending {
    background-color: #fef08a;
    color: #854d0e;
}

@media (max-width: 600px) {
    .koidash-cards {
        grid-template-columns: 1fr;
    }
    .koidash-table-row {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .hide-mobile {
        display: none;
    }
}
