:root {
    /* Backgrounds */
    --bg-primary: #0f0a1f;
    /* Deep dark purple - main background */
    --bg-section-alt: #1a1030;
    /* Slightly lighter sections */
    --bg-card: #1e1535;
    /* Card backgrounds */
    --bg-card-light: #2a1f45;
    /* Lighter card variant */

    /* Accent */
    --accent-purple: #8B5CF6;
    /* Primary purple */
    --accent-purple-light: #a78bfa;
    /* Lighter purple */
    --accent-pink: #FF6BF7;
    /* Pink accents */
    --accent-gold: #FDE047;

    /* Text */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #8B5CF6, #FF6BF7);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
}

::selection {
    background: var(--accent-purple);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #4c1d95;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    border-color: #a78bfa;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles Override (CF7) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.wpcf7-submit {
    width: 100%;
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    width: auto;
    z-index: 10000;
    /* Elevated z-index to ensure it sits above everything including blog overlays */
    /* backdrop-filter: blur(8px); removed */
    /* -webkit-backdrop-filter: blur(8px); removed */
    /* backdrop-filter moved to ::before to prevent containing block for fixed nav */
    padding: 16px;
    border: none;
    border-radius: 24px;
    transition: background 0.3s ease;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.site-header .header-container {
    padding: 0;
    max-width: 100%;
}

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

.header-logo {
    height: 48px;
    /* Bigger logo */
    width: auto;
    transition: height 0.3s ease;
}

.main-navigation ul {
    display: flex;
    gap: 40px;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.main-navigation a:hover {
    color: var(--text-white);
    opacity: 1;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    /* Ensure large touch target */
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-menu-cta {
    display: none;
}

@media (max-width: 768px) {

    /* Mobile Menu Toggle Button z-index fix */
    .mobile-menu-toggle {
        display: flex;
        /* Changed from block to flex for centering */
        position: relative;
        z-index: 10001;
        /* Above the menu overlay */
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
        background: var(--accent-pink);
        box-shadow: 0 0 10px var(--accent-pink);
    }

    .mobile-menu-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
        background: var(--accent-pink);
        box-shadow: 0 0 10px var(--accent-pink);
    }

    /* Full Screen Menu Overlay */
    .main-navigation {
        display: flex;
        /* Always flex, but hidden via opacity/visibility */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 2, 18, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 40px 20px;
    }

    .main-navigation::before {
        content: '';
        position: absolute;
        width: 150vw;
        height: 150vw;
        background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
        top: -50%;
        left: -25%;
        pointer-events: none;
        z-index: -1;
    }

    .main-navigation.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 32px;
        margin-bottom: 48px;
    }

    .main-navigation li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    /* Staggered Animation for Links when Open */
    .main-navigation.open li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-navigation.open li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .main-navigation.open li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .main-navigation.open li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .main-navigation.open li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .main-navigation.open li {
        opacity: 1;
        transform: translateY(0);
    }

    .main-navigation a {
        font-family: 'Outfit', sans-serif;
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-white);
        text-decoration: none;
        position: relative;
    }

    .main-navigation a:hover {
        color: var(--accent-pink);
        text-shadow: 0 0 20px rgba(255, 107, 247, 0.5);
    }

    /* Mobile CTA Specifics */
    .mobile-menu-cta {
        display: block;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease 0.6s;
        /* Delayed after links */
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .main-navigation.open .mobile-menu-cta {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-cta .btn {
        width: 100%;
        padding: 16px 32px;
        font-size: 1.1rem;
        background: linear-gradient(135deg, #8B5CF6, #FF6BF7);
        box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    }

    /* Hide standard desktop CTA on mobile */
    .sm-hidden {
        display: none;
    }
}

/* --- Modern Cosmic Hero Section --- */
/* --- Modern Cosmic Hero Section --- */

/* For internal pages like Success, Cancel, 404, etc. */
body:not(.home) .hero-section {
    height: auto !important;
    min-height: 100vh !important;
    max-height: auto !important;
    padding-top: 0px !important;

    /* Safety for Header */
    padding-bottom: 100px !important;
    /* Safety for Footer */
    overflow: visible !important;
}

/* Offset Content to account for fixed header visually */
/* Offset Content to account for fixed header visually */
.hero-container {
    padding-top: 80px;
    padding-bottom: 120px;
    /* Ensure content clears the scroll indicator */
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

/* Background Animation Layer */
.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    min-height: 100vh;
    pointer-events: none;
    /* Basic perspective for parallax */
    perspective: 1000px;
}

/* Floating Orbs - Interactive */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    transition: transform 0.2s linear;
    /* Smooth mouse follow */
    will-change: transform;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #4c1d95 0%, transparent 70%);
    top: -150px;
    left: -150px;
    /* Move OPPOSITE to mouse */
    transform: translate(calc(var(--mouse-x) * -20px), calc(var(--mouse-y) * -20px));
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #be185d 0%, transparent 70%);
    /* More Pink/Red */
    bottom: -100px;
    right: -150px;
    /* Move WITH mouse */
    transform: translate(calc(var(--mouse-x) * 30px), calc(var(--mouse-y) * 30px));
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #2563eb 0%, transparent 70%);
    /* Blue */
    top: 30%;
    left: 40%;
    opacity: 0.3;
    /* Move FAST */
    transform: translate(calc(var(--mouse-x) * -50px), calc(var(--mouse-y) * -50px));
}

/* --- Parallax Star Layers --- */
.hero-stars {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    /* Larger to account for movement */
    height: 120%;
    opacity: 0.9;
    transition: transform 0.1s linear;
    will-change: transform, opacity;
}

.hero-stars-1 {
    background-image:
        radial-gradient(1.5px 1.5px at 10% 10%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1px 1px at 20% 20%, rgba(255, 255, 255, 0.8) 50%, transparent 100%),
        radial-gradient(2px 2px at 50% 50%, rgba(255, 255, 255, 0.9) 50%, transparent 100%),
        radial-gradient(1px 1px at 80% 80%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    background-size: 400px 400px;
    transform: translate(calc(var(--mouse-x) * -10px), calc(var(--mouse-y) * -10px));
    animation: twinkle 4s infinite alternate;
}

.hero-stars-2 {
    background-image:
        radial-gradient(1px 1px at 15% 15%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 35% 65%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 40%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    background-size: 600px 600px;
    transform: translate(calc(var(--mouse-x) * -25px), calc(var(--mouse-y) * -25px));
}

.hero-stars-3 {
    background-image:
        radial-gradient(2px 2px at 5% 90%, rgba(255, 255, 255, 0.4) 50%, transparent 100%),
        radial-gradient(2px 2px at 95% 5%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    background-size: 800px 800px;
    transform: translate(calc(var(--mouse-x) * -40px), calc(var(--mouse-y) * -40px));
}


@keyframes twinkle {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* --- Shooting Stars --- */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shooting-stars span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 0 8px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 1);
    animation: animateShootingStar 3s linear infinite;
    opacity: 0;
}

/* Tail of shooting star */
.shooting-stars span::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
}

/* 3 Instances of shooting stars */
.shooting-stars span:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
    animation-duration: 3s;
}

.shooting-stars span:nth-child(2) {
    top: 0;
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 4s;
}

.shooting-stars span:nth-child(3) {
    top: 40%;
    left: 0;
    animation-delay: 2.5s;
    animation-duration: 3.5s;
}

@keyframes animateShootingStar {
    0% {
        transform: rotate(315deg) translateX(0);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
}

/* Grid Overlay - Smoother */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, transparent 0%, black 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    z-index: -1;
    /* Move grid slightly for 3D effect */
    transform: perspective(500px) rotateX(20deg) scale(2) translate(calc(var(--mouse-x) * -10px), calc(var(--mouse-y) * -5px));
    transform-origin: center 80%;
    opacity: 0.3;
    transition: transform 0.1s linear;
}

/* Content Styles */
.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff 20%, #e9d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
    opacity: 0;
    animation: heroEnter 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.text-gradient {
    display: inline-block;
    /* Allows transform */
    background: linear-gradient(135deg, #FF6BF7 0%, #8B5CF6 50%, #FDE047 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    /* Keep same font family */
    font-style: normal;
    /* Remove italic */
    font-weight: 800;
    position: relative;
}

/* Add a subtle shine effect */
.text-gradient::after {
    content: attr(data-text);
    /* Requires data-text attribute or we just stick to simpler effect */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    background-size: 200% auto;
    opacity: 0;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0;
    animation: heroEnter 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

/* Feature Pills - Revised */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroEnter 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #cbd5e1;
    cursor: default;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.pill-icon {
    font-size: 1.2rem;
}

/* Offer Container */
.hero-offer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(15, 10, 31, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: heroEnter 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
    transition: transform 0.3s ease;
}

.hero-offer-container:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
}

.offer-timer-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}


.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #fbbf24;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(251, 191, 36, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.countdown-timer {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fbbf24;
}

.offer-disclaimer {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.btn-wide {
    min-width: 280px;
}

/* Animations */
@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .feature-pill {
        width: 100%;
        justify-content: center;
    }

    .hero-offer-container {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* How It Works */
/* How It Works - Revamped */
.how-it-works-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #050212;
    /* Match Hero deeper background */
}

/* Atmospheric Glows */
.how-it-works-section::before,
.how-it-works-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
    animation: flowBlob 10s infinite alternate;
    pointer-events: none;
}

.how-it-works-section::before {
    background: radial-gradient(circle, #4c1d95 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.how-it-works-section::after {
    background: radial-gradient(circle, #be185d 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

@keyframes flowBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Enhance Heading for this section */
.how-it-works-section .section-heading h2 {
    font-size: 3rem;
    background: linear-gradient(to right, #fff, #bfdbfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

/* Connecting Line (Desktop) */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    /* Aligned with icon center */
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(139, 92, 246, 0.3) 20%,
            rgba(139, 92, 246, 0.3) 80%,
            transparent 100%);
    border-radius: 2px;
    z-index: -1;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.step-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.2);
}

.step-icon {
    width: 90px;
    height: 90px;
    line-height: normal;
    /* Reset line-height */
    border-radius: 50%;
    margin: 0 auto 30px;
    background: #0f172a;
    /* Dark circle background */
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

    /* Flexual centering */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Gradient Background for the circle */
    background: linear-gradient(135deg, #1e1b4b, #000);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: #a78bfa;
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
    color: #fbbf24;
    /* Gold on hover */
}

/* Animated Ring */
.step-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -5px;
    right: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.4), transparent);
    z-index: -1;
    animation: spinSlow 8s linear infinite;
}

@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.step-card p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps-grid::before {
        display: none;
        /* Hide connecting line on mobile */
    }
}

/* Signup Section */
.signup-section {
    background: url('../images/signup-bg-v3.jpg') no-repeat center center/cover;
    position: relative;
    padding: 100px 0;
}

.signup-section::before {
    content: none;
}

/* Signup Card Container */
.signup-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    /* Wider container */
    margin: 0 auto;
    text-align: center;
    background: #050212;
    /* Deep dark background */
    border: 3px solid #6D28D9;
    /* Brighter Purple border */
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 0 60px rgba(109, 40, 217, 0.4);
}

.signup-header {
    margin-bottom: 30px;
}

.badge {
    color: #FDE047;
    /* Yellow text */
    background: transparent;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    margin-bottom: 10px;
    display: block;
}

.signup-header h2 {
    font-family: 'Times New Roman', serif;
    /* Serif font for header */
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 10px;
    color: white;
}

.signup-header h2 .text-gradient {
    background: none;
    -webkit-text-fill-color: initial;
    color: #FDE047;
    /* Yellow "FREE" */
    font-family: inherit;
    font-weight: 400;
}


/* Form Styles - Labels on Left */
/* Form Styles */
/* Form Styles */
.form-wrapper {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    text-align: left;
}

.form-wrapper .wpcf7-form-control-wrap {
    width: 100%;
}

/* Hide CF7's automatic line breaks between labels and inputs */
.form-wrapper br {
    display: none;
}

.form-wrapper p {
    margin-bottom: 0;
    margin-top: 16px;
    /* Form group spacing */
}

.form-wrapper p:first-child {
    margin-top: 0;
}

.form-wrapper label {
    display: block;
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 4px;
    font-weight: 400;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="date"],
.form-wrapper select {
    width: 100%;
    background: rgba(30, 21, 53, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-wrapper input:focus {
    background: #252236;
    border-color: #7C3AED;
    outline: none;
}

/* Two Column Layout */
.two-col {
    display: flex;
    gap: 16px;
}

.two-col .col {
    flex: 1;
}

/* JS Injected Radio Styling */
.plan-header {
    display: block;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 4px;
    color: white;
    letter-spacing: -0.02em;
}

.plan-subheader {
    display: block;
    font-size: 1.1rem;
    color: #FDE047;
    /* Yellow */
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.plan-feature {
    display: inline-block;
    font-size: 0.95rem;
    margin-top: 4px;
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PLAN SELECTION CARDS - Custom Styled Radio Buttons
   ═══════════════════════════════════════════════════════════════════════════ */

/* The CARD wrapper - applied directly to .wpcf7-list-item */


.plan-radio .wpcf7-list-item {
    overflow: visible !important;
    position: relative !important;
    margin: 0 0 20px 0 !important;
    width: 100% !important;
    padding: 24px 28px 24px 65px !important;
    border-radius: 16px !important;
    border: 3px solid transparent;
    box-sizing: border-box !important;
    transition: all 0.25s ease;
    cursor: pointer;
}

/* ─── CUSTOM RADIO CIRCLE (on the card itself) ─── */
.plan-radio .wpcf7-list-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
    z-index: 5;
}

/* ─── INNER DOT (Shows when checked) ─── */
.plan-radio .wpcf7-list-item::after {
    content: '';
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: all 0.15s ease;
    z-index: 6;
}

/* ─── HIDE NATIVE RADIO INPUT ─── */
.plan-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    /* Above everything so clicks register */
}

/* Inner label and span - ensure no conflicting styles */
.plan-radio .wpcf7-list-item label {
    display: block !important;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* ═══ CHECKED STATE ═══ */
.plan-radio .wpcf7-list-item:has(input:checked)::before {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.plan-radio .wpcf7-list-item:has(input:checked)::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.plan-radio .wpcf7-list-item:has(input:checked) {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ─── HOVER EFFECT ─── */
.plan-radio .wpcf7-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.plan-radio .wpcf7-list-item:hover::before {
    border-color: white;
}

/* ═══ CARD BACKGROUNDS ═══ */

/* General Card Style (Glassmorphism Base) */
.plan-radio .wpcf7-list-item {
    background: rgba(30, 21, 53, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Selected State */
.plan-radio .wpcf7-list-item:has(input:checked) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15)) !important;
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 0 1px var(--accent-purple), 0 10px 40px rgba(139, 92, 246, 0.2) !important;
}

/* Option 1: Cosmic Monthly */
.plan-radio .wpcf7-list-item:first-child:has(input:checked) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1)) !important;
}

/* Option 2: Star-Aligned Year (Best Value Highlight) */
.plan-radio .wpcf7-list-item:nth-child(2) {
    border-color: rgba(139, 92, 246, 0.4) !important;
    background: rgba(30, 21, 53, 0.6) !important;
    overflow: visible !important;
    /* CRITICAL for badge popping out */
    z-index: 10 !important;
    /* Ensure it is above other elements */
    position: relative !important;
}

/* Ensure container allows badge overflow (kept for safety) */
.plan-radio {
    margin-top: 20px !important;
    position: relative;
    z-index: 5;
    overflow: visible !important;
}

/* Plan Trial Container */
.plan-trial-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    /* Reduced gap */
    margin-bottom: 16px;
    /* Reduced bottom margin */
}

/* Trial Badge (The "Push") */
.plan-trial-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    /* Subtle background */
    color: #34D399;
    /* Bright text */
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    /* Pill shape */
    border: 1px solid rgba(52, 211, 153, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.1);
    width: auto;
    /* Not a big button */
    text-shadow: none;
}

.plan-radio .wpcf7-list-item:nth-child(2) .plan-trial-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
    text-shadow: none;
}

/* Secondary Text (Save) */
.plan-save {
    font-size: 0.85rem;
    color: #CBD5E1;
    font-weight: 500;
}

.plan-save {
    color: #FDE047;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.3);
}

/* Plan Features List */
.plan-features-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Plan Title */
.plan-header {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-right: 36px;
    /* Space for star icon */
}



/* Plan Subtitle */
.plan-subheader {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #FDE047;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Plan Features */
.plan-feature {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    padding: 2px 0;
}

/* Submit Button */
.wpcf7-submit {
    background: #6366F1;
    color: white;
    width: 100%;
    padding: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    margin-top: 20px;
    cursor: pointer;
}

.wpcf7-submit:hover {
    background: linear-gradient(135deg, #7C3AED, #4F46E5);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRIVACY CHECKBOX - Premium Cosmic Design
   Targets CF7 acceptance field with .privacy-checkbox class
   ═══════════════════════════════════════════════════════════════════════════ */

/* Container wrapper - ensure proper margins */
.form-wrapper .wpcf7-form-control-wrap[data-name="privacy"] {
    display: block;
    margin-top: 24px;
    margin-bottom: 28px;
}

/* The acceptance span container */
.form-wrapper .wpcf7-acceptance {
    display: block;
}

/* The list-item wrapper with label - this is our card container */
.form-wrapper .wpcf7-acceptance .wpcf7-list-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

/* The actual label that contains checkbox + text */
.form-wrapper .wpcf7-acceptance .wpcf7-list-item>label {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-wrapper .wpcf7-acceptance .wpcf7-list-item>label:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.12);
}

/* THE CHECKBOX INPUT - with high specificity to override form-wrapper input styles */
.form-wrapper input.privacy-checkbox,
.form-wrapper input.privacy-checkbox[type="checkbox"],
.form-wrapper .wpcf7-acceptance input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    position: relative !important;
    min-width: 22px !important;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(11, 8, 21, 0.9) !important;
    border: 2px solid rgba(139, 92, 246, 0.5) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

.form-wrapper input.privacy-checkbox:hover,
.form-wrapper .wpcf7-acceptance input[type="checkbox"]:hover {
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12),
        0 0 12px rgba(139, 92, 246, 0.2) !important;
}

.form-wrapper input.privacy-checkbox:focus,
.form-wrapper .wpcf7-acceptance input[type="checkbox"]:focus {
    outline: none !important;
    border-color: #A78BFA !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15),
        0 0 15px rgba(139, 92, 246, 0.25) !important;
}

/* Checked State */
.form-wrapper input.privacy-checkbox:checked,
.form-wrapper .wpcf7-acceptance input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%) !important;
    border-color: #A78BFA !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12),
        0 4px 12px rgba(99, 102, 241, 0.35) !important;
}

/* Checkmark Icon - using ::after pseudo-element */
.form-wrapper input.privacy-checkbox::after,
.form-wrapper .wpcf7-acceptance input[type="checkbox"]::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 5px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2.5px 2.5px 0 !important;
    transform: translate(-50%, -60%) rotate(45deg) scale(0) !important;
    opacity: 0 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-wrapper input.privacy-checkbox:checked::after,
.form-wrapper .wpcf7-acceptance input[type="checkbox"]:checked::after {
    transform: translate(-50%, -60%) rotate(45deg) scale(1) !important;
    opacity: 1 !important;
}

/* Label Text Styling */
.form-wrapper .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: #CBD5E1;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.2s ease;
    flex: 1;
}

.form-wrapper .wpcf7-acceptance .wpcf7-list-item>label:hover .wpcf7-list-item-label {
    color: #F1F5F9;
}

/* Link styling inside the checkbox label */
.form-wrapper .wpcf7-acceptance .wpcf7-list-item-label a {
    color: #A78BFA;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.form-wrapper .wpcf7-acceptance .wpcf7-list-item-label a:hover {
    color: #C4B5FD;
}

/* When checkbox is checked, highlight the container */
.form-wrapper .wpcf7-acceptance .wpcf7-list-item>label:has(input:checked) {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(139, 92, 246, 0.45);
}

.form-wrapper input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
.form-wrapper select {
    width: 100%;
    background: #0B0815;
    /* Very dark background */
    border: 1px solid #2D2741;
    /* Distinct border */
    color: var(--text-white);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1rem;
    height: auto;
    transition: all 0.2s ease;
}

.form-wrapper input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):focus {
    border-color: var(--accent-purple);
    outline: none;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

/* Radio Buttons for Plan */
.plan-radio .wpcf7-list-item {
    display: block;
    margin: 0 0 10px 0;
    margin-left: 0 !important;
}

.plan-radio label {
    flex-direction: row;
    align-items: center;
    background: #1A1625;
    border: 1px solid #2D2741;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plan-radio label:hover {
    border-color: var(--accent-purple);
    background: #231E32;
}

/* Selected state styling (requires simple JS or checked selector if structure allows, 
   but defaults to standard radio behavior with custom container) */
.plan-radio input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--accent-purple);
    width: 18px;
    height: 18px;
}

.plan-radio .wpcf7-list-item-label {
    font-weight: 500;
    color: var(--text-white);
    font-size: 0.95rem;
}

/* Weekly Overview Section */
.weekly-overview-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.overview-container {
    display: flex;
    align-items: center;
    gap: 80px;
    /* More space between slider and content */
}

/* 50/50 Split */
.overview-visuals,
.overview-content {
    flex: 1;
}

.overview-content .section-heading {
    text-align: left;
    margin-bottom: 40px;
}

.overview-content .section-heading h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.overview-content .section-heading p {
    margin: 0;
    font-size: 1.1rem;
    max-width: 100%;
    color: var(--text-muted);
}

.overview-content h5 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 20px;
}

.overview-mockup-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.overview-mockup-img:hover {
    transform: scale(1.02);
}

.email-mockup-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-card-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.overview-list {
    margin-top: 30px;
}

.overview-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.check-icon {
    font-size: 20px;
    color: var(--accent-pink);
    background: rgba(255, 107, 247, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.overview-list strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.overview-list p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .overview-container {
        grid-template-columns: 1fr;
    }

    .overview-image {
        order: 2;
    }
}

/* Why Different / Features */
.why-different-section {
    background: var(--bg-primary);
    background-image: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 247, 0.05) 0%, transparent 40%);
    position: relative;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: rgba(30, 21, 53, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 21, 53, 0.7);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(139, 92, 246, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.hero-section {
    position: relative;
    /* Allow content to determine height, but ensure it fills screen */
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Add padding to clear fixed header (approx 100px) + spacing */
    padding: 140px 20px 100px;
    overflow: hidden;
    z-index: 1;
}

/* Override container padding within hero on HOME page to avoid double spacing */
body.home .hero-section .hero-container {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Visual adjustment to centre it "perceptually" lower since header takes top space */
}



/* Offer Container */
.hero-offer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    /* Increased for better separation */
    /* Removed heavy background/borders */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 24px 24px;
    /* Reduced top padding */
    border-radius: 20px;
    backdrop-filter: none;
    max-width: fit-content;
    margin: 0 auto;
}

.offer-timer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    padding: 4px 12px;
    border-radius: 50px;
    color: #ffd60a;
    /* Brighter yellow */
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.15);
    /* Subtle glow */
    white-space: nowrap;
}

.countdown-timer {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.offer-disclaimer {
    font-size: 0.85rem;
    color: #cbd5e1;
    /* Lighter color for better visibility */
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Shadow for legibility against bg */
}

/* Pulse Animation for CTA */
/* Pulse Animation for CTA */
@keyframes softPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(147, 51, 234, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0);
    }
}

@keyframes borderBitPulse {
    0% {
        border-color: rgba(251, 191, 36, 0.4);
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
    }

    50% {
        border-color: rgba(251, 191, 36, 0.9);
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
    }

    100% {
        border-color: rgba(251, 191, 36, 0.4);
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
    }
}

.hero-offer-container .btn-primary {
    animation: softPulse 2s infinite;
}

.offer-timer-badge {
    animation: borderBitPulse 3s infinite;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(255, 107, 247, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}


/* Testimonials */
.testimonials-section {
    background: var(--bg-primary);
    overflow: visible;
    position: relative;
}

.testimonials-slider-wrapper {
    position: relative;
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 280px;
    background: rgba(30, 21, 53, 0.4);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: #FFD700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--accent-purple-light);
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--bg-card);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-prev {
    left: -70px;
}

.slider-next {
    right: -70px;
}

.slider-arrow:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: translateY(-50%) scale(1.05);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots .dot.active {
    background: var(--accent-purple);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 85vw;
        padding: 30px;
    }
}

/* FAQ */
.faq-section {
    background: var(--bg-section-alt);
    position: relative;
    padding: 120px 0;
}

/* Background decoration for the section */
.faq-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(30, 21, 53, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

.faq-item:hover {
    background: rgba(30, 21, 53, 0.5);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.faq-item:hover::before {
    transform: translateX(100%);
}

.faq-item.active {
    background: rgba(46, 30, 80, 0.6);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.faq-question {
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.15rem;
    margin: 0;
    font-weight: 600;
    color: var(--text-white);
    transition: color 0.3s ease;
    padding-right: 20px;
    font-family: 'Outfit', sans-serif;
}

.faq-item.active .faq-question h3 {
    color: var(--accent-purple);
}

.toggle-icon {
    font-size: 1.8rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
}

.faq-item:hover .toggle-icon {
    color: white;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--accent-purple);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

.faq-answer {
    padding: 0 32px 32px 32px;
    color: #cbd5e1;
    display: none;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
    margin-top: -8px;
    /* Tweak spacing slightly */
    padding-top: 24px;
}

/* .faq-item.active .faq-answer is handled by jQuery slideToggle */

/* Mobile adjustments */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px 24px;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-answer {
        padding: 0 24px 24px 24px;
    }
}

/* Blog */
.blog-section {
    background: var(--bg-primary);
}

.blog-bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 280px 280px auto;
    gap: 20px;
}



.bento-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #2a1f45;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
}

.bento-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* 1st Card: Large Vertical (Left) */
.bento-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    transition-delay: 0.1s;
}

/* 2nd Card: Small (Top Right) */
.bento-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    transition-delay: 0.2s;
}

/* 3rd Card: Small (Middle Right) */
.bento-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    transition-delay: 0.3s;
}

/* 4th Card: Wide (Bottom) */
.bento-card:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 3;
    transition-delay: 0.4s;
    min-height: 240px;
}

.bento-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: white;
    text-decoration: none;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 30, 0.9) 0%, rgba(15, 10, 30, 0.4) 50%, transparent 100%);
    transition: opacity 0.3s;
}

.bento-card:hover .bento-overlay {
    opacity: 0.9;
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 2;
}

.bento-date {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-purple-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.bento-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .blog-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .bento-card {
        height: 300px;
        /* Uniform height on mobile */
    }

    .bento-card:nth-child(1),
    .bento-card:nth-child(2),
    .bento-card:nth-child(3),
    .bento-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Contact */
/* Contact */
/* --- Contact Section Premium --- */
.contact-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--bg-primary);
    /* Fallback */
}

/* Ambient Background Glow */
.contact-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    max-width: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 1;
    filter: blur(60px);
}

/* Ensure content is above bg */
.contact-section .container {
    position: relative;
    z-index: 10;
}

/* Heading Refinements */
.contact-section .sub-heading {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.contact-section h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

/* Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    margin-top: 60px;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: rgba(30, 21, 53, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Settle border */
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Form Controls (Overriding CF7) */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 24px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    background: rgba(10, 5, 20, 0.6);
    /* Darker input bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #64748b;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    background: rgba(15, 10, 31, 0.95);
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

.wpcf7-submit {
    width: 100%;
    background: var(--gradient-purple);
    color: white;
    font-weight: 700;
    padding: 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
}

/* Contact Info Side */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.info-card {
    background: linear-gradient(145deg, rgba(30, 21, 53, 0.6), rgba(30, 21, 53, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    background: rgba(30, 21, 53, 0.8);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
}

.info-card h3::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-pink);
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
    margin-left: 20px;
    /* Align with text start */
}

.contact-link {
    display: inline-block;
    margin-left: 20px;
    color: var(--accent-purple-light);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--text-white);
}

.contact-link:hover::after {
    width: 100%;
}

/* Social Buttons */
/* Social Buttons */
.social-links {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 12px;
    margin-top: 16px;
    margin-left: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    /* Align text to start */
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    /* Slightly boxier but still rounded */
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Full width in the card */
}

.social-btn i {
    width: 24px;
    margin-right: 12px;
    font-size: 1.2rem;
    text-align: center;
    transition: color 0.3s ease;
}

.social-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    /* Subtle accent bg */
    border-color: var(--accent-purple);
    color: white;
    transform: translateX(5px);
    /* Slide right */
    padding-left: 28px;
    /* Slight content shift */
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.social-btn:hover i {
    color: var(--accent-purple);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-section h2 {
        font-size: 2.5rem;
    }

    .info-card:hover {
        transform: translateY(-5px);
        /* Up instead of right on mobile */
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

/* Standard Page Styles */
.standard-page-container {
    padding-top: 140px;
    padding-bottom: 80px;
}

.page-title {
    margin-bottom: 40px;
    text-align: center;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Footer structure matching design */
.site-footer {
    background: var(--bg-primary);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main-wrapper {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
}

.footer-bottom-wrapper {
    width: 100%;
    padding: 40px 0;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-cta .btn {
    background: #8b5cf6;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s;
    display: inline-block;
}

.footer-cta .btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-copyright p {
    margin: 0;
    font-weight: 400;
    color: #cbd5e1;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--accent-purple-light);
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 0;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}


/* Single Post Hero */
.single-post-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -100px;
    /* Pull up behind fixed header */
    padding-top: 100px;
    /* Compensate content */
}

.single-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 5, 20, 0.3), rgba(10, 5, 20, 0.8));
    z-index: 1;
}

.single-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.single-title-hero {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.single-post-content-container {
    max-width: 800px;
    padding: 60px 20px 100px;
}

.single-cta-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 3;
    margin-top: -30px;
    /* Overlap with hero slightly or just below */
}

.single-cta-wrapper .btn {
    font-size: 1.1rem;
    padding: 18px 40px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.single-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.single-content p {
    margin-bottom: 24px;
}

.single-content h2,
.single-content h3 {
    margin-top: 48px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 600;
}

.post-navigation-wrapper {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .single-title-hero {
        font-size: 2.5rem;
    }

    .single-post-hero {
        height: 60vh;
    }
}

/* Pagination */
.pagination-wrapper {
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 12px;
    background: rgba(30, 21, 53, 0.4);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--gradient-purple);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 16px;
    border-radius: 20px;
}

/* ----------------------------------------------------- */
/* WEEKLY OVERVIEW SECTION - CREATIVE SLIDER             */
/* ----------------------------------------------------- */
.weekly-overview-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    /* Deep cosmic background to blend with hero */
    background: radial-gradient(circle at 100% 50%, rgba(76, 29, 149, 0.05), transparent 50%),
        radial-gradient(circle at 0% 20%, rgba(255, 107, 247, 0.03), transparent 40%);
}

.overview-container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.section-heading.text-left {
    text-align: left;
    align-items: flex-start;
}

.features-label {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.overview-visuals {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    position: relative;
}

/* The 3D Slider Wrapper */
.email-slider-wrapper {
    position: relative;
    width: 320px;
    height: 600px;
    margin: 0 auto;
    /* Ensure centering in its container */
    /* Proportion for mobile email screenshot */
    transform-style: preserve-3d;
}

.email-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Individual Slides */
.email-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    cursor: pointer;
    /* Default Hidden State */
    transform: translate3d(80px, 0, -100px) rotateY(-10deg);
}

/* Glass Frame Styling */
.slide-glass-frame {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    /* Much lighter, more glass-like */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    /* padding: 8px; Removed to fix gap */
    /* Inner frame padding */
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner stroke */
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.slide-glass-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0.5;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    display: block;
    transition: object-position 1s ease-out;
}

.email-slide.active:hover .slide-img {
    object-position: bottom center;
    transition: object-position 6s linear;
}

/* Slide Floating Mood Badges */
/* Slide Floating Mood Badges */
.slide-floating-badge {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    /* Glassmorphism: Lighter, transparent, frosted */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    z-index: 5;
    transition: all 0.3s ease;
}

.email-slide.active:hover .slide-floating-badge {
    transform: translateX(-50%) translateY(-4px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Badge Variants (Clean - No borders) */
.badge-action,
.badge-love,
.badge-reflection {
    border-bottom: none;
}

/* STATES */

/* Active: Front and Center */
.email-slide.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) rotateY(0deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.email-slide.active:hover .slide-glass-frame {
    box-shadow:
        0 30px 60px -12px rgba(139, 92, 246, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Next Slide: Peeking from behind-right */
.email-slide.next {
    opacity: 0.7;
    z-index: 5;
    transform: translate3d(40px, 15px, -60px) rotateY(-10deg);
    filter: brightness(0.6);
}

/* Prev Slide: Peeking from behind-left (or hidden in stack flow) */
/* We'll use a circular stack, so prev is effectively the 'last' one peeking left or just stack right */
.email-slide.prev {
    opacity: 0.3;
    z-index: 2;
    transform: translate3d(70px, 30px, -120px) rotateY(-15deg);
    filter: brightness(0.4);
}

/* Pagination Dots */
.slider-pagination {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-pagination .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.slider-pagination .dot.active {
    background: #a78bfa;
    width: 32px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.4);
}

/* Slider Navigation Arrows */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 20;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(139, 92, 246, 0.2);
    /* Accent purple hover */
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

/* Enhance Floating Badge */
.slide-floating-badge {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 4px;
    font-size: 0.9em;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .overview-container {
        flex-direction: column-reverse;
        /* Visuals on Top or Bottom? Let's check user preference or standard. Usually visuals middle/top. */
        /* Wait, original was image left, content right. Mobile usually stacks content then image or image then content. */
        /* Let's put Visuals FIRST on mobile for impact */
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding-top: 0;
    }

    .overview-visuals {
        width: 100%;
        height: auto;
        min-height: 420px;
        align-items: center;
        perspective: 800px;
        margin-top: 20px;
    }

    .email-slider-wrapper {
        width: 280px;
        height: 520px;
    }

    /* On mobile, maybe simpler stack? */
    .email-slide.next {
        transform: translate3d(25px, 10px, -50px) rotateY(-8deg);
    }

    .email-slide.prev {
        transform: translate3d(50px, 20px, -100px) rotateY(-12deg);
    }
}

/* Creative Feature Grid for Weekly Overview */
/* Creative Feature Grid for Weekly Overview */
.creative-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    margin-top: 32px;
}

.creative-feature-grid .feature-card {
    display: flex;
    align-items: flex-start;
    /* Align top for multi-line text */
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.creative-feature-grid .feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.creative-feature-grid .feature-card.full-width {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.creative-feature-grid .feature-card.full-width:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), rgba(255, 255, 255, 0.03));
}

.creative-feature-grid .feature-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple-light);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.creative-feature-grid .feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-purple);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    border-color: transparent;
}

/* --- Why Different Section Redesign --- */
.why-different-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #1a103c 0%, #0a0518 60%, #050212 100%);
}

/* Ambient Background Lights */
.why-different-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: pulseLight 8s ease-in-out infinite alternate;
}

.why-different-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 247, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: pulseLight 8s ease-in-out infinite alternate-reverse;
}

@keyframes pulseLight {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.why-different-section .container {
    position: relative;
    z-index: 1;
}

.why-different-section .section-heading {
    margin-bottom: 80px;
}

.why-different-section .section-heading h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.why-different-section .section-heading p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-different-section .feature-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: row;
    /* Changed to row */
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    /* Adjusted gap */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.why-different-section .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, center) var(--mouse-y, center), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.why-different-section .feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 20px 40px -5px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        inset 0 0 30px rgba(139, 92, 246, 0.05);
}

.why-different-section .feature-card:hover::before {
    opacity: 1;
}

.why-different-section .feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(255, 107, 247, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-different-section .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(255, 107, 247, 0.2));
}

.why-different-section .feature-content {
    flex: 1;
    /* Take up remaining space */
    min-width: 0;
    /* Prevent overflow */
}

.why-different-section .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px 0;
    /* Added bottom margin */
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
}

.why-different-section .feature-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .why-different-section .section-heading h2 {
        font-size: 2.8rem;
    }
}

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

    .why-different-section .feature-card {
        padding: 32px 24px;
        border-radius: 24px;
    }
}

.creative-feature-grid .feature-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.creative-feature-grid .feature-text strong {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.creative-feature-grid .feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .creative-feature-grid {
        grid-template-columns: 1fr;
    }

    .creative-feature-grid .feature-card.full-width {
        grid-column: auto;
    }

    /* ----------------------------------------------------- */
    /* MOBILE OPTIMIZATIONS (Critical Overhaul)              */
    /* ----------------------------------------------------- */

    /* Global Typography Reduction */
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .hero-subtext {
        font-size: 1.1rem !important;
    }

    /* Hero Section - Compact mobile view */
    .hero-section {
        padding-top: 120px !important;
        padding-bottom: 60px;
        min-height: auto;
        /* Remove full viewport height constraint */
        height: auto;
        background-attachment: scroll;
        /* Fix mobile parallax jitter */
    }

    .hero-content h1 {
        font-size: 3rem;
        /* Slightly larger than global h1 */
        line-height: 1.1;
    }

    /* Steps Grid - Stack Vertically */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    /* Weekly Overview - Better Stacking */
    .overview-container {
        gap: 40px;
        flex-direction: column;
    }

    .email-slider-wrapper {
        width: 100%;
        max-width: 320px;
        height: 580px;
        margin: 0 auto;
    }

    /* Signup Form */
    .signup-content {
        padding: 30px 20px;
        border-width: 2px;
    }

    .signup-header h2 {
        font-size: 2.2rem;
    }

    /* Inputs - Prevent zoom on iOS (16px size) */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="date"],
    .wpcf7 select,
    .wpcf7 textarea {
        font-size: 16px;
    }

    /* Button full width on mobile */
    .btn {
        width: 100%;
        display: block;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .feature-pill {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Scroll Reveal Animation */
.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------- */
/* BLOG ARCHIVE STYLES                                   */
/* ----------------------------------------------------- */

/* Blog Hero */
.blog-hero {
    position: relative;
    margin-top: 20px;
    padding: 200px 0 100px;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15), var(--bg-primary) 60%);
    text-align: center;
    overflow: hidden;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

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

/* Blog Card */
.blog-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.blog-card:hover .blog-card-bg {
    transform: scale(1.05);
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 5, 20, 0.9), rgba(10, 5, 20, 0.2) 60%, rgba(10, 5, 20, 0.1));
    z-index: 2;
}

.blog-card-content {
    position: relative;
    z-index: 3;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-content {
    transform: translateY(-5px);
}

.blog-date {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a78bfa;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.2;
    color: white;
    margin: 0 0 16px;
    font-style: italic;
}

.blog-excerpt {
    font-size: 1rem;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
    margin-bottom: 20px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.blog-card:hover .read-more-link {
    opacity: 1;
    transform: translateY(0);
}

.read-more-link svg {
    margin-left: 6px;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more-link svg {
    transform: translateX(4px);
}

/* Hover Glow */
.blog-card:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(45deg, transparent, rgba(167, 139, 250, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 4;
}

.blog-card:hover:after {
    opacity: 1;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-container {
        padding-top: 0 !important;
    }

    .blog-card {
        height: 450px;
        /* Taller on mobile for better touch targets/image ratio */
    }

    .blog-hero h1 {
        font-size: 2.8rem;
    }
}

/* ----------------------------------------------------- */
/* SLIDER ARROWS                                         */
/* ----------------------------------------------------- */
.email-slider-wrapper {
    /* Ensure relative positioning for absolute arrows if not already set */
    position: relative;
    /* Allow arrows to sit outside if needed, but be careful of section overflow */
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    outline: none;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -50px;
}

.slider-next {
    right: -50px;
}

@media (max-width: 991px) {

    /* Bring arrows closer on smaller screens if needed, or hide them and rely on touch/dots */
    .slider-prev {
        left: -20px;
    }

    .slider-next {
        right: -20px;
    }
}

/* ----------------------------------------------------- */
/* CREATIVE FEATURE GRID                                 */
/* ----------------------------------------------------- */
.creative-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.feature-card {
    display: flex;
    flex-direction: row;
    /* Force row layout */
    align-items: center;
    /* Vertically center icon with text block */
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Full Width Card for the last item */
.feature-card.full-width {
    grid-column: 1 / -1;
    /* Ensure flex row is maintained */
    flex-direction: row;
    align-items: center;
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
    color: #a78bfa;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center text info vertically against the icon */
}

.feature-text strong {
    font-family: 'Outfit', sans-serif;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 500px) {
    .creative-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------- */
/* SIGNUP SECTION CREATIVE REDESIGN                      */
/* ----------------------------------------------------- */

.signup-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    overflow: hidden;
}

.signup-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.signup-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.signup-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 2, 18, 0.8), rgba(5, 2, 18, 0.8));
}

/* Background floating elements (Orbs) */
.signup-section::before,
.signup-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.signup-section::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    top: -20%;
    left: -10%;
    animation: floatOrb 20s infinite ease-in-out;
}

.signup-section::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: floatOrb 25s infinite ease-in-out reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

.signup-glass-wrapper {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    padding: 0;
    /* Remove internal padding, handled by child elements */
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    /* For inner border radius */
    display: flex;
    flex-direction: column;
}

/* Header Area - creatively distinct */
.signup-header {
    background: transparent;
    padding: 30px 30px 10px;
    /* Reduced padding top/bottom */
    text-align: center;
    border-bottom: none;
}

.signup-header h2 {
    font-family: 'Playfair Display', serif;
    /* Elegant serif as requested */
    font-size: 3.5rem;
    /* Larger for impact */
    margin-bottom: 15px;
    /* Reduced margin */
    /* Even spacing */
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: white;
    font-style: italic;
    /* Match elegance */
    font-weight: 500;
}

.signup-header .serif-italic {
    /* Since parent is now serif/italic, distinctness comes from gradient */
    font-style: italic;
    font-weight: 600;
    /* Slightly bolder */
    color: #f59e0b;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 10px;
}

.signup-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 20px auto;
    /* Reduced margin */
    /* Even spacing */
    line-height: 1.6;
    font-family: 'Outfit', sans-serif;
}

.signup-offer-container {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    /* Reduced margin */
    margin-bottom: 15px;
    /* Reduced margin */
}

/* Form Container Area */
.form-wrapper {
    padding: 10px 30px 10px;
    /* Reduced top/bottom padding significantly */
}

/* Floating Input Design */
.wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin-bottom: 15px;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="date"],
.wpcf7-form-control-wrap input[type="time"],
.wpcf7-form-control-wrap input[type="tel"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0 !important;
    height: 50px !important;
    color: white !important;
    padding: 15px 0 5px 0 !important;
    font-size: 1.1rem !important;
    font-family: 'Outfit', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin: 0 !important;
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7-form-control-wrap input[type="text"]:focus,
.wpcf7-form-control-wrap input[type="email"]:focus,
.wpcf7-form-control-wrap input[type="date"]:focus,
.wpcf7-form-control-wrap input[type="time"]:focus,
.wpcf7-form-control-wrap input[type="tel"]:focus {
    border-color: var(--accent-purple) !important;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.05)) !important;
    padding-left: 0 !important;
    outline: none;
}

/* Labels styling */
.form-wrapper label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    margin-top: 15px;
    display: block;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}

/* Radio Cards (Plans) - The "Cosmic Cards" */
.plan-radio {
    width: 100%;
}

/* Radio Cards (Plans) */
/* ----------------------------------------------------- */
/* COMPACT COSMIC PLAN SELECTION                         */
/* ----------------------------------------------------- */

/* Force plan radio container to Grid */
.plan-radio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.plan-radio .wpcf7-list-item {
    display: block;
    margin: 0 !important;
    width: 100%;
    /* Reset CF7 defaults */
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Ensure no phantom circles from list item pseudos */
.plan-radio .wpcf7-list-item::before,
.plan-radio .wpcf7-list-item::after {
    display: none !important;
    content: none !important;
}

.plan-radio label {
    display: flex !important;
    flex-direction: column;
    /* Stack text inside */
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 20px 18px;
    /* Compact padding */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

/* Star Selector (replacing circle) */
.plan-radio .wpcf7-list-item-label::before {
    content: '★';
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: rgba(255, 255, 255, 0.1);
    border: none;
    position: absolute;
    top: 20px;
    right: 10px;
    left: auto;
    transform: none;
    transition: all 0.3s ease;
    font-size: 24px;
    /* Bigger star */
    background: transparent;
    line-height: 1;
}

.plan-radio input:checked+.wpcf7-list-item-label::before {
    color: #fbbf24;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.6), 0 0 5px #fbbf24;
    /* Soft glow */
    transform: scale(1.1);
}

/* Active Card State */
.plan-radio label:has(input:checked) {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 0, 0, 0));
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.15), inset 0 0 20px rgba(124, 58, 237, 0.05);
}

/* Hide the hover shine on these smaller cards to keep it clean, or subtle */
.plan-radio label::after {
    display: none;
}

/* Text Wrapper inside Radio */
.plan-radio .wpcf7-list-item-label {
    padding-left: 0;
    /* Reset padding since star is moved */
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    margin: 0 !important;
}

/* Custom Text Styling */
.plan-header {
    font-family: 'Playfair Display', serif;
    /* Elegant font */
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    color: white;
    margin-bottom: 2px;
    display: block;
    padding-right: 30px;
    /* Space for star */
    line-height: 1.2;
}

.plan-subheader {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: #fbbf24;
    font-size: 0.75rem;
    margin-bottom: 12px;
    display: block;
    opacity: 1;
    letter-spacing: 0.5px;
}

.plan-feature {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
    display: block;
    line-height: 1.3;
}

/* Acceptance Checkbox */
.acceptance-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

.acceptance-wrapper .wpcf7-list-item {
    margin: 0;
    padding: 0;
}

.acceptance-wrapper label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.5px;
}

.acceptance-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    /* Prevent shrinking */
    margin: 0;
    /* Reset default margins */
}

.acceptance-wrapper input[type="checkbox"]:checked {
    background: #fbbf24;
    border-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.acceptance-wrapper input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #1e1e1e;
    font-weight: bold;
}

.acceptance-wrapper a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.acceptance-wrapper a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .plan-radio {
        grid-template-columns: 1fr;
    }
}

/* Submit Button - The "Big Bang" */
.wpcf7-submit {
    width: 100%;
    background: linear-gradient(135deg, #FFF 0%, #cbd5e1 100%);
    /* White/Silver premium button */
    color: #0f172a !important;
    /* Dark text for contrast */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: #FFF;
}

/* ----------------------------------------------------- */
/* MODERN FORM ALERTS (Creative & Animated)              */
/* ----------------------------------------------------- */

/* Main Response Container */
.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 16px 24px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    /* Animation */
    animation: alertSlideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform-origin: center;
    /* Fix Visibility */
    position: relative;
    z-index: 10005;
    scroll-margin-top: 120px;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

.wpcf7-mail-sent-ok::before {
    content: '✨ ';
    margin-right: 6px;
}

/* Error / Validation Message */
.wpcf7-validation-errors,
.wpcf7-acceptance-missing,
.wpcf7-spam-blocked,
.wpcf7-aborted {
    background: rgba(244, 63, 94, 0.15) !important;
    border-color: rgba(244, 63, 94, 0.3) !important;
    color: #fb7185 !important;
}

.wpcf7-validation-errors::before,
.wpcf7-acceptance-missing::before {
    content: '⚠️ ';
    margin-right: 6px;
}

/* Field-level Validation Tips */
.wpcf7-not-valid-tip {
    font-size: 0.8rem !important;
    color: #fb7185 !important;
    margin-top: 6px !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeIn 0.3s ease-in-out;
}

.wpcf7-not-valid-tip::before {
    content: '!';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    background: rgba(244, 63, 94, 0.2);
    color: #fb7185;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Animation Keyframes */
@keyframes alertSlideUp {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Badge update */
.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .badge-pill {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }

    .signup-header {
        padding: 20px 15px 5px;
    }

    .signup-header h2 {
        font-size: 2.2rem;
    }

    .form-wrapper {
        padding: 20px 15px 30px;
    }
}

.signup-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px auto 0;
    width: fit-content;
    max-width: 90%;
    padding-bottom: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: left;
}

.signup-footer-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.5;
}

.signup-footer-note span {
    display: block;
}




/* Slider Bubbles */
.slide-bubble {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 21, 53, 0.6);
    /* Slightly darker for better contrast */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    /* Increased text size */
    font-weight: 600;
    /* Increased weight */
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    /* More space between icon and text */
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Show bubble only on active slide */
.email-slide.active .slide-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Bubble Icon */
.bubble-icon {
    font-size: 1.8rem;
    /* Much larger icon */
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    display: inline-block;
}

/* Adjust bubble for mobile */
@media (max-width: 768px) {
    .slide-bubble {
        bottom: 20px;
        padding: 8px 16px;
        font-size: 0.8rem;
        width: 85%;
        /* Prevent overflow on small screens */
        justify-content: center;
        white-space: normal;
        /* Allow wrapping */
        text-align: center;
    }
}

/* ----------------------------------------------------- */
/* 3D TESTIMONIALS SLIDER                                */
/* ----------------------------------------------------- */

.testimonials-3d-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 80px;
    perspective: 1000px;
    /* Essential for 3D effect */
    overflow: visible;
}

/* The Slider Container */
.testimonials-3d-slider {
    position: relative;
    height: 480px;
    /* Fixed height for absolute positioned cards */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Single Card - Absolute Positioned */
.testimonial-card-3d {
    position: absolute;
    width: 600px;
    max-width: 90%;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    z-index: 0;
    transform-style: preserve-3d;
    height: auto;
    display: flex;
    justify-content: center;
}

/* Active State */
.testimonial-card-3d.active {
    opacity: 1;
    z-index: 20;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

/* Next State (Right) - Stacked Effect */
.testimonial-card-3d.next {
    opacity: 0.5;
    z-index: 10;
    transform: translateX(60%) scale(0.85) rotateY(-10deg);
    pointer-events: none;
    filter: blur(2px);
}

/* Prev State (Left) - Stacked Effect */
.testimonial-card-3d.prev {
    opacity: 0.5;
    z-index: 10;
    transform: translateX(-60%) scale(0.85) rotateY(10deg);
    pointer-events: none;
    filter: blur(2px);
}

/* Back Slide (Hidden) */
.testimonial-card-3d.back {
    opacity: 0;
    z-index: 5;
    transform: scale(0.7);
    pointer-events: none;
}

/* Inner Card Design (Glassmorphism) */
.card-glass-content {
    background: rgba(30, 21, 53, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 50px 40px;
    text-align: center;
    box-shadow:
        0 30px 60px -10px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
}

/* Glow Effect */
.card-glass-content:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 50%, rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* Quote Icon */
.quote-icon {
    color: var(--accent-purple);
    opacity: 0.9;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
}

.testimonial-card-3d blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #f1f5f9;
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

/* Author Section */
.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.author-details {
    text-align: left;
}

.author-name {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
}

.author-role {
    display: block;
    color: var(--accent-purple-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stars {
    color: #FDE047;
    letter-spacing: 4px;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(253, 224, 71, 0.4));
}

/* Navigation Overrides */
.testimonials-3d-wrapper .slider-arrow {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 30;
    width: 56px;
    height: 56px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.testimonials-3d-wrapper .slider-arrow:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.testimonials-3d-wrapper .slider-prev {
    left: 20px;
}

.testimonials-3d-wrapper .slider-next {
    right: 20px;
}

/* Pagination Dots */
.slider-pagination-3d {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    position: relative;
    z-index: 10;
}

.dot-3d {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-3d:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dot-3d.active {
    background: var(--accent-purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    width: 60px;
    /* Expand active dot */
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .testimonial-card-3d {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    .testimonials-3d-slider {
        height: 520px;
        /* Taller for mobile wrapping */
    }

    .card-glass-content {
        padding: 40px 24px;
    }

    .testimonial-card-3d blockquote {
        font-size: 1.1rem;
    }

    .testimonials-3d-wrapper .slider-arrow {
        display: none;
    }

    /* Tighter stacking on mobile */
    .testimonial-card-3d.next {
        opacity: 0.2;
        transform: translateX(20%) scale(0.9);
    }

    .testimonial-card-3d.prev {
        opacity: 0.2;
        transform: translateX(-20%) scale(0.9);
    }

    .testimonials-3d-wrapper {
        padding-bottom: 40px;
    }
}

/* ----------------------------------------------------- */
/* FOOTER SECTION                                        */
/* ----------------------------------------------------- */

.site-footer {
    background: radial-gradient(circle at 50% 0%, #1e1535 0%, #050212 100%);
    position: relative;
    padding-top: 80px;
    margin-top: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.footer-content-wrapper {
    padding-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Column Styles */
.footer-col h4 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* Brand Column */
.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
    color: #94a3b8;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* Links Columns */
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Newsletter Column */
.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #94a3b8;
}

.footer-subscribe {
    position: relative;
    max-width: 100%;
}

.footer-subscribe input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.footer-subscribe input:focus {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.footer-subscribe .btn-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-purple);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-subscribe .btn-icon:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Bottom Bar */
.footer-bottom {
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    text-align: center;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-desc {
        margin: 0 auto 24px;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* --- Modern Toast Notifications --- */
.astroly-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    /* Allow clicks through container */
}

.astroly-toast {
    pointer-events: auto;
    width: 320px;
    background: rgba(30, 21, 53, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.astroly-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.astroly-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

/* Toast Variants */
.astroly-toast.success {
    border-left: 4px solid #10B981;
}

.astroly-toast.error {
    border-left: 4px solid #EF4444;
}

.astroly-toast.info {
    border-left: 4px solid #3B82F6;
}

.astroly-toast-icon {
    font-size: 1.25rem;
    padding-top: 2px;
}

.astroly-toast.success .astroly-toast-icon {
    color: #10B981;
}

.astroly-toast.error .astroly-toast-icon {
    color: #EF4444;
}

.astroly-toast.info .astroly-toast-icon {
    color: #3B82F6;
}

.astroly-toast-content {
    flex: 1;
}

.astroly-toast-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.2;
}

.astroly-toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.astroly-toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    margin: 0;
    transition: color 0.2s;
}

.astroly-toast-close:hover {
    color: var(--text-white);
}

/* Progress Bar */
.astroly-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.astroly-toast-progress-bar {
    height: 100%;
    background: currentColor;
    /* Inherits from text color or set specifically */
    width: 100%;
    transform-origin: left;
    transition: transform linear;
}

.astroly-toast.success .astroly-toast-progress-bar {
    background: #10B981;
}

.astroly-toast.error .astroly-toast-progress-bar {
    background: #EF4444;
}

.astroly-toast.info .astroly-toast-progress-bar {
    background: #3B82F6;
}

/* Hide Default CF7 Alerts */
.wpcf7-response-output,
.wpcf7-not-valid-tip {
    display: none !important;
}

/* Invalid Input Styling */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #ff4d4d !important;
    background: rgba(255, 77, 77, 0.03) !important;
    box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.3), 0 0 20px rgba(255, 77, 77, 0.15) !important;
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Shake Animation for Submit Button */
.shake-animation {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

/* Enhanced Plan Selection Visual Feedback */
.plan-radio label.selected-plan,
.plan-radio .wpcf7-list-item:has(input:checked) label {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3), 0 8px 25px rgba(139, 92, 246, 0.25) !important;
    transform: scale(1.02);
}

.plan-radio label.selected-plan::before,
.plan-radio .wpcf7-list-item:has(input:checked) label::before {
    opacity: 1;
}

/* Toast Mobile Responsiveness */
@media (max-width: 480px) {
    .astroly-toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }

    .astroly-toast {
        width: 100%;
        max-width: none;
    }
}

/* --- Global Scroll Reveal Animations --- */
.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for better effect if children are revealed */
.revealed:nth-child(1) {
    transition-delay: 0.1s;
}

.revealed:nth-child(2) {
    transition-delay: 0.2s;
}

.revealed:nth-child(3) {
    transition-delay: 0.3s;
}

/* =========================================
   MOBILE RESPONSIVENESS OPTIMIZATIONS
   ========================================= */

/* 1. Global Overflow Fix */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 2. Container Consistency */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }

    /* Typography Scaling */
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .section-heading h2 {
        font-size: 2.2rem !important;
        /* Visual balance */
    }
}

/* 3. Header & Navigation */
@media (max-width: 992px) {
    .site-header {
        padding: 10px;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }

    .header-logo {
        height: 32px;
        /* Smaller logo */
    }

    /* Hide the CTA in header on mobile to prevent overlap */
    .header-actions .btn {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }
}

/* 4. Hero Section Fixes */
@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        /* Allow content to grow */
        min-height: 100vh !important;
        max-height: none !important;
        /* Remove max-height constraint completely */
        padding-top: 100px !important;
        /* Rationalize top padding */
        padding-bottom: 60px !important;
        overflow: visible !important;
        /* Allow scrolling if needed */
    }

    /* Specific fix for Home Page Mobile Hero Padding */
    .home .hero-section {
        padding-top: 0px !important;
    }

    .hero-container {
        padding-top: 120px !important;
        /* Remove double padding */
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .page:not(.home) .hero-container {
        padding-top: 80px !important;
    }

    .hero-content h1 {
        font-size: 3rem !important;
        line-height: 1.1;
        padding: 0 10px;
        margin-bottom: 16px;
    }

    .hero-subtext {
        font-size: 0.95rem !important;
        padding: 0 10px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    /* Wrap pills nicely */
    .hero-features {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-bottom: 24px;
    }

    .feature-pill {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    /* Check Offer Container */
    .hero-offer-container {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        margin-top: 0;
        gap: 12px;
    }

    .hero-offer-container .btn {
        padding: 12px 20px;
        /* Smaller padding for mobile button */
        width: 100%;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
        /* Hide on mobile to prevent overlap */
    }

    .offer-disclaimer {
        margin-top: 8px !important;
        font-size: 0.8rem !important;
    }

    .offer-timer-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        width: auto;
    }

    /* Hide "Instant access:" on mobile for compact display */
    .instant-access-text {
        display: none;
    }
}

/* 5. How It Works */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 0 !important;
    }

    .steps-grid {
        margin-top: 40px;
        gap: 60px;
        /* More space between stacked steps */
    }

    .step-card {
        padding: 30px 20px;
    }
}

/* 6. Form Optimizations */
@media (max-width: 768px) {
    .two-col {
        flex-direction: column;
        gap: 20px !important;
    }

    .form-wrapper .wpcf7-form-control-wrap {
        width: 100%;
    }

    .signup-content {
        padding: 30px 20px;
        border-width: 1px;
    }

    .signup-header h2 {
        font-size: 2rem;
    }

    /* Privacy Checkbox Fix */
    .form-wrapper .wpcf7-acceptance .wpcf7-list-item>label {
        padding: 12px;
        align-items: flex-start;
    }

    .form-wrapper .wpcf7-acceptance .wpcf7-list-item-label {
        font-size: 0.85rem;
    }
}

/* 7. Plan Selection Optimizations */
@media (max-width: 768px) {
    .plan-radio .wpcf7-list-item {
        padding: 20px 20px 20px 50px !important;
        /* Adjust padding */
    }

    /* Adjust radio circle position */
    .plan-radio .wpcf7-list-item::before {
        left: 15px;
    }

    .plan-radio .wpcf7-list-item::after {
        left: 29px;
        /* 15 + 22/2 + adjustment */
    }

    .plan-header {
        font-size: 1.3rem;
    }
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS FIXES
   ========================================= */

/* 1. REDUCE SECTION PADDING */
@media (max-width: 768px) {
    section {
        padding: 50px 0 !important;
    }

    .how-it-works-section {
        padding: 50px 0 !important;
    }

    .faq-section {
        padding: 60px 0 !important;
    }

    .contact-section {
        padding: 60px 0 !important;
    }

    .weekly-overview-section {
        padding: 50px 0 !important;
        margin-top: 80px !important;
    }

    .testimonials-section {
        padding: 50px 0 !important;
    }

    .why-different-section {
        padding: 50px 0 !important;
    }

    .blog-section {
        padding: 50px 0 !important;
    }

    .signup-section {
        padding: 50px 0 !important;
    }
}

/* 2. FIX SLIDER ARROWS VISIBILITY */
@media (max-width: 768px) {
    .slider-arrow {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        position: absolute;
        z-index: 20;
    }

    .slider-prev {
        left: 5px !important;
    }

    .slider-next {
        right: 5px !important;
    }

    .testimonials-3d-wrapper .slider-arrow {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
    }
}

/* 3. FIX PLAN SELECTION DUPLICATE BORDERS */
@media (max-width: 768px) {
    .plan-radio {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Remove ALL styles from the outer container */
    .plan-radio .wpcf7-list-item,
    .plan-radio .wpcf7-list-item:first-child,
    .plan-radio .wpcf7-list-item:nth-child(2),
    .plan-radio .wpcf7-list-item:has(input:checked),
    .plan-radio .wpcf7-list-item:first-child:has(input:checked) {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Only the inner label should have styling */
    .plan-radio label {
        padding: 18px 16px !important;
        background: rgba(30, 21, 53, 0.6) !important;
        border: 1px solid rgba(139, 92, 246, 0.3) !important;
        border-radius: 16px !important;
    }

    .plan-radio label:has(input:checked) {
        border-color: var(--accent-purple) !important;
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3) !important;
    }
}

/* 4. FIX FORM FIELD SPACING */
@media (max-width: 768px) {
    .wpcf7-form-control-wrap {
        margin-bottom: 16px !important;
    }

    .form-wrapper input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
    .form-wrapper select {
        padding: 14px 16px !important;
        font-size: 16px !important;
        /* Prevent iOS zoom */
    }

    .form-wrapper p {
        margin-top: 12px !important;
    }

    .signup-glass-wrapper {
        padding: 24px 12px !important;
        width: calc(100% - 16px) !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
    }

    .signup-section .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .form-wrapper {
        padding: 0 8px !important;
    }
}



/* 6. FIX STEPS GRID GAP */
@media (max-width: 768px) {
    .steps-grid {
        gap: 30px !important;
        margin-top: 30px !important;
    }
}

/* 7. FIX FAQ ACCORDION GAP */
@media (max-width: 768px) {
    .faq-accordion {
        gap: 12px !important;
    }
}



/* 8. FIX OVERVIEW CONTAINER MOBILE */
@media (max-width: 992px) {
    .overview-container {
        flex-direction: column !important;
        gap: 100px !important;
    }

    .overview-visuals,
    .overview-content {
        width: 100% !important;
    }

    .email-slider-wrapper {
        width: 100% !important;
        max-width: 340px !important;
        height: 460px !important;
    }
}

/* ----------------------------------------------------- */
/* TOAST NOTIFICATION & SCROLL FIXES                     */
/* ----------------------------------------------------- */

/* Ensure auto-scroll target isn't hidden behind header */
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea,
.wpcf7-response-output,
.wpcf7-not-valid-tip {
    scroll-margin-top: 140px !important;
}

/* Custom Toast Container - Default Desktop (Top Right) */
.astroly-toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 11000;
    /* Above header */
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
}

/* Toast Card Style */
.astroly-toast {
    background: rgba(15, 10, 31, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    color: white;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.astroly-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.astroly-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.astroly-toast.success .astroly-toast-icon {
    color: #34d399;
}

.astroly-toast.error .astroly-toast-icon {
    color: #fb7185;
}

.astroly-toast.info .astroly-toast-icon {
    color: #60a5fa;
}

.astroly-toast-content {
    flex: 1;
}

.astroly-toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.astroly-toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.astroly-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
}

.astroly-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.astroly-toast-progress-bar {
    height: 100%;
    background: var(--accent-purple);
    width: 100%;
    transform-origin: left;
}

/* Mobile Specific Toast & Alert Tweaks */
@media (max-width: 768px) {

    /* Move Toasts to Bottom on Mobile to completely avoid Header */
    .astroly-toast-container {
        top: auto;
        bottom: 24px;
        left: 20px;
        right: 20px;
        align-items: stretch;
    }

    .astroly-toast {
        width: 100%;
        min-width: auto;
        max-width: 100%;
        transform: translateY(20px);
    }

    .astroly-toast.show {
        transform: translateY(0);
    }

    /* Additional safety for CF7 inline messages */
    .wpcf7-response-output {
        margin-top: 30px !important;
        scroll-margin-top: 150px !important;
        /* Ensure big clearance */
    }
}

/* 9. FIX CONTACT CONTAINER MOBILE */
@media (max-width: 768px) {
    .contact-container {
        gap: 30px !important;
    }

    .contact-form-wrapper {
        padding: 24px 16px !important;
    }
}