@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/montserrat/montserrat-400.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/montserrat/montserrat-600.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/montserrat/montserrat-700.ttf") format("truetype");
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/lato/lato-400.ttf") format("truetype");
}

@font-face {
    font-family: Lato;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/lato/lato-700.ttf") format("truetype");
}

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

:root {
    color-scheme: light;
    --primary: #82ca9c;
    --primary-dark: #6ab889;
    --text: #2c3e50;
    --text-light: #555;
    --text-muted: #777;
    --bg-light: #f8f9fa;
    --white: #fff;
    --line: #d7dee5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text-light);
    font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-family: Montserrat, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: var(--shadow);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

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

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

.nav-checkbox,
.nav-toggle-label {
    display: none;
}

.nav-toggle-label {
    cursor: pointer;
    padding: 5px;
}

.nav-toggle-label span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

.site-main {
    min-height: calc(100vh - 232px);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82vh;
    padding: 118px 20px 72px;
    text-align: center;
    background-color: #f5f7fa;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.72) 100%),
        url("/assets/images/club-communication.png");
    background-position: center, right 7% center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, min(46vw, 560px) auto;
}

.hero-inner {
    max-width: 840px;
}

.hero-kicker,
.partner-label {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-family: Montserrat, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 820px;
    margin: 0 auto 20px;
    color: var(--text);
    font-family: Montserrat, sans-serif;
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.25;
}

.hero p {
    max-width: 680px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

.btn,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    background: var(--primary);
    color: var(--white);
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover,
.button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary,
.button.secondary {
    border-color: var(--line);
    background: var(--white);
    color: var(--text);
}

.btn-secondary:hover,
.button.secondary:hover {
    background: #edf2f5;
}

section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2,
.subscription-banner h2,
.panel h1 {
    margin-bottom: 15px;
    color: var(--text);
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

.section-title h2,
.subscription-banner h2 {
    font-size: 1.8rem;
}

.section-title p {
    max-width: 640px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.feature-card {
    min-width: 0;
    padding: 30px 24px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card-icon,
.security-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--primary);
}

.feature-card h3,
.security-card h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-family: Montserrat, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
}

.feature-card p,
.security-card p,
.subscription-banner p {
    color: var(--text-light);
    font-size: 0.96rem;
}

.bg-light {
    background: var(--bg-light);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.security-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.security-card .security-icon {
    margin-bottom: 0;
}

.subscription-banner {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.subscription-banner > div {
    max-width: 680px;
}

.panel {
    width: min(760px, calc(100% - 40px));
    margin: 128px auto 72px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.panel h1 {
    font-size: 2rem;
}

.panel p {
    margin-bottom: 16px;
}

.muted {
    color: var(--text-muted);
}

.field {
    display: grid;
    gap: 6px;
    margin: 18px 0;
}

label {
    color: var(--text);
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font: inherit;
}

input:focus {
    border-color: var(--primary);
    outline: 2px solid rgba(130, 202, 156, 0.25);
}

.site-footer {
    padding: 38px 0;
    background: #2c3e50;
    color: #bdc3c7;
}

.footer-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}

.site-footer strong {
    display: block;
    margin-bottom: 6px;
    color: #ecf0f1;
    font-family: Montserrat, sans-serif;
}

.site-footer p {
    max-width: 520px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
}

.footer-links a {
    color: #ecf0f1;
    font-weight: 700;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: #b0bac3;
}

@media (max-width: 860px) {
    .nav-toggle-label {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 10px 20px 16px;
        border-top: 1px solid #eee;
        background: var(--white);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
    }

    .nav-checkbox:checked ~ .nav-links {
        display: flex;
    }

    .features-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .subscription-banner,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .nav-brand {
        font-size: 1.05rem;
    }

    .hero {
        min-height: 76vh;
        padding-top: 104px;
        padding-bottom: 170px;
        background-position: center, center bottom 28px;
        background-size: cover, 72vw auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 58px 0;
    }

    .hero-actions,
    .actions,
    .btn,
    .button {
        width: 100%;
    }

    .panel,
    .subscription-banner {
        padding: 26px;
    }
}
