/* ==========================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================== */
:root {
    --bg-dark: #040408;
    --bg-surface: rgba(14, 16, 22, 0.52);
    --bg-glass-hover: rgba(22, 26, 36, 0.72);
    
    --gold: #c9a45a;
    --gold-dim: #b48c50;
    --gold-hover: #9f7b44;
    --blue: #1461c2;
    --blue-glow: rgba(20, 97, 194, 0.35);
    --cyan: #00d4b4;
    --cyan-glow: rgba(0, 212, 180, 0.25);
    --purple: #8b23c0;
    --purple-glow: rgba(139, 35, 192, 0.35);
    
    --text-main: #f2f2f5;
    --text-muted: #7a7d8c;
    --text-ultra-muted: rgba(255,255,255,0.18);
    --glass-border: rgba(255, 255, 255, 0.055);
    --glass-border-hover: rgba(255, 255, 255, 0.14);
    --glass-border-gold: rgba(201, 164, 90, 0.35);
    --glass-border-cyan: rgba(0, 212, 180, 0.3);
    --wire: rgba(255,255,255,0.07);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.18s ease;
}

/* ==========================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
}

/* Editorial large headings use serif */
.editorial-heading {
    font-family: var(--font-serif);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.08;
}

/* Mono label / tag text */
.mono {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   PARTICLES CANVAS & FLOATING ORBS
   ========================================== */
#parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

#pb-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.p-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: orbPulse 12s ease-in-out infinite alternate;
}

.orb-purple {
    width: 750px;
    height: 750px;
    top: -15%;
    left: -20%;
    background: radial-gradient(circle, var(--purple) 20%, rgba(123, 31, 168, 0.4), transparent 75%);
}

.orb-blue {
    width: 700px;
    height: 700px;
    top: 35%;
    left: 55%;
    background: radial-gradient(circle, var(--blue) 20%, rgba(15, 79, 158, 0.4), transparent 75%);
    animation-delay: -3s;
}

.orb-gold {
    width: 500px;
    height: 500px;
    top: 70%;
    left: 5%;
    background: radial-gradient(circle, var(--gold) 15%, rgba(180, 140, 80, 0.25), transparent 75%);
    opacity: 0.22;
    animation-delay: -6s;
}

.orb-cyan {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 10%;
    left: 45%;
    background: radial-gradient(circle, rgba(0, 220, 180, 0.25) 20%, rgba(0, 220, 180, 0.1), transparent 75%);
    filter: blur(110px);
    opacity: 0.28;
    animation: orbPulse 14s ease-in-out infinite alternate;
    animation-delay: -9s;
}

/* Header and Navigation defined in Masterpiece Navigation block at end of stylesheet */

/* Primary CTA Button */
.cta-button {
    background: rgba(180, 140, 80, 0.08);
    border: 1px solid rgba(180, 140, 80, 0.45);
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-button:hover {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 0 20px rgba(180, 140, 80, 0.35);
}

.cta-button-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-button-outline:hover {
    border-color: var(--text-main);
}

.full-width {
    width: 100%;
}

/* ==========================================
   MOBILE MENU DRAWER
   ========================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    z-index: 10000;
    padding: 30px 6%;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mobile-menu-drawer.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
    color: var(--text-main);
}

/* ==========================================
   HERO SECTION — EDITORIAL ASYMMETRIC
   ========================================== */
.hero-section {
    padding: 160px 6% 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    position: relative;
    gap: 40px;
}

/* 3D Neural Brain Component */
.hero-brain-wrapper {
    flex: 1;
    max-width: 540px;
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

#hero-brain-canvas {
    width: 100% !important;
    height: 100% !important;
    outline: none;
    cursor: grab;
}

#hero-brain-canvas:active {
    cursor: grabbing;
}

.hero-brain-badge {
    position: absolute;
    bottom: 14px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
    max-width: 90% !important;
    text-align: center !important;
    justify-content: center !important;
    background: rgba(13, 17, 28, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 16px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
    z-index: 10;
}

/* Architectural grid crosshair markers */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--wire) 1px, transparent 1px),
        linear-gradient(90deg, var(--wire) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 15% 50%, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

/* Mono eyebrow label */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border-gold);
    border-radius: 0;
    padding: 6px 0;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 3px;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 32px;
}

.hero-badge::before {
    content: '[ 01 ]';
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-ultra-muted);
}

/* Main editorial headline — serif */
.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(130deg, var(--gold) 10%, var(--cyan) 70%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subhead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

/* Gold accent line on left edge of hero */
.hero-accent-bar {
    position: absolute;
    left: calc(6% - 1px);
    top: 180px;
    bottom: 100px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold-dim) 30%, var(--gold-dim) 70%, transparent);
    z-index: 1;
}

.shadow-gold {
    box-shadow: 0 8px 28px rgba(201, 164, 90, 0.18);
}

/* ==========================================
   METRICS STATS SECTION
   ========================================== */
.stats-section {
    padding: 40px 6%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Glassmorphism Card Core */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-5px);
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: var(--font-sans);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================
   SERVICES — GLASS + NEON BORDER HOVER
   ========================================== */
.services-section {
    padding: 120px 6%;
    position: relative;
}

/* Wire section divider with crosshair corners */
.section-divider {
    position: relative;
    height: 1px;
    background: var(--wire);
    margin: 0 0 80px;
}

.section-divider::before,
.section-divider::after {
    content: '+';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
}

.section-divider::before { left: 0; }
.section-divider::after  { right: 0; }

.section-title {
    text-align: left;
    max-width: 580px;
    margin: 0 0 60px;
}

.title-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    opacity: 0.8;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Asymmetric services grid */
.services-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

/* Deep glass card with neon border on hover */
.service-card.glass-card {
    background: rgba(12, 14, 20, 0.6);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    border-radius: 2px; /* Sharp corners — architectural */
    padding: 36px;
    transition: var(--transition);
    overflow: hidden;
}

/* Neon gold border sweep on hover via pseudo element */
.service-card.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(201,164,90,0) 0%,
        rgba(201,164,90,0.7) 40%,
        rgba(0,212,180,0.5) 70%,
        rgba(201,164,90,0) 100%);
    background-size: 250% 250%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.service-card.glass-card:hover {
    background: rgba(18, 22, 32, 0.78);
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(201,164,90,0.08);
}

.service-card.glass-card:hover::after {
    opacity: 1;
}

/* Featured card — first in asymmetric grid spans down */
.service-card.featured {
    grid-row: span 2;
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
    display: inline-block;
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.service-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Border Beam Effect Animation */
.border-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(180, 140, 80, 0.4) 50%, transparent 60%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.border-beam:hover::before {
    opacity: 1;
    animation: borderBeamRun 3s linear infinite;
}

/* ==========================================
   PORTFOLIO Grid & CARDS
   ========================================== */
.portfolio-section {
    padding: 60px 6%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-image-wrapper {
    height: 240px;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
}

/* Interactive Project Mockups */
.portfolio-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(123, 31, 168, 0.08) 0%, rgba(15, 79, 158, 0.08) 100%);
    font-size: 4rem;
    color: var(--gold);
    transition: var(--transition);
}

.portfolio-mockup.advocacia {
    color: var(--blue);
}

.portfolio-mockup.barbearia {
    color: var(--purple);
}

.mockup-tag {
    position: absolute;
    top: auto !important;
    bottom: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: auto !important;
    max-width: fit-content !important;
    background: rgba(8, 12, 20, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 0.3px;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.portfolio-card:hover .portfolio-mockup {
    transform: scale(1.05);
}

.portfolio-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.portfolio-details h3 {
    font-size: 1.3rem;
}

.portfolio-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.portfolio-tags span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 4px 8px;
    color: var(--text-muted);
}

.portfolio-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    align-self: flex-start;
}

.portfolio-link:hover {
    color: var(--gold-hover);
}

/* ==========================================
   PROCESS METHOD STEPS
   ========================================== */
.process-section {
    padding: 100px 6%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-num {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.process-step:hover .step-num {
    color: var(--gold);
}

.process-step h4 {
    font-size: 1.15rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================
   SPECIALIST / BIO LAYOUT
   ========================================== */
.specialist-section {
    padding: 160px 6% 100px;
}

.specialist-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.specialist-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.profile-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.profile-avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
}

.profile-role {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-divider {
    height: 1px;
    width: 100%;
    background: var(--glass-border);
}

.profile-details-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.details-item {
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
}

.details-item span {
    color: var(--text-muted);
}

.specialist-bio {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bio-badge {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.specialist-bio h2 {
    font-size: 2.4rem;
}

.bio-text {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.skills-area {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skills-area h3 {
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 500;
}

.skill-bar-wrapper {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-progress {
    height: 100%;
    background: linear-gradient(to right, var(--gold), var(--blue));
    border-radius: 10px;
}

.bio-cta-block {
    margin-top: 30px;
    padding: 24px;
    background: rgba(180, 140, 80, 0.03);
    border: 1px dashed rgba(180, 140, 80, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.bio-cta-block h4 {
    font-size: 1.15rem;
}

.bio-cta-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================
   CONTACT FORM SECTION & SUCCESS OVERLAY
   ========================================== */
.contact-section {
    padding: 160px 6% 100px;
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info h2 {
    font-size: 2.5rem;
}

.contact-info p {
    color: var(--text-muted);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.channel-card i {
    font-size: 1.8rem;
}

.channel-card h4 {
    font-size: 0.95rem;
}

.channel-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.contact-form-card {
    flex: 1.2;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    width: 100%;
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.project-tag {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 8px 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.project-tag.active, .project-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(180, 140, 80, 0.05);
}

/* Contact Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.success-card {
    max-width: 420px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--gold);
}

.success-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================
   FOOTER (JATEADO & MINIMALIST)
   ========================================== */
.footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
    padding: 80px 6% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(180, 140, 80, 0.05);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text-muted);
    transition: var(--transition);
    align-self: flex-start;
}

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact p {
    font-size: 0.92rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-badge {
    margin-top: 10px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 220, 180, 0.05);
    border: 1px solid rgba(0, 220, 180, 0.2);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #00dcb4;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #00dcb4;
    border-radius: 50%;
    animation: statusPulse 1.5s infinite alternate;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================
   MEDIA QUERY BREAKPOINTS
   ========================================== */
@media screen and (max-width: 1024px) {
    .header {
        padding: 16px 5%;
    }
    
    .nav {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .specialist-container, .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .specialist-sidebar {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-subhead {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes orbPulse {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(20px, -20px);
    }
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 220, 180, 0.4);
    }
    100% {
        box-shadow: 0 0 10px 4px rgba(0, 220, 180, 0);
    }
}

@keyframes borderBeamRun {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

@keyframes logoPulse {
    0% {
        filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.45));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
    }
}

/* ==========================================
   ENTRY PRELOADER & HERO TRANSITIONS
   ========================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: #050508;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.preloader-logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.95)) drop-shadow(0 0 2px #fff);
    animation: preloaderPulse 1.6s infinite ease-in-out;
}

.preloader-bar-wrapper {
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--gold);
    animation: preloaderLoad 1.2s forwards cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* Staggered Hero Entrance Animations (Triggered dynamically AFTER Preloader Exits) */
.hero-content .hero-badge,
.hero-content h1,
.hero-content .hero-subhead,
.hero-content .hero-actions,
.hero-content .hero-telemetry,
.hero-brain-wrapper {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) translateY(45px) scale(0.95);
    filter: blur(8px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

body.hero-mounted .hero-content .hero-badge {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
    transition-delay: 0.12s;
}

body.hero-mounted .hero-content h1 {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
    transition-delay: 0.32s;
}

body.hero-mounted .hero-content .hero-subhead {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
    transition-delay: 0.52s;
}

body.hero-mounted .hero-content .hero-actions {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
    transition-delay: 0.72s;
}

body.hero-mounted .hero-content .hero-telemetry {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
    transition-delay: 0.92s;
}

body.hero-mounted .hero-brain-wrapper {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
    transition-delay: 0.25s;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.65; }
    50% { transform: scale(1.04); opacity: 1; }
}

@keyframes preloaderLoad {
    to { width: 100%; }
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   DUAL G LUXURY ELEVATION - EXPANDED STYLES
   ========================================== */

/* Navbar Access Portal Button */
.nav-access-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 40px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: #f5e2a3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.nav-access-btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: #d4af37;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
}

.nav-access-btn i {
    color: var(--gold);
    font-size: 0.85rem;
}

/* Hero Telemetry Data Strip */
.hero-telemetry {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 14px 20px;
    background: rgba(10, 14, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    backdrop-filter: blur(14px);
    width: fit-content;
    max-width: 100%;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #cbd5e1;
}

.telemetry-item i {
    color: var(--gold);
    font-size: 0.85rem;
}

.telemetry-value {
    color: #ffffff;
    font-weight: 700;
}

.telemetry-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.12);
}

/* ==========================================
   BENCHMARK SECTION: DUAL G VS WORDPRESS
   ========================================== */
.benchmark-section {
    padding: 100px 6%;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 14, 0.8) 50%, transparent 100%);
}

.benchmark-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benchmark-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: stretch;
    margin-top: 50px;
}

.benchmark-card {
    background: rgba(13, 17, 26, 0.65);
    border-radius: 16px;
    padding: 36px 32px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benchmark-card.wp-obsolete {
    border: 1px solid rgba(239, 68, 68, 0.25);
    background: radial-gradient(circle at top right, rgba(239, 68, 68, 0.06), transparent 70%), rgba(15, 12, 16, 0.7);
}

.benchmark-card.wp-obsolete:hover {
    border-color: rgba(239, 68, 68, 0.45);
    transform: translateY(-3px);
}

.benchmark-card.dualg-engine {
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 75%), rgba(11, 16, 26, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.12);
}

.benchmark-card.dualg-engine:hover {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(212, 175, 55, 0.25);
    transform: translateY(-4px);
}

.benchmark-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 20px;
}

.benchmark-badge.wp {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.benchmark-badge.dualg {
    background: rgba(212, 175, 55, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.benchmark-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benchmark-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.benchmark-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-label {
    font-size: 0.88rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-val {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
}

.val-bad {
    color: #f87171;
}

.val-good {
    color: #34d399;
}

.benchmark-meter-bar {
    margin-top: 10px;
    height: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill-wp {
    width: 25%;
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.meter-fill-dualg {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #00e5ff);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.benchmark-vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #090c13;
    border: 2px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1rem;
    color: var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

/* ==========================================
   PORTFOLIO ENHANCEMENTS
   ========================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    background: rgba(15, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.portfolio-card {
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.12);
}

.portfolio-mockup-frame {
    height: 200px;
    background: #080b11;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header-bar {
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.mockup-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-preview-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.06), transparent 70%);
}

.mockup-logo-emblem {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
}

.mockup-live-status {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #34d399;
}

/* ==========================================
   INTERACTIVE BUDGET ESTIMATOR
   ========================================== */
.calculator-section {
    padding: 100px 6%;
    position: relative;
}

.calculator-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(12, 16, 25, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.calculator-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 35px;
}

.calc-group-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.calc-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.calc-option.selected {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.calc-opt-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.calc-opt-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.calc-opt-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calc-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s ease;
}

.calc-option.selected .calc-check {
    background: var(--gold);
    border-color: var(--gold);
    color: #000000;
    font-size: 0.75rem;
}

.calc-summary-box {
    margin-top: 40px;
    padding: 28px 32px;
    background: rgba(8, 11, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.calc-summary-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-summary-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.calc-summary-specs {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================
   PORTAL DO CLIENTE / ACESSO.HTML
   ========================================== */
.access-page-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.access-header {
    padding: 24px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(5, 7, 13, 0.8);
    backdrop-filter: blur(16px);
}

.access-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #34d399;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
}

.access-main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.access-card-wrapper {
    width: 100%;
    max-width: 580px;
    background: rgba(13, 17, 26, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 45px;
    backdrop-filter: blur(28px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 40px rgba(212, 175, 55, 0.12);
    position: relative;
    overflow: hidden;
}

.access-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #00e5ff, #8b23c0);
}

.access-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.access-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.access-tab-btn.active {
    background: rgba(212, 175, 55, 0.15);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.access-tab-pane {
    display: none;
}

.access-tab-pane.active {
    display: block;
    animation: fadeInPane 0.3s ease;
}

@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.access-input-group {
    margin-bottom: 22px;
}

.access-input-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.access-input-control {
    width: 100%;
    background: rgba(7, 10, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.access-input-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.access-helper {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.access-status-box {
    margin-top: 25px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.status-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.tl-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.tl-done {
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid #34d399;
    color: #34d399;
}

.tl-active {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #d4af37;
    color: #d4af37;
    animation: statusPulse 1.5s infinite alternate;
}

.tl-pending {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
}

@media screen and (max-width: 900px) {
    .benchmark-grid {
        grid-template-columns: 1fr;
    }
    
    .benchmark-vs-badge {
        margin: 10px auto;
    }
    
    .calculator-steps {
        grid-template-columns: 1fr;
    }
    
    .calculator-wrapper {
        padding: 30px 20px;
    }
}

/* Portfolio Mockup Real Image Hover Zoom */
.portfolio-card:hover .portfolio-screen-img {
    transform: scale(1.05);
}


/* --- Mockup Device Switcher & Real Screen Presentation --- */
.portfolio-mockup-frame {
    height: 245px !important;
    background: #06090e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mockup-header-bar {
    height: 32px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 10px !important;
}

.mockup-device-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 2px 3px;
    z-index: 5;
}

.device-switch-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.device-switch-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.device-switch-btn.active {
    background: var(--gold) !important;
    color: #080c14 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 10px rgba(255, 217, 120, 0.4);
}



/* ==========================================
   CINEMATIC NEURAL SYNAPSE PRELOADER
   ========================================== */
.neural-preloader {
    position: fixed;
    inset: 0;
    background: #030509;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease, visibility 0.95s;
}

.neural-preloader.fade-out {
    opacity: 0;
    transform: scale(1.12);
    filter: blur(14px);
    visibility: hidden;
    pointer-events: none;
}

#synapse-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.preloader-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 24px;
}

.preloader-giant-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: scale(0.78);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.preloader-giant-logo.show-giant {
    opacity: 1;
    transform: scale(1.08);
}

.giant-logo-img {
    width: clamp(100px, 14vw, 150px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(201, 164, 90, 0.9)) drop-shadow(0 0 75px rgba(0, 212, 180, 0.45));
    animation: giantPulse 2s infinite ease-in-out;
}

.giant-logo-text {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 6.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #ffffff;
    text-shadow: 0 0 35px rgba(201, 164, 90, 0.55), 0 0 70px rgba(0, 212, 180, 0.3);
    margin-top: 6px;
    line-height: 1.1;
}

.giant-accent {
    background: linear-gradient(135deg, #c9a45a, #00d4b4, #ffd978);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.giant-logo-sub {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1.8vw, 0.88rem);
    letter-spacing: 0.28em;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 2px;
}

.preloader-hud {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 440px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.preloader-hud.hide-hud {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.synapse-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #38bdf8;
    letter-spacing: 0.12em;
}

.synapse-dot {
    width: 8px;
    height: 8px;
    background: #00d4b4;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4b4, 0 0 20px #00d4b4;
    animation: dotBlink 0.75s infinite alternate;
}

.synapse-bar-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.synapse-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #c9a45a, #00d4b4);
    box-shadow: 0 0 14px rgba(0, 212, 180, 0.8);
    transition: width 0.08s linear;
}

.synapse-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #64748b;
}

.synapse-percent {
    font-weight: 700;
    color: #ffd978;
    font-size: 0.85rem;
    text-shadow: 0 0 10px rgba(255, 217, 120, 0.5);
}

.preloader-skip-btn {
    position: absolute;
    top: 26px;
    right: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    z-index: 20;
}

.preloader-skip-btn:hover {
    background: rgba(201, 164, 90, 0.18);
    border-color: rgba(201, 164, 90, 0.55);
    color: #ffd978;
    transform: scale(1.04);
}

@keyframes giantPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 35px rgba(201, 164, 90, 0.9)) drop-shadow(0 0 75px rgba(0, 212, 180, 0.45)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 50px rgba(201, 164, 90, 1)) drop-shadow(0 0 95px rgba(0, 212, 180, 0.65)); }
}

@keyframes dotBlink {
    from { opacity: 0.4; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.2); }
}

/* ==========================================
   DYNAMIC INTERACTIVE 3D CARDS & AMBIENT GLOW
   ========================================== */
.bento-card, .service-card, .portfolio-card, .stat-card {
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
    position: relative;
    overflow: hidden;
}

.bento-card::after, .service-card::after, .portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 164, 90, 0.13), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.bento-card:hover::after, .service-card:hover::after, .portfolio-card:hover::after {
    opacity: 1;
}

.bento-card:hover, .service-card:hover {
    box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(201, 164, 90, 0.15);
    border-color: rgba(201, 164, 90, 0.45) !important;
}

/* Ambient Cursor Light (Desktop) */
#ambient-cursor-glow {
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 97, 194, 0.10) 0%, rgba(0, 212, 180, 0.05) 35%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease-out, opacity 0.3s ease;
    opacity: 0;
}



/* ==========================================
   SCROLL-DRIVEN PROGRESSIVE ASSEMBLY ENGINE
   ========================================== */
.assembly-target {
    opacity: 0;
    transform: perspective(1200px) rotateX(14deg) translateY(48px) scale(0.95);
    filter: blur(8px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s ease;
    will-change: transform, opacity, filter;
    transition-delay: calc(var(--assembly-delay, 0) * 0.13s);
    position: relative;
    overflow: hidden;
}

.assembly-target.assembled {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
}

/* Card Assemble Sheen Wave */
.assembly-target.assembled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 164, 90, 0.22),
        rgba(0, 212, 180, 0.28),
        transparent
    );
    transform: skewX(-25deg);
    animation: assemblySheenSweep 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
    z-index: 3;
}

@keyframes assemblySheenSweep {
    0% { left: -150%; opacity: 0; }
    30% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

/* Section Title Assembly */
.section-title.assembly-target {
    transform: perspective(1000px) translateY(32px) scale(0.97);
}
.section-title.assembly-target.assembled {
    transform: perspective(1000px) translateY(0) scale(1);
}

/* Section Divider Expand */
.section-divider {
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-divider.assembled {
    transform: scaleX(1);
}

/* Parallax Dynamic Depth */
.hero-brain-wrapper {
    transition: transform 0.1s ease-out;
    will-change: transform;
}



/* Interactive Grid Spotlight Follower */
#parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(520px circle at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(201, 164, 90, 0.09) 0%, rgba(0, 212, 180, 0.045) 35%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.25s ease;
}


/* Accessibility & Performance Optimization Rules */
/* .no-preloader removed */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: #d4af37;
    color: #000;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: left 0.1s ease;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
}



/* ========================================================
   DUAL G WEB - MASTERPIECE NAVIGATION HEADER (ULTRA-RESPONSIVE)
   ======================================================== */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 74px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 clamp(16px, 3.2vw, 44px) !important;
    background: rgba(6, 9, 17, 0.96) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 217, 120, 0.16) !important;
    z-index: 1000 !important;
    box-sizing: border-box !important;
}

.logo-wrapper {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-right: clamp(16px, 2.5vw, 36px) !important;
    padding: 0 !important;
}

.header-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.header-logo-img {
    height: 38px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.35)) !important;
    transition: transform 0.25s ease, filter 0.25s ease !important;
    display: block !important;
}

.header-logo-img:hover {
    transform: scale(1.02) !important;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.8)) !important;
}

.nav {
    display: flex !important;
    align-items: center !important;
    gap: clamp(8px, 1.2vw, 18px) !important;
    flex-wrap: nowrap !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-link {
    font-family: var(--font-sans, 'Outfit', sans-serif) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    padding: 6px 4px !important;
    position: relative !important;
    letter-spacing: 0.2px !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #ffd978 !important;
    border-radius: 2px !important;
    transition: width 0.25s ease !important;
}

.nav-link:hover, .nav-link.active {
    color: #ffd978 !important;
}

.nav-link.active::after {
    width: 100% !important;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    margin-left: clamp(14px, 2vw, 30px) !important;
}

/* ========================================================
   Dual G Language Selector (i18n Dropdown - Luxury Glass)
   ======================================================== */
.lang-selector-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    user-select: none !important;
    flex-shrink: 0 !important;
}

.lang-selector-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 217, 120, 0.25) !important;
    color: #e2e8f0 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-family: var(--font-sans, 'Outfit', sans-serif) !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(10px) !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.lang-selector-btn:hover {
    background: rgba(255, 217, 120, 0.12) !important;
    border-color: rgba(255, 217, 120, 0.5) !important;
    color: #ffd978 !important;
}

.lang-selector-btn i {
    font-size: 0.65rem !important;
    transition: transform 0.2s ease !important;
    color: #ffd978 !important;
}

.lang-selector-wrapper.open .lang-selector-btn i {
    transform: rotate(180deg) !important;
}

.lang-dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    min-width: 175px !important;
    width: 175px !important;
    background: rgba(8, 12, 22, 0.98) !important;
    border: 1px solid rgba(255, 217, 120, 0.35) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 217, 120, 0.15) !important;
    z-index: 999999 !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    flex-direction: column !important;
    gap: 3px !important;
    box-sizing: border-box !important;
}

.lang-selector-wrapper.open .lang-dropdown-menu {
    display: flex !important;
}

.lang-option-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    color: #cbd5e1 !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.lang-option-btn:hover {
    background: rgba(255, 217, 120, 0.12) !important;
    color: #ffd978 !important;
    transform: translateX(2px) !important;
}

.lang-option-btn.active {
    background: rgba(255, 217, 120, 0.18) !important;
    color: #ffd978 !important;
    font-weight: 700 !important;
}

.lang-option-btn .flag {
    font-size: 1rem !important;
    line-height: 1 !important;
}

.lang-option-btn .name {
    flex: 1 !important;
    white-space: nowrap !important;
}

.lang-option-btn .code {
    font-family: var(--font-mono, 'Space Mono', monospace) !important;
    font-size: 0.68rem !important;
    color: #64748b !important;
}

.lang-option-btn.active .code {
    color: #ffd978 !important;
}

.nav-access-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: var(--gold, #ffd978) !important;
    border: 1px solid rgba(255, 217, 120, 0.35) !important;
    background: rgba(255, 217, 120, 0.06) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
}

.nav-access-btn:hover {
    background: rgba(255, 217, 120, 0.16) !important;
    border-color: var(--gold, #ffd978) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 0 12px rgba(255, 217, 120, 0.2) !important;
}

.nav-cta {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

@media (max-width: 1280px) {
    .header { padding: 0 clamp(12px, 2vw, 24px) !important; }
    .logo-wrapper { margin-right: 16px !important; }
    .nav { gap: 8px !important; }
    .nav-link { font-size: 0.77rem !important; padding: 5px 2px !important; }
    .header-actions { gap: 6px !important; margin-left: 12px !important; }
    .nav-access-btn { padding: 5px 10px !important; font-size: 0.72rem !important; }
    .nav-cta { padding: 5px 10px !important; font-size: 0.74rem !important; }
}

@media (max-width: 1140px) {
    .nav { display: none !important; }
    .nav-cta { display: none !important; }
    .mobile-menu-toggle { display: flex !important; }
}


/* ===================================================
   RESPONSIVE HERO & 3D NEURAL CORE (TABLET & MOBILE)
   =================================================== */
@media screen and (max-width: 1140px) {
    .hero-section {
        flex-direction: column !important;
        padding: 130px 4% 50px !important;
        text-align: center !important;
        min-height: auto !important;
        gap: 25px !important;
        overflow: hidden !important;
    }
    .hero-content {
        max-width: 780px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .hero-actions {
        justify-content: center !important;
    }
    .hero-telemetry {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .hero-brain-wrapper {
        max-width: 380px !important;
        width: 100% !important;
        height: 320px !important;
        margin: 10px auto 0 !important;
        order: 2 !important;
        touch-action: pan-y !important;
    }
    #hero-brain-canvas {
        pointer-events: none !important;
        width: 100% !important;
        height: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 115px 5% 40px !important;
        gap: 20px !important;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
    }
    .hero-subhead {
        font-size: 0.95rem !important;
        margin: 14px auto !important;
        max-width: 100% !important;
    }
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .hero-actions a {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
    }
    .hero-telemetry {
        gap: 10px !important;
        padding: 10px 14px !important;
        font-size: 0.72rem !important;
    }
    .hero-brain-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: 250px !important;
        margin: 10px auto 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    .hero-brain-badge {
        position: absolute !important;
        bottom: 8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        white-space: nowrap !important;
        max-width: 92% !important;
        font-size: 0.68rem !important;
        padding: 5px 12px !important;
    }
}


/* ========================================================
   DESIGN INOVADOR DAS CARTILHAS (EDITORIAL INSTAGRAM MAGAZINE STYLE)
   Inspirado nas referências de autoridade de alto impacto
   ======================================================== */
.cartilha-magazine-card {
    border-radius: 18px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4) !important;
}

.cartilha-magazine-card:hover {
    transform: translateY(-4px) scale(1.015) !important;
}

.cartilha-author-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    z-index: 2;
}

.cartilha-author-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px 4px 6px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}

.cartilha-author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.cartilha-typography-box {
    margin: 10px 0 16px;
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    z-index: 2;
}

.cartilha-layer-thin {
    font-family: 'Space Grotesk', var(--font-body);
    font-weight: 300;
    font-size: 1.15rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.cartilha-layer-giant {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 2.3rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: block;
    line-height: 0.9;
}

.cartilha-sub-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-top: 8px;
    align-self: flex-start;
}

@media screen and (max-width: 480px) {
    .hero-brain-badge {
        font-size: 0.64rem !important;
        padding: 4px 10px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
    }
}


/* ==========================================
   PORTFOLIO 3D CYLINDER CAROUSEL & CATEGORY MENU
   ========================================== */
.portfolio-menu-bar {
  display: flex;
  gap: 10px;
  margin: 30px auto 35px auto;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 10;
  position: relative;
  max-width: 900px;
  padding: 0 16px;
}

.portfolio-filter-pill {
  background: rgba(14, 20, 35, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.portfolio-filter-pill:hover,
.portfolio-filter-pill.active {
  color: #ffd978;
  border-color: rgba(255, 217, 120, 0.6);
  background: rgba(255, 217, 120, 0.12);
  box-shadow: 0 0 25px rgba(255, 217, 120, 0.25);
  transform: translateY(-2px);
}

.cylinder-stage {
  width: 100%;
  max-width: 1100px;
  height: 460px;
  margin: 0 auto 15px auto;
  display: grid;
  place-items: center;
  position: relative;
  perspective: 42em;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.cylinder-stage:active {
  cursor: grabbing;
}

.cylinder-rotator {
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  --anim-dur: 36s;
  animation: cylinderSpin var(--anim-dur) linear infinite;
  transition: transform 0.15s ease-out;
}

.cylinder-stage:hover .cylinder-rotator {
  animation-play-state: paused;
}

@keyframes cylinderSpin {
  to { transform: rotateY(1turn); }
}

.cylinder-card {
  grid-area: 1/1;
  width: var(--w, 250px);
  height: 350px;
  border-radius: 20px;
  background: rgba(13, 18, 32, 0.92);
  border: 1px solid rgba(255, 217, 120, 0.28);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: rotateY(calc(var(--i) * var(--ba))) translateZ(calc(-1 * (0.5 * var(--w) + 1.2em) / tan(0.5 * var(--ba))));
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.cylinder-card:hover {
  border-color: #ffd978;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 217, 120, 0.4);
}

.cylinder-card.dimmed {
  opacity: 0.15;
  filter: grayscale(0.85);
}

.cylinder-card-media {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
}

.cylinder-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.cylinder-card-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffd978;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-mono, monospace);
}

.cylinder-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.cylinder-card-btn {
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d4af37, #b48a1a);
  color: #060911;
  font-weight: 800;
  font-size: 0.72rem;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cylinder-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
  color: #060911;
}

.cylinder-hint {
  text-align: center;
  color: #94a3b8;
  font-size: 0.78rem;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cylinder-hint i {
  color: var(--gold, #d4af37);
}

@media (max-width: 768px) {
  .cylinder-stage {
    height: 420px;
  }
  .cylinder-rotator {
    --w: 220px !important;
  }
  .cylinder-card {
    height: 320px;
  }
  .cylinder-card-media {
    height: 150px;
  }
}
