/* ======== VITRINE WEB - DESIGN SYSTEM ========
   Formato: "black velvet with violet neon" (referência Resend).
   Canvas preto absoluto, camadas separadas por bordas hairline
   (nunca sombra/blur), tipografia branco-sobre-preto. Ciano é o
   sinal de interação/foco (hover, seleção); violeta marca textos
   de identificação (rótulos, índices, badges) — as duas cores de
   marca da Vitrine Web, cada uma com um papel só. */

:root {
    /* Colors */
    --void: #000000;
    --graphite: #292d30;
    --graphite-soft: rgba(255, 255, 255, 0.08);

    --text: #ffffff;
    --bone: #f0f0f0;
    --ash: #a1a4a5;
    --text-muted: #a1a4a5;
    --text-faint: #767a81;

    --cyan: #3fe0ff;
    --cyan-dim: rgba(63, 224, 255, 0.35);
    --cyan-faint: rgba(63, 224, 255, 0.08);
    --violet: #7c5cff;
    --violet-dim: rgba(124, 92, 255, 0.4);

    --border: var(--graphite);
    --border-strong: #3a3f43;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Radius — two values only, per format */
    --radius-sm: 6px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Effects */
    --glass-blur: blur(16px);
    --transition: all 0.15s ease-out;
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    color-scheme: dark;
}

body {
    background-color: var(--void);
    color: var(--bone);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

::selection {
    background: var(--cyan);
    color: #01131a;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

a, button, .btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

h1, h2 {
    text-wrap: balance;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 1000;
    background: var(--cyan);
    color: #01131a;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 20px;
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes panBg {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Classes */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.gradient-text {
    background-image: linear-gradient(90deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(124, 92, 255, 0.35));
}

.highlight {
    color: var(--cyan);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--violet);
}

/* Buttons — ghost only. Ghost on black is the signature button;
   never filled, never colorful. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--graphite);
    position: relative;
}

.btn-primary {
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    color: #04070d;
    border-color: transparent;
    box-shadow: 0 8px 26px rgba(124, 92, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 10px 34px rgba(63, 224, 255, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border-color: transparent;
    padding-left: 4px;
    padding-right: 4px;
    color: var(--ash);
}

.btn-secondary:hover {
    color: var(--text);
}

.btn-secondary svg {
    transition: var(--transition);
}

.btn-secondary:hover svg {
    transform: translateX(3px);
}

.btn-large {
    padding: 16px 34px;
    font-size: 1.05rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
    padding: 22px 0;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--graphite);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
    font-family: var(--font-heading);
    text-transform: uppercase;
    text-decoration: none;
}

.logo-highlight {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--bone);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a.active {
    color: var(--text);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--graphite);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle svg {
    width: 20px;
    height: 20px;
}

/* Section Card — black surface, hairline border, no shadow, no blur.
   Every card/panel on the page shares this one surface treatment. */
.glass-panel {
    background: var(--void);
    border: 1px solid var(--graphite);
    border-radius: var(--radius-lg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #000000 0%, #041428 30%, #0a2f57 62%, #1653a3 88%, #2f7fd6 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.09;
    animation: panBg 32s linear infinite alternate;
}

.hero-bg .bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15) 55%, transparent 100%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
    z-index: 2;
    position: relative;
}

@media (min-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    max-width: 580px;
}

/* Hero entrance: fade-and-slide, staggered per element — plays once
   on load since the hero is always in view, no scroll trigger needed. */
@keyframes heroEnter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content .badge { animation-delay: 0.05s; }
.hero-content .hero-title { animation-delay: 0.16s; }
.hero-content .hero-subtitle { animation-delay: 0.3s; }
.hero-content .hero-actions { animation-delay: 0.44s; }

.hero-visual {
    display: none;
    justify-content: center;
    align-items: center;
    overflow: visible;
    animation: heroEnter 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

@media (min-width: 1000px) {
    .hero-visual {
        display: flex;
    }
}

/* Hero highlights — three quick trust bullets under the CTAs. */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 44px;
    animation: heroEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.56s;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-highlight-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--graphite);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    flex-shrink: 0;
}

.hero-highlight-icon svg {
    display: block;
}

.hero-highlight strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
}

.hero-highlight div span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-faint);
}

/* The hero mockup — a tilted preview of an example client site,
   floating gently, with a cursor tapping a corner of it. */
.mockup-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.mockup-glow-a {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.45), transparent 70%);
    top: -60px;
    right: -20px;
}

.mockup-glow-b {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(63, 224, 255, 0.32), transparent 70%);
    bottom: -40px;
    left: -20px;
}

.mockup-card {
    position: relative;
    width: 580px;
    max-width: 100%;
    background: var(--void);
    border: 1px solid var(--graphite);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02);
    transform: perspective(1600px) rotateY(-9deg) rotateX(4deg);
    animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% { transform: perspective(1600px) rotateY(-9deg) rotateX(4deg) translateY(0); }
    50% { transform: perspective(1600px) rotateY(-9deg) rotateX(4deg) translateY(-12px); }
}

.mockup-chrome {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
}

.mockup-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.mockup-dot-red { background: #ff5f57; }
.mockup-dot-yellow { background: #febc2e; }
.mockup-dot-green { background: #28c840; }

.mockup-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--graphite);
    border-bottom: 1px solid var(--graphite);
}

.mockup-brand {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.mockup-nav-links {
    display: flex;
    gap: 16px;
    font-size: 0.68rem;
    color: var(--text-faint);
}

.mockup-nav-btn {
    font-size: 0.68rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    color: #04070d;
    padding: 6px 12px;
    border-radius: 6px;
    flex-shrink: 0;
}

.mockup-hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 20px;
}

.mockup-hero-copy h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 10px;
}

.mockup-hero-copy h4 span {
    color: var(--violet);
}

.mockup-hero-copy p {
    font-size: 0.76rem;
    color: var(--text-faint);
    max-width: 220px;
    margin-bottom: 16px;
}

.mockup-hero-actions {
    display: flex;
    gap: 10px;
}

.mockup-btn-a {
    font-size: 0.7rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    color: #04070d;
    padding: 8px 14px;
    border-radius: 6px;
}

.mockup-btn-b {
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--graphite);
    color: var(--text-faint);
    padding: 8px 14px;
    border-radius: 6px;
}

.mockup-hero-art {
    width: 170px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(160deg, rgba(63, 224, 255, 0.3), rgba(124, 92, 255, 0.4));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px);
}

/* Our real logo, standing inside the mockup's image slot — filling
   it edge to edge, with a slow breathing glow. */
.art-logo-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: artLogoPulse 4s ease-in-out infinite;
}

@keyframes artLogoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(63, 224, 255, 0));
    }
    50% {
        transform: scale(1.045);
        filter: drop-shadow(0 0 20px rgba(63, 224, 255, 0.45));
    }
}

.mockup-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-top: 1px solid var(--graphite);
}

.mockup-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-stat svg {
    width: 16px;
    height: 16px;
    color: var(--cyan);
    flex-shrink: 0;
}

.mockup-stat span {
    display: block;
    font-size: 0.6rem;
    color: var(--text-faint);
    white-space: nowrap;
}

.mockup-stat strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-heading);
}

.mockup-cursor {
    position: absolute;
    bottom: 26px;
    right: 34px;
}

.mockup-ripple {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    opacity: 0;
    animation: mockupRipple 2.6s ease-out infinite;
}

@keyframes mockupRipple {
    0% { transform: scale(0.4); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.mockup-cursor-arrow {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.6));
    animation: mockupCursorTap 2.6s ease-in-out infinite;
}

@keyframes mockupCursorTap {
    0%, 70% { transform: translate(0, 0) scale(1); }
    78% { transform: translate(-3px, -3px) scale(0.88); }
    86% { transform: translate(0, 0) scale(1.04); }
    100% { transform: translate(0, 0) scale(1); }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 12px;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid var(--graphite);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--bone);
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet);
    animation: dotPulse 2.5s infinite;
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 2rem + 2.5vw, 4.75rem);
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin-bottom: 24px;
    min-height: 1.2em;
    color: var(--text);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background-color: var(--cyan);
    animation: blink 1s step-end infinite;
    vertical-align: bottom;
    margin-left: 4px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--ash);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Trust bar — real client names, no logos, no cards. Just names
   breathing against black, the way Resend's logo grid does it. */
.trust {
    padding: 48px 0;
    border-top: 1px solid var(--graphite);
    border-bottom: 1px solid var(--graphite);
}

.trust-label {
    display: block;
    text-align: center;
    justify-content: center;
    margin-bottom: 28px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 40px;
}

.trust-row a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-faint);
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: var(--transition);
}

.trust-row a:hover {
    color: var(--cyan);
}

/* Sections Global */
section {
    padding: 110px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .eyebrow {
    justify-content: center;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--ash);
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto;
}

/* Features — a plain grid of Section Cards, the same surface every
   other card on the page uses. No wire, no nodes, no timeline. */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: var(--cyan-dim);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--graphite);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-faint);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-icon svg {
    display: block;
}

.feature-card:hover .feature-icon {
    color: var(--cyan);
    border-color: var(--cyan-dim);
    background: var(--cyan-faint);
}

.feature-index {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--violet);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--ash);
    font-size: 0.95rem;
}

/* Portfolio carousel — one project at a time, Apple-product-shot style:
   a single large image with its caption, moved through with arrows,
   dots, or a swipe. Same hairline-card surface as the rest of the page. */
.carousel-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-track {
    flex: 1;
    min-width: 0;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 24px;
    opacity: 0.4;
    transition: border-color 0.2s ease, opacity 0.4s ease;
}

.carousel-slide.is-active {
    opacity: 1;
}

.carousel-slide .portfolio-img-wrapper {
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 10;
}

.carousel-slide .portfolio-info {
    text-align: center;
    max-width: 560px;
}

.carousel-slide .tech-tags {
    justify-content: center;
}

.carousel-slide:hover {
    border-color: var(--cyan-dim);
}

.carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--void);
    border: 1px solid var(--graphite);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-arrow:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    background: var(--graphite);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.is-active {
    background: var(--cyan);
}

.portfolio-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--void);
    border: 1px solid var(--graphite);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-slide:hover .portfolio-img {
    transform: scale(1.04);
}

.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.carousel-slide:hover .portfolio-overlay {
    opacity: 1;
}

.view-project-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--bone);
    color: var(--text);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transform: translateY(12px);
    transition: var(--transition);
}

.carousel-slide:hover .view-project-btn {
    transform: translateY(0);
}

.portfolio-info {
    padding: 22px 8px 8px;
}

.portfolio-index {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--violet);
    display: block;
    margin-bottom: 8px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.portfolio-info p {
    color: var(--ash);
    font-size: 0.85rem;
    font-weight: 400;
}

.portfolio-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-faint);
    margin-top: 14px;
}

.carousel-slide .portfolio-status {
    justify-content: center;
    width: 100%;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: dotPulse 2.5s infinite;
    flex-shrink: 0;
}

.tech-tags {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.tech-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    background: transparent;
    color: var(--text-faint);
    border-radius: var(--radius-sm);
    border: 1px solid var(--graphite);
    font-weight: 400;
    transition: var(--transition);
}

.carousel-slide:hover .tech-tags span {
    border-color: var(--cyan-dim);
    color: var(--bone);
}

/* Portfolio — catalogue list of additional pieces */
.portfolio-more {
    max-width: 800px;
    margin: 72px auto 0;
}

.portfolio-more-title {
    margin-bottom: 20px;
}

.portfolio-list {
    list-style: none;
    border-top: 1px solid var(--graphite);
}

.portfolio-list li {
    border-bottom: 1px solid var(--graphite);
}

.portfolio-list a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 6px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.portfolio-list a:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 14px;
}

.portfolio-list-index {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--violet);
    letter-spacing: 0.06em;
    flex-shrink: 0;
    width: 52px;
}

.portfolio-list-name {
    font-family: var(--font-heading);
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.portfolio-list-cat {
    color: var(--ash);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.portfolio-list a svg {
    color: var(--text-faint);
    flex-shrink: 0;
    transition: var(--transition);
}

.portfolio-list a:hover svg {
    color: var(--cyan);
    transform: translate(2px, -2px);
}

/* CTA — the one section that earns a violet-tinted border */
.cta-box {
    text-align: center;
    padding: 80px 40px;
    background: var(--void);
    border: 1px solid var(--violet-dim);
    border-radius: var(--radius-xl);
    position: relative;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.08rem;
    color: var(--ash);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    border-top: 1px solid var(--graphite);
    padding: 60px 0 20px;
    background: var(--void);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col p {
    color: var(--ash);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--ash);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--graphite);
    padding-top: 20px;
    color: var(--text-faint);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

/* Animations (Fade Up) */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 80;
    transition: var(--transition);
    animation: whatsappPulse 2.6s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* Reduced motion floor */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: clamp(2.1rem, 1.6rem + 3vw, 3.2rem);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: var(--glass-blur);
        padding: 100px 24px 40px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
        z-index: 90;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.25rem;
        padding: 14px 4px;
        border-bottom: 1px solid var(--graphite);
    }

    .nav-cta {
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .trust-row {
        gap: 12px 24px;
    }

    .trust-row a {
        font-size: 0.85rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .portfolio-list a {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .portfolio-list-cat {
        width: 100%;
        padding-left: 72px;
        font-size: 0.82rem;
        order: 3;
    }
}
