:root {
    --bg: #07111f;
    --panel: rgba(10, 19, 34, 0.78);
    --line: rgba(148, 163, 184, 0.16);
    --line-strong: rgba(148, 163, 184, 0.24);
    --text: #e5edf7;
    --muted: #8da0b8;
    --accent: #4fd1c5;
    --accent-2: #4f8cff;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

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

html {
    background:
        radial-gradient(circle at top left, rgba(79, 140, 255, 0.16), transparent 34%),
        radial-gradient(circle at top, rgba(79, 209, 197, 0.14), transparent 24%),
        linear-gradient(145deg, #040913 0%, #07111f 48%, #0a1628 100%);
}

body {
    min-height: 100vh;
    font-family: 'Vazir', sans-serif;
    color: var(--text);
    background: transparent;
}

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

.landing-page {
    width: min(1540px, calc(100vw - 28px));
    margin: 0 auto;
    padding: 16px 0 40px;
}

.landing-header,
.hero-shell,
.feature-section,
.info-panel {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 28px;
    border-radius: 28px;
    margin-bottom: 24px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.brand-icon-image {
    width: clamp(56px, 6vw, 84px);
    height: auto;
    display: block;
    flex: 0 0 auto;
}

.brand-badge-image {
    width: clamp(220px, 24vw, 340px);
    height: auto;
    display: block;
}

.eyebrow,
.side-label,
.section-kicker {
    color: var(--muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn,
.header-login,
.primary-btn,
.secondary-btn,
.ghost-btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 700;
    transition: 0.24s ease;
}

.lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    cursor: pointer;
}

.lang-btn.active {
    color: #04111f;
    background: linear-gradient(135deg, var(--accent), #8bf3ff);
}

.header-login,
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #04111f;
}

.secondary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.hero-shell {
    display: block;
    padding: 42px;
    border-radius: 34px;
    margin-bottom: 26px;
}

.eyebrow,
.section-kicker,
.feature-index {
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.3;
    margin: 16px 0 20px;
    max-width: 1320px;
    text-wrap: balance;
}

.hero-copy p,
.workflow-card p,
.feature-card p,
.cta-panel p {
    color: #c1d0e0;
    line-height: 2;
    font-size: 16px;
    max-width: 880px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.workflow-card {
    width: min(100%, 940px);
    margin-top: 24px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(79, 140, 255, 0.18), rgba(79, 209, 197, 0.1));
    border: 1px solid rgba(79, 209, 197, 0.2);
}

.workflow-card strong {
    display: block;
    font-size: clamp(26px, 2.4vw, 38px);
    line-height: 1.4;
    margin: 10px 0 12px;
}

.feature-section {
    padding: 30px;
    border-radius: 30px;
    margin-bottom: 26px;
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-top: 10px;
}

.feature-grid,
.split-section {
    display: grid;
    gap: 18px;
}

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

.feature-card,
.info-panel {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-index {
    color: var(--accent);
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.split-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-section.single-panel {
    grid-template-columns: minmax(0, 1fr);
}

.info-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.info-list li {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #d6e2ee;
    line-height: 1.9;
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

.info-list .lang-content.active {
    display: list-item;
}

.header-login:hover,
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.lang-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .split-section,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .landing-page {
        width: min(1540px, calc(100vw - 18px));
    }

    .landing-header {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }

    .brand-mark {
        justify-content: center;
    }

    .brand-icon-image {
        width: 58px;
    }

    .header-actions,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-shell,
    .feature-section,
    .info-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .hero-copy h1 {
        font-size: 34px;
    }
}
