:root {
    --page-bg: #f5f6f8;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.88);
    --border: #e6e6e6;
    --border-strong: #dcdcdc;
    --text-main: #1f2937;
    --text-soft: #6b7280;
    --primary: #4f7cff;
    --primary-hover: #3f6ae6;
    --primary-soft: #eff4ff;
    --shadow-strong: 0 16px 40px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, Arial, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(79, 124, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f5f6f8 38%, #eef2f7 100%);
}

a {
    color: inherit;
}

.header-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f7cff, #6fb9ff);
    color: white;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(79, 124, 255, 0.28);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 19px;
    font-weight: 700;
}

.brand-tagline {
    font-size: 13px;
    color: var(--text-soft);
}

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

.header-link,
.hero-link {
    text-decoration: none;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(79, 124, 255, 0.18);
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.secondary-btn {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.secondary-btn:hover {
    background: #f3f4f6;
}

.ghost-btn {
    background: var(--primary-soft);
    border: 1px solid rgba(79, 124, 255, 0.22);
    color: #3257c9;
}

.ghost-btn:hover {
    background: #e6edff;
}

.center-root {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 42px;
    flex: 1;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.hero-copy {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-strong);
}

.hero-copy::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(79, 124, 255, 0.18), transparent 72%);
    pointer-events: none;
}

.eyebrow {
    position: relative;
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    position: relative;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-text {
    position: relative;
    margin: 18px 0 0;
    max-width: 62ch;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.hero-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-panel {
    display: grid;
    gap: 16px;
}

.panel-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.panel-card-accent {
    background: linear-gradient(160deg, rgba(79, 124, 255, 0.96), rgba(111, 185, 255, 0.92));
    border: none;
    color: white;
}

.panel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.panel-card h2,
.info-card h2 {
    margin: 0 0 10px;
    font-size: 19px;
}

.panel-card p,
.info-card p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.panel-card-accent p {
    color: rgba(255, 255, 255, 0.92);
}

.panel-card strong {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
}

.panel-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.info-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.info-card {
    background: var(--surface-soft);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.footer-bar {
    background: white;
    border-top: 1px solid var(--border);
    padding: 20px 0 24px;
}

.footer-content {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.footer-text,
.footer-note,
.footer-status {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.footer-link {
    color: var(--primary-hover);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-note,
.footer-status {
    width: 100%;
    font-size: 13px;
    color: var(--text-soft);
}

.footer-status {
    min-height: 1.25rem;
}

.footer-status.is-visible {
    color: #3257c9;
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .header-bar {
        padding: 14px 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: center;
    }

    .header-actions {
        width: 100%;
    }

    .header-link {
        flex: 1;
        text-align: center;
    }

    .center-root {
        width: calc(100% - 24px);
        padding: 22px 0 28px;
    }

    .hero-copy {
        padding: 24px;
        border-radius: 16px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-link,
    .ghost-btn,
    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .panel-card,
    .info-card {
        padding: 18px;
        border-radius: 14px;
    }

    .footer-content {
        width: calc(100% - 24px);
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        gap: 12px;
        flex-wrap: wrap;
    }
}
