/* ==========================================================================
   LUCAS DESIGN — PREMIUM WEB DESIGN PORTFOLIO
   Design system based on LE Web Design: Dark Clean, Premium, Blue Accents
   ========================================================================== */

:root {
    /* Sophisticated Dark Palette (with purple tint) - OLED optimized */
    --bg-page: #030008;
    --bg-surface: #090714;
    --bg-card: #0e0b21;
    --bg-card-hover: #15112e;
    
    --text-main: #F8FAFC;
    --text-muted: #A5B4FC; 
    --text-light: #818CF8; 
    
    /* Purple Plaw */
    --purple: #7C3AED;
    --purple-dark: #6D28D9;
    --purple-subtle: rgba(124, 58, 237, 0.1);
    --purple-glow: rgba(124, 58, 237, 0.3);
    
    /* Yellow Banana */
    --yellow: #D0FF00;
    --yellow-dark: #B2D900;
    --yellow-subtle: rgba(208, 255, 0, 0.12);
    --yellow-glow: rgba(208, 255, 0, 0.3);
    
    /* Utility colors */
    --red: #EF4444;
    --red-subtle: rgba(239, 68, 68, 0.1);
    --whatsapp: #25D366;
    
    --border: #231C3C;
    --border-hover: #3B2E63;
    
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

/* Animated Topographic Background */
.topo-background {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: -2; /* Under everything */
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='450' height='450' viewBox='0 0 450 450'%3E%3Cpath d='M-10 40 C 90 20, 120 80, 210 60 C 290 40, 310 100, 410 80 M-10 80 C 80 60, 110 120, 200 100 C 280 80, 300 140, 410 120 M-10 120 C 70 100, 100 160, 190 140 C 270 120, 290 180, 410 160 M-10 160 C 60 140, 90 200, 180 180 C 260 160, 280 220, 410 200 M-10 200 C 50 180, 80 240, 170 220 C 250 200, 270 260, 410 240 M-10 240 C 40 220, 70 280, 160 260 C 240 240, 260 300, 410 280 M-10 280 C 30 260, 60 320, 150 300 C 230 280, 250 340, 410 320 M-10 320 C 20 300, 50 360, 140 340 C 220 320, 240 380, 410 360 M-10 360 C 10 340, 40 400, 130 380 C 210 360, 230 420, 410 400' fill='none' stroke='rgba(124, 58, 237, 0.023)' stroke-width='1.2'/%3E%3C/svg%3E");
    background-size: 450px 450px;
    will-change: transform;
    animation: topoMove 80s infinite linear alternate;
    opacity: 0.8;
}

@keyframes topoMove {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-3%, -3%, 0) rotate(0.8deg);
    }
    100% {
        transform: translate3d(3%, 3%, 0) rotate(-0.8deg);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

main {
    animation: pageEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0; /* Base opacity for reveal animation */
}

@keyframes pageEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.text-center { text-align: center; }
.purple-accent { color: var(--purple); }
.text-yellow {
    background: linear-gradient(to right, var(--yellow) 0%, #c084fc 50%, var(--yellow) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradientFlow 6s linear infinite;
}

#dynamic-word {
    display: inline-block;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    opacity: 1;
}

#dynamic-word.fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

#dynamic-word.fade-in {
    opacity: 0;
    transform: translateY(8px);
}

@keyframes textGradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.mt-4 { margin-top: 1rem; }

/* Keyboard Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 100;
    background-color: rgba(9, 7, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    transition: var(--transition);
}

.header.sticky {
    top: 10px;
    background-color: rgba(6, 4, 10, 0.85);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    padding: 0 24px;
    transition: var(--transition);
}

.header.sticky .header-inner {
    height: 64px;
}

.brand-logo-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

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

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-main);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--purple);
    transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile buttons & Drawer */
.mobile-menu-btn {
    display: none;
    color: var(--text-main);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    border-color: var(--purple);
    background-color: var(--purple-subtle);
}

.mobile-drawer {
    display: none;
    width: 100%;
    background-color: rgba(9, 7, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 90;
    transition: var(--transition);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
}

.mobile-drawer.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    display: block;
}

.mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--purple);
    padding-left: 8px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-purple {
    background-color: var(--purple);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-purple:hover {
    background-color: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--purple);
    background-color: var(--purple-subtle);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--purple-subtle);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 16px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--purple);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--purple);
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.8rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-highlights {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    width: 100%;
}

.hh-item {
    display: flex;
    flex-direction: column;
}

.hh-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--purple);
}

.hh-txt {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Hero Visual / Compare Box
   ========================================================================== */
.hero-visual {
    display: flex;
    justify-content: center;
}

.compare-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 440px;
    width: 100%;
}

.compare-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.compare-header h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.badge-red {
    background-color: var(--red-subtle);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--red);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-yellow {
    background-color: var(--yellow-subtle);
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: var(--yellow);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.compare-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 12px;
}

.compare-col li {
    font-size: 0.82rem;
    color: var(--text-muted);
    position: relative;
}

.compare-col li::before {
    content: '•';
    position: absolute;
    left: -12px;
    color: var(--text-light);
}

.new-way li::before {
    color: var(--purple);
}

.speed-tag {
    align-self: flex-start;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: #FFFFFF;
    background-color: var(--purple);
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 8px;
}

/* ==========================================================================
   Section Generals
   ========================================================================== */
.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.section-dark {
    background-color: var(--bg-surface);
}

.section-top {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--purple);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-top h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-top p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.05rem;
    max-width: 580px;
    text-align: center;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
    padding-right: 15px;
}

.about-avatar-img-wrap {
    width: 350px;
    height: 430px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    z-index: 2;
    transition: var(--transition);
}

/* Offset floating border behind the photo */
.about-image-wrap::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 430px;
    border: 1px solid var(--yellow);
    border-radius: var(--radius);
    top: 15px;
    left: 15px;
    z-index: 1;
    opacity: 0.3;
    transition: var(--transition);
}

.about-image-wrap:hover::after {
    transform: translate(-5px, -5px);
    opacity: 0.6;
    border-color: var(--purple);
}

.about-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-avatar-img-wrap:hover {
    border-color: var(--yellow);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(208, 255, 0, 0.15);
}

.about-avatar-img-wrap:hover .about-avatar-img {
    transform: scale(1.05);
}

.about-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--purple-subtle) 0%, transparent 60%);
    top: 10px;
    left: 10px;
    z-index: 1;
}

.about-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 8px;
    line-height: 1.4;
    color: var(--text-main);
}

.about-text {
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.about-skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.skill-tag {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--purple);
    color: var(--text-main);
    background-color: var(--purple-subtle);
}

/* ==========================================================================
   Featured Work / Case Studies (Browser Mockup & Scroll Effect)
   ========================================================================== */
.portfolio-slider-container {
    position: relative;
    width: 100%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: var(--transition);
}

.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple);
    box-shadow: 0 20px 45px rgba(0,0,0,0.6), 0 0 30px rgba(124, 58, 237, 0.2);
}

.project-img-wrap {
    position: relative;
    padding: 18px 18px 0 18px;
    background-color: rgba(6, 4, 10, 0.4);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.project-industry {
    position: absolute;
    top: 28px;
    right: 28px;
    background-color: rgba(12, 10, 18, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 5;
    color: var(--text-main);
}

/* Browser Mockup CSS */
.browser-mockup {
    width: 100%;
    background-color: #12101e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.browser-header {
    background-color: #0c0a12;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.b-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.b-dot.red { background-color: #ef4444; }
.b-dot.yellow { background-color: #f59e0b; }
.b-dot.green { background-color: #10b981; }

.browser-address {
    background-color: #1c182d;
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--text-muted);
    padding: 2px 8px;
    text-align: center;
    font-family: monospace;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.01);
}

.browser-screen {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
    background-color: #06040a;
}

.browser-scroll-area {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.browser-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 9s ease-in-out;
    transform: translateY(0);
}

/* Scroll Effect on Hover */
.project-card:hover .browser-image {
    transform: translateY(calc(-100% + 190px));
}

.project-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-light);
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 4px;
}

.project-cta {
    margin-top: auto;
}

/* ==========================================================================
   Why Partner With Me
   ========================================================================== */
.why-me-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background-color: rgba(14, 11, 33, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 36px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 25px rgba(124, 58, 237, 0.15);
}

.why-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--purple-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    margin-bottom: 24px;
    transition: var(--transition);
}

.why-card:hover .why-icon-wrap {
    background-color: var(--purple);
    color: #FFFFFF;
}

.why-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   Development Process Section
   ========================================================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #FFFFFF;
    background-color: var(--bg-page);
    border: 2px solid var(--border);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.timeline-step:hover .step-num {
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: 0 0 15px var(--purple-glow);
}

.step-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   Testimonials Placeholder
   ========================================================================== */
.testimonials-container {
    max-width: 680px;
    margin: 0 auto;
}

.testimonials-placeholder {
    background-color: var(--bg-surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.placeholder-icon {
    color: var(--text-light);
    margin-bottom: 20px;
}

.placeholder-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.placeholder-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ==========================================================================
   CTA Conversion Panel Banner
   ========================================================================== */
.cta-panel {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-page) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.cta-panel h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin: 12px 0 16px;
}

.cta-panel p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 520px;
}

/* ==========================================================================
   Contact / Lead Form
   ========================================================================== */
.contact-panel {
    max-width: 880px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 48px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.3rem;
    margin: 8px 0 12px;
}

.contact-header p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1rem;
}

.luxury-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    height: 48px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--purple);
}

textarea.form-input {
    height: auto;
    padding: 16px;
    resize: vertical;
}

.success-message {
    padding: 40px 0;
}

.success-message h3 {
    font-size: 2rem;
    color: var(--purple);
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-muted);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: #050608;
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p, .footer-col li {
    font-size: 0.88rem;
    color: var(--text-muted);
}

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

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   Floating Widgets / Animations / Textures
   ========================================================================== */
.floating-cta-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
}

.floating-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--whatsapp);
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.floating-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.floating-cta-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FFFFFF;
    box-shadow: 0 0 8px #FFFFFF;
    animation: pulse 1.5s infinite;
}

/* Ambient glow orbs & textures with floating animations */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
    will-change: transform;
}

.orb-purple {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(124, 58, 237, 0.05) 50%, transparent 70%);
    top: 5%;
    left: -200px;
    animation: liquidPurple 32s infinite ease-in-out alternate;
}

.orb-yellow {
    background: radial-gradient(circle, rgba(208, 255, 0, 0.2) 0%, rgba(208, 255, 0, 0.04) 50%, transparent 70%);
    bottom: 15%;
    right: -200px;
    animation: liquidYellow 38s infinite ease-in-out alternate;
    animation-delay: -10s;
}

.orb-blue {
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(0, 242, 254, 0.04) 50%, transparent 70%);
    top: 30%;
    right: -150px;
    width: 500px;
    height: 500px;
    animation: liquidBlue 45s infinite ease-in-out alternate;
    animation-delay: -5s;
    opacity: 0.2;
}

@keyframes liquidPurple {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate3d(80px, -60px, 0) scale(1.12) rotate(120deg);
    }
    66% {
        transform: translate3d(-40px, 90px, 0) scale(0.9) rotate(240deg);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(360deg);
    }
}

@keyframes liquidYellow {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate3d(-100px, 80px, 0) scale(1.15) rotate(-180deg);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(-360deg);
    }
}

@keyframes liquidBlue {
    0% {
        transform: translate3d(0, 0, 0) scale(0.9) rotate(0deg);
    }
    50% {
        transform: translate3d(70px, -90px, 0) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(0.9) rotate(360deg);
    }
}

.project-card, .why-card, .testimonials-placeholder, .contact-panel, .cta-panel {
    position: relative;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
}

/* Interactive light reflection that follows mouse on hover */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(124, 58, 237, 0.12),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.why-card:hover::before {
    opacity: 1;
}

/* Subtle border glow animation on card hover */
.why-card::after, .contact-panel::after, .cta-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--yellow), transparent);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 5;
}

.why-card:hover::after, .contact-panel:hover::after, .cta-panel:hover::after {
    opacity: 0.8;
}

/* Background Grids & Dots */
.texture-dots, .texture-lines {
    position: relative;
}

.texture-dots::before, .texture-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.texture-dots::before {
    background-image: radial-gradient(rgba(208, 255, 0, 0.065) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.texture-lines::before {
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.texture-dots .container, .texture-lines .container {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ==========================================================================
   Responsive Settings
   ========================================================================== */

/* Up to 1024px */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-highlights {
        justify-content: center;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-image-wrap {
        order: 1;
    }
    
    .about-skills-grid {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-me-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .process-timeline::before {
        display: none; /* Hide timeline track on wrapped layouts */
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

/* Up to 768px (Mobile) */
@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }
    
    /* Reduzindo tamanho dos orbes de fundo para evitar overflow */
    .glow-orb {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }

    .nav {
        display: none; /* Hide standard nav */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-cta .btn {
        display: none; /* Hide CTA button */
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 10px 4px 20px 4px;
        scrollbar-width: none;
    }
    .projects-grid::-webkit-scrollbar {
        display: none;
    }
    .project-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }
    .portfolio-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .why-me-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .cta-panel {
        padding: 60px 20px;
    }
    
    .cta-panel h2 {
        font-size: 2rem;
    }
    
    .contact-panel {
        padding: 30px 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    /* Responsive photo card sizes for mobile */
    .about-avatar-img-wrap {
        width: 290px;
        height: 360px;
    }
    
    .about-image-wrap::after {
        width: 290px;
        height: 360px;
        top: 10px;
        left: 10px;
    }
}

/* ==========================================================================
   Dots Navigation & Glassmorphism & Scroll Transitions
   ========================================================================== */
.portfolio-dots {
    display: none; /* Hidden on desktop */
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.dot-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.dot-btn.active {
    background-color: var(--purple);
    box-shadow: 0 0 8px var(--purple);
    width: 22px;
    border-radius: 6px;
}

/* Glassmorphism Refinements */
.header, .contact-panel, .cta-panel {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.contact-panel {
    background-color: rgba(12, 10, 18, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.cta-panel {
    background-color: rgba(18, 15, 31, 0.65) !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
}

/* Fade-in Scroll Animation */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Concept Projects Badge
   ========================================================================== */
.project-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--purple-subtle);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--purple);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    width: fit-content;
}

/* ==========================================================================
   How I Work / Methodology Section
   ========================================================================== */
.how-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.how-work-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.how-work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.how-work-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 20px;
    opacity: 0.8;
}

.how-work-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.how-work-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .how-work-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 40px auto 0;
    }
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.pricing-card.popular {
    border-color: var(--purple);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.15);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}

.pricing-header {
    margin-bottom: 30px;
}

.plan-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.plan-badge.featured {
    color: var(--purple);
    background-color: var(--purple-subtle);
    border-color: var(--purple);
}

.plan-price {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li span {
    color: var(--purple);
    font-weight: 700;
}

.pricing-card.popular .plan-features li span {
    color: var(--yellow);
}

.btn-pricing {
    margin-top: auto;
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 40px auto 0;
    }
}

/* ==========================================================================
   Premium Animation Refinements & Micro-interactions
   ========================================================================== */

/* Button Hover Transitions */
.btn {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.025);
}

.btn-purple:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
}

.btn-outline:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
}

/* Project Card Hover Upgrade */
.project-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: var(--purple);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(124, 58, 237, 0.22), 0 0 15px rgba(208, 255, 0, 0.08);
}

/* Featured Pricing Card Pulse Effect */
@keyframes pricingCardPulse {
    0% {
        border-color: var(--purple);
        box-shadow: 0 15px 35px rgba(124, 58, 237, 0.15);
    }
    50% {
        border-color: var(--yellow);
        box-shadow: 0 15px 35px rgba(124, 58, 237, 0.25), 0 0 20px rgba(208, 255, 0, 0.15);
    }
    100% {
        border-color: var(--purple);
        box-shadow: 0 15px 35px rgba(124, 58, 237, 0.15);
    }
}

.pricing-card.popular {
    animation: pricingCardPulse 5s infinite ease-in-out;
}

/* Floating CTA Responsiveness & Safety Margin */
.floating-cta-wrap {
    right: 24px;
    bottom: 24px;
    max-width: calc(100vw - 48px);
}

.floating-cta {
    padding: 12px 20px;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
    .floating-cta-wrap {
        right: 16px;
        bottom: 16px;
        max-width: calc(100vw - 32px);
    }
    .floating-cta {
        padding: 10px 16px;
        font-size: 0.82rem;
    }
}

/* Accessibility Support for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in-scroll, .project-card, .btn, .pricing-card.popular, .glow-orb, .browser-image {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .project-card:hover .browser-image {
        transform: none !important;
    }
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
@media (pointer: fine) {
    body.custom-cursor-active {
        cursor: none;
    }
    body.custom-cursor-active a,
    body.custom-cursor-active button,
    body.custom-cursor-active input,
    body.custom-cursor-active select,
    body.custom-cursor-active textarea,
    body.custom-cursor-active .project-card,
    body.custom-cursor-active .why-card,
    body.custom-cursor-active .faq-trigger {
        cursor: none;
    }
    
    .cursor-dot, .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        z-index: 10000;
        pointer-events: none;
        transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
        mix-blend-mode: difference;
        will-change: transform;
    }
    
    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: #FFFFFF;
    }
    
    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 1.5px solid rgba(255, 255, 255, 0.5);
    }
    
    body.custom-cursor-active .cursor-dot.hover {
        width: 14px;
        height: 14px;
        background-color: var(--yellow);
    }
    
    body.custom-cursor-active .cursor-outline.hover {
        width: 60px;
        height: 60px;
        border-color: var(--purple);
        border-width: 2px;
    }
}

@media (pointer: coarse) {
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
}

/* ==========================================================================
   MAGNETIC TRANSITIONS
   ========================================================================== */
.btn, .why-card, .project-card, .brand-logo-link {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

/* ==========================================================================
   SERVICES ADDITIONS
   ========================================================================== */
.section-services {
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.section-calculator {
    position: relative;
    overflow: hidden;
}

.calculator-panel {
    max-width: 960px;
    margin: 0 auto;
    background-color: rgba(18, 15, 31, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-header label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--yellow);
}

.calculator-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--border);
    outline: none;
    transition: background 0.3s ease;
}

.calculator-slider:hover {
    background: var(--border-hover);
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--purple);
    cursor: pointer;
    box-shadow: 0 0 10px var(--purple-glow);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--yellow);
    box-shadow: 0 0 15px var(--yellow-glow);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-box {
    background-color: rgba(6, 4, 10, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.result-box.glow-purple {
    border-color: rgba(124, 58, 237, 0.2);
}
.result-box.glow-purple:hover {
    border-color: var(--purple);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}

.result-box.glow-yellow {
    border-color: rgba(208, 255, 0, 0.2);
}
.result-box.glow-yellow:hover {
    border-color: var(--yellow);
    box-shadow: 0 10px 30px rgba(208, 255, 0, 0.1);
}

.result-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.result-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 8px;
}

.result-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

@media (max-width: 768px) {
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--purple);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #FFFFFF;
    transition: var(--transition);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--yellow);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
}

.faq-item.active .faq-content {
    padding-bottom: 24px;
}

    .faq-content p {
        font-size: 0.9rem;
        color: var(--text-muted);
        line-height: 1.6;
        font-weight: 300;
    }
}

/* ==========================================================================
   BENTO GRID LAYOUT & VISUAL MOCKUPS
   ========================================================================== */
.why-card.bento-span-2 {
    grid-column: span 2;
}

.why-card.bento-row {
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.bento-col-content {
    flex: 1;
}

.bento-visual {
    flex: 0 0 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background-color: rgba(6, 4, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

/* PageSpeed Gauge Mockup */
.performance-visual {
    background: radial-gradient(circle at center, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
}

.pagespeed-gauge {
    position: relative;
    width: 90px;
    height: 90px;
}

.gauge-ring {
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.8;
}

.gauge-fill {
    fill: none;
    stroke: var(--whatsapp);
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.gauge-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--whatsapp);
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.gauge-label {
    margin-top: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* SEO Visual Mockup */
.seo-visual {
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
    padding: 16px;
}

.seo-tag-cloud {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.seo-tag {
    font-family: monospace;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: fit-content;
    white-space: nowrap;
}

.tag-h1 { color: #00f2fe; border-color: rgba(0, 242, 254, 0.2); }
.tag-meta { color: #ff007f; border-color: rgba(255, 0, 127, 0.2); align-self: flex-end; }
.tag-alt { color: var(--yellow); border-color: var(--yellow-subtle); }
.tag-site { color: var(--purple); border-color: rgba(124, 58, 237, 0.2); align-self: flex-end; }

/* Code Terminal Mockup */
.code-visual {
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    padding: 12px;
}

.code-terminal {
    font-family: monospace;
    font-size: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    align-items: flex-start;
}

.terminal-dots {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.t-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.t-dot.red { background-color: #ef4444; }
.t-dot.yellow { background-color: #f59e0b; }
.t-dot.green { background-color: #10b981; }

.code-line {
    white-space: nowrap;
}
.code-line.html-tag { color: var(--purple); }
.code-line.css-prop { color: var(--yellow); }
.code-line.indent { padding-left: 10px; }

@media (max-width: 991px) {
    .why-card.bento-span-2 {
        grid-column: span 1;
    }

    .why-card.bento-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .bento-visual {
        width: 100%;
        flex: 1 1 120px;
        height: 120px;
    }
}

/* ==========================================================================
   BLUEPRINT GRID OVERLAY FOR HERO
   ========================================================================== */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.075) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   GLASSMORPHISM CARD REFINEMENTS
   ========================================================================== */
.project-card, .why-card, .testimonials-placeholder, .contact-panel, .cta-panel {
    background-color: rgba(14, 11, 33, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--radius);
}
