/* ===== REDISE Landing Page ===== */

:root {
    --rd-primary: #4f46e5;
    --rd-primary-dark: #3730a3;
    --rd-primary-light: #818cf8;
    --rd-accent: #06b6d4;
    --rd-bg: #f8fafc;
    --rd-surface: #ffffff;
    --rd-text: #1e293b;
    --rd-text-muted: #64748b;
    --rd-border: #e2e8f0;
    --rd-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --rd-radius: 16px;
    --rd-shadow: 0 4px 24px rgba(0,0,0,.06);
    --rd-shadow-lg: 0 8px 40px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; }

body.landing-body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--rd-text);
    background: var(--rd-bg);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Navbar ---------- */
.ln-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rd-border);
    transition: box-shadow .3s;
}
.ln-navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.ln-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ln-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--rd-primary);
    text-decoration: none;
    letter-spacing: -.5px;
}
.ln-logo span { color: var(--rd-accent); }
.ln-nav-links { display: flex; gap: 28px; align-items: center; }
.ln-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--rd-text-muted);
    text-decoration: none;
    transition: color .2s;
}
.ln-nav-links a:hover { color: var(--rd-primary); }
.ln-nav-actions { display: flex; gap: 12px; align-items: center; }

/* Burger */
.ln-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.ln-burger svg { display: block; }

/* ---------- Buttons ---------- */
.btn-rd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
}
.btn-rd-primary {
    background: var(--rd-primary);
    color: #fff;
}
.btn-rd-primary:hover {
    background: var(--rd-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79,70,229,.3);
    color: #fff;
}
.btn-rd-outline {
    background: transparent;
    color: var(--rd-primary);
    border: 1.5px solid var(--rd-primary);
}
.btn-rd-outline:hover {
    background: var(--rd-primary);
    color: #fff;
}
.btn-rd-white {
    background: #fff;
    color: var(--rd-primary);
}
.btn-rd-white:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}
.btn-rd-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

/* ---------- Hero ---------- */
.ln-hero {
    padding: 140px 24px 80px;
    background: var(--rd-gradient);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ln-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.08) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, -5%); }
}
.ln-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.ln-hero-price-badge {
    display: inline-block;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    line-height: 110px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}
.ln-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -.5px;
}
.ln-hero-rotating {
    height: 36px;
    margin: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ln-hero-rotating-text {
    font-size: 19px;
    opacity: 0;
    transition: opacity .4s ease;
    color: rgba(255,255,255,.85);
    line-height: 1.4;
}
.ln-hero-rotating-text.visible { opacity: 1; }
.ln-hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Section ---------- */
.ln-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.ln-section-gray { background: #f1f5f9; }
.ln-section-gray .ln-section { padding-left: 24px; padding-right: 24px; }
.ln-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -.3px;
}
.ln-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--rd-text-muted);
    margin: 0 0 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Marketplaces ---------- */
.ln-mp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ln-mp-card {
    background: var(--rd-surface);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.ln-mp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rd-shadow-lg);
}
.ln-mp-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.ln-mp-icon.ozon { background: #005bff; }
.ln-mp-icon.wb { background: #cb11ab; }
.ln-mp-icon.ym { background: #fc0; color: #333; }
.ln-mp-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.ln-mp-card p { font-size: 14px; color: var(--rd-text-muted); margin: 0; line-height: 1.5; }

/* ---------- Features ---------- */
.ln-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.ln-feature-card {
    background: var(--rd-surface);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    padding: 32px 28px;
    transition: transform .2s, box-shadow .2s;
}
.ln-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rd-shadow-lg);
}
.ln-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rd-primary), var(--rd-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ln-feature-icon svg { width: 24px; height: 24px; color: #fff; }
.ln-feature-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rd-primary), var(--rd-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(79,70,229,.25);
}
.ln-feature-icon-circle svg { width: 24px; height: 24px; color: #fff; }
.ln-feature-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.ln-feature-card p { font-size: 14px; color: var(--rd-text-muted); margin: 0; line-height: 1.6; }

/* ---------- Tariffs ---------- */
.ln-tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.ln-tariff-card {
    background: var(--rd-surface);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.ln-tariff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rd-shadow-lg);
}
.ln-tariff-card.featured {
    border-color: var(--rd-primary);
    box-shadow: 0 0 0 2px var(--rd-primary-light);
}
.ln-tariff-card.best {
    border-color: var(--rd-accent);
    box-shadow: 0 0 0 2px rgba(6,182,212,.3);
}
.ln-tariff-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rd-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
}
.ln-tariff-badge.best-badge {
    background: var(--rd-accent);
    color: #fff;
}
.ln-tariff-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.ln-tariff-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--rd-primary);
    margin: 12px 0 4px;
}
.ln-tariff-price span { font-size: 16px; font-weight: 500; color: var(--rd-text-muted); }
.ln-tariff-desc { font-size: 14px; color: var(--rd-text-muted); margin: 0 0 20px; }
.ln-tariff-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.ln-tariff-features li {
    font-size: 14px;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.ln-tariff-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
    margin-top: 1px;
}

/* ---------- FAQ ---------- */
.ln-faq-list { max-width: 800px; margin: 0 auto; }
.ln-faq-item {
    border: 1px solid var(--rd-border);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--rd-surface);
    overflow: hidden;
}
.ln-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--rd-text);
    font-family: inherit;
}
.ln-faq-q:hover { color: var(--rd-primary); }
.ln-faq-q svg {
    width: 20px;
    height: 20px;
    transition: transform .3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.ln-faq-item.open .ln-faq-q svg { transform: rotate(180deg); }
.ln-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}
.ln-faq-item.open .ln-faq-a { max-height: 400px; }
.ln-faq-a-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--rd-text-muted);
    line-height: 1.6;
}

/* ---------- CTA Banner ---------- */
.ln-cta {
    background: var(--rd-gradient);
    padding: 64px 24px;
    text-align: center;
    color: #fff;
}
.ln-cta h2 { font-size: 32px; font-weight: 800; margin: 0 0 16px; }
.ln-cta p { font-size: 18px; opacity: .9; margin: 0 0 32px; }

/* ---------- Footer ---------- */
.ln-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 24px 32px;
}
.ln-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.ln-footer-brand { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ln-footer-brand span { color: var(--rd-accent); }
.ln-footer p { font-size: 14px; line-height: 1.6; margin: 0; }
.ln-footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .5px; }
.ln-footer ul { list-style: none; padding: 0; margin: 0; }
.ln-footer ul li { margin-bottom: 8px; }
.ln-footer ul a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: color .2s; }
.ln-footer ul a:hover { color: #fff; }
.ln-footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 13px;
}

/* ---------- Mobile ---------- */
.ln-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
}
.ln-mobile-menu.open { display: flex; }
.ln-mobile-menu a {
    font-size: 18px;
    font-weight: 600;
    color: var(--rd-text);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--rd-border);
}

@media (max-width: 768px) {
    .ln-nav-links, .ln-nav-actions { display: none; }
    .ln-burger { display: block; }

    .ln-hero { padding: 120px 20px 60px; }
    .ln-hero h1 { font-size: 32px; }
    .ln-hero-price-badge { width: 90px; height: 90px; line-height: 90px; font-size: 17px; }
    .ln-hero-rotating { height: 48px; }
    .ln-hero-rotating-text { font-size: 16px; }

    .ln-mp-grid { grid-template-columns: 1fr; }

    .ln-section-title { font-size: 28px; }
    .ln-section-subtitle { font-size: 16px; }

    .ln-features-grid { grid-template-columns: 1fr; }
    .ln-tariffs-grid { grid-template-columns: 1fr; }

    .ln-footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ln-mp-grid { grid-template-columns: repeat(3, 1fr); }
    .ln-features-grid { grid-template-columns: repeat(2, 1fr); }
    .ln-tariffs-grid { grid-template-columns: repeat(2, 1fr); }
}
