/* =========================================
   Arvex Ultimate Minimalist & 3D CSS
   ========================================= */
:root {
    /* Enhanced Monochrome Palette */
    --bg-base: #030303;
    --bg-surface: #0a0a0a;
    --bg-surface-elevated: #111111;
    --bg-surface-glow: #1a1a1c;

    --text-primary: #fcfcfc;
    --text-secondary: #999999;
    --text-muted: #555555;

    --border-color: #262626;
    --border-light: rgba(255, 255, 255, 0.15);

    /* Accents */
    --accent: #ffffff;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-purple: #a855f7;

    /* Typography */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --t-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --t-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --t-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    --nav-height: 80px;
    --max-w: 1280px;
}

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

html {
    scroll-behavior: auto;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 5vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--t-fast);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

p {
    color: var(--text-secondary);
}

.mt-4 {
    margin-top: 2rem;
}

/* =========================================
   Custom Cursor (Desktop Only)
   ========================================= */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-primary);
}

.cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
}

@media (hover: none) and (pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* =========================================
   Global Utilities & Typos
   ========================================= */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.highlight-label {
    border-color: var(--border-light);
    color: var(--text-secondary);
}

.text-green {
    color: var(--accent-green);
}

.text-warning {
    color: #f59e0b;
}

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

.clean-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.text-xs {
    font-size: 0.9rem;
}

.size-sm {
    font-size: 18px !important;
}

.size-large {
    font-size: 48px !important;
}

.op-30 {
    opacity: 0.3;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #999999 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* Image Utilities */
.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bw-filter {
    filter: grayscale(100%) contrast(1.1) brightness(0.7);
    transition: var(--t-normal);
}

.bw-filter:hover {
    filter: grayscale(20%) contrast(1) brightness(0.9);
}

.rounded-edge {
    border-radius: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--t-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-base);
}

.btn-primary:hover {
    background-color: #d4d4d4;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.full-width {
    width: 100%;
}

/* =========================================
   Navigation - Pill Style (Logo Separate)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--t-normal);
}

.navbar.scrolled {
    background-color: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 5vw;
}

/* Logo - separate on the left */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    z-index: 10;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    transition: var(--t-fast);
}

.logo:hover .logo-img {
    border-color: var(--text-primary);
    transform: rotate(10deg) scale(1.1);
}

/* Pill-shaped nav in the center */
.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 0.5rem 0.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-pill .nav-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    transition: var(--t-fast);
    position: relative;
}

.nav-pill .nav-link:hover,
.nav-pill .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.nav-pill .nav-link.active {
    color: #C084FC;
    background: rgba(168, 85, 247, 0.12);
}



/* WhatsApp CTA on the right */
.nav-cta {
    border-radius: 50px;
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
    z-index: 10;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Mobile full-screen nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-normal), visibility var(--t-normal);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--t-fast);
}

.mobile-nav-link:hover {
    color: var(--text-primary);
}

/* =========================================
   Hero Section & 3D Terminal
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.highlight-text {
    color: var(--text-muted);
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}



/* Terminal 3D Element */
.hero-visual {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.terminal-window {
    width: 100%;
    max-width: 500px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    position: relative;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.1s;
}

.terminal-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 20;
}

.terminal-header {
    background: var(--bg-surface-elevated);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
}

.term-dots {
    display: flex;
    gap: 8px;
}

.term-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
}

.term-dots span:nth-child(1) {
    background: #ef4444;
}

.term-dots span:nth-child(2) {
    background: #eab308;
}

.term-dots span:nth-child(3) {
    background: #22c55e;
}

.term-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 500;
}

.terminal-body {
    padding: 2rem;
    min-height: 250px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #a3a3a3;
    line-height: 1.6;
    overflow: hidden;
}

.typewriter-cursor::after {
    content: '_';
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.code-keyword {
    color: #c678dd;
}

.code-function {
    color: #61afef;
}

.code-string {
    color: #98c379;
}

.code-comment {
    color: #5c6370;
    font-style: italic;
}

/* Floating Elements */
.float-element {
    position: absolute;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
    backdrop-filter: blur(10px);
    transform: translateZ(50px);
    animation: float-obj 6s ease-in-out infinite;
    z-index: 25;
}

.float-1 {
    top: -20px;
    right: -40px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 40px;
    left: -50px;
    animation-delay: 2s;
}

.float-3 {
    bottom: -30px;
    right: 20px;
    animation-delay: 4s;
}

.icon-glow-blue {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.icon-glow-wp {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.icon-glow-green {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

@keyframes float-obj {

    0%,
    100% {
        transform: translateZ(50px) translateY(0);
    }

    50% {
        transform: translateZ(50px) translateY(-15px);
    }
}

/* =========================================
   Services Grid
   ========================================= */
.section-padding {
    padding: 8rem 0;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Interactive Services Slider
   ========================================= */
.services-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto 0;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 3rem;
    transition: box-shadow 0.6s ease, border-color 0.6s ease;
    overflow: hidden;
}

.services-slider-container .btn-outline {
    color: var(--bg-base);
    border-color: rgba(0, 0, 0, 0.2);
}

.services-slider-container .btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--bg-base);
}

/* Base Neon Glow States applied to container via JS */
.services-slider-container[data-active-glow="purple"],
.services-slider-container:not([data-active-glow]) {
    /* Default state */
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

.services-slider-container[data-active-glow="blue"] {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.services-slider-container[data-active-glow="green"] {
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.services-slider-container[data-active-glow="red"] {
    box-shadow: 0 0 50px rgba(225, 29, 72, 0.15);
    border-color: rgba(225, 29, 72, 0.3);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--bg-base);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(20px);
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    pointer-events: auto;
}

.slide-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--bg-base);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slide-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.slide-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2.5rem;
}

.slide-video {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

@media (max-width: 900px) {
    .slider-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-slider-container {
        padding: 2rem 1.5rem;
    }

    .slide-video {
        min-height: 250px;
    }
}

/* =========================================
   ACCORDION - Tech Comparison
   ========================================= */
.accordion-container {
    max-width: 900px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-surface);
    overflow: hidden;
    transition: var(--t-normal);
}

.accordion-item:hover {
    border-color: var(--border-light);
}

.accordion-item.active {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--t-fast);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.accordion-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-icon-box span {
    font-size: 24px;
}

.bg-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.bg-purple {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.accordion-title-group {
    text-align: left;
}

.accordion-title-group h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.accordion-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.accordion-badge {
    display: none;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .accordion-badge {
        display: block;
    }
}

.accordion-chevron {
    font-size: 28px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
    color: var(--text-primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-body {
    max-height: 800px;
}

.accordion-body-inner {
    padding: 0 2rem 2rem;
}

.accordion-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.accordion-pros h4,
.accordion-note h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.accordion-pros ul {
    margin-bottom: 0;
}

.accordion-pros li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.accordion-pros .material-symbols-outlined {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.accordion-note p {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.accordion-note .material-symbols-outlined {
    font-size: 20px;
    flex-shrink: 0;
}

.ideal-for {
    background: var(--bg-surface-glow);
    border: 1px dashed var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.ideal-for strong {
    color: var(--text-primary);
}

/* =========================================
   WHY ARVEX - Horizontal Scroll Section
   ========================================= */
.why-arvex {
    background: var(--bg-base);
    position: relative;
    overflow: hidden;
}

.why-arvex::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.03) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(-50%);
}

.why-arvex-header {
    margin-bottom: 3rem;
}

.why-arvex-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.horizontal-scroll-wrapper {
    position: relative;
    width: 100%;
}

.horizontal-track {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 5vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.horizontal-track:active {
    cursor: grabbing;
}

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

.h-card {
    flex: 0 0 350px;
    min-height: 380px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    transition: var(--t-normal);
    display: flex;
    flex-direction: column;
}

.h-card:hover {
    border-color: var(--border-light);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.h-card-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-mono);
    line-height: 1;
}

.h-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.h-card-icon span {
    font-size: 28px;
    color: var(--text-primary);
}

.h-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.h-card p {
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 1.5rem;
}

.h-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.h-card-tags span {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Glassmorphism card variant */
.h-card.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.h-card.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), transparent 40%, rgba(168, 85, 247, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.h-card.glass-card:hover::before {
    opacity: 1;
}

.h-card.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.05);
}

/* Icon glow variants */
.h-card-icon.glow-blue {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.h-card-icon.glow-blue span {
    color: #60a5fa;
}

.h-card-icon.glow-purple {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
}

.h-card-icon.glow-purple span {
    color: #c084fc;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: pulseHint 2s ease-in-out infinite;
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* =========================================
   Portfolio Section
   ========================================= */
.portfolio {
    background: var(--bg-base);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.portfolio-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-surface);
    transition: var(--t-normal);
}

.portfolio-card:hover {
    border-color: var(--border-light);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface-elevated);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-surface-glow));
}

.portfolio-placeholder .material-symbols-outlined {
    font-size: 48px;
    opacity: 0.3;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 3, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--t-normal);
    backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 1.5rem 2rem;
}

.portfolio-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: var(--bg-surface-glow);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Adicione isso para controlar a imagem dentro do card */
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Isso faz a imagem preencher o espaço sem esticar */
    object-position: center;
    /* Centraliza a imagem caso ela precise ser cortada */
    display: block;
}

/* Se você quiser remover o fundo cinza e o ícone antigo quando houver imagem */
.portfolio-placeholder {
    display: none;
    /* Isso esconde o placeholder antigo */
}

/* =========================================
   Stats Counter
   ========================================= */
.stats-section {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    padding: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1;
}

.stat-suffix {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   Security & Split BG
   ========================================= */
.split-bg {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.root-icon {
    font-size: 100px;
    color: var(--text-primary);
    z-index: 5;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.shield-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--text-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: pulse-min 4s infinite alternate;
}

@keyframes pulse-min {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }

    100% {
        opacity: 0.2;
        transform: scale(1.2);
    }
}

.orbit-circle {
    position: absolute;
    border: 1px dashed var(--border-light);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation: spin 15s linear infinite;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    animation: spin-rev 25s linear infinite;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.05);
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-rev {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

/* =========================================
   Maintenance Pricing Plans
   ========================================= */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.price-card {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-surface);
}

.dark-card {
    background: linear-gradient(145deg, var(--bg-surface), var(--bg-base));
}

.glow-card {
    background: var(--bg-surface-elevated);
    border-color: rgba(255, 255, 255, 0.15);
    position: relative;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--border-color), rgba(255, 255, 255, 0.3), var(--border-color));
    z-index: -1;
    border-radius: 21px;
    animation: borderGlow 6s linear infinite;
}

@keyframes borderGlow {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.card-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.billing {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-features {
    flex: 1;
    margin-bottom: 2rem;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.price-features .material-symbols-outlined {
    font-size: 20px;
    color: var(--text-primary);
}

/* =========================================
   CONTACT / BRIEFING SECTION (White BG)
   ========================================= */
.contact-section {
    background: #ffffff;
    padding: 6rem 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-left {
    padding-top: 1rem;
}

.contact-headline {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #111111;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.contact-highlight {
    color: #666666;
}

.contact-sub {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: var(--t-fast);
}

.social-icon:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: scale(1.1);
}

.contact-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-proof .stars {
    display: flex;
    gap: 2px;
}

.contact-proof .stars span {
    font-size: 20px;
    color: #f59e0b;
}

.proof-text {
    font-size: 0.85rem;
    color: #888;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #111;
    background: #fafafa;
    transition: var(--t-fast);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

/* Service Chips */
.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    transition: var(--t-fast);
}

.chip:hover {
    border-color: #999;
    color: #111;
}

.chip.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-dark {
    background: #111;
    color: #fff;
    border: 1px solid #111;
}

.btn-dark:hover {
    background: #333;
    transform: scale(1.02);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: 1px solid #25d366;
}

.btn-whatsapp:hover {
    background: #1fba59;
    transform: scale(1.02);
}

/* =========================================
   Simplified Dark Footer
   ========================================= */
.footer-dark {
    background: var(--bg-base);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
}

.footer-grid-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links-row a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--t-fast);
}

.footer-links-row a:hover {
    color: var(--text-primary);
}

.footer-contact-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-contact-row a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--t-fast);
}

.footer-contact-row a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =========================================
   TECH STACK (Infinite Marquee)
   ========================================= */
.tech-stack-section {
    background: #000000;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.tech-header {
    margin-bottom: 4rem;
}

.tech-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #a855f7 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 1rem;
}

.tech-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #f3f4f6;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tech-subtitle {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Marquee Animation */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    display: flex;
}

/* Faded Edges */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #000000 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    padding: 0 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #4b5563;
    /* Dark gray */
    transition: all 0.4s ease;
    cursor: default;
}

.marquee-item i,
.marquee-item .material-symbols-outlined {
    font-size: 60px;
    transition: all 0.4s ease;
    filter: grayscale(1);
    opacity: 0.6;
}

.marquee-item span {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.marquee-item:hover {
    color: #f3f4f6;
    transform: translateY(-5px);
}

.marquee-item:hover i,
.marquee-item:hover .material-symbols-outlined {
    filter: grayscale(0) drop-shadow(0 0 15px rgba(168, 85, 247, 0.6));
    opacity: 1;
    color: #a855f7;
}

.marquee-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* =========================================
   Floating WhatsApp Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s ease-in-out infinite;
    transition: var(--t-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float span {
    color: #fff;
    font-size: 28px;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* =========================================
   Reveal Classes & Utilities
   ========================================= */
.reveal-fade {
    opacity: 0;
    transition: opacity var(--t-slow);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--t-normal), transform var(--t-normal);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity var(--t-normal), transform var(--t-normal);
}

.reveal-text .text-line {
    opacity: 0;
    transform: translateY(100%);
    transition: var(--t-slow);
}

.reveal-parallax {
    opacity: 0;
    transform: translateY(60px);
    transition: var(--t-slow);
}

.is-revealed.reveal-fade {
    opacity: 1;
}

.is-revealed.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.is-revealed.reveal-scale {
    opacity: 1;
    transform: scale(1);
}

.is-revealed.reveal-text .text-line {
    opacity: 1;
    transform: translateY(0);
}

.is-revealed.reveal-parallax {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger .stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--t-normal);
}

.is-revealed.reveal-stagger .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 992px) {

    .hero-grid,
    .security-grid,
    .method-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        padding-top: 2rem;
        perspective: none;
    }

    .terminal-window {
        transform: none !important;
        margin: 0 auto;
        max-width: 100%;
    }

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

    .pricing-container {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .h-card {
        flex: 0 0 300px;
        min-height: 340px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid-simple {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
        position: relative;
        cursor: pointer;
    }

    .nav-pill {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .terminal-body {
        padding: 1rem;
        font-size: 0.8rem;
        min-height: 200px;
    }

    .float-1,
    .float-2,
    .float-3 {
        display: none;
    }

    .shield-container {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .root-icon {
        font-size: 60px;
    }

    .orbit-1 {
        width: 140px;
        height: 140px;
    }

    .orbit-2 {
        width: 200px;
        height: 200px;
    }

    .price-card {
        padding: 2rem;
    }

    .accordion-header {
        padding: 1.25rem 1.5rem;
        flex-wrap: wrap;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .h-card {
        flex: 0 0 280px;
        min-height: 320px;
        padding: 2rem;
    }

    .why-arvex-header h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .contact-headline {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float span {
        font-size: 24px;
    }

    .footer-links-row,
    .footer-contact-row {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* =========================================
   HOW WE BUILD STYLES
   ========================================= */
.how-we-build {
    background-color: #0F0F11;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.timeline-path {
    stroke-dasharray: 8 8;
    animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
    from {
        stroke-dashoffset: 200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.timeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
    position: relative;
    z-index: 2;
}

.step-content,
.step-result {
    width: 100%;
}

.step-content.left {
    order: 1;
    text-align: right;
}

.step-result.right {
    order: 2;
}

.step-result.left {
    order: 1;
}

.step-content.right {
    order: 2;
    text-align: left;
}

/* Editor Window Styles */
.editor-window {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    text-align: left;
}

.editor-header {
    background: #252526;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.file-name {
    margin-left: 10px;
    font-size: 12px;
    color: #999;
    font-family: var(--font-mono);
}

.editor-code {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
}

/* Syntax Highlighting */
.code-tag {
    color: #569cd6;
}

.code-class {
    color: #d7ba7d;
}

.code-prop {
    color: #9cdcfe;
}

.code-val {
    color: #ce9178;
}

.code-keyword {
    color: #c586c0;
}

.code-func {
    color: #dcdcaa;
}

/* Result Box Styles */
.result-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.simple-result {
    background: #f0f0f0;
    color: #333;
}

.simple-result h1 {
    font-family: serif;
    font-size: 1.5rem;
}

.neon-result {
    background: #050505;
}

.neon-text {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px #A855F7, 0 0 20px #A855F7, 0 0 40px #A855F7;
    letter-spacing: 5px;
}

.action-result {
    background: #0a0a0a;
}

.btn-launch {
    background: #A855F7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.7);
    }

    100% {
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
    }
}

.step-text {
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(168, 85, 247, 0.1);
    position: absolute;
    top: -2.5rem;
    left: 0;
    z-index: -1;
}

.step-content.left .step-number {
    right: 0;
    left: auto;
}

.step-text h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-svg {
        display: none;
    }

    .timeline-step {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left !important;
        margin-bottom: 6rem;
    }

    .step-content,
    .step-result {
        order: unset !important;
    }

    .step-number {
        left: 0 !important;
        right: auto !important;
    }
}

/* =========================================
   BENTO GRID STYLES
   ========================================= */
.bento-section {
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.bento-card {
    background: rgba(24, 24, 27, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 280px;
}

.bento-card.card-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.bento-card:hover {
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.1);
}

/* Hover Glow Effect */
.bento-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

.bento-card:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.bento-content {
    position: relative;
    z-index: 10;
}

.bento-metric-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.bento-metric {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 300px;
}

.bento-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-visual {
    position: relative;
    z-index: 5;
}

.ui-mockup-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ui-mock-item {
    width: 120px;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-mock-item:nth-child(2) {
    width: 80px;
    opacity: 0.6;
}

.ui-mock-item:nth-child(3) {
    width: 100px;
    opacity: 0.3;
}

/* Responsive Bento */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.card-wide {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
    }

    .bento-metric-large {
        font-size: 2.5rem;
    }
}

/* =========================================
   NAV CTA BUTTON (Pill Style Replacer)
   ========================================= */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25D366;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #25D366;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.nav-cta-btn:hover::before { transform: translateX(0); }
.nav-cta-btn:hover { color: #fff; border-color: #25D366; }

.nav-cta-btn span { position: relative; z-index: 1; }
.nav-cta-icon { font-size: 1rem; position: relative; z-index: 1; }

/* =========================================
   UIVERSE BUTTONS (UIverse.io style)
   ========================================= */
.uiverse-btn {
    text-decoration: none;
    line-height: 1;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background-color: #0d0d0d;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    display: inline-flex;
    transition: all 0.3s ease;
}

.uiverse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.btn-decor {
    position: absolute;
    inset: 0;
    background-color: var(--clr);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
}

.uiverse-btn:hover .btn-decor {
    transform: translate(0);
}

.btn-content {
    display: flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-icon {
    width: 48px;
    height: 44px;
    background-color: var(--clr);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-text {
    display: inline-block;
    padding: 0 1.5rem 0 0.85rem;
    transition: color 0.2s;
    white-space: nowrap;
    font-size: 0.95rem;
}

.uiverse-btn:hover .btn-text { color: #fff; }

/* Freepik PNG icons inside buttons */
.btn-img-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.2s;
}

/* Small variant for slides */
.uiverse-btn-sm .btn-icon {
    width: 38px;
    height: 36px;
    font-size: 1rem;
}

.uiverse-btn-sm .btn-text {
    font-size: 0.85rem;
    padding: 0 1.1rem 0 0.6rem;
}

/* =========================================
   IMPACT METRICS CARDS (UIverse outer style)
   ========================================= */
.impact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.impact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.impact-highlight {
    background: linear-gradient(135deg, #A855F7, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.impact-outer {
    width: 100%;
    padding-bottom: 120%;
    border-radius: 16px;
    padding: 1px;
    background: radial-gradient(circle 180px at 0% 0%, #ffffff22, #0c0d0d);
    position: relative;
    min-height: 220px;
}

.impact-dot {
    width: 5px;
    aspect-ratio: 1;
    position: absolute;
    background-color: #A855F7;
    box-shadow: 0 0 10px #A855F7, 0 0 20px #A855F7;
    border-radius: 100px;
    z-index: 2;
    right: 10%;
    top: 10%;
    animation: impactDot 6s linear infinite;
}

@keyframes impactDot {
    0%, 100% { top: 10%; right: 10%; }
    25% { top: 10%; right: calc(100% - 25px); }
    50% { top: calc(100% - 25px); right: calc(100% - 25px); }
    75% { top: calc(100% - 25px); right: 10%; }
}

.impact-card {
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 218px;
    border-radius: 15px;
    border: solid 1px #202222;
    background: radial-gradient(circle 220px at 0% 0%, #2a2a2a, #0c0d0d);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

.impact-card:hover {
    background: radial-gradient(circle 220px at 0% 0%, #3a1f5e, #0c0d0d);
}

.impact-ray {
    width: 160px;
    height: 40px;
    border-radius: 100px;
    position: absolute;
    background-color: #A855F7;
    opacity: 0.2;
    box-shadow: 0 0 40px #A855F7;
    filter: blur(12px);
    transform-origin: 10%;
    top: 0;
    left: 0;
    transform: rotate(40deg);
    transition: opacity 0.4s;
}

.impact-card:hover .impact-ray { opacity: 0.35; }

.line {
    width: 100%;
    height: 1px;
    position: absolute;
    background-color: #2c2c2c;
}

.topl { top: 10%; background: linear-gradient(90deg, #666 30%, #1d1f1f 70%); }
.bottoml { bottom: 10%; }
.leftl { left: 10%; width: 1px; height: 100%; background: linear-gradient(180deg, #555 30%, #222 70%); }
.rightl { right: 10%; width: 1px; height: 100%; }

.impact-number {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 5;
}

.impact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c084fc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 5;
}

.impact-sub {
    font-size: 0.75rem;
    color: #666;
    position: relative;
    z-index: 5;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .impact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .impact-cards-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* =========================================
   PROCESS CARDS (How We Build Redesign)
   ========================================= */
.process-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.process-highlight {
    background: linear-gradient(135deg, #A855F7, #C084FC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-card {
    position: relative;
    background: #0f0f12;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.process-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--glow-clr, #A855F7), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.process-card:hover .process-card-glow { opacity: 0.12; }

.process-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(168, 85, 247, 0.06);
    font-family: var(--font-mono);
    line-height: 1;
    z-index: 1;
    transition: color 0.5s;
}

.process-card:hover .process-number { color: rgba(168, 85, 247, 0.12); }

.process-icon-wrap {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
    flex-shrink: 0;
}

.process-card:hover .process-icon-wrap {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    transform: scale(1.1) rotate(-5deg);
}

.process-emoji { font-size: 1.5rem; }

.process-icon-wrap .material-symbols-outlined {
    font-size: 1.6rem;
    line-height: 1;
}

.process-editor {
    background: #1a1a1d;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.process-editor .editor-header {
    background: #222225;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.process-editor .editor-code {
    padding: 12px 16px;
    font-size: 0.78rem;
    line-height: 1.5;
}

.process-info {
    position: relative;
    z-index: 2;
}

.process-info h3 {
    font-size: 1.2rem;
    color: #f4f4f5;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.process-info p {
    font-size: 0.88rem;
    color: #71717a;
    line-height: 1.6;
}

.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.process-tags span {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #a1a1aa;
    font-family: var(--font-mono);
    transition: all 0.3s;
}

.process-card:hover .process-tags span {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

@media (max-width: 991px) {
    .process-cards { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* =========================================
   STATS ICON WRAP
   ========================================= */
.stat-icon-wrap {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: iconBounce 3s ease-in-out infinite;
}

.stat-icon-wrap .material-symbols-outlined {
    font-size: 2rem;
    display: block;
    color: #A855F7;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* =========================================
   SOCIALS SECTION
   ========================================= */
.socials-section {
    background: #030303;
    overflow: hidden;
}

.social-h2-highlight {
    background: linear-gradient(135deg, #E1306C, #833AB4, #405DE6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    justify-items: center;
}

/* Social Card (UIverse style) */
.social-card {
    position: relative;
    width: 220px;
    height: 220px;
    background: lightgrey;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all 1s ease-in-out;
    border: 2px solid rgba(255,255,255,0.3);
    text-decoration: none;
}

.social-card:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.social-card-bg {
    position: absolute;
    inset: 0;
    background-color: var(--c1);
    background-image: radial-gradient(circle at 30% 107%, var(--c1) 0%, var(--c1) 5%, var(--c2) 45%, var(--c3) 60%, var(--c4) 90%);
}

.social-card-logo {
    position: absolute;
    right: 50%;
    bottom: 50%;
    transform: translate(50%, 50%);
    transition: all 0.6s ease-in-out;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
    z-index: 5;
}

.social-icon-wrap {
    display: inline-block;
    width: 26px;
    height: 26px;
}

.social-svg {
    fill: rgba(255, 255, 255, 0.9);
    width: 100%;
    transition: all 0.5s ease-in-out;
}

.social-card-box {
    position: absolute;
    padding: 10px;
    text-align: right;
    background: rgba(255, 255, 255, 0.3);
    border-top: 2px solid rgb(255, 255, 255);
    border-right: 1px solid white;
    border-radius: 10% 13% 42% 0% / 10% 12% 75% 0%;
    box-shadow: rgba(100, 100, 111, 0.364) -7px 7px 29px 0px;
    transform-origin: bottom left;
    transition: all 1s ease-in-out;
    z-index: 2;
}

.social-card-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.social-card-box:hover .social-svg { fill: white; }

.social-box1 { width: 70%; height: 70%; bottom: -70%; left: -70%; }
.social-box2 { width: 50%; height: 50%; bottom: -50%; left: -50%; transition-delay: 0.2s; }
.social-box3 { width: 30%; height: 30%; bottom: -30%; left: -30%; transition-delay: 0.4s; }
.social-box4 { width: 10%; height: 10%; bottom: -10%; left: -10%; transition-delay: 0.6s; }

.social-card:hover .social-card-box { bottom: -1px; left: -1px; }
.social-card:hover .social-card-logo { transform: translate(60px, -45px); letter-spacing: 0px; font-size: 0.75rem; }

.social-box1::before { background: radial-gradient(circle at 30% 107%, var(--c1) 0%, var(--c2) 60%, var(--c4) 90%); }
.social-box1:hover::before { opacity: 1; }

.social-box2::before { background: radial-gradient(circle at 30% 107%, var(--c1) 0%, var(--c3) 90%); }
.social-box2:hover::before { opacity: 1; }

.social-box3::before { background: radial-gradient(circle at 30% 107%, var(--c2) 0%, var(--c4) 90%); }
.social-box3:hover::before { opacity: 1; }

.social-platform-label {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 10;
    transition: all 0.4s;
    pointer-events: none;
}

.social-card:hover .social-platform-label { opacity: 0; }

.socials-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #555;
}

@media (max-width: 768px) {
    .socials-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .social-card { width: 160px; height: 160px; }
}

@media (max-width: 480px) {
    .socials-grid { grid-template-columns: 1fr; }
    .social-card { width: 200px; height: 200px; }
}

/* =========================================
   PROCESS CARD BORDER (upgraded glow border)
   ========================================= */
.process-card-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--glow-clr, #A855F7), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.process-card:hover .process-card-border { opacity: 0.15; }

/* =========================================
   PORTFOLIO GLASS FAN LAYOUT
   ========================================= */
.portfolio-glass-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

/* =========================================
   WALLET PORTFOLIO
   ========================================= */
.wallet {
  position: relative;
  width: 280px;
  height: 230px;
  cursor: pointer;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: transform 0.4s ease;
  margin: 0 auto;
}

@keyframes slideIntoPocket {
  0% { transform: translateY(-100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.wallet-back {
  position: absolute;
  bottom: 0;
  width: 280px;
  height: 200px;
  background: #111;
  border-radius: 22px 22px 60px 60px;
  z-index: 5;
  box-shadow: inset 0 25px 35px rgba(0, 0, 0, 0.4), inset 0 5px 15px rgba(0, 0, 0, 0.5);
}

.wallet .card {
  position: absolute;
  width: 260px;
  height: 140px;
  left: 10px;
  border-radius: 16px;
  padding: 18px;
  color: white;
  text-decoration: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 -4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0s;
  animation: slideIntoPocket 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.wallet .card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.wallet .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.wallet .chip {
  width: 32px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet .card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.wallet .label {
  font-size: 8px;
  opacity: 0.7;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: block;
}

.wallet .value {
  font-size: 10px;
  font-weight: 500;
}

.wallet .card-number-wrapper {
  text-align: right;
}

.wallet .hidden-stars {
  font-size: 16px;
  letter-spacing: 2px;
}

.wallet .card-number {
  display: none;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
}

/* card variants and colors */
.card-toka { background: #ef4444; bottom: 120px; z-index: 10; animation-delay: 0.1s; }
.card-olddog { background: #3b82f6; bottom: 100px; z-index: 20; animation-delay: 0.2s; }
.card-nova { background: #f59e0b; bottom: 80px; z-index: 30; animation-delay: 0.3s; }
.card-finan { background: #10b981; bottom: 60px; z-index: 40; animation-delay: 0.4s; }
.card-san { background: #A855F7; bottom: 40px; z-index: 50; animation-delay: 0.5s; }

/* Pocket */
.wallet .pocket {
  position: absolute;
  bottom: 0;
  width: 280px;
  height: 160px;
  z-index: 60;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

.wallet .pocket-content {
  position: absolute;
  top: 45px;
  width: 100%;
  text-align: center;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wallet .balance-stars {
  color: #a78bfa;
  font-size: 24px;
  letter-spacing: 4px;
  transition: 0.3s;
  font-weight: 700;
}

.wallet .balance-real {
  color: #c084fc;
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 10px);
  transition: 0.3s;
  white-space: nowrap;
}

/* eye Logic */
.wallet .eye-icon-wrapper {
  margin-top: 8px;
  height: 20px;
  width: 20px;
  position: relative;
  opacity: 0.3;
  transition: 0.3s;
  display: flex;
  justify-content: center;
}

.wallet .eye-icon {
  position: absolute;
  color: #A855F7;
  transition: 0.3s;
}

/* hovers works here */
.wallet:hover {
  transform: translateY(-5px);
}

.wallet:hover .eye-icon-wrapper {
  opacity: 1;
}

/* hover effects on cards */
.wallet:hover .card-toka { transform: translateY(-135px) rotate(-6deg); }
.wallet:hover .card-olddog { transform: translateY(-105px) rotate(-3deg); }
.wallet:hover .card-nova { transform: translateY(-75px) rotate(0deg); }
.wallet:hover .card-finan { transform: translateY(-45px) rotate(3deg); }
.wallet:hover .card-san { transform: translateY(-15px) rotate(6deg); }

.wallet .card:hover {
  z-index: 100 !important;
  transition-delay: 0s !important;
}

.wallet:hover .card-toka:hover { transform: translateY(-150px) scale(1.05) rotate(0); }
.wallet:hover .card-olddog:hover { transform: translateY(-120px) scale(1.05) rotate(0); }
.wallet:hover .card-nova:hover { transform: translateY(-90px) scale(1.05) rotate(0); }
.wallet:hover .card-finan:hover { transform: translateY(-60px) scale(1.05) rotate(0); }
.wallet:hover .card-san:hover { transform: translateY(-30px) scale(1.05) rotate(0); }

.wallet .card:hover .hidden-stars { display: none; }
.wallet .card:hover .card-number { display: block; }
.wallet:hover .balance-stars { opacity: 0; }
.wallet:hover .balance-real { opacity: 1; transform: translate(-50%, 0); }
.wallet:hover .eye-slash { opacity: 0; transform: scale(0.5); }
.wallet:hover .eye-open { opacity: 1; transform: scale(1.1); }

.portfolio-glass-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.portfolio-glass-text h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #f4f4f5;
}

.portfolio-glass-text p {
    color: #71717a;
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .portfolio-glass-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .portfolio-glass-text { align-items: center; }

}

/* =========================================
   UIVERSE SOCIAL CARD (Compact horizontal)
   ========================================= */
.uiverse-social-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.uiverse-social-card {
    display: flex;
    height: 80px;
    width: 320px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.uiverse-social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33.33%;
    color: whitesmoke;
    text-decoration: none;
    transition: 0.25s;
    border-radius: 50px;
}

.uiverse-social-link svg {
    position: absolute;
    width: 50%;
    height: 50%;
    transition: opacity 0.25s;
    z-index: 2;
    pointer-events: none;
}

.uiverse-link1:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    animation: bounce_social 0.4s linear;
}

.uiverse-link2:hover {
    background-color: #1877F2;
    animation: bounce_social 0.4s linear;
}

.uiverse-link3:hover {
    background-color: #25D366;
    animation: bounce_social 0.4s linear;
}

@keyframes bounce_social {
    40% { transform: scale(1.15); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* =========================================
   HERO ANIMATION (Premium Orbs)
   ========================================= */
.hero {
    position: relative;
    overflow: hidden; /* Mantém as esferas restritas apenas a esta seção */
}

.hero-grid {
    position: relative;
    z-index: 2; /* Content above glow */
}

.hero-anim-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below content, above background */
    pointer-events: none;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    will-change: transform, opacity;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(168, 85, 247, 0.45); /* Purple */
    top: -150px;
    left: -100px;
    animation: floatGlow1 12s infinite alternate ease-in-out;
}

.hero-glow-2 {
    width: 600px;
    height: 600px;
    background: rgba(10, 102, 194, 0.35); /* Blue */
    bottom: -200px;
    right: -100px;
    animation: floatGlow2 15s infinite alternate-reverse ease-in-out;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.25); /* Green */
    top: 40%;
    left: 45%;
    animation: floatGlow3 18s infinite alternate ease-in-out;
}

/* Animations that give natural moving flow in the background */
@keyframes floatGlow1 {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.2) translate(80px, 50px); opacity: 0.6; }
}

@keyframes floatGlow2 {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.1) translate(-60px, -80px); opacity: 0.5; }
}

@keyframes floatGlow3 {
    0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
    100% { transform: scale(1.3) translate(50px, -60px); opacity: 0.4; }
}

/* =========================================
   MISSING UTILITIES
   ========================================= */
.text-green { color: #10b981; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a855f7;
    margin-bottom: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    text-decoration: none;
    font-family: var(--font-sans);
    line-height: 1;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
}
.btn-primary:hover { background: #d4d4d8; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-primary);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }

.btn-large { padding: 1rem 2rem; font-size: 1rem; }

.full-width { width: 100%; justify-content: center; }

.card-action { margin-top: auto; padding-top: 1.5rem; }

.icon-arrow { font-size: 18px; }

/* =========================================
   MOBILE — PHONES (max 480px)
   Optimised for 98 % mobile traffic
   ========================================= */
@media (max-width: 480px) {
    /* ---------- Global ---------- */
    .section-padding { padding: 3rem 0; }
    .container { padding: 0 1.1rem; }
    .section-header h2 { font-size: 1.75rem; }
    .section-header p { font-size: 0.9rem; }

    /* ---------- Navbar ---------- */
    .nav-cta-btn { display: none; }

    /* ---------- Hero ---------- */
    .hero { min-height: auto; padding: 5rem 0 3rem; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0;
    }
    .hero-title { font-size: clamp(1.9rem, 9vw, 2.5rem) !important; }
    .hero-subtitle { font-size: 0.92rem; margin-bottom: 1.25rem; }
    .hero-visual { display: none; }
    .hero-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        font-size: 0.82rem;
    }
    .hero-cta { flex-direction: column; width: 100%; gap: 0.75rem; }
    .hero-cta .uiverse-btn { width: 100%; }

    /* ---------- Services slider ---------- */
    .services-slider-container {
        padding: 1.25rem 0.875rem;
        border-radius: 12px;
        margin-top: 2rem;
    }
    .slide-title { font-size: 1.4rem; }
    .slide-desc { font-size: 0.88rem; margin-bottom: 1.25rem; }
    .slide-video { min-height: 180px; }
    .slider-nav { margin-bottom: 1.5rem; gap: 0.6rem; }
    .slider-dot { width: 10px; height: 10px; }

    /* ---------- Stats ---------- */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    /* ---------- Impact cards ---------- */
    .impact-cards-grid { grid-template-columns: 1fr 1fr; gap: 0.875rem; }
    .impact-outer { min-height: 170px; }
    .impact-card { min-height: 168px; padding: 1.25rem; }
    .impact-number { font-size: 1.5rem; }
    .impact-label { font-size: 0.72rem; }
    .impact-sub { font-size: 0.68rem; }

    /* ---------- Process cards ---------- */
    .process-card { padding: 1.5rem; }
    .process-editor .editor-code { font-size: 0.7rem; padding: 10px 12px; }

    /* ---------- Bento ---------- */
    .bento-card { padding: 1.75rem; }

    /* ---------- Portfolio wallet ---------- */
    .wallet { transform: scale(0.88); transform-origin: center top; }

    /* ---------- Accordion ---------- */
    .accordion-header { padding: 1rem; }
    .accordion-body-inner { padding: 0 1rem 1.5rem; }
    .accordion-header-content { gap: 0.75rem; }
    .accordion-icon-box { width: 40px; height: 40px; }
    .accordion-grid { grid-template-columns: 1fr; }

    /* ---------- Testimonials ---------- */
    .testimonial-card { padding: 1.5rem; }

    /* ---------- About ---------- */
    .about-stats-card {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 1.25rem;
        gap: 0.75rem;
    }
    .about-stat-number { font-size: 1.4rem; }
    .about-stat-label { font-size: 0.68rem; }

    /* ---------- FAQ ---------- */
    .faq-header { padding: 1rem 1.25rem; font-size: 0.9rem; }
    .faq-body p { padding: 0 1.25rem 1.25rem; padding-top: 1rem; font-size: 0.88rem; }

    /* ---------- Comparison table ---------- */
    .comparison-table { font-size: 0.75rem; border-radius: 12px; }
    .comp-col { padding: 0.7rem 0.6rem; font-size: 0.74rem; }

    /* ---------- Pricing ---------- */
    .price-card { padding: 1.75rem; }

    /* ---------- Contact ---------- */
    .contact-section { padding: 3rem 0; }
    .contact-headline { font-size: 1.7rem; }
    .contact-sub { font-size: 0.92rem; }
    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; justify-content: center; }
    .service-chips { gap: 0.4rem; }
    .chip { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
    .form-group input,
    .form-group textarea { padding: 0.8rem 1rem; font-size: 0.9rem; }

    /* ---------- Footer ---------- */
    .footer-dark { padding: 2rem 0 1.5rem; }
    .footer-grid-simple { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-links-row { gap: 0.875rem; flex-wrap: wrap; }
    .footer-contact-row { flex-direction: column; gap: 0.4rem; }

    /* ---------- Threads canvas ---------- */
    #threads-canvas { opacity: 0.5; }

    /* ---------- WhatsApp float ---------- */
    .whatsapp-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }
    .whatsapp-float .material-symbols-outlined { font-size: 24px; }
}