:root {
    --bg-color: #070B14;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --accent-blue: #00D1FF;
    --accent-purple: #7000FF;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-padding: 120px 0;
    --ease-premium: cubic-bezier(0.2, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.text-center {
    text-align: center;
}

/* --- LOADER --- */
.loader-container {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-premium);
}

.loader-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    transition: width 1.5s var(--ease-premium);
}

/* --- LIVE BACKGROUND --- */
.bg-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0c1222 0%, #070b14 100%);
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
}

.sphere-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    top: -10%;
    right: -5%;
}

.sphere-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    bottom: -10%;
    left: -5%;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* --- NAV --- */
.nav-glass {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-premium);
}

.nav-glass.scrolled {
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

.logo .accent {
    color: var(--accent-blue);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 20px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* --- LOGOS SECTION --- */
.logos-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.005);
    margin-top: 40px;
}

.text-tiny {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.4s var(--ease-premium);
    cursor: default;
}

.logo-svg {
    opacity: 0.35;
    transition: all 0.4s var(--ease-premium);
    color: var(--text-primary);
}

.logo-item:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.logo-item:hover .logo-svg {
    opacity: 0.9;
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px rgba(0, 209, 255, 0.4));
}

/* --- HERO --- */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.giant-title {
    font-size: 84px;
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.accent-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.subheadline {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-magnetic {
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s var(--ease-premium);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-magnetic.primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-magnetic.secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.btn-magnetic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.2);
}

.btn-minimal {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-premium);
    display: inline-block;
}

.btn-minimal:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-mockup {
    width: 100%;
    display: block;
    filter: contrast(1.1);
}

/* --- CARDS & BENTO SYSTEM --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.card-glass {
    position: relative;
    background: rgba(7, 11, 20, 0.75);
    /* Darker backdrop to emphasize the neon glow */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 20px rgba(255, 255, 255, 0.01);
    border-radius: 28px;
    overflow: visible;
    /* To let neon gradient aura expand */
    transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* 1. Aura Difusa Traseira (Halo Neon) */
.card-glass::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    z-index: -1;
    opacity: 0.12;
    /* Soft background glow in rest state */
    filter: blur(25px);
    transition: opacity 0.6s var(--ease-premium), filter 0.6s var(--ease-premium);
}

/* 2. Moldura Neon Ultra-Fina (Gradiente de Borda de 1px) */
.card-glass::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 29px;
    padding: 1px;
    /* Creates the border thickness */
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
    /* Sharp glowing frame in rest state */
    transition: opacity 0.6s var(--ease-premium);
}

.card-glass:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-glass:hover::before {
    opacity: 0.35;
    filter: blur(35px);
}

.card-glass:hover::after {
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(0, 209, 255, 0.5));
}

.bento-card {
    padding: 50px 40px;
}

.bento-card.large {
    grid-column: span 2;
}

.card-accent-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 209, 255, 0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bento-card:hover .card-accent-glow {
    opacity: 1;
}

/* Hover effects inherited from .card-glass */

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.card-icon.error {
    background: rgba(255, 49, 49, 0.08);
    color: #FF3131;
    box-shadow: inset 0 0 15px rgba(255, 49, 49, 0.1);
}

.card-icon.success {
    background: rgba(0, 209, 255, 0.08);
    color: var(--accent-blue);
    box-shadow: inset 0 0 15px rgba(0, 209, 255, 0.1);
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.bento-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* --- TAGLINE BADGE --- */
.tagline-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 25px;
}

/* --- MOCKUP UPGRADES --- */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.mockup-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.glass-overlay-ui {
    position: absolute;
    top: 15px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ui-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ui-dot.red {
    background: #FF5F56;
}

.ui-dot.yellow {
    background: #FFBD2E;
}

.ui-dot.green {
    background: #27C93F;
}

/* --- PROOF LOGOS MARQUEE (MAGIC UI STYLE) --- */
.logos-section {
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.3333%);
    }
}

.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    padding: 10px 0;
    /* Edge-to-edge transparent fading gradient using CSS mask */
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.logo-marquee-track {
    display: inline-flex;
    gap: 80px;
    align-items: center;
    animation: marquee 25s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.logo-marquee-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.45;
    transition: opacity 0.3s ease, color 0.3s ease;
    user-select: none;
}

.logo-item:hover {
    opacity: 0.85;
    color: var(--text-primary);
}

.logo-svg {
    opacity: 0.8;
}

/* --- METHOD TIMELINE --- */
.method-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.timeline {
    margin-top: 50px;
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple), transparent);
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-blue);
    background: var(--bg-color);
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.3);
}

.step-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 16px;
}

.visual-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(112, 0, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.side-mockup {
    width: 100%;
    height: auto;
    display: block;
}

/* --- STATS CIRCLES --- */
.mb-80 {
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.5s var(--ease-premium);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.stat-item:hover .stat-circle {
    border-color: var(--accent-blue);
    transform: scale(1.05);
    box-shadow:
        0 0 40px rgba(0, 209, 255, 0.15),
        inset 0 0 20px rgba(0, 209, 255, 0.05);
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* --- MANIFESTO SECTION --- */
.manifesto-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.text-large {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 30px;
}

.text-medium {
    font-size: 16px;
    line-height: 1.7;
}

.manifesto-card {
    padding: 50px;
    border-radius: 28px;
    position: relative;
}

.manifesto-number {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 25px;
}

.manifesto-quote {
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-primary);
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    position: relative;
    padding: 50px;
}

/* 3. Aspas Elegantes de Fundo */
.testimonial-text::before {
    content: '“';
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 120px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
    font-weight: 900;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 35px;
    position: relative;
    z-index: 3;
}

.testimonial-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
}

.star-svg {
    fill: var(--accent-blue);
    filter: drop-shadow(0 0 4px rgba(0, 209, 255, 0.3));
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 3;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
    flex-shrink: 0;
}

.testimonial-author h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- CTA FINAL --- */
.cta-final {
    padding: 140px 0;
}

.cta-box {
    padding: 80px 40px;
    border-radius: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-color: rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- CONTACT FORM --- */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    max-width: 650px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 32px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.4s var(--ease-premium);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.form-input:focus {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.03);
    box-shadow:
        0 0 20px rgba(0, 209, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    border: none;
    background: var(--text-primary);
    color: var(--bg-color);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s var(--ease-premium);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.btn-submit:hover {
    background: var(--accent-gradient);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 209, 255, 0.25);
}

.form-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 20px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* --- FOOTER UPGRADES --- */
.footer-premium {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.brand-tagline {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-column h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* --- SECTION HEADERS --- */
.section {
    padding: var(--section-padding);
}

.section-dark {
    padding: var(--section-padding);
    background: rgba(0, 0, 0, 0.2);
}

.title-large {
    font-size: clamp(34px, 5.5vw, 64px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.title-medium {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* --- PROBLEMS SECTION (PAIN SPLIT LAYOUT) --- */
.problems-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.problems-manifesto {
    position: sticky;
    top: 120px;
}

.problems-manifesto .section-label {
    color: #FF3B30;
    margin-bottom: 20px;
}

.problems-manifesto h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.problems-manifesto h2 .accent-red {
    background: linear-gradient(135deg, #FF3B30, #FF7B00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.problems-manifesto p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.market-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 14px;
    background: rgba(255, 59, 48, 0.03);
    border: 1px solid rgba(255, 59, 48, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.market-stat-badge .stat-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF3B30;
    box-shadow: 0 0 10px #FF3B30;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 59, 48, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pain-card {
    position: relative;
    padding: 35px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.6s var(--ease-premium), border-color 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
    overflow: visible;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.pain-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 59, 48, 0.25), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pain-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 59, 48, 0.15);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-card .card-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.pain-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 59, 48, 0.04);
    color: #FF3B30;
    border: 1px solid rgba(255, 59, 48, 0.12);
    box-shadow: inset 0 0 10px rgba(255, 59, 48, 0.05);
    flex-shrink: 0;
    transition: all 0.5s var(--ease-premium);
}

.pain-card:hover .card-icon {
    color: #FFFFFF;
    background: #FF3B30;
    box-shadow: 0 0 15px rgba(255, 59, 48, 0.35);
    border-color: #FF3B30;
    transform: scale(1.05);
}

.pain-card .card-text {
    flex-grow: 1;
    padding-top: 2px;
}

.pain-card .card-text h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.pain-card .card-text p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.pain-card .severity-tag {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 59, 48, 0.7);
    background: rgba(255, 59, 48, 0.04);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 59, 48, 0.1);
    z-index: 3;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-grid {
        justify-content: center;
    }

    .giant-title {
        font-size: 56px;
    }

    .hero-actions {
        justify-content: center;
    }

    .subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .problems-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .problems-manifesto {
        position: relative;
        top: 0;
    }

    .bento-grid.features {
        grid-template-columns: 1fr;
    }

    .bento-card.large {
        grid-column: span 1;
    }

    .method-layout,
    .manifesto-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .brand-tagline {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }

    .footer-legal a {
        margin: 0 12px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .giant-title {
        font-size: 42px;
    }

    .title-large {
        font-size: 42px;
    }

    .section {
        padding: 80px 0;
    }

    .section-dark {
        padding: 80px 0;
    }
}

/* --- ANIMATIONS --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-premium);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="fade-left"] {
    transform: translateX(-30px);
}

[data-reveal="fade-right"] {
    transform: translateX(30px);
}

[data-reveal="zoom-in"] {
    transform: scale(0.9);
}

.revealed[data-reveal="fade-left"],
.revealed[data-reveal="fade-right"],
.revealed[data-reveal="zoom-in"] {
    transform: translate(0) scale(1);
}

/* --- IMMERSIVE LEGAL MODAL (MAGIC UI BRANDED) --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-premium), visibility 0.5s var(--ease-premium);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.modal-card {
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 45px 40px;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.5s var(--ease-premium);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.modal-body {
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}

/* Scrollbar customization for elite glassmorphism styling */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

.modal-body h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 25px 0 10px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--glass-border);
    padding-top: 25px;
}


/* --- FAQ SECTION --- */
.faq-grid {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    width: 100%;
    padding: 24px 32px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s var(--ease-premium);
    overflow: hidden;
}

.faq-item::before {
    border-radius: 22px;
}

.faq-item::after {
    border-radius: 21px;
}

/* Remove standard summary marker */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    outline: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--accent-blue);
    transition: transform 0.4s var(--ease-premium), background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover .faq-icon-arrow {
    background: rgba(0, 209, 255, 0.08);
    border-color: rgba(0, 209, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.2);
}

/* Open states */
.faq-item[open] .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--text-primary);
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.4);
}

.faq-answer {
    padding-top: 16px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 16px;
    cursor: default;
    /* Soft entry animation simulation */
    animation: faqSlideIn 0.4s var(--ease-premium);
}

@keyframes faqSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- FLOATING BADGES (MICRO-ANIMATIONS) --- */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 16px;
    z-index: 10;
    pointer-events: none;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.floating-badge::before {
    border-radius: 18px;
}

.floating-badge::after {
    border-radius: 17px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.badge-icon.success {
    background: rgba(0, 209, 255, 0.08);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 209, 255, 0.15);
}

.badge-icon.warning {
    background: rgba(112, 0, 255, 0.08);
    color: var(--accent-purple);
    border: 1px solid rgba(112, 0, 255, 0.15);
}

.badge-icon.pulse-active {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27C93F;
    box-shadow: 0 0 10px #27C93F;
    animation: badgePulse 2s infinite;
    margin: 8px;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(39, 201, 63, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
    }
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 700;
}

.badge-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-value.accent-text {
    color: var(--accent-blue);
}

.badge-value.accent-gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations & Positioning */
.badge-1 {
    top: 15%;
    left: -40px;
    animation: floatBadge1 6s ease-in-out infinite;
}

.badge-2 {
    bottom: 12%;
    right: -25px;
    animation: floatBadge2 8s ease-in-out infinite;
}

.badge-3 {
    top: 10%;
    right: -30px;
    animation: floatBadge1 7s ease-in-out infinite;
}

.badge-4 {
    bottom: 15%;
    left: -35px;
    animation: floatBadge2 5s ease-in-out infinite;
}

@keyframes floatBadge1 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(-1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floatBadge2 {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(12px) rotate(1.5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Responsive Hide */
@media (max-width: 992px) {
    .floating-badge {
        display: none !important;
    }
}


/* --- PREMIUM IMMERSIVE SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    border-radius: 5px;
    border: 2.5px solid var(--bg-color);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-blue));
}

/* Firefox scrollbar compatibility */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--bg-color);
}