/* --- Brand Colors --- */
:root {
    --deep-blue: #37328B;
    --azure: #107DC2;
    --purple: #8E288C;
    --pink: #D1A0C5;
}

/* --- Global Styles --- */
body {
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Keeps horizontal scrollbars away forever */
    max-width: 100vw; /* CRITICAL: Forces the website to NEVER exceed the screen width */
}

/* This guarantees NO image can ever break your mobile layout again */
img {
    max-width: 100%;
    height: auto;
}

/* --- Global Container & Sticky Footer --- */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

main {
    flex-grow: 1; 
}

/* --- Header & Navigation --- */
.top-bar {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
}

.site-logo img {
    max-width: 280px; 
    height: auto;
}

.site-nav {
    display: flex;
    gap: 30px; 
}

.site-nav a {
    text-decoration: none;
    color: #333;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px; 
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: var(--purple); 
}

/* --- Dropdown Menu Styles --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-drop-trigger {
    color: #333;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-dropdown:hover .nav-drop-trigger {
    color: var(--purple);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); 
    z-index: 10;
    top: 100%; 
    left: 0;
    border-radius: 4px;
    overflow: hidden;
    border-top: 3px solid var(--azure); 
}

.nav-dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee; 
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--purple);
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

/* --- The Coming Soon Banner --- */
.banner-full-width {
    background-color: var(--purple); 
    background-image: linear-gradient(to right, var(--purple), var(--azure)); 
    color: #ffffff;
    text-align: center;
    padding: 3rem 0;
    width: 100%;
    margin-bottom: 3rem;
}

.banner-full-width h2 {
    margin: 0;
    font-size: 2.5rem;
}

/* --- Book Showcase Section --- */
.book-showcase {
    max-width: 900px;
    margin: 0 auto; 
    padding: 0 20px;
}

.book-header {
    text-align: center;
    margin-bottom: 2rem;
}

.book-header h1 {
    font-size: 2rem;
    line-height: 1.3;
}

.book-content {
    display: flex;
    gap: 3rem; 
    align-items: flex-start; 
}

.book-cover {
    flex: 1; 
}

.book-cover img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}

.book-blurb {
    flex: 1.5; 
    font-size: 0.95rem;
}

.book-blurb p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* --- Mailing List Form --- */
.mailing-list {
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 20px;
}

.mailing-list-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label span {
    color: red; 
}

.form-group input[type="text"],
.form-group input[type="email"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Century Gothic', sans-serif;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.btn-subscribe {
    background-color: var(--azure); 
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: var(--deep-blue); 
}

/* --- Footer Styles --- */
.site-footer {
    background-color: var(--purple); 
    background-image: linear-gradient(to right, var(--purple), var(--azure)); 
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 20px;
    margin-top: 4rem; 
    width: 100%;
}

.site-footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.site-footer a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline; 
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--pink); 
    text-decoration: none;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center; 
    gap: 30px; 
}

.footer-links a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links a:first-child::after {
    content: "|";
    color: #ffffff; 
    margin-left: 30px; 
    opacity: 0.5; 
}

/* --- Standard Page Content Formatting --- */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.page-content h3 {
    color: var(--deep-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* --- Primary Buttons --- */
.button-container {
    text-align: center;
    margin: 3rem 0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--deep-blue);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px; 
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--purple);
    color: white;
}

/* --- Testimonials Section --- */
.testimonials-wrapper {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 20px;
}

.testimonials-title {
    background-color: var(--purple); 
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin: 0 0 1rem 0; 
    font-size: 1.5rem;
}

.testimonials-grid {
    display: flex;
    gap: 1rem; 
}

.testimonial-card {
    flex: 1;
    padding: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.testimonial-card:nth-child(1) { background-color: var(--deep-blue); }
.testimonial-card:nth-child(2) { background-color: var(--purple); }
.testimonial-card:nth-child(3) { background-color: var(--deep-blue); }

.testimonial-author {
    margin-top: 1.5rem;
    font-weight: bold;
    color: #ffffff; 
}

/* --- Floating Newsletter Widget --- */
.floating-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000; 
    font-family: 'Century Gothic', sans-serif;
}

.widget-teaser {
    background-color: var(--purple);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Century Gothic', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s;
    transform: rotate(-3deg); 
}

.widget-teaser:hover {
    transform: rotate(0deg) scale(1.05);
    background-color: var(--deep-blue);
}

.widget-form-container {
    display: none; 
    background-color: #ffffff;
    width: 280px;
    padding: 25px 20px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-top: 4px solid var(--azure);
    position: absolute;
    bottom: 0;
    right: 0;
}

.widget-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}

.widget-close:hover {
    color: var(--purple);
}

.widget-form-container h4 {
    margin: 0 0 5px 0;
    color: var(--deep-blue);
    font-size: 1.2rem;
}

.widget-form-container p {
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: #555;
}

.mini-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    font-family: 'Century Gothic', sans-serif;
}

.mini-submit {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
    margin-top: 5px;
}

.floating-widget.is-open .widget-teaser { display: none; }
.floating-widget.is-open .widget-form-container {
    display: block;
    animation: popUp 0.3s ease-out forwards;
}

@keyframes popUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mini-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.75rem; 
    color: #555;
    line-height: 1.3;
}

.mini-checkbox-group input { margin-top: 2px; }
.mini-checkbox-group a { color: var(--purple); text-decoration: underline; }
.mini-checkbox-group a:hover { color: var(--deep-blue); }

/* --- About Page: Intro Section --- */
.about-intro {
    max-width: 800px;
    margin: 4rem auto 3rem auto;
    text-align: center;
    padding: 0 20px;
}

.intro-heading {
    color: var(--deep-blue);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.intro-subheading {
    color: var(--purple);
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 2rem;
}

.intro-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333;
}

.solid-banner {
    background-color: var(--purple);
    color: #ffffff;
    text-align: center;
    padding: 3rem 0;
    width: 100%;
    margin-bottom: 3rem;
}

.solid-banner h2 { margin: 0; font-size: 2.5rem; }

/* --- The Alchemist's Deck (About Page) --- */
.deck-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
    color: #444;
}

.alchemist-deck {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.magic-card {
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
    min-height: 220px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s; 
    transform-style: preserve-3d;
}

.magic-card.is-flipped .card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    border: 4px solid;
    border-image: linear-gradient(to bottom right, var(--deep-blue), var(--azure), var(--purple), var(--pink)) 1;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.card-front h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-back {
    transform: rotateY(180deg);
    background-color: #fcfcfc;
    flex-direction: column; 
}

.card-back h4 {
    color: var(--purple); 
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-back p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* --- The Magic Reveal Section --- */
.hidden-reveal {
    display: none; 
    opacity: 0;
    transition: opacity 1.5s ease-in; 
    text-align: center;
    margin-top: 2rem;
}

.hidden-reveal.fade-in-active { opacity: 1; }

.reveal-content img {
    max-width: 450px; 
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-bottom: 5px solid var(--purple);
}

.sign-off {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--pink);
    margin-top: 1.5rem;
    font-style: italic;
}

/* --- Contact Page Layout --- */
.contact-page-container {
    max-width: 1000px;
    margin: 0 auto 5rem auto;
    padding: 0 20px;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info { flex: 1; }

.contact-info h3 {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #444;
}

.info-blocks {
    margin-top: 2.5rem;
    border-top: 2px solid var(--pink);
    padding-top: 1.5rem;
}

.info-blocks p { margin-bottom: 1rem; }

.info-blocks strong {
    color: var(--purple);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- Contact Form Styling --- */
.contact-form-wrapper {
    flex: 1.2;
    background-color: #fcfcfc;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-top: 4px solid var(--azure);
}

.main-contact-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.main-contact-form label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--deep-blue);
}

.main-contact-form label span { color: var(--pink); }

.main-contact-form input[type="text"],
.main-contact-form input[type="email"],
.main-contact-form input[type="tel"],
.main-contact-form input[type="date"],
.main-contact-form select,
.main-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.95rem;
    box-sizing: border-box;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.main-contact-form input:focus,
.main-contact-form select:focus,
.main-contact-form textarea:focus {
    outline: none;
    border-color: var(--purple);
}

.main-contact-form .form-row {
    display: flex;
    gap: 20px;
}

.main-contact-form textarea {
    resize: vertical; 
}

/* --- Contact Form Alerts --- */
.form-alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
}

.success-alert { background-color: #f0fdf4; color: #166534; border-left: 5px solid #22c55e; }
.error-alert { background-color: #fef2f2; color: #991b1b; border-left: 5px solid #ef4444; }

/* --- Serious About Series Page --- */
.sas-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.tagline {
    color: var(--purple);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
}

/* --- SAS Hero Image --- */
.hero-image-container {
    width: 100%; /* Forces the container to respect the screen size */
    max-width: 900px; 
    margin: 2.5rem auto; 
    padding: 0 20px;
    box-sizing: border-box; /* CRITICAL: Stops the padding from pushing the box wider than the screen */
}

.sas-hero-img {
    width: 100%;
    max-width: 100%; /* CRITICAL: Forces the image to shrink to fit the locked container */
    height: auto;
    border-radius: 12px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
    border: 1px solid #e2e8f0; 
    display: block;
}

.sas-split-section {
    display: flex;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    padding: 0 20px;
}

.sas-col { flex: 1; }

.sas-col h3 {
    color: var(--deep-blue);
    font-size: 1.6rem;
    border-bottom: 2px solid var(--pink);
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

.sas-feature-list { padding-left: 20px; }
.sas-feature-list li { margin-bottom: 1rem; line-height: 1.6; }
.sas-feature-list strong { color: var(--purple); }

.ai-guarantee-wrapper {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    padding: 0 20px;
}

.ai-guarantee-box {
    background-color: #f0f4f8; 
    border: 3px solid var(--azure);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 16px rgba(16, 125, 194, 0.15); 
}

.ai-guarantee-box h3 {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.ai-guarantee-box p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1rem;
}

.sas-pricing-section {
    background-color: #f9f9f9;
    padding: 4rem 20px;
    margin-bottom: 4rem;
    width: 100%; /* Tells the section to span the screen */
    box-sizing: border-box; /* Keeps the padding safely inside */
    overflow: hidden; /* A safety net to prevent any bleeding */
}

.pricing-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.pricing-header h2 {
    color: var(--purple);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.pricing-card {
    flex: 1;
    max-width: 400px;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.card-header h3 { margin: 0 0 10px 0; font-size: 1.8rem; letter-spacing: 2px; }
.card-header .price { display: block; font-size: 2rem; font-weight: bold; margin-bottom: 2rem; }
.card-header .price small { font-size: 1rem; font-weight: normal; }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1; 
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 0.95rem;
}

.pricing-features li:last-child { border-bottom: none; }

.lite-card { background-color: #ffffff; border: 2px solid #ddd; color: #333; }
.lite-card h3 { color: var(--azure); }
.lite-card .price { color: #555; }

.pro-card {
    background-color: var(--deep-blue);
    color: #ffffff;
    border: 2px solid var(--deep-blue);
    transform: scale(1.05); 
}

.pro-card h3 { color: var(--pink); }
.pro-card .pricing-features li { border-bottom: 1px solid rgba(255,255,255,0.2); }
.pro-card strong { color: var(--pink); }

.sas-pricing-logo {
    display: block;
    width: 100%; /* THE FIX: Forces the logo to shrink to the screen size */
    max-width: 400px; 
    height: auto;
    margin: 2rem auto 0 auto;
    padding-bottom: 2rem;
    box-sizing: border-box;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--azure);
    border: 2px solid var(--azure);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-secondary:hover { background-color: var(--azure); color: white; }

.btn-primary-inverse {
    display: inline-block;
    background-color: var(--pink);
    color: var(--deep-blue);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary-inverse:hover { background-color: white; color: var(--deep-blue); }

/* --- Screenshot Gallery --- */
.sas-gallery-section {
    max-width: 850px; /* Narrowing the container scales the grid items down */
    margin: 0 auto 5rem auto;
    padding: 0 20px;
    text-align: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2.5rem; /* Slightly larger gap for a cleaner, airy feel */
    align-items: start;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sas-gallery-img {
    width: 100%; /* Fills the now-smaller grid column */
    height: auto; /* Restores full context - NO CLIPPING */
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

/* Subtle "Interactive" feel without blowing up the size */
.sas-gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* --- Upgraded Screenshot Gallery --- */
.gallery-text {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 10px;
}

.gallery-text h4 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.gallery-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Make the dark images pop off the white background */
.sas-gallery-img {
    width: 100%; 
    height: auto; 
    display: block;
    border-radius: 8px;
    /* Changed to a subtle brand-color glow instead of flat grey */
    box-shadow: 0 10px 25px rgba(16, 125, 194, 0.15); 
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.sas-gallery-img:hover {
    transform: translateY(-5px);
    /* The glow intensifies slightly on hover */
    box-shadow: 0 15px 35px rgba(16, 125, 194, 0.25);
    border-color: var(--azure);
}

/* --- Legal Pages --- */
.legal-content ul {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #444;
}

.legal-content li { margin-bottom: 0.5rem; }

/* --- Mischievous Social Icons --- */
.mischief-container {
    position: fixed;
    top: 40%; 
    left: 25px; 
    z-index: 1000;
    background-color: var(--azure);
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: top 0.2s ease-out, left 0.2s ease-out, background-color 0.4s ease, box-shadow 0.4s ease;
    cursor: grab; 
}

.mischief-container .social-icon {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.mischief-container .social-icon:hover { transform: scale(1.2); }

.mischief-container.captured {
    background-color: var(--purple); 
    box-shadow: 0 0 20px var(--pink); 
    cursor: pointer;
}

/* ========================================= */
/* --- MASTER MOBILE RESPONSIVENESS BLOCK --- */
/* ========================================= */
@media (max-width: 768px) {
    
    /* Header & Navigation Fixes */
    .top-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 10px; 
        box-sizing: border-box; /* THE FIX: Keeps padding inside the 100% width */
    }

    .site-nav {
        flex-wrap: wrap; /* THE MAGIC FIX: Allows the menu links to fold onto new lines! */
        justify-content: center;
        gap: 15px;
    }

    .site-logo img {
        max-width: 100%; /* Ensures the logo never forces the screen to stretch */
        height: auto;
    }

    /* Typography Fixes: Shrinks giant desktop headers for small screens */
    .tagline, 
    .banner-full-width h2, 
    .intro-heading, 
    .pricing-header h2,
    .card-header h3 {
        font-size: 1.8rem !important; 
        line-height: 1.3;
    }

    /* Book Showcase & Mailing List Fixes */
    .book-content, .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Testimonial Fixes */
    .testimonials-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Deck Fixes */
    .alchemist-deck {
        grid-template-columns: 1fr; 
    }

    /* Contact Form Fixes */
    .main-contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-page-container {
        flex-direction: column;
        gap: 2rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    /* Serious About Series Fixes */
    .sas-split-section, .pricing-grid, .screenshot-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .pro-card {
        transform: scale(1); 
    }

    /* Tame the Mischievous Socials */
    .mischief-container {
        position: static !important;
        display: flex;
        justify-content: center;
        align-items: center; 
        background-color: transparent;
        box-shadow: none;
        margin: 20px auto 40px auto;
        padding: 0;
        width: 100%; 
        clear: both;
    }
    .mischief-container .social-icon {
        background-color: var(--azure);
        width: 50px; 
        height: 50px; 
        padding: 0; 
        border-radius: 50%;
        margin: 0 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0; 
    }

    /* Tame the Newsletter Widget */
    .floating-widget {
        position: static !important;
        display: flex;
        flex-direction: column; 
        align-items: center;
        width: 100%; 
        margin: 20px auto;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .widget-teaser {
        width: 100%;
        max-width: 300px;
        transform: none !important;
    }
    .widget-form-container {
        position: static !important;
        width: 100% !important;
        max-width: 350px; 
        box-shadow: none !important;
        border: 2px solid var(--azure);
        margin-top: 15px; 
        margin-bottom: 20px; 
    }

    /* Footer & Full-Width Banner Fixes */
    .site-footer, .banner-full-width, .solid-banner {
        box-sizing: border-box; /* THE FIX: Stops the background from bleeding off the edge */
    }

    .site-footer {
        padding: 2rem 15px; /* Slims down the padding on mobile */
    }

    .footer-links {
        flex-wrap: wrap; /* Lets the links stack if the phone is very narrow */
        gap: 15px; /* Shrinks the gap between the links */
    }

    .footer-links a:first-child::after {
        margin-left: 15px; /* Adjusts the divider line to match the new gap */
    }
}

/* --- THE COOKIE JAR --- */
#cookie-jar-banner {
    position: fixed;
    bottom: 30px; /* Distance from bottom on Desktop */
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 2px solid var(--purple, #6a0dad); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 90%;
    max-width: 750px;
    z-index: 9990; /* Keeps it under your floating widgets if they are 9999 */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* The magic class that hides it until JS checks for consent */
.cookie-banner-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 40px) !important; /* Slides down when hiding */
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    #cookie-jar-banner {
        flex-direction: column;
        text-align: center;
        /* THE CRITICAL FIX: Lifts the banner 100px up to avoid your bouncy icons! */
        bottom: 100px; 
        padding: 15px;
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .cookie-buttons {
        flex-direction: row; /* Puts buttons side-by-side to save space */
        width: 100%;
        justify-content: center;
    }
}