/* ==========================================================================
   MUNHOZ WEB - PREMIUM STYLE SHEET
   Visual Identity: Apple / Stripe / Vercel / Linear inspired
   ========================================================================== */

/* 1. DESIGN SYSTEM & VARIABLES */
:root {
    --bg-dark: #050505;
    --bg-card: rgba(10, 10, 12, 0.6);
    --bg-card-hover: rgba(15, 15, 20, 0.85);
    
    --primary: #0066FF;
    --primary-glow: rgba(0, 102, 255, 0.45);
    --primary-glow-weak: rgba(0, 102, 255, 0.15);
    
    --accent-cyan: #00F2FE;
    --accent-purple: #7000FF;
    
    --text-white: #FFFFFF;
    --text-gray: #8A8A93;
    --text-dim: #51515A;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.18);
    --border-color-glow: rgba(0, 102, 255, 0.3);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    --max-width: 1200px;
    --header-height: 80px;
}

/* 2. RESET & BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

ul {
    list-style: none;
}

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

/* 3. GLOW EFFECTS & MESH BACKGROUNDS */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.glow-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    animation: glow-float 20s infinite alternate ease-in-out;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    top: 40%;
    right: 15%;
    opacity: 0.12;
    animation-delay: -10s;
}

@keyframes glow-float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -30px) scale(1.1);
    }
    100% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

/* 4. TYPOGRAPHY & BUTTONS */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--primary) 70%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    line-height: 1.6;
    color: var(--text-gray);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

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

.section-header.align-center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #D1D1D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-md {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 15px var(--primary);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: -1;
}

.btn-glow:hover::after {
    opacity: 0.7;
}

.btn-icon-right {
    transition: transform 0.3s ease;
}

.btn-secondary:hover .btn-icon-right {
    transform: translateX(4px);
}

/* 5. HEADER & NAVIGATION */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.logo-text {
    color: var(--text-white);
}

.logo-dot {
    color: var(--primary);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

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

.btn-desktop {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-cta-wrapper {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    z-index: 110;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* 6. HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-gray);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    width: 100%;
}

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

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
}

.feature-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

/* 3D DEVICES SHOWCASE */
.hero-showcase {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
}

/* CSS Notebook Frame (MacBook) */
.device-macbook {
    position: absolute;
    width: 440px;
    left: 0;
    top: 50px;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
    transition: var(--transition-smooth);
}

.macbook-screen {
    width: 100%;
    aspect-ratio: 16/10;
    background: #000;
    border: 12px solid #1c1c1e;
    border-bottom: 18px solid #1c1c1e;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.macbook-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: #1c1c1e;
    border-radius: 0 0 6px 6px;
    z-index: 10;
}

.macbook-content-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #08080a;
}

.macbook-scrolling-content {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: autoScroll-macbook 18s linear infinite alternate;
}

.scrolling-portfolio {
    width: 100%;
    background: #08080a;
    display: flex;
    flex-direction: column;
}

.bd-preview {
    font-family: var(--font-body);
}

.port-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #111115;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 8px;
    color: var(--text-gray);
    font-weight: 700;
}

.port-dots {
    display: flex;
    gap: 3px;
}

.port-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.port-hero {
    padding: 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.port-hero h2 {
    font-size: 14px;
    margin-bottom: 6px;
}

.port-hero p {
    font-size: 8px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.port-btn {
    display: inline-block;
    padding: 4px 10px;
    font-size: 7px;
    background: #ffffff;
    color: #000;
    border-radius: 3px;
    font-weight: 700;
}

.port-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
}

.port-card {
    aspect-ratio: 16/10;
    background: #1c1c24;
    border-radius: 4px;
}

.macbook-body {
    width: 520px;
    height: 10px;
    background: #51515a;
    border-radius: 0 0 10px 10px;
    margin-left: -40px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.macbook-keyboard-deck {
    width: 100%;
    height: 3px;
    background: #8a8a93;
    border-radius: 0 0 10px 10px;
}

.macbook-latch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #28282e;
    border-radius: 0 0 4px 4px;
}

/* CSS Phone Frame (iPhone) */
.device-phone {
    position: absolute;
    width: 140px;
    right: 10px;
    bottom: 30px;
    z-index: 3;
    transform: perspective(1000px) rotateY(15deg) rotateX(8deg) translateZ(50px);
    border: 6px solid #1c1c1e;
    border-radius: 22px;
    background: #000;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.9);
    aspect-ratio: 9/19.5;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 17px;
    overflow: hidden;
    position: relative;
    background: #050505;
}

.phone-island {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 14px;
    background: #000;
    border-radius: 8px;
    z-index: 10;
}

.phone-content-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.phone-scrolling-content {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: autoScroll-phone 10s linear infinite alternate;
}

.ccc-preview {
    font-family: var(--font-body);
}

.port-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px 4px;
    font-size: 8px;
    font-weight: 900;
    color: var(--text-white);
}

.port-mobile-burger {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 8px;
}

.port-mobile-burger span {
    width: 100%;
    height: 1px;
    background: var(--text-white);
}

.port-mobile-hero {
    padding: 16px 8px;
    text-align: center;
}

.port-mobile-hero h3 {
    font-size: 10px;
    margin-bottom: 6px;
}

.port-mobile-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0,102,255,0.4);
    margin: 8px auto;
    position: relative;
}

.port-mobile-circle::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
    opacity: 0.6;
}

.port-mobile-hero p {
    font-size: 6px;
    margin-bottom: 8px;
}

.port-mobile-btn {
    display: inline-block;
    padding: 3px 8px;
    font-size: 6px;
    background: var(--primary);
    color: #fff;
    border-radius: 2px;
    font-weight: 700;
}

/* Phone physical buttons */
.phone-button {
    position: absolute;
    background: #51515a;
    border-radius: 2px;
}

.phone-button.power {
    width: 2px;
    height: 35px;
    right: -8px;
    top: 75px;
}

.phone-button.volume-up {
    width: 2px;
    height: 20px;
    left: -8px;
    top: 65px;
}

.phone-button.volume-down {
    width: 2px;
    height: 20px;
    left: -8px;
    top: 95px;
}

@keyframes autoScroll-macbook {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30%); }
}

@keyframes autoScroll-phone {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20%); }
}

.animate-float {
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(0.5deg);
    }
}

/* 7. STATS SECTION (COUNTERS) */
.stats-section {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 5;
}

.stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* 8. DIFERENCIAIS SECTION */
.diferenciais-section {
    position: relative;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diferencial-card-wrapper {
    perspective: 1000px;
}

.diferencial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform-style: preserve-3d;
}

.card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -125px;
    left: -125px;
    pointer-events: none;
    transition: transform 0.1s ease;
    opacity: 0;
}

.diferencial-card:hover {
    border-color: var(--border-color-glow);
    background: var(--bg-card-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 102, 255, 0.1);
}

.diferencial-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-smooth);
    transform: translateZ(20px);
}

.diferencial-card:hover .card-icon {
    background: var(--primary);
    color: var(--text-white);
    transform: translateZ(30px) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.card-title {
    font-size: 1.4rem;
    color: var(--text-white);
    transform: translateZ(15px);
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    transform: translateZ(10px);
}

/* 9. PORTFÓLIO SECTION */
.portfolio-section {
    background: rgba(255,255,255,0.005);
    border-top: 1px solid var(--border-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
}

.portfolio-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.portfolio-preview-bg {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-mockup {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.7) translateY(10px);
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-mockup {
    transform: scale(0.75) translateY(0);
}

.portfolio-mockup .macbook-screen {
    width: 320px;
    aspect-ratio: 16/10;
}

.portfolio-mockup .macbook-body {
    width: 380px;
    margin-left: 0;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    transition: background-position 5s ease;
}

.portfolio-card:hover .portfolio-image {
    background-position: bottom center;
}

.portfolio-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.portfolio-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-year {
    color: var(--text-dim);
}

.portfolio-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.portfolio-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
}

.portfolio-link svg {
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-link {
    color: var(--primary);
}

.portfolio-card:hover .portfolio-link svg {
    transform: translateX(6px);
}

/* 10. PROCESSO SECTION (TIMELINE) */
.process-section {
    border-top: 1px solid var(--border-color);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary), var(--accent-cyan));
    box-shadow: 0 0 10px var(--primary);
    transition: height 0.6s ease;
}

.timeline-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #0d0d11;
    border: 2px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dim);
    transition: var(--transition-smooth);
}

.step-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    flex-grow: 1;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.step-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timeline animations triggered via scroll class */
.timeline-step.active .step-marker {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
    transform: scale(1.1);
}

.timeline-step.active .step-num {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.timeline-step.active .step-content {
    border-color: rgba(255,255,255,0.15);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* 11. DEPOIMENTOS SECTION (MARQUEE) */
.testimonials-section {
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.testimonials-marquee {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

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

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

.testimonial-card {
    width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: var(--transition-fast);
}

.testimonial-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.stars {
    color: #FFC107;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.author-company {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.demo-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 12. FAQ SECTION (ACCORDION) */
.faq-section {
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

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

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.faq-item:hover .faq-question {
    color: var(--primary);
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.faq-icon {
    transition: transform 0.4s ease;
}

/* Smooth Dynamic Height Expansion with Grid Template Rows */
.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    overflow: hidden;
}

.faq-content p {
    padding: 0 24px 24px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Accordion Active States */
.faq-item.active {
    border-color: var(--border-color-glow);
    background: var(--bg-card-hover);
}

.faq-item.active .faq-content {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-icon-wrapper {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
}

/* 13. FINAL CTA SECTION */
.cta-final-section {
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    filter: blur(80px);
}

.cta-title {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.1;
    background: linear-gradient(180deg, #FFFFFF 0%, #B0B0B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-btn-wrapper {
    margin-bottom: 24px;
}

.cta-hint {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.btn-pulse {
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

/* 14. FOOTER */
.main-footer {
    background: #020202;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-desc {
    font-size: 0.95rem;
    max-width: 300px;
}

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

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

.links-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

.links-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-column a {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.links-column a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* 15. RESPONSIVENESS & MOBILE LAYOUT */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        padding: 40px 24px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-showcase {
        height: 400px;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Header Mobile Menu Overlay */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 1.3rem;
        font-weight: 600;
    }
    
    .btn-desktop {
        display: none;
    }
    
    .mobile-cta-wrapper {
        display: block;
        margin-top: 40px;
        width: 80%;
    }
    
    .btn-mobile-nav {
        width: 100%;
        padding: 14px 0;
    }
    
    /* Burger Icon Animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Device frame responsiveness */
    .device-macbook {
        display: none;
    }
    
    .device-phone {
        position: relative;
        width: 160px;
        margin: 0 auto;
        right: auto;
        bottom: auto;
        transform: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }

    .hero-showcase {
        height: 350px;
        margin-top: 30px;
    }
    
    .diferenciais-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .diferencial-card {
        padding: 30px 20px;
    }

    .portfolio-preview-bg {
        height: 220px;
    }

    .portfolio-mockup {
        width: 240px;
        transform: scale(0.8) translateY(10px);
    }

    .portfolio-mockup .macbook-screen {
        width: 240px;
    }

    .portfolio-mockup .macbook-body {
        width: 280px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 40px 16px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .step-marker {
        width: 44px;
        height: 44px;
        border-width: 1px;
    }
    
    .step-num {
        font-size: 1rem;
    }
    
    .timeline-step {
        gap: 16px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .portfolio-mockup {
        width: 200px;
        transform: scale(0.85);
    }
    .portfolio-mockup .macbook-screen {
        width: 200px;
    }
    .portfolio-mockup .macbook-body {
        width: 240px;
    }
    .portfolio-preview-bg {
        height: 180px;
    }
    .btn-lg {
        padding: 14px 20px;
        font-size: 0.95rem;
        white-space: normal;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* 16. ANIMATION UTILITIES */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delayed {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.animate-slide-up-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-slide-up-delayed2 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
