/* Trusido Landing v3 — benefits-first, clean premium */

html.trusido-site {
    --lv3-primary: #5B5CF6;
    --lv3-primary-dark: #4F46E5;
    --lv3-purple: #7C3AED;
    --lv3-green: #10B981;
    --lv3-text: #0F172A;
    --lv3-text-muted: #64748B;
    --lv3-bg: #F8FAFC;
    --lv3-white: #FFFFFF;
    --lv3-radius: 16px;
    --lv3-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --lv3-shadow-hover: 0 12px 40px rgba(91, 92, 246, 0.12);
    --lv3-max: 75rem;
}

html.trusido-site .td-main { background: var(--lv3-bg); }

html.trusido-site .td-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

html.trusido-site .td-header.is-scrolled {
    border-bottom-color: #E2E8F0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

html.trusido-site .td-brand-mark {
    background: linear-gradient(135deg, var(--lv3-primary) 0%, var(--lv3-purple) 100%);
    border-radius: 10px;
}

html.trusido-site .td-brand-mark .td-icon { color: #fff; stroke-width: 2; }

html.trusido-site .td-nav-links a:hover { color: var(--lv3-primary); }

html.trusido-site .td-btn-primary {
    background: var(--lv3-primary);
    border-color: var(--lv3-primary);
}

html.trusido-site .td-btn-primary:hover {
    background: var(--lv3-primary-dark);
    border-color: var(--lv3-primary-dark);
}

html.trusido-site .td-nav-link-muted {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--lv3-text-muted);
    padding: 0.5rem 0.75rem;
}

html.trusido-site .td-nav-link-muted:hover { color: var(--lv3-text); }

.lv3-container {
    max-width: var(--lv3-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero */
.lv3-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    overflow: hidden;
}

.lv3-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 960px) {
    .lv3-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
}

.lv3-hero__title {
    margin: 0;
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--lv3-text);
    text-wrap: balance;
}

.lv3-hero__title-line {
    display: block;
    background: linear-gradient(135deg, var(--lv3-primary) 0%, var(--lv3-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lv3-card {
    border: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 32px rgba(15, 23, 42, 0.05);
}

.lv3-hero__chips li {
    border: none;
    box-shadow: none;
    background: rgba(91, 92, 246, 0.08);
}

.lv3-hero__sub {
    margin: 1.25rem 0 0;
    max-width: 32rem;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: var(--lv3-text-muted);
}

.lv3-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1.75rem;
    padding: 0;
    list-style: none;
}

.lv3-hero__chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--lv3-white);
    border: 1px solid #E2E8F0;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--lv3-text);
    box-shadow: var(--lv3-shadow);
}

.lv3-hero__chips .td-icon { color: var(--lv3-primary); }

.lv3-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.lv3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--lv3-radius);
    font-size: var(--text-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lv3-btn--primary {
    background: var(--lv3-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(91, 92, 246, 0.35);
}

.lv3-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(91, 92, 246, 0.4);
    color: #fff;
}

.lv3-btn--ghost {
    background: transparent;
    color: var(--lv3-text-muted);
    font-weight: 500;
    padding: 0.85rem 0.5rem;
}

.lv3-btn--ghost:hover { color: var(--lv3-primary); }

.lv3-btn--ghost .td-icon { transition: transform 0.15s ease; }
.lv3-btn--ghost:hover .td-icon { transform: translateX(3px); }

.lv3-btn--white {
    background: #fff;
    color: var(--lv3-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lv3-btn--white:hover { color: var(--lv3-primary-dark); }

/* Phone mockup */
.lv3-phone-scene {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.lv3-phone-glow {
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(circle, rgba(91, 92, 246, 0.25) 0%, rgba(124, 58, 237, 0.12) 45%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.lv3-phone {
    position: relative;
    width: min(280px, 88vw);
    padding: 0.65rem;
    border-radius: 2.25rem;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.25);
    animation: lv3-float 6s ease-in-out infinite;
}

.lv3-phone__notch {
    width: 36%;
    height: 1.35rem;
    margin: 0 auto 0.5rem;
    border-radius: 0 0 1rem 1rem;
    background: #0f172a;
}

.lv3-phone__screen {
    border-radius: 1.65rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    padding: 1.25rem 1rem 1.5rem;
    min-height: 380px;
}

.lv3-phone__header { text-align: center; margin-bottom: 1.25rem; }

.lv3-phone__app {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lv3-text-muted);
}

.lv3-phone__profile { text-align: center; }

.lv3-phone__avatar {
    width: 4rem;
    height: 4rem;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lv3-primary);
}

.lv3-phone__name {
    margin: 0.75rem 0 0.35rem;
    font-weight: 600;
    color: var(--lv3-text);
}

.lv3-phone__level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lv3-phone__benefits {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.lv3-phone__benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E2E8F0;
    font-size: var(--text-sm);
    color: var(--lv3-text);
}

.lv3-phone__benefits .td-icon { color: var(--lv3-green); flex-shrink: 0; }

@keyframes lv3-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sections */
.lv3-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.lv3-section--white { background: var(--lv3-white); }
.lv3-section--muted { background: var(--lv3-bg); }

.lv3-section__title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lv3-text);
}

.lv3-section__title--left { text-align: left; }

.lv3-section__lead {
    margin: 0.75rem auto 0;
    max-width: 36rem;
    text-align: center;
    color: var(--lv3-text-muted);
    font-size: var(--text-lg);
    line-height: 1.55;
}

/* Cards grid */
.lv3-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .lv3-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .lv3-cards { grid-template-columns: repeat(4, 1fr); }
}

.lv3-card {
    padding: 1.5rem;
    border-radius: var(--lv3-radius);
    background: var(--lv3-white);
    border: 1px solid #E2E8F0;
    box-shadow: var(--lv3-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lv3-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lv3-shadow-hover);
}

.lv3-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.lv3-card__icon--blue { background: #EEF2FF; color: var(--lv3-primary); }
.lv3-card__icon--purple { background: #F5F3FF; color: var(--lv3-purple); }
.lv3-card__icon--green { background: #ECFDF5; color: var(--lv3-green); }
.lv3-card__icon--amber { background: #FFFBEB; color: #D97706; }

.lv3-card h3 {
    margin: 0 0 0.5rem;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--lv3-text);
}

.lv3-card p {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--lv3-text-muted);
}

/* How it works */
.lv3-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 0;
    list-style: none;
    counter-reset: lv3step;
}

@media (min-width: 768px) {
    .lv3-steps {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.75rem;
    }
}

.lv3-step {
    position: relative;
    text-align: center;
    padding: 1.25rem 0.75rem;
}

.lv3-step__num {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--lv3-primary);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lv3-step__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.65rem;
    border-radius: 12px;
    background: #EEF2FF;
    color: var(--lv3-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lv3-step h3 {
    margin: 0 0 0.35rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--lv3-text);
}

.lv3-step p {
    margin: 0;
    font-size: var(--text-xs);
    line-height: 1.45;
    color: var(--lv3-text-muted);
}

@media (min-width: 768px) {
    .lv3-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2.75rem;
        right: -0.375rem;
        width: calc(100% - 2rem);
        height: 2px;
        background: linear-gradient(90deg, #C7D2FE, #E2E8F0);
        transform: translateX(50%);
        z-index: 0;
    }
}

/* Partners */
.lv3-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.lv3-partners span {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #94A3B8;
    opacity: 0.85;
    filter: grayscale(1);
    transition: opacity 0.2s ease;
}

.lv3-partners span:hover { opacity: 1; filter: grayscale(0); color: var(--lv3-text-muted); }

/* FAQ */
.lv3-faq {
    max-width: 40rem;
    margin: 2rem auto 0;
    text-align: left;
}

.lv3-faq details {
    border-bottom: 1px solid #E2E8F0;
    padding: 1rem 0;
}

.lv3-faq summary {
    font-weight: 600;
    color: var(--lv3-text);
    cursor: pointer;
    list-style: none;
}

.lv3-faq summary::-webkit-details-marker { display: none; }

.lv3-faq p {
    margin: 0.65rem 0 0;
    font-size: var(--text-sm);
    color: var(--lv3-text-muted);
    line-height: 1.55;
}

/* Final CTA */
.lv3-cta {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    background: linear-gradient(135deg, var(--lv3-primary) 0%, var(--lv3-purple) 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.lv3-cta__inner { position: relative; z-index: 1; }

.lv3-cta h2 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.lv3-cta__sub {
    margin: 0.75rem auto 0;
    max-width: 28rem;
    opacity: 0.9;
    font-size: var(--text-lg);
}

.lv3-cta__actions { margin-top: 1.75rem; }

.lv3-cta__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
    font-size: var(--text-sm);
    opacity: 0.92;
}

.lv3-cta__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lv3-cta__trust .td-icon { color: #A7F3D0; }

.lv3-cta__biz {
    margin-top: 1.25rem;
    font-size: var(--text-sm);
    opacity: 0.85;
}

.lv3-cta__biz a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Reveal animation */
.lv3-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.lv3-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .lv3-phone { animation: none; }
    .lv3-reveal { opacity: 1; transform: none; transition: none; }
    .lv3-card:hover { transform: none; }
}
