/* Design System Tokens */
:root {
    --bg-primary: #0d0d0f;
    --bg-surface: #141417;
    --bg-surface-hover: #1b1b20;
    --color-brand: #f97316;
    --color-brand-rgb: 249, 115, 22;
    --color-brand-hover: #ea580c;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(249, 115, 22, 0.3);
    
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow & Grid */
.bg-ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-primary);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 45px 45px;
    mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
    opacity: 0.8;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.18;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-brand) 0%, transparent 70%);
    animation: floatOrb1 22s infinite alternate ease-in-out;
}

.orb-2 {
    bottom: -15%;
    left: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(var(--color-brand-rgb), 0.8) 0%, transparent 70%);
    animation: floatOrb2 28s infinite alternate ease-in-out;
}

.orb-3 {
    top: 40%;
    left: 30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: floatOrb3 15s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-120px, 90px) scale(1.15); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(90px, -140px) scale(0.85); }
}

@keyframes floatOrb3 {
    0% { transform: translate(0, 0) scale(0.9); opacity: 0.1; }
    100% { transform: translate(-50px, 50px) scale(1.2); opacity: 0.2; }
}

/* Typography Layout */
h1, h2, h3, .logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Structure & Layout */
.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Compact for link bio feel */
}

/* Header */
.header {
    padding: 2rem 1.25rem 0;
    text-align: center;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

.logo-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

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

.tagline {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Hero Section */
.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
}

.hero-media {
    margin-bottom: 2rem;
    position: relative;
}

.media-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, var(--color-brand), rgba(var(--color-brand-rgb), 0.2));
}

.avatar-glow {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--color-brand);
    filter: blur(15px);
    opacity: 0.25;
    z-index: -1;
    animation: pulseGlow 4s infinite alternate;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    background-color: var(--bg-surface);
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    background-color: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: var(--color-brand);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 520px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-primary {
    background-color: var(--color-brand);
    color: #fff;
    box-shadow: 0 4px 20px rgba(var(--color-brand-rgb), 0.2);
}

.btn-primary:hover {
    background-color: var(--color-brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--color-brand-rgb), 0.35);
}

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

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

.btn-hero {
    max-width: 380px;
}

/* Sections General */
.section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--color-brand);
    border-radius: 2px;
}

/* Pathways Grid (Cards) */
.grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(var(--color-brand-rgb), 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

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

.card:hover {
    transform: translateY(-3px);
    border-color: var(--border-color-hover);
    background-color: var(--bg-surface-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(var(--color-brand-rgb), 0.05);
}

.card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(var(--color-brand-rgb), 0.1);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background-color: var(--color-brand);
    color: #fff;
    transform: scale(1.05);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.card-content p {
    font-size: 0.875rem;
}

.card-arrow {
    color: var(--text-secondary);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.card:hover .card-arrow {
    opacity: 1;
    color: var(--color-brand);
    transform: translateX(4px);
}

/* Custom Card Variations */

/* 1. Card Blue (Loja de Piscinas) */
.card-blue {
    --border-color-hover: rgba(14, 165, 233, 0.4);
    animation: bluePulse 3s infinite ease-in-out;
}

.card-blue::before {
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(14, 165, 233, 0.12), transparent 40%) !important;
}

.card-blue:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(14, 165, 233, 0.1);
    border-color: var(--border-color-hover);
}

.card-blue .card-icon {
    background-color: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.card-blue:hover .card-icon {
    background-color: #0ea5e9;
    color: #fff;
}

.card-blue:hover .card-arrow {
    color: #0ea5e9;
}

/* 2. Card Pulse (Previsibilidade Comercial) */
.card-pulse {
    animation: borderPulse 3s infinite ease-in-out;
}

.card-pulse .card-icon {
    background-color: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.card-pulse:hover .card-icon {
    background-color: #eab308;
    color: #fff;
}

.card-pulse:hover .card-arrow {
    color: #eab308;
}

.card-pulse::before {
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(234, 179, 8, 0.12), transparent 40%) !important;
}

@keyframes borderPulse {
    0% {
        border-color: rgba(234, 179, 8, 0.15);
        box-shadow: 0 0 0px rgba(234, 179, 8, 0);
    }
    50% {
        border-color: rgba(234, 179, 8, 0.6);
        box-shadow: 0 0 12px rgba(234, 179, 8, 0.2);
    }
    100% {
        border-color: rgba(234, 179, 8, 0.15);
        box-shadow: 0 0 0px rgba(234, 179, 8, 0);
    }
}

@keyframes bluePulse {
    0% {
        border-color: rgba(14, 165, 233, 0.15);
        box-shadow: 0 0 0px rgba(14, 165, 233, 0);
    }
    50% {
        border-color: rgba(14, 165, 233, 0.85);
        box-shadow: 0 0 16px rgba(14, 165, 233, 0.35);
    }
    100% {
        border-color: rgba(14, 165, 233, 0.15);
        box-shadow: 0 0 0px rgba(14, 165, 233, 0);
    }
}

/* Method Timeline removed - Compact Layout */

/* Metrics (Authority) */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.metric-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-brand);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Final CTA */
.final-cta {
    position: relative;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-glow {
    position: absolute;
    bottom: -80px;
    width: 300px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--color-brand-rgb), 0.15) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.cta-headline {
    font-size: 1.75rem;
    font-weight: 800;
    max-width: 500px;
    line-height: 1.25;
}

.cta-subheadline {
    font-size: 0.95rem;
    max-width: 465px;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
}

/* Footer */
.footer {
    padding: 3rem 1.25rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background-color: #08080a;
}

.footer p {
    font-size: 0.75rem;
}

/* Scroll Animation States */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.show {
    opacity: 1;
    transform: translate(0);
}

/* GPU Performance Optimizations for Ambient Glow on Mobile */
.glow-orb {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Animations */
@keyframes pulseGlow {
    from {
        opacity: 0.2;
        transform: scale(0.98) translate3d(0, 0, 0);
    }
    to {
        opacity: 0.32;
        transform: scale(1.02) translate3d(0, 0, 0);
    }
}

/* Touch feedback for Mobile (tactile simulation) */
@media (hover: none) {
    .card:active {
        transform: scale(0.98);
        border-color: rgba(var(--color-brand-rgb), 0.4);
        background-color: var(--bg-surface-hover);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    .btn:active {
        transform: scale(0.97);
        filter: brightness(0.9);
    }
}

/* Media Queries */
@media (min-width: 600px) {
    .cta-buttons {
        flex-direction: row;
    }
    .btn-large {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 1rem 4rem;
        gap: 2.25rem;
    }
    
    .hero-title {
        font-size: 1.85rem;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .card {
        padding: 1.15rem 1rem;
        gap: 0.95rem;
        border-radius: 14px;
    }
    
    .card-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    
    .card-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.775rem;
        line-height: 1.4;
    }

    /* 2x2 grid kept for compactness instead of stacking vertically */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .metric-card {
        padding: 1.25rem 0.5rem;
        border-radius: 12px;
    }
    
    .metric-value {
        font-size: 1.65rem;
        margin-bottom: 0.25rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
        letter-spacing: 0.02em;
        line-height: 1.3;
    }
    
    .final-cta {
        padding: 2.5rem 1.25rem;
        border-radius: 18px;
    }
    
    .cta-headline {
        font-size: 1.45rem;
    }
}


