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

/* ===== ROOT ===== */
:root {
    --bg: #f8f4ef;
    --bg-soft: #fcfaf7;
    --white: #ffffff;
    --text: #4f5b57;
    --text-dark: #2f3a36;
    --sage: #b8cfc2;
    --sage-deep: #6f8f82;
    --sage-light: #dfe9e3;
    --sage-tint: #eef4f0;
    --blush: #efe6df;
    --cream: #f7f1eb;
    --border: #e6e1dc;
    --shadow: 0 20px 40px rgba(31, 41, 36, 0.08);
    --shadow-soft: 0 10px 25px rgba(31, 41, 36, 0.05);
    --shadow-premium: 0 24px 60px rgba(111, 143, 130, 0.12);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1200px;
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #fcfaf7, #f3ede7);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    width: 100%;
    overflow-x: hidden;
}

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

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

ul,
ol {
    padding-left: 20px;
}

main {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

section {
    width: 100%;
    max-width: 100%;
}

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

::selection {
    background: rgba(111, 143, 130, 0.18);
}

/* ===== LAYOUT ===== */
.container {
    width: min(var(--max-width), calc(100% - 40px));
    max-width: 100%;
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

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

.section {
    padding: 72px 0;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 14px;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 16px;
}

.section-tag,
.mini-tag,
.eyebrow {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.section-tag,
.eyebrow {
    color: var(--sage-deep);
    margin-bottom: 12px;
}

.eyebrow {
    font-size: 0.92rem;
}

.mini-tag {
    font-size: 0.8rem;
    color: var(--sage-deep);
    background: linear-gradient(to right, var(--sage-light), var(--sage-tint));
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    box-shadow: inset 0 0 0 1px rgba(111, 143, 130, 0.08);
}

.text-link {
    color: var(--sage-deep);
    font-weight: 600;
}

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

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    overflow: visible;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 225, 220, 0.8);
}

.site-header .container {
    width: min(var(--max-width), calc(100% - 40px));
    max-width: 100%;
    margin: 0 auto;
}

.header-wrap {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

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

.logo-img {
    height: 58px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.site-nav a {
    color: var(--text-dark);
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--sage-deep);
    border-radius: 999px;
    transition: width 0.22s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a.active-nav {
    color: var(--sage-deep);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav a.active-nav::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.header-cta {
    flex: 0 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sage-deep), #5f7f73);
    color: #ffffff;
    font-weight: 600;
    border: 1px solid var(--sage-deep);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease;
    box-shadow: 0 10px 22px rgba(111, 143, 130, 0.18);
    position: relative;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(111, 143, 130, 0.24);
    color: #ffffff;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(111, 143, 130, 0.18);
}

.btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(111, 143, 130, 0.16),
        0 18px 32px rgba(111, 143, 130, 0.22);
}

.btn-outline {
    background: transparent;
    color: var(--sage-deep);
    border: 1px solid var(--sage-deep);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(111, 143, 130, 0.06);
    color: var(--sage-deep);
    box-shadow: var(--shadow-soft);
}

.btn-small {
    padding: 10px 18px;
    font-size: 0.92rem;
}

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

/* ===== HERO ===== */
.hero {
    padding: 78px 0 68px;
    width: 100%;
    max-width: 100%;
}

.premium-hero {
    background:
        radial-gradient(circle at top right, rgba(184, 207, 194, 0.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(239, 230, 223, 0.45), transparent 28%),
        linear-gradient(to bottom, #fcfaf7, #f7f1eb);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.hero-text {
    min-width: 0;
}

.hero-text h1 {
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.03rem;
    max-width: 660px;
    margin-bottom: 22px;
    line-height: 1.7;
}

.hero-points {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.point-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(230, 225, 220, 0.9);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(6px);
    min-width: 0;
}

.point-card strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-image-card img {
    width: 100%;
    max-width: 100%;
    min-height: 420px;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.premium-hero-card {
    padding-bottom: 30px;
    width: 100%;
    max-width: 100%;
}

.floating-app-card {
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    max-width: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-premium);
}

.floating-app-card h3 {
    margin-top: 2px;
    margin-bottom: 8px;
}

/* ===== APP STRIP ===== */
.app-strip {
    padding-top: 18px;
}

.app-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.app-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

.app-pill span {
    font-size: 1.35rem;
    line-height: 1;
}

.app-pill strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.app-pill p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== SECTION HEADERS ===== */
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.how-it-works-intro {
    margin-bottom: 30px;
}

.intro-second-paragraph,
.trusted-support-text {
    margin-bottom: 0;
}

/* ===== CARDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.card,
.guide-card,
.premium-guide-card,
.dashboard-card,
.download-card,
.checkin-card {
    background: linear-gradient(to bottom, #ffffff, #fcfaf8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.card::before,
.guide-card::before,
.premium-guide-card::before,
.dashboard-card::before,
.download-card::before,
.checkin-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(184, 207, 194, 0.08),
            rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover,
.guide-card:hover,
.premium-guide-card:hover,
.dashboard-card:hover,
.download-card:hover,
.checkin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(31, 41, 36, 0.12);
    border-color: #d8d2cb;
}

.card:hover::before,
.guide-card:hover::before,
.premium-guide-card:hover::before,
.dashboard-card:hover::before,
.download-card:hover::before,
.checkin-card:hover::before {
    opacity: 1;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 22px;
    min-width: 0;
}

.card-content .btn,
.card-content .text-link {
    margin-top: 8px;
}

.guide-card h3,
.card h3,
.premium-guide-card h3,
.dashboard-card h3,
.download-card h3,
.checkin-card h3 {
    margin-bottom: 8px;
}

.soft-card {
    background: linear-gradient(to bottom right, #ffffff, #f7f1eb);
}

.special-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

/* ===== GUIDE CARD ALIGNMENT FIX ===== */
.guide-card,
.premium-guide-card,
.dashboard-card,
.download-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.guide-card .card-content,
.premium-guide-card .card-content,
.dashboard-card .card-content,
.download-card .card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guide-card .card-content .mini-tag,
.premium-guide-card .card-content .mini-tag,
.dashboard-card .card-content .mini-tag,
.download-card .card-content .mini-tag {
    align-self: flex-start;
}

.guide-card .card-content p,
.premium-guide-card .card-content p,
.dashboard-card .card-content p,
.download-card .card-content p {
    margin-bottom: 18px;
}

.guide-card .btn,
.premium-guide-card .btn,
.dashboard-card .btn,
.download-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ===== MEMBERS / PREMIUM SECTIONS ===== */
.members-preview {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.18));
}

.premium-members-section {
    background:
        radial-gradient(circle at top left, rgba(184, 207, 194, 0.18), transparent 28%),
        linear-gradient(to bottom, #f8f4ef, #f6efe8);
}

.members-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.members-text {
    min-width: 0;
}

.members-text p:last-of-type {
    margin-bottom: 20px;
}

.feature-list {
    margin: 20px 0 26px;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 10px;
}

.members-box {
    display: grid;
    gap: 18px;
}

.member-mini-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

/* ===== AUDIO ===== */
.audio-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 26px;
    min-width: 0;
    max-width: 100%;
}

.audio-text {
    min-width: 0;
}

.audio-text p {
    margin-bottom: 0;
}

.audio-player-card {
    background: linear-gradient(to bottom, #ffffff, #fcfaf8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    min-width: 0;
    max-width: 100%;
}

.audio-player-card p:last-of-type {
    margin-bottom: 16px;
}

.homepage-audio-card audio,
.audio-player-card audio {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto 0;
}

.audio-hub-hero {
    padding-bottom: 30px;
}

.audio-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.premium-audio-card {
    transition: 0.25s ease;
}

.premium-audio-card.is-playing {
    border-color: var(--sage-deep);
    box-shadow: 0 18px 40px rgba(111, 143, 130, 0.15);
}

.audio-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    min-width: 0;
}

.audio-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--sage-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.audio-meta {
    flex: 1;
    min-width: 0;
}

.audio-meta h3 {
    margin-bottom: 0;
}

.now-playing-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sage-deep);
    background: var(--sage-tint);
    border-radius: 999px;
    padding: 6px 10px;
    white-space: nowrap;
}

/* ===== FORMS / CONTACT / CHECK-IN / LOGIN ===== */
.section h1 {
    margin-bottom: 10px;
}

.card form,
.auth-card form {
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-dark);
}

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #8a928f;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--sage-deep);
    box-shadow: 0 0 0 3px rgba(111, 143, 130, 0.12);
}

textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

form .btn {
    margin-top: 18px;
    align-self: flex-start;
}

/* ===== AUTH PAGES ===== */
.auth-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    padding: 72px 0;
}

.auth-wrap {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.auth-card {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96), rgba(252, 250, 247, 0.96));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    min-width: 0;
    max-width: 100%;
}

.auth-card h1 {
    margin-bottom: 12px;
}

.auth-card>p {
    color: var(--text);
}

.auth-card .btn {
    margin-top: 22px;
    min-width: 140px;
}

.auth-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.auth-links a {
    color: var(--sage-deep);
    font-weight: 600;
}

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

.auth-message,
.auth-error,
.auth-success {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    border: 1px solid var(--border);
}

.auth-message {
    background: #f7f3ee;
    color: var(--text-dark);
}

.auth-error {
    background: #fff1f1;
    border-color: #efcaca;
    color: #8f3b3b;
}

.auth-success {
    background: #eef8f1;
    border-color: #cfe6d6;
    color: #35654b;
}

/* ===== CTA ===== */
.cta-box {
    background:
        radial-gradient(circle at top right, rgba(184, 207, 194, 0.15), transparent 30%),
        linear-gradient(to bottom right, #ffffff, #f5efe9);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 42px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 0;
    max-width: 100%;
}

/* ===== TRUSTED SUPPORT ===== */
.trusted-support-grid {
    margin-top: 28px;
}

.trusted-support-grid .card {
    text-align: left;
}

/* ===== PREMIUM PAGE POLISH ===== */
.premium-guide-card,
.dashboard-card,
.download-card,
.checkin-card {
    background: linear-gradient(to bottom, #ffffff, #fcfaf8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.premium-guide-card:hover,
.dashboard-card:hover,
.download-card:hover,
.checkin-card:hover {
    box-shadow: 0 24px 50px rgba(31, 41, 36, 0.12);
}

.guide-card,
.dashboard-card,
.download-card {
    position: relative;
}

.card-content p:last-child,
.point-card p:last-child,
.floating-app-card p:last-child,
.member-mini-card p:last-child,
.cta-box p:last-child,
.auth-card p:last-child {
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #f2ede7;
    padding: 56px 0 26px;
    margin-top: 72px;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 28px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-bottom: 12px;
}

.footer-grid ul {
    list-style: none;
    padding-left: 0;
}

.footer-grid li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: var(--text);
}

.footer-grid a:hover {
    color: var(--sage-deep);
}

.footer-note {
    border-top: 1px solid rgba(79, 91, 87, 0.1);
    padding-top: 22px;
    margin-top: 8px;
}

.footer-note p,
.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: 18px;
}

/* ===== BLOG CTA ===== */
.blog-cta-space {
    justify-content: center;
    margin-top: 22px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: none;
    max-width: calc(100% - 40px);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-card {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
    border-radius: 22px;
    padding: 1.25rem 1.25rem 1.1rem;
    backdrop-filter: blur(8px);
}

.cookie-banner-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.cookie-banner-text h3 {
    margin: 0 0 0.45rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cookie-banner-link {
    color: var(--sage-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-settings-btn {
    background: transparent;
    border: 1px solid #d8d2cc;
    color: var(--text-dark);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-settings-btn:hover {
    border-color: var(--sage-deep);
    transform: translateY(-1px);
}

.cookie-settings-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(111, 143, 130, 0.14);
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(33, 38, 35, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-card {
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    border: 1px solid var(--border);
}

.cookie-modal-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cookie-modal-card p {
    color: var(--text);
    line-height: 1.7;
}

.cookie-option {
    border: 1px solid #ece7e2;
    border-radius: 18px;
    padding: 1rem;
    margin-top: 1rem;
    background: #fcfaf7;
}

.cookie-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-option h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.cookie-option p {
    margin: 0.5rem 0 0;
    font-size: 0.94rem;
}

.cookie-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.cookie-switch input {
    transform: scale(1.15);
    width: auto;
    padding: 0;
}

.cookie-switch.disabled {
    opacity: 0.7;
}

.cookie-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

    .hero-grid,
    .members-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-card,
    .premium-hero-card {
        width: 100%;
        max-width: 100%;
    }

    .hero-image-card img {
        min-height: 380px;
    }

    .app-strip-grid,
    .card-grid,
    .audio-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .site-nav {
        gap: 18px;
    }

    .header-right {
        gap: 14px;
        max-width: 100%;
    }

    .header-actions .btn {
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .container,
    .site-header .container {
        width: min(var(--max-width), calc(100% - 24px));
    }

    .header-wrap {
        min-height: 78px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px;
    }

    .logo-img {
        height: 46px;
    }

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

    .header-right {
        display: none;
        width: 100%;
        max-width: 100%;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 10px 0 14px;
    }

    .header-right.active {
        display: flex;
    }

    .site-nav {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        width: 100%;
    }

    .site-nav a::after {
        bottom: -4px;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-right .btn,
    .header-actions .btn,
    .header-cta {
        width: 100%;
    }

    .hero {
        padding: 62px 0 52px;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
        max-width: 100%;
    }

    .hero-text p {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons,
    .cta-buttons,
    .auth-links,
    .cookie-banner-actions,
    .cookie-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .audio-banner,
    .section-heading,
    .cookie-banner-top,
    .cookie-option-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-app-card {
        position: static;
        left: auto;
        right: auto;
        max-width: 100%;
        margin-top: 18px;
    }

    .hero-image-card img {
        min-height: 300px;
    }

    .app-strip-grid,
    .card-grid,
    .audio-hub-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px 22px;
        border-radius: 24px;
    }

    .point-card,
    .card-content,
    .floating-app-card,
    .member-mini-card,
    .audio-player-card,
    .audio-banner,
    .auth-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .homepage-audio-card audio,
    .audio-player-card audio {
        max-width: 100%;
    }

    form .btn,
    .auth-card .btn {
        width: 100%;
    }

    .auth-section {
        padding: 48px 0;
        min-height: auto;
    }

    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: calc(100% - 28px);
    }

    .cookie-banner-card,
    .cookie-modal-card {
        padding: 1rem;
    }
}