:root {
    /* Color Palette */
    --bg-dark: #020c1b;
    --bg-card: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --accent-glow: rgba(100, 255, 218, 0.1);
    --white: #e6f1ff;

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 120px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.3));
}

.highlight {
    color: var(--accent);
}

.section-padding {
    padding: var(--section-spacing) 0;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    /* Modern pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.1);
}

.btn-primary:hover {
    background-color: var(--accent-glow);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.3);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    margin-left: 16px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* Header & Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    z-index: 1001;
    /* Above mobile menu */
}

/* Desktop Navigation (Default Visible) */
.desktop-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Base state for Mobile Elements */
.mobile-menu-btn {
    display: none;
    /* Hidden on Desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    margin-bottom: 6px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    /* Closed */
    background-color: rgba(2, 12, 27, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-text {
    z-index: 1;
}

.overline {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(3rem, 5.5vw, 5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* Hero Visual & Logo */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(100, 255, 218, 0.15));
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
    /* Ensuring the element is clickable/hoverable */
    pointer-events: auto;
}

.hero-logo:hover {
    transform: scale(1.06) rotate(2deg);
    filter: drop-shadow(0 0 40px rgba(100, 255, 218, 0.4));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.15) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
}

.floating-anim {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: default;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.7);
    border-color: rgba(100, 255, 218, 0.2);
}

.icon-box {
    color: var(--accent);
    margin-bottom: 24px;
}

.service-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Tech / Differentiators */
.tech-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tech-content {
    flex: 1;
}

.tech-content h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.tech-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.differentiators-list {
    list-style: none;
}

.differentiators-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.check-icon {
    color: var(--accent);
    margin-right: 16px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 2px;
}

.differentiators-list strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

.differentiators-list small {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Code Mockup */
.tech-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.code-block-mockup {
    background-color: #0d192e;
    padding: 24px;
    border-radius: 8px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    border: 1px solid #1e2d4a;
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff5f56;
}

.window-controls span:nth-child(2) {
    background-color: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background-color: #27c93f;
}

pre {
    color: #a8b2d1;
    white-space: pre-wrap;
}

.k {
    color: #c678dd;
}

/* keyword */
.v {
    color: #e5c07b;
}

/* variable */
.f {
    color: #61afef;
}

/* function */
.s {
    color: #98c379;
}

/* string */
.c {
    color: var(--accent);
}

/* class/highlight */
.n {
    color: #d19a66;
}

/* number */

/* Contact */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-card {
    background-color: var(--bg-card);
    padding: 60px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.contact-card h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    background-color: var(--bg-dark);
    border: 1px solid #233554;
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background-color: #010810;
}

.footer-content {
    margin-bottom: 24px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Process & Trust Cards */
.process-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.process-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.process-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.process-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.process-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.process-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Process Card Styles (already exists, ensuring safety) */
.process-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* Split Layout for Services Page */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Default: Visual Left (1), Content Right (2) - Relies on HTML source order or defaults */

/* For Reverse: Content Left (1), Visual Right (2) */
.split-container.reverse .split-content {
    order: 1;
    /* Content on the Left */
}

.split-container.reverse .split-visual {
    order: 2;
    /* Visual on the Right */
}

/* Mobile: Always Stack */
@media (max-width: 768px) {

    .split-container,
    .split-container.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .split-visual,
    .split-container.reverse .split-visual {
        order: 1;
        margin: 0 auto;
    }

    .split-content,
    .split-container.reverse .split-content {
        order: 2;
    }

    .service-list {
        display: inline-block;
        text-align: left;
    }
}

.tech-visual-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    background: rgba(2, 12, 27, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.7);
    margin: 0 auto;
}

.service-list {
    list-style: none;
    margin-bottom: 30px;
}

.service-list li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.service-list li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    /* Botão do menu (hamburger) */
    .mobile-menu-btn {
        display: flex;
        /* garante layout consistente */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        /* espaçamento ENTRE as 3 linhas */
        width: 44px;
        height: 44px;
        padding: 0;
        margin: 0;
        background: transparent;
        border: 0;
        cursor: pointer;
        line-height: 0;
        /* evita “vazar” espaçamento estranho */
        -webkit-tap-highlight-color: transparent;
    }

    /* As 3 linhas */
    .mobile-menu-btn span {
        display: block;
        width: 28px;
        height: 2px;
        background: var(--accent);
        /* ou #64FFDA */
        border-radius: 999px;
        margin: 0 !important;
        /* mata qualquer margin global em span */
        padding: 0;
    }

    /* Se existir um estilo global tipo "span { margin-bottom: ... }", isso resolve. */


    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 9px;
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 300px;
    }

    .btn-outline {
        margin-left: 0;
    }

    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Split Container Mobile */
    .split-container,
    .split-container.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .split-visual {
        order: 1;
        margin: 0 auto;
        max-width: 300px;
    }

    .split-content {
        order: 2;
        align-items: center;
    }

    .service-list {
        text-align: left;
        display: inline-block;
    }

    .tech-container {
        flex-direction: column;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Mobile Nav Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-dark);
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        z-index: 999;
        border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    }

    .mobile-nav-overlay.open {
        height: calc(100vh - var(--header-height));
    }

    .mobile-nav-overlay nav {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .mobile-nav-overlay ul {
        list-style: none;
        text-align: center;
        width: 100%;
    }

    .mobile-nav-overlay li {
        margin-bottom: 30px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .mobile-nav-overlay.open li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .mobile-nav-overlay.open li:nth-child(2) {
        transition-delay: 0.3s;
    }

    .mobile-nav-overlay.open li:nth-child(3) {
        transition-delay: 0.4s;
    }

    .mobile-nav-overlay.open li:nth-child(4) {
        transition-delay: 0.5s;
    }

    .mobile-nav-overlay a {
        font-size: 1.5rem;
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 500;
    }

    .mobile-nav-overlay a:hover {
        color: var(--accent);
    }
}

/* Case Details Gallery */
.case-gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 768px) {
    .case-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .case-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 12, 27, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close:hover {
    color: var(--accent);
}

/* Case Carousel */
.case-carousel-container {
    position: relative;
    width: 100%;
    /* Max height constraint to prevent huge vertical images on desktops if needed, 
       but user requested maintaining existing container style which was just width 100% and fixed height 500px in the placeholder.
       I will set a good aspect ratio or max-height. The user said: "Same size as the current Project Visual container".
       The placeholder had height: 500px. I will use aspect-ratio 16/9 or keep height constraint.
    */
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(2, 12, 27, 0.8);
    border: 1px solid rgba(100, 255, 218, 0.2);
    color: var(--accent);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 10px 16px;
    background: rgba(2, 12, 27, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Project Title Links */
.project-link {
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.project-link:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.project-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.project-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .case-hero-mockup {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr !important;
    }
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    margin-top: 40px;
}


/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--bg-card);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    font-size: 0.95rem;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.active {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.error {
    border-left-color: #ff5f56;
}

.portfolio-cta .btn {
    padding: 16px 48px;
    /* Slightly wider for emphasis if needed, or keep standard */
}