:root {
    --landing-padding-x: 2rem;
    --landing-max-width: 1200px;
}

@media (min-width: 768px) {
    :root {
        --landing-padding-x: 4rem;
    }
}

html body.landing-body {
    background-color: var(--color-background) !important;
    background-image: 
        radial-gradient(at 0% 0%, rgba(15, 82, 186, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(15, 82, 186, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 82, 186, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 82, 186, 0.05) 0px, transparent 50%) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    color: var(--color-text) !important;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

html body.landing-body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--landing-padding-x);
    max-width: var(--landing-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.landing-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .landing-nav {
        display: flex;
    }
}

.landing-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.landing-nav a:hover {
    color: var(--color-primary);
}

.hero {
    padding: 4rem var(--landing-padding-x) 2rem;
    text-align: center;
    max-width: var(--landing-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    max-width: 800px;
    margin: 0;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 82, 186, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--color-surface);
    border-color: var(--color-border-strong);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__image {
    width: 100%;
    margin-top: 3rem;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
    background: var(--color-surface);
}

.hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: 5rem var(--landing-padding-x);
    max-width: var(--landing-max-width);
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section__subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-large);
    border: 1px solid var(--color-border);
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.integrations-marquee {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.7;
    margin-top: 2rem;
}

.integration-logo {
    height: 40px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.integration-logo:hover {
    filter: grayscale(0%);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-answer {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.landing-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 4rem var(--landing-padding-x);
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--landing-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    max-width: var(--landing-max-width);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
