:root {
    --primary: #2563eb;
    --primary-light: #dbeafe;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --card-border: rgba(15, 23, 42, 0.08);
    --success: #0ea5e9;
    --warning: #f59e0b;
    --gradient: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: inherit;
}

a {
    text-decoration: none;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
}

.landing-main {
    padding-top: 5rem;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient);
    color: white;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.2), transparent 35%);
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.hero-list span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    align-items: center;
    justify-content: center;
}

.hero-preview {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.hero-preview img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

.btn-primary-gradient {
    background: white;
    color: var(--primary);
    font-weight: 600;
    border: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

.flash-message {
    max-width: 640px;
    margin: 1.5rem auto 0;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    border-radius: 20px;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.stat-card h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--primary);
}

.stat-card p {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
}

.feature-card,
.step-card,
.testimonial-card,
.cta-card {
    border-radius: 24px;
    background: white;
    border: 1px solid var(--card-border);
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.step-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.icon-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.icon-success {
    background: #dcfce7;
    color: #22c55e;
}

.icon-warning {
    background: #fef3c7;
    color: var(--warning);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 0.35rem;
    position: relative;
}

.timeline-dot::after {
    content: "";
    position: absolute;
    width: 2px;
    height: calc(100% + 0.75rem);
    background: rgba(37, 99, 235, 0.25);
    left: 50%;
    transform: translateX(-50%);
    top: 14px;
}

.timeline-item:last-child .timeline-dot::after {
    display: none;
}

.install-panel {
    display: grid;
    gap: 2rem;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    background: white;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.install-intro {
    max-width: 720px;
}

.install-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 0.8rem;
    margin-bottom: 0.9rem;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.install-card {
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: #f8fafc;
    padding: 1.25rem;
}

.install-card-label {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.install-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.install-card ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.install-card li + li {
    margin-top: 0.45rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: var(--text-dark);
}

.cta-card {
    text-align: center;
    background: var(--gradient);
    color: white;
    box-shadow: 0 35px 80px rgba(37, 99, 235, 0.35);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer {
    background: #0f172a;
    color: rgba(248, 250, 252, 0.75);
    padding: 1.5rem 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
}

.footer-copy {
    min-width: 0;
}

.footer-copy span {
    display: block;
    color: rgba(248, 250, 252, 0.88);
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.site-footer a {
    color: inherit;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: white;
}

@media (max-width: 991px) {
    .hero-section {
        border-radius: 0 0 32px 32px;
    }

    .hero-preview {
        margin-top: 2rem;
    }

    .install-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.1rem;
    }

    .hero-list li {
        font-size: 0.95rem;
    }

    .feature-card,
    .step-card,
    .testimonial-card,
    .install-card {
        padding: 1.5rem;
    }

    .install-panel {
        border-radius: 18px;
    }

    .site-footer {
        padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
    }

    .footer-inner {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 1.25rem;
    }

    .footer-copy {
        text-align: left;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .footer-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0.55rem 0.75rem;
        border: 1px solid rgba(148, 163, 184, 0.26);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
        text-align: center;
    }
}
