:root {
    --primary: #005cbb;
    --primary-dark: #abc7ff;
    --secondary: #22223b;
    --accent: #ffe066;
    --bg-light: #f8f9fa;
    --bg-dark: #181825;
    --text-light: #22223b;
    --text-dark: #f8f9fa;
    --card-light: #fff;
    --card-dark: #23233a;
    --border: #e9ecef;
    --footer-bg-light: #f1f1f6;
    --footer-bg-dark: #191927;
}

.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}
html {
    &[lang*="en"] {
        a,
        p,
        h1,
        h2,
        h3,
        h4,
        li,
        img,
        span,
        strong,
        small,
        .subtitle {
            &:not([lang^="en"]) {
                display: none;
            }
        }
    }
    &[lang*="es"] {
        a,
        p,
        h1,
        h2,
        h3,
        h4,
        span,
        li,
        img,
        strong,
        small,
        .subtitle {
            &:not([lang^="es"]) {
                display: none;
            }
        }
    }
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg-light);
    color: var(--text-light);
    transition:
        background 0.3s,
        color 0.3s;
    width: 100vw;
}
body {
    min-height: 100vh;
}
body.dark {
    background: var(--bg-dark);
    color: var(--text-dark);
}
a {
    color: var(--primary);
}

body.dark a {
    color: var(--primary-dark);
}

.container {
    width: calc(100% - 32px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}
.logo {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 1px;
    img {
        max-width: 100%;
    }
}

.logo.light > img {
    height: 60px;
}
.logo.dark > img {
    height: 60px;
}

body {
    .logo {
        &.light {
            display: block;
        }
        &.dark {
            display: none;
        }
    }
    &.dark {
        .logo {
            &.light {
                display: none;
            }
            &.dark {
                display: block;
            }
        }
    }
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary);
    outline: none;
    height: 24px !important;
    width: 24px !important;
    em {
        height: 24px !important;
        width: 24px !important;
    }
}

.icon-why {
    height: 24px;
    width: 24px;
}

body.dark .theme-toggle {
    color: var(--primary-dark);
}

h1 {
    font-size: 2.7rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.1;
}
h2 {
    font-size: 2rem;
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.15rem;
    margin-bottom: 36px;
    color: #43436c;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    span {
        color: var(--primary);
        font-weight: 600;
    }
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 32px;
    margin-top: 36px;
    width: 100%;
    &.examples {
        display: flex;
        flex-direction: column;
    }
}
.feature-card {
    background: var(--card-light);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px 0 rgba(108, 71, 255, 0.07);
    padding: 28px 22px 22px 22px;
    transition:
        background 0.3s,
        color 0.3s;
    display: flex;
    flex-direction: column;
    p {
        flex: 1;
    }
    &.highlight-card {
        .highlight-card__content {
            display: flex;
            flex-direction: row;
            gap: 12px;
            justify-content: space-around;
        }
        .highlight-card__text {
            max-width: 40%;
        }
        .highlight-card__image {
            max-width: 100%;
            img {
                width: 100%;
            }
        }
    }
}
body.dark .feature-card {
    background: var(--card-dark);
    border-color: #29294d;
}
.feature-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.22rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-card p {
    margin: 0;
    color: inherit;
    font-size: 1rem;
}
.cta {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    align-items: center;
}
.cta .btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px 0 rgba(108, 71, 255, 0.15);
    text-decoration: none;
    display: inline-block;
}
.cta .btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.ai-logos {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    opacity: 0.8;
}
.ai-logos img {
    height: 24px;
    width: 24px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    padding: 2px;
}
/* Footer Styles */
footer {
    margin-top: 64px;
    padding: 40px 0 0 0;
    background: var(--footer-bg-light);
    color: var(--secondary);
    border-top: 1px solid var(--border);
    transition:
        background 0.3s,
        color 0.3s;
}
body.dark footer {
    background: var(--footer-bg-dark);
    color: var(--text-dark);
    border-top: 1px solid #29294d;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 24px 16px;
}
.footer-section {
    min-width: 180px;
    flex: 1;
}
.footer-section h4 {
    font-size: 1.08rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section ul li {
    margin-bottom: 7px;
}
.footer-section ul li a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
    transition:
        color 0.2s,
        opacity 0.2s;
}
.footer-section ul li a:hover {
    color: var(--primary);
    opacity: 1;
}
.footer-contact {
    font-size: 1rem;
    margin-top: 10px;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 16px;
    text-align: center;
    font-size: 0.97rem;
    color: #888;
    background: transparent;
}
body {
    &.dark {
        .subtitle {
            color: var(--text-dark);
            span {
                color: var(--primary-dark);
            }
        }
        .cta .btn {
            background: var(--primary-dark);
            color: #1a1b1f;
        }
        .cta .btn.secondary {
            background: transparent;
            color: var(--primary-dark);
            border: 2px solid var(--primary-dark);
        }

        .feature-card h3 {
            color: var(--primary-dark);
        }

        .footer-section h4 {
            color: var(--primary-dark);
        }
    }
}

body.dark .footer-bottom {
    border-top: 1px solid #29294d;
    color: #b6b6c9;
}
@media (max-width: 900px) {
    .highlight-card {
        .highlight-card__content {
            flex-direction: column !important;
        }
        .highlight-card__text {
            max-width: 100% !important;
        }
        .highlight-card__image {
            img {
                height: auto !important;
            }
        }
    }
    .highlight-card.reverse {
        .highlight-card__content {
            flex-direction: column-reverse !important;
        }
    }
    .footer-content {
        flex-direction: column;
        gap: 18px;
    }
    .footer-section {
        min-width: 0;
    }
}
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 16px 8px;
    }
    .footer-content {
        padding: 0 8px 24px 8px;
    }
}

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 36px 0 0 0;
}
.pricing-card {
    background: var(--card-light);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(108, 71, 255, 0.08);
    padding: 32px 24px 28px 24px;
    text-align: center;
    transition:
        background 0.3s,
        color 0.3s,
        border 0.3s;
    position: relative;
    max-width: 100%;
    width: 250px;
}
body.dark .pricing-card {
    background: var(--card-dark);
    border-color: #29294d;
}
.pricing-card.featured {
    border: 2.5px solid var(--primary);
    z-index: 1;
}
.pricing-card h3 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 1.28rem;
    font-weight: 600;
}
body.dark .pricing-card h3 {
    color: var(--primary-dark);
}
.pricing-card .price {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}
body.dark .pricing-card .price {
    color: var(--text-dark);
}
.pricing-card .price span {
    font-size: 1rem;
    color: #888;
    margin-left: 4px;
    font-weight: 400;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    color: inherit;
    font-size: 1rem;
}
.pricing-card ul li {
    margin-bottom: 10px;
    opacity: 0.92;
}
.pricing-card .btn {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 8px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}
.coming-soon-lb {
    display: flex;
    background: #ffe066;
    color: #7a5c00;
    font-weight: 600;
    font-size: 0.95em;
    padding: 4px 12px;
    border-radius: 8px;
    margin-top: 8px;
    align-items: center;
    justify-content: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 700px) {
    .logo {
        img {
            height: auto !important;
        }
    }
    .pricing-table {
        grid-template-columns: 1fr;
    }
}
