/* -----------------------------------------
   GENERIC PAGE HEROES (for inner pages)
----------------------------------------- */

.page-hero {
    padding: 3rem 0 2.5rem;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.page-hero-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-strong);
    margin-bottom: 0.5rem;
}

.page-hero-title {
    margin: 0 0 0.8rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.page-hero-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 30rem;
}

.page-hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.page-hero-badge {
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(209, 213, 219, 0.9);
}

.page-hero-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.20);
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.18), #e5e7eb);
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 260ms ease-out;
}

.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.45),
            rgba(15, 23, 42, 0.05));
    mix-blend-mode: soft-light;
}

.page-hero-media:hover img {
    transform: scale(1.08);
}

/* -----------------------------------------
   ABOUT PAGE
----------------------------------------- */

.section-about-grid {
    padding: 1.5rem 0 3.5rem;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
}

.about-block {
    border-radius: 22px;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.about-block h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.about-block p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.about-pill {
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(240, 253, 244, 0.96);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #15803d;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.about-metric {
    border-radius: 16px;
    padding: 0.7rem 0.8rem;
    background: linear-gradient(135deg,
            rgba(240, 253, 244, 0.96),
            rgba(224, 242, 254, 0.96));
    border: 1px solid rgba(209, 213, 219, 0.9);
    font-size: 0.82rem;
}

.about-metric strong {
    display: block;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1rem;
    margin-bottom: 0.1rem;
    color: var(--text-main);
}

/* -----------------------------------------
   CONTACT PAGE
----------------------------------------- */

.section-contact-layout {
    padding: 2.5rem 0 3.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-card {
    border-radius: 22px;
    padding: 1.4rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.contact-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.contact-grid strong {
    display: block;
    color: var(--text-main);
}

/* Map / illustration placeholder */
.contact-map {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 220px;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.20), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.18), transparent 60%),
        #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3);
    color: #e5e7eb;
    padding: 1.1rem 1.3rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 20px;
}

.contact-map-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.8;
}

.contact-map-main {
    font-size: 0.95rem;
    font-weight: 500;
}

/* contact form */
.contact-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.84rem;
}

.form-field label {
    color: var(--text-main);
    font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.95);
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    transition:
        border-color 160ms ease-out,
        box-shadow 160ms ease-out,
        background 160ms ease-out;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
    background: #ffffff;
}

.form-field textarea {
    min-height: 90px;
    resize: vertical;
}

/* -----------------------------------------
   DEMO PAGE
----------------------------------------- */

.section-demo {
    padding: 3rem 0 3.5rem;
}

.demo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.05fr);
    gap: 2rem;
}

.demo-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.7rem;
}

.demo-side-card {
    border-radius: 22px;
    padding: 1.3rem 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    font-size: 0.86rem;
    color: var(--text-muted);
}

.demo-side-card h3 {
    margin: 0 0 0.6rem;
    font-size: 0.96rem;
}

.demo-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.demo-bullets li::before {
    content: "• ";
    color: #16a34a;
}

/* -----------------------------------------
   LEGAL PAGES (TERMS / PRIVACY / REFUND)
----------------------------------------- */

.section-legal {
    padding: 2.5rem 0 3rem;
}

.legal-inner {
    max-width: 760px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 1.6rem;
}

.legal-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-strong);
    margin-bottom: 0.5rem;
}

.legal-title {
    margin: 0 0 0.6rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.legal-intro {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.legal-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legal-item {
    border-radius: 16px;
    border: 1px solid rgba(209, 213, 219, 0.95);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    padding: 0.85rem 1rem;
}

.legal-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.legal-item summary::-webkit-details-marker {
    display: none;
}

.legal-item-icon {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 160ms ease-out;
}

.legal-item[open] .legal-item-icon {
    transform: rotate(45deg);
}

.legal-body {
    margin-top: 0.5rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* -----------------------------------------
   RESOURCES HUB
----------------------------------------- */

.section-resources {
    padding: 3rem 0 3.5rem;
}

.resources-header {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.resource-card {
    border-radius: 20px;
    padding: 1.1rem 1.1rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
    transition:
        transform 180ms ease-out,
        box-shadow 180ms ease-out,
        border-color 180ms ease-out;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
    border-color: rgba(59, 130, 246, 0.9);
}

.resource-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-strong);
}

.resource-title {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-main);
}

.resource-text {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.resource-meta {
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* -----------------------------------------
   FEATURES PAGE
----------------------------------------- */

.section-features {
    padding: 3rem 0 3.5rem;
}

.features-header {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.feature-item {
    border-radius: 20px;
    padding: 1.1rem 1.15rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: radial-gradient(circle at 0 0, rgba(0, 188, 212, 0.2), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.9);
    margin-bottom: 0.6rem;
}

.feature-title {
    margin: 0 0 0.4rem;
    font-size: 0.96rem;
    font-weight: 600;
}

.feature-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.feature-pill {
    font-size: 0.78rem;
    color: #15803d;
}

/* -----------------------------------------
   BRAND GUIDELINES PAGE
----------------------------------------- */

.section-brand {
    padding: 3rem 0 3.5rem;
}

.brand-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.8rem;
}

.brand-swatch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.brand-swatch {
    border-radius: 16px;
    padding: 0.7rem 0.8rem;
    color: #0f172a;
    font-size: 0.8rem;
    background: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.8);
}

.brand-swatch strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.brand-typography {
    border-radius: 20px;
    padding: 1.1rem 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    font-size: 0.85rem;
}

.brand-typography h3 {
    margin: 0 0 0.6rem;
}

.brand-typography-sample {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.brand-dos-donts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.brand-do,
.brand-dont {
    border-radius: 18px;
    padding: 0.9rem 1rem;
    font-size: 0.84rem;
}

.brand-do {
    background: rgba(240, 253, 244, 0.98);
    border: 1px solid rgba(34, 197, 94, 0.6);
}

.brand-dont {
    background: rgba(254, 242, 242, 0.98);
    border: 1px solid rgba(248, 113, 113, 0.7);
}

/* -----------------------------------------
   RESPONSIVE ADJUSTMENTS
----------------------------------------- */

@media (max-width: 960px) {

    .page-hero-inner,
    .about-layout,
    .contact-layout,
    .demo-layout,
    .brand-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-hero-media {
        margin-top: 1rem;
    }

    .resources-grid,
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {

    .resources-grid,
    .features-grid,
    .brand-swatch-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .brand-dos-donts {
        grid-template-columns: minmax(0, 1fr);
    }
}