* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    background: var(--bg);
    color: var(--text);
    padding-top: 60px;
}

.landing-shell {
    min-height: calc(100vh - 60px);
    background: var(--bg);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #f59e0b 55%, var(--secondary-color) 100%);
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40"%3E%3Cpath d="M40 0H0V40" fill="none" stroke="%23fff" stroke-width="1"/%3E%3C/svg%3E');
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 64px 24px 72px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-copy h1 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.06;
    margin-bottom: 16px;
}

.hero-copy p {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 22px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: var(--card-bg);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.hero-points {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 26px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.phone-wrap {
    display: flex;
    justify-content: center;
}

.phone {
    width: 280px;
    height: 500px;
    border-radius: 34px;
    background: #151515;
    padding: 8px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--tint-warning);
    display: flex;
    flex-direction: column;
}

.phone-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #075e54;
    color: white;
}

.phone-brand {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.phone-chat {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bubble {
    max-width: 85%;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    line-height: 1.45;
    color: var(--primary-color);
}

.bubble.user {
    align-self: flex-end;
    background: var(--tint-success);
}

.bubble.bot {
    align-self: flex-start;
    background: var(--card-bg);
}

.reply-card {
    margin-top: 6px;
    padding: 8px;
    border-radius: var(--radius-xs);
    background: rgba(247,137,41,0.12);
    border: 1px solid rgba(247,137,41,0.18);
}

.phone-input {
    padding: 10px 12px;
    background: var(--card-bg);
    color: var(--muted);
    font-size: 11px;
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-accent);
    margin-bottom: 10px;
}

.section-head {
    text-align: center;
    margin-bottom: 34px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.section-head p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 18px 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent, var(--primary-color)), var(--text-accent));
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--accent, var(--primary-color)), var(--accent-light, #f59e0b));
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

footer {
    background: var(--primary-bg);
    color: white;
    text-align: center;
    padding: 0 24px 32px;
}

.footer-toggle {
    background: var(--primary-accent);
    color: white;
    border: none;
    border-radius: var(--radius-xs);
    padding: 10px 16px;
    cursor: pointer;
    font: inherit;
}

#footerContent {
    display: none;
    max-width: 420px;
    margin: 16px auto 0;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.84);
    font-size: 13px;
    line-height: 1.55;
}

#footerContent a {
    color: white;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 18px 56px;
    }

    .hero-copy p,
    .section-head p {
        max-width: none;
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 50px;
    }

    .hero-copy h1 {
        font-size: 2.1rem;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .section {
        padding: 42px 14px;
    }

    .phone {
        width: 244px;
        height: 438px;
    }
}

@media (max-width: 420px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
