/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.CatoleyRiver_BodyWrapper {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #050a08;
    color: #f0fdf4;
    line-height: 1.6;
    overflow-x: hidden;
}

.CatoleyRiver_Container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Decor */
.CatoleyRiver_TopGradientBar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #052e16, #16a34a, #45FFCE, #16a34a, #052e16);
    background-size: 200% 100%;
    animation: CatoleyRiver_GlowMove 6s linear infinite;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
}

@keyframes CatoleyRiver_GlowMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Header */
.CatoleyRiver_MainHeader {
    background-color: rgba(5, 10, 8, 0.95);
    border-bottom: 1px solid #16a34a;
    padding: 15px 0;
    position: sticky;
    top: 4px;
    z-index: 1000;
}

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

.CatoleyRiver_LogoBrand {
    font-size: 28px;
    font-weight: 800;
    color: #45FFCE;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.CatoleyRiver_NavList {
    display: flex;
    list-style: none;
    gap: 25px;
}

.CatoleyRiver_NavLink {
    text-decoration: none;
    color: #f0fdf4;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.CatoleyRiver_NavLink:hover {
    color: #45FFCE;
}

/* Burger Menu (No JS) */
.CatoleyRiver_HiddenCheckbox {
    display: none;
}

.CatoleyRiver_BurgerBtn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.CatoleyRiver_BurgerBtn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #45FFCE;
    transition: 0.3s;
}

/* Hero Section */
.CatoleyRiver_HeroSection {
    padding: 100px 0 80px;
}

.CatoleyRiver_HeroGrid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.CatoleyRiver_HeroImageWrap {
    flex: 1;
    position: relative;
}

.CatoleyRiver_BlurBack {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: #16a34a;
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
}

.CatoleyRiver_MainImage {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: block;
}

.CatoleyRiver_HeroContent {
    flex: 1.2;
}

.CatoleyRiver_H1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #f0fdf4;
}

.CatoleyRiver_SubTitle {
    font-size: 20px;
    color: #45FFCE;
    margin-bottom: 25px;
}

.CatoleyRiver_Description {
    margin-bottom: 20px;
    font-size: 17px;
    color: #a3e635;
    opacity: 0.9;
}

.CatoleyRiver_CtaButton {
    display: inline-block;
    padding: 16px 40px;
    background-color: #45FFCE;
    color: #052e16;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(69, 255, 206, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
}

.CatoleyRiver_CtaButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(69, 255, 206, 0.7);
}

/* Prices */
.CatoleyRiver_PriceSection {
    padding: 80px 0;
    background-color: #08150f;
}

.CatoleyRiver_H2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #f0fdf4;
}

.CatoleyRiver_AlignCenter {
    text-align: center;
}

.CatoleyRiver_PriceGrid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.CatoleyRiver_PriceCard {
    background-color: #052e16;
    padding: 40px;
    border-radius: 20px;
    flex: 1;
    max-width: 350px;
    border: 1px solid #16a34a;
    display: flex;
    flex-direction: column;
}

.CatoleyRiver_Recommended {
    border: 2px solid #45FFCE;
    transform: scale(1.05);
    position: relative;
    background-color: #064e3b;
}

.CatoleyRiver_Badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #45FFCE;
    color: #052e16;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

.CatoleyRiver_PriceTitle {
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}

.CatoleyRiver_PriceValue {
    font-size: 32px;
    font-weight: 800;
    color: #45FFCE;
    text-align: center;
    margin-bottom: 25px;
}

.CatoleyRiver_PriceList {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.CatoleyRiver_PriceList li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.CatoleyRiver_PriceBtn {
    text-align: center;
    background: transparent;
    border: 1px solid #45FFCE;
    color: #45FFCE;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.CatoleyRiver_PriceBtn:hover {
    background: #45FFCE;
    color: #052e16;
}

/* FAQ */
.CatoleyRiver_FaqSection {
    padding: 80px 0;
}

.CatoleyRiver_FaqWrapper {
    max-width: 800px;
    margin: 0 auto;
}

.CatoleyRiver_FaqItem {
    background: #0d2a1e;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.CatoleyRiver_FaqSummary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.CatoleyRiver_FaqSummary::-webkit-details-marker {
    display: none;
}

.CatoleyRiver_Indicator::after {
    content: '+';
    font-size: 24px;
    color: #45FFCE;
}

details[open] .CatoleyRiver_Indicator::after {
    content: '-';
}

.CatoleyRiver_FaqContent {
    padding: 0 20px 20px;
    color: #86efac;
}

/* Regular Practice */
.CatoleyRiver_RegularPractice {
    padding: 80px 0;
    background-color: #050a08;
}

.CatoleyRiver_PracticeFlex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.CatoleyRiver_PracticeText {
    flex: 1;
}

.CatoleyRiver_PracticeImg {
    flex: 1;
}

.CatoleyRiver_StandardImg {
    width: 100%;
    border-radius: 20px;
}

.CatoleyRiver_CustomList {
    margin: 25px 0;
    list-style: none;
}

.CatoleyRiver_CustomList li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.CatoleyRiver_CustomList li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #45FFCE;
    font-weight: 800;
}

.CatoleyRiver_HighlightBlock {
    background: #16a34a33;
    padding: 20px;
    border-left: 4px solid #45FFCE;
    border-radius: 0 10px 10px 0;
    margin-top: 30px;
}

/* Audience */
.CatoleyRiver_AudienceSection {
    padding: 80px 0;
    background-color: #08150f;
}

.CatoleyRiver_IntroText {
    margin-bottom: 50px;
}

.CatoleyRiver_AudienceGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.CatoleyRiver_AudienceCard {
    background: rgba(22, 163, 74, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(69, 255, 206, 0.05);
    transition: background 0.3s;
}

.CatoleyRiver_AudienceCard:hover {
    background: rgba(22, 163, 74, 0.15);
}

.CatoleyRiver_CardH4 {
    color: #45FFCE;
    margin-bottom: 10px;
    font-size: 19px;
}

/* Expert Section */
.CatoleyRiver_ExpertSection {
    padding: 80px 0;
}

.CatoleyRiver_ExpertFlex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.CatoleyRiver_ExpertQuote {
    flex: 1.5;
}

.CatoleyRiver_ExpertImage {
    flex: 1;
}

.CatoleyRiver_ExpertImg {
    width: 100%;
    border-radius: 50%;
    border: 5px solid #16a34a;
}

.CatoleyRiver_QuoteLine {
    width: 50px;
    height: 4px;
    background: #45FFCE;
    margin-bottom: 20px;
}

.CatoleyRiver_QuoteText {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.4;
}

.CatoleyRiver_ExpertName {
    font-weight: 700;
    color: #45FFCE;
}

/* Extra Sections */
.CatoleyRiver_ExtraSection {
    padding: 80px 0;
}

.CatoleyRiver_BgLight { background: #0b1a14; }
.CatoleyRiver_BgDark { background: #050a08; }

.CatoleyRiver_ThreeCol {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.CatoleyRiver_TextCol { flex: 1; font-size: 16px; color: #d1fae5; }

.CatoleyRiver_CardGridTips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.CatoleyRiver_MiniCard {
    background: #11221b;
    padding: 25px;
    border-radius: 12px;
}

.CatoleyRiver_MiniCard h5 {
    color: #45FFCE;
    margin-bottom: 10px;
    font-size: 18px;
}

.CatoleyRiver_TwoColFlex {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.CatoleyRiver_FlexItem { flex: 1; }

.CatoleyRiver_MarginTop { margin-top: 40px; }

/* Form Section */
.CatoleyRiver_FormSection {
    padding: 100px 0;
    background: linear-gradient(180deg, #050a08 0%, #08150f 100%);
}

.CatoleyRiver_FormBox {
    max-width: 600px;
    margin: 0 auto;
    background: #0d2a1e;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid #16a34a;
}

.CatoleyRiver_FormIntro {
    text-align: center;
    margin-bottom: 30px;
}

.CatoleyRiver_FormGroup {
    margin-bottom: 20px;
}

.CatoleyRiver_FormGroup label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.CatoleyRiver_FormGroup input,
.CatoleyRiver_FormGroup textarea {
    width: 100%;
    padding: 12px 15px;
    background: #050a08;
    border: 1px solid #16a34a;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.CatoleyRiver_FormGroup input:focus,
.CatoleyRiver_FormGroup textarea:focus {
    border-color: #45FFCE;
}

.CatoleyRiver_CheckboxGroup {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 13px;
}

.CatoleyRiver_CheckboxGroup a {
    color: #45FFCE;
}

.CatoleyRiver_SubmitBtn {
    width: 100%;
    padding: 15px;
    background: #45FFCE;
    color: #052e16;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.CatoleyRiver_SubmitBtn:hover {
    box-shadow: 0 0 20px #45FFCE;
}

/* Footer */
.CatoleyRiver_Footer {
    background: #050a08;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid #16a34a;
}

.CatoleyRiver_Copy {
    margin-bottom: 10px;
}

.CatoleyRiver_Email {
    margin-bottom: 25px;
}

.CatoleyRiver_Email a {
    color: #45FFCE;
    text-decoration: none;
}

.CatoleyRiver_FooterLinks {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.CatoleyRiver_FooterLinks a {
    color: #86efac;
    text-decoration: none;
    font-size: 13px;
}

.CatoleyRiver_FooterLinks a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 992px) {
    .CatoleyRiver_HeroGrid, 
    .CatoleyRiver_PracticeFlex, 
    .CatoleyRiver_ExpertFlex,
    .CatoleyRiver_TwoColFlex {
        flex-direction: column;
        text-align: center;
    }

    .CatoleyRiver_HeroContent, .CatoleyRiver_PracticeText, .CatoleyRiver_ExpertQuote {
        order: 2;
    }

    .CatoleyRiver_HeroImageWrap, .CatoleyRiver_PracticeImg, .CatoleyRiver_ExpertImage {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .CatoleyRiver_PriceGrid, .CatoleyRiver_AudienceGrid, .CatoleyRiver_ThreeCol, .CatoleyRiver_CardGridTips {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: center;
    }

    .CatoleyRiver_PriceCard {
        max-width: 100%;
        width: 100%;
    }

    .CatoleyRiver_H1 { font-size: 32px; }
}

@media (max-width: 768px) {
    .CatoleyRiver_BurgerBtn {
        display: flex;
    }

    .CatoleyRiver_Navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d2a1e;
        padding: 20px;
        border-bottom: 1px solid #45FFCE;
    }

    .CatoleyRiver_NavList {
        flex-direction: column;
        align-items: center;
    }

    #CatoleyRiver_MenuToggle:checked ~ .CatoleyRiver_Navigation {
        display: block;
    }
}

/* Batch legal/thank pages shared styles */
.policy-page,
.legal-page,
.thank-page {
    min-height: 100vh;
}

.policy-shell,
.legal-container,
.thank-shell {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(48px, 8vw, 96px) 0;
}

.policy-card,
.thank-card {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 28px;
    background: var(--card-bg, var(--plasma-card, var(--white, #ffffff)));
    color: inherit;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    padding: clamp(26px, 5vw, 56px);
}

.policy-title,
.thank-card h1 {
    margin: 0 0 18px;
    color: var(--accent-color, var(--accent, var(--plasma-accent, var(--berry-main, var(--primary, currentColor)))));
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.policy-subtitle,
.policy-lead,
.thank-eyebrow,
.thank-card p {
    color: var(--text-secondary, var(--text-dim, var(--plasma-subtext, var(--gray-text, inherit))));
}

.policy-lead,
.thank-card > p {
    font-size: clamp(1rem, 2vw, 1.16rem);
    margin-bottom: 28px;
}

.policy-section {
    padding: 24px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.policy-section h2,
.thank-next h2 {
    margin: 0 0 12px;
    color: var(--accent-color, var(--accent, var(--plasma-accent, var(--berry-main, var(--primary, currentColor)))));
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.policy-section p,
.thank-next p {
    margin: 0 0 12px;
    line-height: 1.75;
}

.policy-nav,
.thank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.policy-back-link,
.thank-button,
.thank-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.thank-button,
.policy-nav .policy-back-link:first-child {
    background: var(--accent-color, var(--accent, var(--plasma-accent, var(--berry-main, var(--primary, #2563eb)))));
    color: var(--main-bg, var(--plasma-bg, #ffffff));
    border-color: transparent;
}

.thank-card {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.thank-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--accent-color, var(--accent, var(--plasma-accent, var(--berry-main, var(--primary, #22c55e)))));
    color: var(--main-bg, var(--plasma-bg, #ffffff));
    font-size: 42px;
    font-weight: 900;
}

.thank-next {
    margin: 28px auto 0;
    padding: 22px;
    border-radius: 20px;
    background: rgba(148, 163, 184, 0.12);
    text-align: left;
}

.policy-card a,
.thank-card a {
    color: var(--accent-color, var(--accent, var(--plasma-accent, var(--berry-main, var(--primary, currentColor)))));
}

@media (max-width: 680px) {
    .policy-shell,
    .legal-container,
    .thank-shell {
        width: min(100% - 20px, 1040px);
        padding: 28px 0;
    }

    .policy-card,
    .thank-card {
        border-radius: 20px;
        padding: 22px;
    }

    .policy-nav,
    .thank-actions {
        flex-direction: column;
    }

    .policy-back-link,
    .thank-button,
    .thank-link {
        width: 100%;
    }
}
/* Batch legal readability patch */
.policy-page,
.legal-page,
.thank-page {
    background-color: var(--main-bg, var(--plasma-bg, var(--behogino-bg, var(--berry-soft, #0f172a))));
}

.policy-card,
.thank-card {
    background: rgba(255, 255, 255, 0.97) !important;
    color: #172033 !important;
    border-color: rgba(15, 23, 42, 0.10) !important;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.24) !important;
}

.policy-title,
.thank-card h1,
.policy-section h2,
.thank-next h2 {
    color: var(--accent-color, var(--accent, var(--plasma-accent, var(--berry-main, var(--primary, #2563eb))))) !important;
    -webkit-text-fill-color: currentColor !important;
}

.policy-subtitle,
.policy-lead,
.thank-eyebrow,
.thank-card p,
.policy-section p,
.thank-next p {
    color: #334155 !important;
}

.policy-section {
    border-top-color: rgba(15, 23, 42, 0.12) !important;
}

.policy-card a,
.thank-card a {
    color: var(--accent-color, var(--accent, var(--plasma-accent, var(--berry-main, var(--primary, #2563eb))))) !important;
}

.policy-nav .policy-back-link:first-child,
.thank-button {
    color: #06111f !important;
}

.thank-next {
    background: #f1f5f9 !important;
}

/* Batch mobile overflow safety */
@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body * {
        min-width: 0;
    }

    img,
    video,
    svg {
        max-width: 100%;
        height: auto;
    }

    h1,
    h2,
    .policy-title,
    .thank-card h1 {
        overflow-wrap: anywhere;
        word-break: normal;
    }
}
