/* GooFish Analyzer — Landing page */

:root {
    --lp-bg: #0d1117;
    --lp-bg-elevated: #161b26;
    --lp-surface: rgba(255, 255, 255, 0.04);
    --lp-border: rgba(255, 255, 255, 0.08);
    --lp-border-strong: rgba(255, 255, 255, 0.14);
    --lp-text: #f1f5f9;
    --lp-muted: #8b95a8;
    --lp-green: #4ade80;
    --lp-green-dim: rgba(74, 222, 128, 0.12);
    --lp-yellow: #ffda00;
    --lp-yellow-dim: rgba(255, 218, 0, 0.12);
    --lp-blue: #60a5fa;
    --lp-red: #f87171;
    --lp-radius: 16px;
    --lp-radius-sm: 10px;
    --lp-font: "Segoe UI", system-ui, -apple-system, sans-serif;
    --lp-max: 1120px;
    --lp-nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-text);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 218, 0, 0.07), transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(74, 222, 128, 0.05), transparent 45%),
        linear-gradient(180deg, var(--lp-bg) 0%, #0a0e14 100%);
}

.lp-wrap {
    position: relative;
    z-index: 1;
    max-width: var(--lp-max);
    margin: 0 auto;
    padding: 0 20px;
}

.lp-en {
    display: block;
    font-size: 0.88em;
    color: var(--lp-muted);
    font-weight: 400;
    margin-top: 0.35em;
}

/* ── Nav ── */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--lp-nav-h);
    border-bottom: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, backdrop-filter 0.2s;
}

.lp-nav--scrolled {
    background: rgba(13, 17, 23, 0.88);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--lp-border);
}

.lp-nav__inner {
    max-width: var(--lp-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lp-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--lp-text);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.lp-nav__brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.lp-nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-nav__links a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

.lp-nav__links a:hover { color: var(--lp-text); }

.lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-nav__toggle {
    display: none;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    min-height: 44px;
}

@media (max-width: 768px) {
    .lp-nav__toggle { display: block; }
    .lp-nav__links {
        display: none;
        position: absolute;
        top: var(--lp-nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(13, 17, 23, 0.98);
        border-bottom: 1px solid var(--lp-border);
        padding: 12px 20px 16px;
    }
    .lp-nav__links--open { display: flex; }
    .lp-nav__links li { width: 100%; }
    .lp-nav__links a {
        display: block;
        padding: 12px 0;
        min-height: 44px;
    }
    .lp-nav__actions .lp-btn--ghost { display: none; }
}

/* ── Buttons ── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--lp-radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.lp-btn:focus-visible {
    outline: 2px solid var(--lp-yellow);
    outline-offset: 2px;
}

.lp-btn--primary {
    background: var(--lp-yellow);
    color: #0d1117;
    box-shadow: 0 0 0 1px rgba(255, 218, 0, 0.3), 0 4px 20px rgba(255, 218, 0, 0.15);
}

.lp-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 218, 0, 0.4), 0 8px 28px rgba(255, 218, 0, 0.22);
}

.lp-btn--secondary {
    background: var(--lp-green-dim);
    color: var(--lp-green);
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.lp-btn--secondary:hover { background: rgba(74, 222, 128, 0.18); }

.lp-btn--ghost {
    background: transparent;
    color: var(--lp-muted);
    border: 1px solid var(--lp-border);
}

.lp-btn--ghost:hover {
    color: var(--lp-text);
    border-color: var(--lp-border-strong);
}

.lp-btn--block { width: 100%; }

.lp-btn--loading {
    opacity: 0.7;
    pointer-events: none;
}

.lp-btn--lg {
    min-height: 48px;
    padding: 0 28px;
    font-size: 15px;
}

/* ── Hero ── */
.lp-hero {
    padding: 56px 0 72px;
}

.lp-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 900px) {
    .lp-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--lp-yellow-dim);
    border: 1px solid rgba(255, 218, 0, 0.2);
    color: var(--lp-yellow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.lp-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-yellow);
    animation: lp-pulse 2s ease infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.lp-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.lp-hero h1 em {
    font-style: normal;
    color: var(--lp-yellow);
}

.lp-hero__lead {
    margin: 0 0 28px;
    font-size: 1.05rem;
    color: var(--lp-muted);
    max-width: 32em;
}

.lp-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.lp-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    color: var(--lp-muted);
}

.lp-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lp-hero__note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--lp-muted);
}

/* ── Widget mock ── */
.lp-mock {
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(255, 218, 0, 0.04);
    animation: lp-float 6s ease-in-out infinite;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-mock { animation: none; }
}

.lp-mock__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--lp-border);
    background: rgba(255, 255, 255, 0.02);
}

.lp-mock__header img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.lp-mock__title {
    font-size: 13px;
    font-weight: 700;
}

.lp-mock__subtitle {
    font-size: 11px;
    color: var(--lp-green);
    display: flex;
    align-items: center;
    gap: 4px;
}

.lp-mock__body { padding: 16px; }

.lp-mock__price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.lp-mock__yuan {
    font-size: 22px;
    font-weight: 800;
    color: var(--lp-yellow);
}

.lp-mock__brl {
    font-size: 14px;
    color: var(--lp-muted);
}

.lp-mock__brl strong {
    color: var(--lp-green);
    font-size: 18px;
}

.lp-mock__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.lp-mock__cell {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
}

.lp-mock__cell-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-muted);
    margin-bottom: 4px;
}

.lp-mock__cell-value {
    font-size: 13px;
    font-weight: 600;
}

.lp-mock__verdict {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--lp-green-dim);
    border: 1px solid rgba(74, 222, 128, 0.25);
    font-size: 12px;
    color: var(--lp-green);
    margin-bottom: 10px;
}

.lp-mock__translate {
    font-size: 12px;
    color: var(--lp-muted);
    padding-top: 10px;
    border-top: 1px dashed var(--lp-border);
}

.lp-mock__translate strong { color: var(--lp-text); }

/* ── Sections ── */
.lp-section {
    padding: 72px 0;
}

.lp-section--alt {
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.lp-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.lp-section__head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-section__head p {
    margin: 0;
    color: var(--lp-muted);
}

/* ── SEO intro ── */
.lp-seo-intro {
    padding-top: 48px;
    padding-bottom: 48px;
}

.lp-seo-intro h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    max-width: 720px;
}

.lp-seo-intro p {
    margin: 0 0 14px;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--lp-muted);
}

.lp-seo-intro p:last-child {
    margin-bottom: 0;
}

.lp-seo-intro strong {
    color: var(--lp-text);
    font-weight: 600;
}

/* ── Feature grid ── */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .lp-features { grid-template-columns: 1fr; }
}

.lp-feature {
    padding: 24px;
    border-radius: var(--lp-radius);
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border);
    transition: border-color 0.2s, transform 0.2s;
}

.lp-feature:hover {
    border-color: var(--lp-border-strong);
    transform: translateY(-2px);
}

.lp-feature__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
    background: var(--lp-yellow-dim);
    border: 1px solid rgba(255, 218, 0, 0.15);
}

.lp-feature:nth-child(2) .lp-feature__icon { background: var(--lp-green-dim); border-color: rgba(74, 222, 128, 0.2); }
.lp-feature:nth-child(3) .lp-feature__icon { background: rgba(96, 165, 250, 0.12); border-color: rgba(96, 165, 250, 0.2); }
.lp-feature:nth-child(4) .lp-feature__icon { background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.2); }
.lp-feature:nth-child(5) .lp-feature__icon { background: rgba(167, 139, 250, 0.12); border-color: rgba(167, 139, 250, 0.2); }
.lp-feature:nth-child(6) .lp-feature__icon { background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.2); }

.lp-feature h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.lp-feature p {
    margin: 0;
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.55;
}

/* ── Steps ── */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

@media (max-width: 768px) {
    .lp-steps { grid-template-columns: 1fr; }
}

.lp-step {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: var(--lp-radius);
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border);
}

.lp-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -14px;
    left: 24px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lp-yellow);
    color: #0d1117;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-step h3 {
    margin: 8px 0 8px;
    font-size: 16px;
}

.lp-step p {
    margin: 0;
    font-size: 14px;
    color: var(--lp-muted);
}

/* ── Pricing ── */
.lp-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .lp-pricing { grid-template-columns: 1fr; }
}

.lp-plan {
    padding: 28px 24px;
    border-radius: var(--lp-radius);
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border);
}

.lp-plan--pro {
    border-color: rgba(255, 218, 0, 0.35);
    box-shadow: 0 0 40px rgba(255, 218, 0, 0.06);
    position: relative;
}

.lp-plan--pro::after {
    content: "Recomendado";
    position: absolute;
    top: -11px;
    right: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lp-yellow);
    color: #0d1117;
}

.lp-plan__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-muted);
    margin-bottom: 8px;
}

.lp-plan__price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.lp-plan__price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-muted);
}

.lp-plan ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.lp-plan li {
    font-size: 14px;
    color: var(--lp-muted);
    padding: 6px 0 6px 22px;
    position: relative;
}

.lp-plan li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lp-green);
    font-weight: 700;
}

.lp-pricing__footnote {
    max-width: 720px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.55;
}

/* ── Install CTA (pós-preços) ── */
.lp-install-cta {
    max-width: 520px;
    margin: 48px auto 0;
    padding: 32px 28px;
    border-radius: var(--lp-radius);
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border);
    text-align: center;
}

.lp-install-cta h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.lp-install-cta > p {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.55;
}

.lp-install-cta__note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--lp-muted);
    line-height: 1.5;
}

/* ── FAQ ── */
.lp-faq {
    max-width: 720px;
    margin: 0 auto;
}

.lp-faq__item {
    border-bottom: 1px solid var(--lp-border);
}

.lp-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--lp-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
}

.lp-faq__question::after {
    content: "+";
    font-size: 20px;
    color: var(--lp-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.lp-faq__item--open .lp-faq__question::after {
    transform: rotate(45deg);
}

.lp-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.lp-faq__item--open .lp-faq__answer {
    max-height: 320px;
}

.lp-faq__answer-inner {
    padding: 0 0 18px;
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.6;
}

/* ── Footer ── */
.lp-footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--lp-border);
    margin-top: 32px;
}

.lp-footer__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
}

.lp-footer__brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.lp-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lp-footer__links a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 14px;
}

.lp-footer__links a:hover { color: var(--lp-text); }

.lp-footer__copy {
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--lp-border);
    font-size: 12px;
    color: var(--lp-muted);
}

/* ── Reveal animation ── */
.lp-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lp-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .lp-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Video Section ── */
.lp-video-section {
    padding-top: 64px;
    padding-bottom: 64px;
    position: relative;
    overflow: hidden;
}

/* Subtle glowing background behind the video */
.lp-video-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 218, 0, 0.04) 0%, rgba(74, 222, 128, 0.02) 50%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.lp-video-wrapper {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--lp-bg-elevated);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
    box-shadow: 
        0 25px 55px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(74, 222, 128, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    z-index: 1;
}

.lp-video-wrapper:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--lp-yellow);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.7),
        0 0 120px rgba(255, 218, 0, 0.12);
}

.lp-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
