@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #0B0F19;
    --bg-card: #131830;
    --bg-card-hover: #1a2040;
    --accent: #6C63FF;
    --accent-hover: #857dff;
    --text: #E2E8F0;
    --text-muted: #64748B;
    --border: rgba(255,255,255,0.06);
    --glow: rgba(108,99,255,0.15);
    --radius: 12px;
    --transition: all 0.35s cubic-bezier(.4,0,.2,1);
    --red-muted: #ef4444;
    --green-muted: #22c55e;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }

.container { max-width:1140px; margin:0 auto; padding:0 1.5rem; }

/* ===== NAV ===== */
#navbar {
    position:fixed; top:0; left:0; width:100%; z-index:1000;
    padding:1rem 0;
    transition: var(--transition);
}
#navbar.scrolled {
    background: rgba(11,15,25,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}
.nav-inner {
    display:flex; align-items:center; justify-content:space-between;
}
.logo {
    display:flex; align-items:center; gap:0.5rem;
    font-weight:700; font-size:1.15rem;
}
.logo-icon { display:flex; }
.nav-links { display:flex; gap:2rem; }
.nav-links a {
    font-size:0.875rem; font-weight:500; color:var(--text-muted);
    transition: var(--transition);
}
.nav-links a:hover { color:#fff; }
.nav-right { display:flex; align-items:center; gap:1rem; }
.btn-register {
    background: var(--accent); color:#fff;
    padding: 0.5rem 1.25rem; border-radius:20px;
    font-size:0.85rem; font-weight:600;
    transition: var(--transition);
}
.btn-register:hover { background: var(--accent-hover); }

/* ===== HERO ===== */
.hero {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
}
.hero-center { max-width:800px; margin:0 auto; }
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight:800; line-height:1.2;
    margin-bottom:1.5rem;
}
.gradient-text {
    background: linear-gradient(135deg, var(--accent), #a78bfa, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size:1.05rem; color:var(--text-muted);
    max-width:600px; margin:0 auto 2.5rem;
}
.hero-buttons { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

.btn {
    display:inline-flex; align-items:center; gap:0.5rem;
    padding:0.85rem 1.75rem; border-radius:8px;
    font-weight:600; font-size:0.95rem;
    transition: var(--transition); border:none; cursor:pointer;
}
.btn-primary {
    background: var(--accent); color:#fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 30px var(--glow);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent; color:var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
}
.btn-lg { padding:1.1rem 2.25rem; font-size:1.05rem; }

.hero-image-wrap {
    position:relative; max-width:760px; margin:3rem auto 0; padding: 0 1rem;
}
.hero-image {
    width:100%; border-radius:var(--radius);
    border:1px solid var(--border);
}
.hero-image-glow {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:80%; height:80%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    z-index:-1; filter:blur(60px);
}

/* ===== GLOWS ===== */
.glow {
    position:absolute; width:600px; height:600px;
    border-radius:50%; pointer-events:none; z-index:-1;
    filter:blur(120px); opacity:0.4;
}
.glow-hero { background:var(--accent); top:-200px; left:50%; transform:translateX(-50%); opacity:0.12; }
.glow-left { background:var(--accent); top:100px; left:-200px; opacity:0.08; }
.glow-right { background:var(--accent); top:100px; right:-200px; opacity:0.08; }
.glow-center { background:var(--accent); top:50%; left:50%; transform:translate(-50%,-50%); opacity:0.06; }

/* ===== SECTIONS ===== */
.section {
    padding:6rem 0; position:relative;
}
.section-dark { background: #080C15; }
.section-head {
    text-align:center; max-width:600px; margin:0 auto 4rem;
}
.section-head h2 {
    font-size:clamp(1.75rem, 4vw, 2.5rem);
    font-weight:700; margin-bottom:1rem;
}
.section-head p { color:var(--text-muted); }

.tag {
    display:inline-flex; align-items:center; gap:0.5rem;
    color:var(--accent); font-size:0.8rem; font-weight:600;
    text-transform:uppercase; letter-spacing:0.1em;
    margin-bottom:1rem;
}
.tag::before, .tag::after {
    content:''; width:20px; height:1px; background:var(--accent); opacity:0.5;
}

/* ===== PROBLEM BLOCK ===== */
.problem-block {
    text-align:center; max-width:800px; margin:0 auto;
}
.problem-block h2 {
    font-size:clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight:800; line-height:1.2;
    margin-bottom:3rem;
}
.problem-points {
    display:grid; grid-template-columns:repeat(3,1fr); gap:2rem;
}
.problem-point {
    background: var(--bg-card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:2rem 1.5rem;
    text-align:center;
    transition:var(--transition);
}
.problem-point:hover {
    border-color: rgba(239,68,68,0.3);
    transform: translateY(-4px);
}
.problem-icon {
    width:48px; height:48px; border-radius:12px;
    background: rgba(239,68,68,0.1); color: var(--red-muted);
    display:flex; align-items:center; justify-content:center;
    font-size:1.15rem; margin:0 auto 1.25rem;
}
.problem-point p {
    font-size:1rem; color:var(--text-muted); line-height:1.6;
}
.problem-point strong {
    color:#fff;
}

/* ===== DIAGNOSTIC BLOCK ===== */
.diagnostic-block {
    text-align:center; max-width:800px; margin:0 auto;
}
.diagnostic-block h2 {
    font-size:clamp(1.5rem, 3.5vw, 2rem);
    font-weight:600; line-height:1.5;
    color:var(--text-muted);
}
.diagnostic-block h2 .gradient-text {
    font-weight:800;
}
.diagnostic-line {
    width:60px; height:3px;
    background:var(--accent);
    margin:2rem auto 0;
    border-radius:2px;
}

/* ===== CASE STUDY ===== */
.case-study {
    max-width:900px; margin:0 auto;
}
.case-study > h2 {
    font-size:clamp(2rem, 4.5vw, 2.75rem);
    font-weight:800; margin-bottom:0.5rem;
}
.case-subtitle {
    font-size:1.15rem; color:var(--text-muted); margin-bottom:3rem;
}

.case-grid {
    display:grid; grid-template-columns:1fr 1fr; gap:2rem;
    margin-bottom:3rem;
}
.case-before, .case-system {
    background:var(--bg-card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:2rem;
}
.case-before h3, .case-system h3 {
    font-size:1rem; font-weight:700;
    margin-bottom:1.25rem;
    display:flex; align-items:center; gap:0.5rem;
}
.case-before h3 i { color:var(--red-muted); }
.case-system h3 i { color:var(--accent); }
.case-before ul {
    list-style:none; padding:0;
    display:flex; flex-direction:column; gap:0.75rem;
}
.case-before ul li {
    font-size:0.9rem; color:var(--text-muted);
    padding-left:1.25rem; position:relative;
}
.case-before ul li::before {
    content:'✕'; position:absolute; left:0; color:var(--red-muted);
    font-size:0.7rem; top:0.15rem;
}

/* System Flow */
.system-flow {
    display:flex; flex-wrap:wrap; align-items:center; gap:0.5rem;
}
.flow-step {
    background:rgba(108,99,255,0.1);
    border:1px solid rgba(108,99,255,0.25);
    border-radius:6px;
    padding:0.4rem 0.75rem;
    font-size:0.75rem; font-weight:600;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:0.03em;
    white-space:nowrap;
}
.flow-arrow {
    color:var(--text-muted); font-size:0.65rem; opacity:0.5;
}

/* Results */
.case-results {
    background:var(--bg-card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:2rem;
    margin-bottom:2rem;
}
.case-results h3 {
    font-size:1rem; font-weight:700;
    margin-bottom:1.5rem;
    display:flex; align-items:center; gap:0.5rem;
}
.case-results h3 i { color:var(--green-muted); }
.results-grid {
    display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem;
    margin-bottom:1.5rem;
}
.result-item {
    text-align:center;
    padding:1rem 0.5rem;
    border-right:1px solid var(--border);
}
.result-item:last-child { border-right:none; }
.result-value {
    font-size:1.75rem; font-weight:800;
    color:var(--accent); margin-bottom:0.25rem;
}
.result-label {
    font-size:0.8rem; color:var(--text-muted); line-height:1.4;
}
.case-note {
    font-size:0.85rem; color:var(--text-muted);
    border-top:1px solid var(--border);
    padding-top:1.25rem;
    font-style:italic;
}

.case-close {
    text-align:center;
    padding:2rem;
    background: linear-gradient(135deg, rgba(108,99,255,0.06), transparent);
    border:1px solid rgba(108,99,255,0.2);
    border-radius:var(--radius);
}
.case-close p {
    font-size:1.15rem; color:var(--text-muted);
}
.case-close strong {
    color:#fff; font-size:1.25rem;
}

/* ===== WEIGHT BLOCK ===== */
.weight-block {
    display:grid; grid-template-columns:repeat(3,1fr); gap:2rem;
    max-width:900px; margin:0 auto;
}
.weight-item {
    text-align:center;
    padding:2.5rem 1.5rem;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:var(--bg-card);
    transition:var(--transition);
}
.weight-item:hover { transform:translateY(-4px); border-color:rgba(108,99,255,0.3); }
.weight-item.highlight {
    border-color:rgba(108,99,255,0.4);
    background:linear-gradient(135deg, rgba(108,99,255,0.08), transparent);
}
.weight-item i {
    font-size:1.5rem; color:var(--accent); margin-bottom:1rem; display:block;
}
.weight-item p {
    font-size:1rem; color:var(--text-muted); line-height:1.6;
}
.weight-item strong { color:#fff; }

/* ===== FEATURES GRID ===== */
.features-grid {
    display:grid; grid-template-columns:repeat(3,1fr); gap:2rem;
}
.feature-item {
    padding:1.5rem 0;
    border-top:1px solid var(--border);
}
.feature-icon {
    width:40px; height:40px; border-radius:10px;
    background:rgba(108,99,255,0.1); color:var(--accent);
    display:flex; align-items:center; justify-content:center;
    font-size:1rem; margin-bottom:1rem;
}
.feature-item h4 { font-size:0.95rem; font-weight:700; margin-bottom:0.5rem; }
.feature-item p { font-size:0.85rem; color:var(--text-muted); line-height:1.5; }

/* ===== SPLIT ===== */
.split { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.split-left h2 {
    font-size:clamp(1.75rem,3.5vw,2.25rem);
    font-weight:700; margin-bottom:1rem;
}
.split-desc { color:var(--text-muted); margin-bottom:2rem; }
.check-list { display:flex; flex-direction:column; gap:1.25rem; margin-bottom:2.5rem; }
.check-item {
    display:flex; gap:0.75rem; align-items:flex-start;
    font-size:0.9rem;
}
.check-item i {
    color:var(--accent); margin-top:0.25rem; font-size:0.75rem;
}
.check-item strong { color:#fff; }

.testimonial-inline {
    border-top:1px solid var(--border); padding-top:1.5rem;
}
.testimonial-inline > p {
    font-size:0.9rem; font-style:italic;
    color:var(--text-muted); margin-bottom:1rem;
}
.testimonial-author {
    display:flex; align-items:center; gap:0.75rem;
}
.testimonial-author img {
    width:40px; height:40px; border-radius:50%;
    object-fit:cover; object-position:center top;
    border:2px solid var(--accent);
}
.testimonial-author strong { display:block; font-size:0.85rem; }
.testimonial-author span { font-size:0.75rem; color:var(--text-muted); }

/* ===== FERNANDO PHOTO ===== */
.fernando-photo-wrap {
    position:relative;
    display:flex; align-items:center; justify-content:center;
}
.fernando-photo {
    width:100%; max-width:380px;
    height:380px;
    object-fit:cover;
    object-position:center top;
    border-radius:var(--radius);
    border:1px solid var(--border);
    filter: contrast(1.05);
    position:relative; z-index:1;
}
.fernando-glow {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:70%; height:70%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    filter:blur(60px); z-index:0;
}

/* ===== MANIFESTO ===== */
.manifesto-grid {
    display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem;
    max-width:900px; margin:0 auto;
}
.manifesto-card {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:var(--radius); padding:2rem;
    transition:var(--transition);
}
.manifesto-card:hover {
    border-color:rgba(108,99,255,0.3);
    transform:translateY(-4px);
}
.manifesto-card.highlight {
    border-color:rgba(108,99,255,0.4);
    background:linear-gradient(135deg, rgba(108,99,255,0.08), transparent);
}
.manifesto-card i {
    color:var(--accent); font-size:1.25rem; margin-bottom:1rem; display:block;
}
.manifesto-card p { font-size:0.95rem; color:var(--text-muted); line-height:1.7; }

/* ===== CTA ===== */
.cta-section { text-align:center; }
.cta-box {
    max-width:750px; margin:0 auto;
}
.cta-box h2 {
    font-size:clamp(1.6rem,4vw,2.25rem);
    font-weight:700; margin-bottom:2rem;
    line-height:1.4;
}
.cta-box p {
    color:var(--text-muted); margin-bottom:2.5rem; font-size:1.05rem;
}

/* ===== FOOTER ===== */
footer {
    border-top:1px solid var(--border);
    padding:2rem 0;
}
.footer-inner {
    display:flex; align-items:center; justify-content:space-between;
}
.footer-copy { font-size:0.8rem; color:var(--text-muted); }
.footer-wa {
    font-size:1.5rem; color:var(--text-muted);
    transition:var(--transition);
}
.footer-wa:hover { color:var(--accent); }

/* ===== WA FLOAT ===== */
.wa-float {
    position:fixed; bottom:1.5rem; right:1.5rem; z-index:999;
    width:56px; height:56px; border-radius:50%;
    background:#25d366; color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:1.75rem;
    box-shadow:0 8px 25px rgba(37,211,102,0.35);
    animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
    0%,100% { box-shadow:0 8px 25px rgba(37,211,102,0.35); }
    50% { box-shadow:0 8px 25px rgba(37,211,102,0.55), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity:0; transform:translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.show { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:992px) {
    .problem-points { grid-template-columns:1fr; }
    .case-grid { grid-template-columns:1fr; }
    .results-grid { grid-template-columns:repeat(2,1fr); }
    .result-item { border-right:none; border-bottom:1px solid var(--border); padding-bottom:1rem; }
    .result-item:last-child { border-bottom:none; }
    .weight-block { grid-template-columns:1fr; }
    .features-grid { grid-template-columns:repeat(2,1fr); }
    .split { grid-template-columns:1fr; }
    .split-right { order:-1; }
    .fernando-photo { max-width:280px; margin:0 auto; }
    .nav-links { display:none; }
    .manifesto-grid { grid-template-columns:1fr; }
}
@media(max-width:640px) {
    .hero { padding:8rem 0 3rem; }
    .features-grid { grid-template-columns:1fr; }
    .hero-buttons { flex-direction:column; align-items:center; }
    .system-flow { justify-content:center; }
    .results-grid { grid-template-columns:1fr; }
}
