/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f7fb;
    color: #102a43;
    line-height: 1.7;
}

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

a {
    color: #1565d8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button, a {
    transition: all 0.25s ease;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

/* ===== TYPOGRAPHY ===== */
.eyebrow,
.subtitle,
.panel-tag {
    display: inline-flex;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4f6d8a;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0;
}

ul {
    margin: 1rem 0 0 1.25rem;
    padding: 0;
    list-style: disc;
}

li {
    margin-bottom: 0.85rem;
    color: #334e68;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(16, 40, 70, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.brand img {
    height: 76px;
    width: auto;
    padding: 0.2rem;
    border-radius: 16px;
    background: rgba(21, 101, 216, 0.08);
}

.brand-copy {
    display: grid;
    gap: 0.15rem;
}

.brand-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: #102a43;
    letter-spacing: -0.02em;
}

.brand {
    flex-wrap: wrap;
}

.brand-tag {
    color: #627d98;
    font-weight: 600;
    font-size: 0.95rem;
}

.brand-tag {
    color: #627d98;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.site-nav a {
    color: #334e68;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: #0c5db2;
}

.nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.55rem;
    border-radius: 999px;
    background: #1565d8;
    color: white;
    font-weight: 700;
    box-shadow: 0 18px 50px rgba(21, 101, 216, 0.14);
}

.nav-action:hover {
    background: #0f4ecb;
}

/* ===== HERO ===== */
.hero {
    padding: 5.5rem 0 4rem;
    background: linear-gradient(135deg, #102a43 0%, #0f5378 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: center;
    gap: 2.75rem;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 680px;
}

.hero-intro {
    display: flex;
    align-items: center;
    gap: 2.3rem;
}

.hero-logo {
    width: min(210px, 32vw);
    max-width: 210px;
    height: auto;
    flex-shrink: 0;
    padding: 1rem;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(10, 25, 50, 0.18);
    border: 1px solid rgba(16, 40, 70, 0.08);
    margin-top: 0;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-text {
    display: grid;
    gap: 0.8rem;
}

.hero-copy h1 {
    margin-bottom: 0.4rem;
}

.hero-lead {
    margin: 1.5rem 0 2rem;
    max-width: 560px;
    color: rgba(255,255,255,0.92);
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.cta-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.95rem 1.75rem;
}

.cta-button {
    background: #21a2d9;
    color: white;
}

.cta-button:hover {
    background: #1890b8;
}

.secondary-button {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: white;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.18);
}

.hero-panel {
    padding: 2.8rem;
    border-radius: 32px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.16);
}

.panel-tag {
    color: #b3d4f0;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

.hero-panel h2 {
    font-size: clamp(1.9rem, 2.2vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-panel p {
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    line-height: 1.85;
}

.panel-summary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
}

.panel-summary p {
    color: rgba(255,255,255,0.92);
    line-height: 1.85;
    margin: 0;
    font-size: 1rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section-header {
    display: grid;
    gap: 1rem;
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.section-features {
    background: #f7fbff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(16, 40, 70, 0.08);
    box-shadow: 0 20px 50px rgba(16, 40, 70, 0.05);
}

.feature-card h3 {
    margin-bottom: 0.85rem;
}

.feature-card p {
    color: #526582;
    margin-bottom: 1rem;
}

.feature-card ul {
    padding-left: 1.1rem;
    margin: 0;
}

.feature-card li {
    margin-bottom: 0.8rem;
    color: #334e68;
}

.section-content {
    padding-bottom: 6rem;
}

.content-panel {
    background: white;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 24px 80px rgba(16, 40, 70, 0.08);
    border: 1px solid rgba(16, 40, 70, 0.05);
}

.content-panel h2,
.content-panel h3,
.content-panel h4 {
    margin: 0 0 1.25rem;
    color: #102a43;
}

.content-panel p,
.content-panel ul,
.content-panel ol,
.content-panel blockquote {
    margin: 0 0 1.35rem;
    color: #334e68;
}

.content-panel ul,
.content-panel ol {
    padding-left: 1.25rem;
}

.content-panel li + li {
    margin-top: 0.7rem;
}

.content-panel > :first-child {
    margin-top: 0;
}

.content-panel > :last-child {
    margin-bottom: 0;
}

.content-panel > h2 + p,
.content-panel > h3 + p,
.content-panel > h4 + p {
    margin-top: 0.2rem;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 5rem 0;
}

.page-frame {
    background: white;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 24px 80px rgba(16, 40, 70, 0.08);
    border: 1px solid rgba(16, 40, 70, 0.05);
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: clamp(2.2rem, 2.6vw, 3rem);
    margin-bottom: 0.75rem;
}

.subtitle {
    color: #627d98;
    font-size: 1rem;
    max-width: 760px;
}

.page-body {
    max-width: 900px;
}

.page-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.page-body h2:first-child {
    margin-top: 0;
}

.page-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-body p {
    margin-bottom: 1.3rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0b1f34;
    color: #d8e5f3;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 2.5rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-brand-copy {
    min-width: 0;
}

.footer-brand-copy h4 {
    margin: 0 0 0.6rem;
    color: white;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.footer-brand p,
.footer-contact p {
    color: #b9c9dd;
    line-height: 1.85;
    max-width: 460px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    margin: 0;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.footer-logo img {
    width: 52px;
    height: auto;
}

.footer-contact h4,
.footer-brand h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    background: #1565d8;
    color: white;
    font-weight: 700;
    transition: background 0.25s ease;
}

.footer-button:hover {
    background: #0f4ecb;
}

.footer-bottom {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    text-align: center;
    color: #9bb2cc;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-grid,
    .footer-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;
    }
}

@media (max-width: 760px) {
    .hero-logo {
        width: min(180px, 60vw);
        max-width: 180px;
    }

    .hero-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        display: grid;
        gap: 0.9rem;
        align-items: center;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-panel {
        padding: 2rem;
        min-height: auto;
    }

    .panel-tag {
        justify-self: center;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.35rem 0;
    }

    .brand {
        width: auto;
        justify-content: flex-start;
        gap: 0.65rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tag {
        display: none;
    }

    .brand img {
        height: 42px;
        width: auto;
    }

    .contact-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.95rem 1.55rem;
        border-radius: 999px;
        background: #1565d8;
        color: white;
        font-weight: 700;
        box-shadow: 0 18px 50px rgba(21, 101, 216, 0.14);
        text-decoration: none;
        white-space: nowrap;
    }

    @media (max-width: 760px) {
        .contact-button {
            padding: 0.75rem 1.15rem;
        }
    }

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

    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand-copy {
        width: 100%;
    }

    .footer-contact {
        text-align: center;
    }

    .site-footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        font-size: 0.9rem;
    }

    .footer-button {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 680px) {
    .hero {
        padding-top: 4.5rem;
    }

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

    .hero-buttons a {
        width: 100%;
    }

    .hero-logo {
        width: min(180px, 58vw);
        max-width: 180px;
    }

    .hero-panel {
        padding: 1.75rem;
        border-radius: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-lead {
        margin: 1.2rem 0 1.75rem;
    }

    .nav-action {
        padding: 0.85rem 1.3rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .content-panel,
    .page-frame {
        padding: 2rem;
    }
}
