:root {
    --primary: #1f5eff;
    --primary-dark: #1647c5;
    --primary-light: #6ea0ff;
    --secondary: #5d5fef;
    --accent: #00bcd4;
    --text: #0f172a;
    --text-light: #475569;
    --background: #ffffff;
    --background-alt: #f7f9fc;
    --border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.16);
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.75rem;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.site-header,
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav,
nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}

.logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    margin-left: 0.5rem;
}

.nav-cta:not(.btn) {
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid var(--border);
    padding: 0.2rem;
    border-radius: 999px;
    background: var(--background);
}

.language-link {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.language-link:hover {
    color: var(--primary);
}

.language-link.active {
    background: var(--gradient-primary);
    color: #fff;
}

.language-more {
    position: relative;
    display: inline-flex;
}

.language-more-toggle {
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    cursor: pointer;
}

.language-more-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    display: none;
    min-width: 160px;
    z-index: 10;
}

.language-more-dropdown.active {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.language-more-option {
    font-size: 0.8rem;
    text-transform: none;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    color: var(--text);
}

.language-more-option:hover {
    background: var(--background-alt);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-secondary {
    background: var(--background);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-tertiary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.hero {
    padding: 6rem 1.5rem 5rem;
    background: radial-gradient(circle at top, rgba(93, 95, 239, 0.15), rgba(255, 255, 255, 0));
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(31, 94, 255, 0.12);
    font-weight: 600;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 1rem 0 1.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--background);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 360px;
}

.visual-header {
    font-weight: 700;
    font-size: 1.2rem;
}

.visual-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.visual-badge {
    background: var(--background-alt);
    border-radius: 999px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    color: var(--text);
}

.visual-lines {
    display: grid;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.visual-lines span {
    height: 6px;
    border-radius: 999px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.visual-lines span:nth-child(2) {
    width: 80%;
}

.visual-lines span:nth-child(3) {
    width: 60%;
}

.visual-footer {
    font-size: 0.85rem;
    color: var(--text-light);
}

.section {
    padding: 5rem 1.5rem;
}

.section-alt {
    background: var(--background-alt);
}

.section-header {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light);
    font-weight: 600;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 0.6rem 0 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.cards-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card,
.model-card,
.tech-card,
.pricing-card,
.highlight-card,
.stat-card {
    background: var(--background);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.model-card:hover,
.tech-card:hover,
.pricing-card:hover,
.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(31, 94, 255, 0.12);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(93, 95, 239, 0.12);
    color: var(--primary);
    margin-bottom: 1rem;
}

.card-tagline {
    font-weight: 600;
    margin: 0.3rem 0 0.5rem;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.95rem;
}

.model-card {
    text-align: left;
}

.model-provider {
    display: inline-flex;
    margin-top: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.providers {
    max-width: var(--max-width);
    margin: 2.5rem auto 0;
    text-align: center;
}

.providers-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.provider-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.provider-badge {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    color: var(--text);
}

.providers-note {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tech-card i {
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

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

.highlight-card i {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

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

.stat-card {
    text-align: center;
    background: var(--background);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.heritage-stats {
    margin-bottom: 2rem;
}

.heritage-timeline {
    position: relative;
    margin-top: 1.5rem;
    padding-left: 1.75rem;
    border-left: 2px solid var(--border);
    display: grid;
    gap: 1rem;
}

.heritage-timeline .timeline-item {
    position: relative;
}

.heritage-timeline .timeline-item::before {
    content: "";
    position: absolute;
    left: -2.3rem;
    top: 1.4rem;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.12);
}

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

.timeline-item {
    background: var(--background);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 1.5rem;
}

.traction-metrics {
    margin-bottom: 2rem;
}

.traction-context {
    max-width: 860px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--text-light);
}

.traction-callout {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-sm);
    background: rgba(31, 94, 255, 0.08);
    border: 1px solid rgba(31, 94, 255, 0.18);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.traction-callout p {
    margin: 0;
    color: var(--text-light);
}

.traction-callout a {
    color: var(--primary);
    font-weight: 600;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-price {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0.5rem 0 1.5rem;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--background);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.contact-section {
    background: var(--background);
}

.contact-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.contact-form label {
    font-weight: 600;
}

.contact-info {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.site-footer,
footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3rem 1.5rem 2rem;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 0.75rem;
}

.footer-column h4 {
    margin-bottom: 0.75rem;
    color: #fff;
}

.footer-column a {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5f5;
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}

.legal-content {
    max-width: 900px;
    margin: 3rem auto 4rem;
    padding: 0 1.5rem;
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-text p,
.legal-text li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

@media (max-width: 960px) {
    .nav-links.nav-collapsible {
        position: absolute;
        top: 100%;
        right: 1.5rem;
        left: 1.5rem;
        background: var(--background);
        border-radius: 1rem;
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        box-shadow: var(--shadow-md);
        display: none;
    }

    .nav-links.nav-collapsible.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 1.5rem 4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .feature-list li,
html[dir="rtl"] .contact-info p {
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-switcher {
    direction: ltr;
}
