/* ==========================================================================
   soFree Landing Page - Clean & Focused
   ========================================================================== */

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

/* Wave Background Canvas - Attached to Hero Section */
.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Above hero background, below content */
    pointer-events: none;
    opacity: 1; /* Fully visible */
    /* Scrolls with hero section */
}

/* Design Tokens */
:root {
    /* Colors - soFree Brand Palette */
    --color-primary: #614298;           /* Primary Purple - Main brand color */
    --color-primary-light: #CE72FB;     /* Bright Purple - Special highlights */
    --color-secondary: #59B2D1;         /* soFree Blue - Secondary brand color */
    --color-accent: #59B2D1;            /* Using soFree Blue as accent */
    --color-accent-light: #71C0E2;      /* Light blue from logo gradient */
    --color-background-dark: #271A4D;   /* Primary Background - Deep purple */
    --color-background-secondary: #42355A; /* Secondary Background */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-300: #e5e7eb;
    --color-gray-400: #9ca3af;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Poppins', system-ui, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-size-sm: 0.875rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Layout */
    --container-width: 1200px;
    --container-padding: 1.5rem;
    
    /* Radius & Shadows */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Base Elements */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-gray-900);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Consistent heading rhythm */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-lg) 0;
}

.header__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo{
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 48px;
}

/* Navigation links in header */
.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--color-gray-700);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: var(--color-gray-100);
}

.nav-link:active {
    transform: translateY(1px);
}

/* Active state for current page */
.nav-link.active {
    color: var(--color-primary);
    background-color: rgba(97, 66, 152, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius);
    transition: background-color 0.2s ease;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn:hover {
    background-color: var(--color-gray-100);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--color-gray-700);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is open - perfectly centered X */
.mobile-menu-open .mobile-menu-btn .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-open .mobile-menu-btn .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-open .mobile-menu-btn .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */

.main {
    position: relative;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    background-color: transparent; /* Let waves show through */
    min-height: 100vh;
    padding: var(--space-4xl) 0;
    display: flex;
    align-items: center;
    color: var(--color-gray-900);
    z-index: 20; /* Content above wave background */
    overflow: hidden;
}

/* Removed complex background image and gradient overlays for clean design */

/* Removed parallax animation - not needed with simple background */

/* Split layout for hero with left content and right image */
.hero--split .hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero--split .hero__content {
    text-align: left;
    max-width: none;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20; /* Above wave canvas (z-index: 10) */
}

/* Phone mockup placeholder styling - Latest iPhone Design */
.phone-mockup {
    /* Scale factor - change this to resize everything proportionally */
    --phone-scale: 1;
    
    /* iPhone 15 Pro specifications (428 × 926 logical pixels) */
    /* Base dimensions that scale - accurate iPhone proportions */
    width: calc(300px * var(--phone-scale));
    height: calc(650px * var(--phone-scale)); /* 300 * (926/428) = ~649px for accurate aspect ratio */
    
    /* All styling scales with the container */
    background: var(--color-gray-900); /* Match text color */
    border-radius: calc(37px * var(--phone-scale)); /* Accurate iPhone corner radius: 300 * (53.33/428) */
    padding: calc(4px * var(--phone-scale)); /* Slightly thicker border/bezel */
    box-shadow: 
        calc(20px * var(--phone-scale)) calc(20px * var(--phone-scale)) calc(60px * var(--phone-scale)) rgba(17, 24, 39, 0.25),
        calc(-2px * var(--phone-scale)) calc(-2px * var(--phone-scale)) calc(15px * var(--phone-scale)) rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dynamic Island - modern iPhone design */


/* Content area - scales with container */
.phone-mockup__placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
    border-radius: calc(33px * var(--phone-scale)); /* Match the outer border radius minus thicker padding */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    font-size: calc(0.9rem * var(--phone-scale));
    text-align: center;
    overflow: hidden; /* Ensures content stays within rounded corners */
}

/* Image styling for when you add images */
.phone-mockup__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio while filling container */
    border-radius: calc(35px * var(--phone-scale)); /* Match the content area radius */
}

.hero__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    width: 100%;
}

.hero__content {
    position: relative;
    z-index: 20; /* Above wave canvas (z-index: 10) */
    max-width: 500px;
}

.hero__headline {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.hero__hook {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero__cta-button {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.hero__cta-button:hover {
    transform: translateY(-2px);
}

/* Button Container */
.hero__cta-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

/* Ghost Button with Simple Outline */
.hero__cta-button--ghost {
    background: transparent;
    color: var(--color-primary-light);
    border: 2px solid var(--color-primary-light);
    margin-top: 0;
    padding: calc(var(--space-md) - 2px) var(--space-lg); /* Adjust for border */
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1rem; /* Slightly smaller than main CTA */
}

.hero__cta-button--ghost:hover {
    /* Remove background and color changes */
}

.hero__cta-button--ghost::before {
    content: '▶';
    font-size: 0.75rem;
}

.form-subtitle {
    margin-top: var(--space-xs);
    margin-bottom: var(--space-md);
    color: var(--color-gray-700);
    font-size: 0.95rem;
}

.hero__form {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 400px;
    padding: var(--space-lg) 0;
}

/* Mailchimp Form Styling */
#mc_embed_shell {
    width: 100%;
    min-width: 320px;
}

.mailchimp-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

#mc_embed_signup_scroll {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-title {
    color: var(--color-gray-900);
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    text-align: center;
    flex-shrink: 0;
}

.mc-field-group {
    flex-shrink: 0;
}

.mc-field-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-700);
    margin-top: var(--space-xs);
    text-align: left;
}

.asterisk {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

/* Radio Button Styling */
.radio-group-label {
    display: block;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-700);
    text-align: left;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    min-height: 40px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-gray-700);
    cursor: pointer;
    margin-bottom: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
}

.radio-option:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    pointer-events: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: transparent;
    display: inline-block;
    vertical-align: middle;
    margin-right: var(--space-xs);
}

.radio-option:hover .radio-custom {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
}

.radio-option input[type="radio"]:focus + .radio-custom {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.clear {
    margin-top: auto;
}

/* Submit Button */
.mailchimp-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    margin-top: var(--space-md);
}

.mailchimp-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mailchimp-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.mailchimp-submit-btn.loading .btn-text {
    display: none;
}

.mailchimp-submit-btn.loading .btn-loading {
    display: inline;
}

/* Response Messages */
.response {
    padding: var(--space-sm);
    border-radius: var(--radius);
    font-size: 0.875rem;
    text-align: center;
}

#mce-success-response,
#mce-success-response-bottom {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

#mce-error-response,
#mce-error-response-bottom {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    margin-top: var(--space-sm);
}

/* ==========================================================================
   Video Modal
   ========================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.modal__content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--color-gray-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.modal.is-open .modal__content {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    transition: all 0.2s ease;
}

.modal__close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal__video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.modal__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
    .modal__content {
        width: 95%;
    }
    
    .modal__close {
        top: var(--space-sm);
        right: var(--space-sm);
        width: 36px;
        height: 36px;
    }
}

/* ==========================================================================
   Logo Carousel Section
   ========================================================================== */

.logo-carousel-section {
    padding: var(--space-3xl) 0;
    background-color: rgba(97, 66, 152, 0.2);
    overflow: hidden;
}

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

.logo-carousel__title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: var(--space-xl);
}

.logo-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.logo-track {
    display: inline-block;
    animation: scroll-logos 40s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: inline-block;
    margin: 0 var(--space-3xl);
    max-height: 40px;
    max-width: 140px;
    width: auto;
    height: auto;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
    vertical-align: middle;
    backface-visibility: hidden;
}

.logo-item:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll-logos {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Mobile adjustments for logo carousel */
@media (max-width: 768px) {
    .logo-carousel-section {
        padding: var(--space-2xl) 0;
    }
    
    .logo-item {
        margin: 0 var(--space-xl);
        max-height: 32px;
        max-width: 110px;
    }
    
    .logo-track {
        animation: scroll-logos 30s linear infinite;
    }
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.benefits {
    padding: var(--space-4xl) 0;
    background-color: var(--color-gray-50);
    position: relative;
    z-index: 10;
}

.benefits__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.benefits__content {
    display: flex;
    justify-content: center;
}

.benefits__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits__screenshot {
    max-width: 100%;
    height: auto;
}

.benefits__title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

/* Benefit Cards */
.benefit {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.benefit:hover {
    transform: translateY(-4px);
}

.benefit__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.benefit__title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.benefit__text {
    color: var(--color-gray-600);
}

/* Why Try */
.why-try {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.why-try__title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    max-width: 350px
}

.why-try__list {
    list-style: none;
    text-align: left;
}

.why-try__item {
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
    font-size: 1.125rem;
    color: var(--color-gray-700);
}

.why-try__item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
}

/* ==========================================================================
   Feature Sections
   ========================================================================== */

.features-wrapper {
    background: url('/static/images/starry_background.png') center/cover, linear-gradient(135deg, var(--color-background-dark) 0%, var(--color-primary) 50%, var(--color-background-dark) 100%);
    background-attachment: fixed;
    position: relative;
    z-index: 10;
}

.feature {
    padding: var(--space-4xl) 0;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-white);
}

.feature__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: flex-start;
}

.feature--reset .feature__container {
    direction: rtl;
}

.feature--reset .feature__visual,
.feature--reset .feature__content {
    direction: ltr;
}
.feature__visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: 2rem;
    align-self: start;
}

.feature__video-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background-color: var(--color-primary);
    border-radius: var(--radius-lg);
}

.feature__video {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    object-fit: cover;
    display: block;
}

.feature__icon-large {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    color: var(--color-white);
}

.feature__icon-large svg {
    width: 100px;
    height: 100px;
    stroke-width: 1.5;
}

/* Bouncing Ball Animation for Reset Section */
.bouncing-ball-container {
    /* Container sets the base size - aspect ratio 5:3 (width:height) */
    /* Using height 300px, width = 300 * (5/3) = 500px */
    width: 500px;
    height: 300px;
    position: relative;
    background: #25183D;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Match iPhone border and border radius */
    border-radius: 37px;
    border: 4px solid #111827;
    box-shadow: 
        20px 20px 60px rgba(17, 24, 39, 0.25),
        -2px -2px 15px rgba(255, 255, 255, 0.1);
}

.ball {
    /* Ball size as percentage of container width */
    width: 19.3%;
    height: 0;
    padding-bottom: 19.3%; /* Maintains square aspect ratio */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    background: linear-gradient(135deg, #CE72FB 0%, #FFA4FF 100%);
    transform: translateY(-50%);
    z-index: 2;
    animation: 
        fadeIn 1s ease-in-out,
        bounce 3s linear infinite 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes bounce {
    0% {
        left: 0;
        transform: translateY(-50%) scale(1.0);
    }
    25% {
        left: calc(50% - 9.65%);
        transform: translateY(-50%) scale(0.7);
    }
    50% {
        left: calc(100% - 19.3%);
        transform: translateY(-50%) scale(1.0);
    }
    75% {
        left: calc(50% - 9.65%);
        transform: translateY(-50%) scale(0.7);
    }
    100% {
        left: 0;
        transform: translateY(-50%) scale(1.0);
    }
}

/* Side Impact Glow Effects */
.glow {
    position: absolute;
    top: 0;
    width: 38.6%; /* BALL_SIZE * 2 = 19.3% * 2 */
    height: 100%;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.glow--left {
    left: 0;
    background: radial-gradient(
        ellipse 70% 75% at 0% 50%,
        rgba(206, 114, 251, 0.24) 0%,
        rgba(206, 114, 251, 0.16) 70%,
        rgba(37, 24, 61, 0) 100%
    );
    animation: leftGlow 3s linear infinite 1s;
}

.glow--right {
    right: 0;
    background: radial-gradient(
        ellipse 70% 75% at 100% 50%,
        rgba(206, 114, 251, 0.24) 0%,
        rgba(206, 114, 251, 0.16) 70%,
        rgba(37, 24, 61, 0) 100%
    );
    animation: rightGlow 3s linear infinite 1s;
}

@keyframes leftGlow {
    /* Ball hits left at 0% and 100% of bounce cycle (3s total) */
    /* Flash: fade in 100ms (3.33%), fade out 300ms (10%) */
    0% {
        opacity: 1; /* Flash on */
    }
    3.33% { /* 0% + 100ms/3000ms = 3.33% */
        opacity: 1;
    }
    6.67% { /* 3.33% + 300ms/3000ms = 6.67% */
        opacity: 0; /* Fade out */
    }
    7%, 98% {
        opacity: 0;
    }
    100% {
        opacity: 1; /* Flash on again */
    }
}

@keyframes rightGlow {
    /* Ball hits right at 50% of bounce cycle (3s total) */
    /* Flash: fade in 100ms (3.33%), fade out 300ms (10%) */
    0%, 48% {
        opacity: 0;
    }
    50% {
        opacity: 1; /* Flash on */
    }
    51.67% { /* 50% + 100ms/3000ms = 51.67% */
        opacity: 1;
    }
    55.67% { /* 51.67% + 300ms/3000ms = 55.67% */
        opacity: 0; /* Fade out */
    }
    56%, 100% {
        opacity: 0;
    }
}

/* Daily Scores Chart - Complete SVG */
.daily-scores-svg-wrapper {
    width: 100%;
    max-width: 500px;
}

.daily-scores-svg {
    width: 100%;
    height: auto;
    display: block;
}

.feature__sofree-score {
    display: flex;
    align-items: center;
    font-size: 1rem;
    padding: 1.25em 4.4em;
    background-color: #271A4D;
    border-radius: 5em;
    width: 30.5em;
    position: relative;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        box-shadow: 0 0 30px rgba(206, 114, 251, 0.04), 0 0 60px rgba(206, 114, 251, 0.02), 0 0 100px rgba(206, 114, 251, 0.01);
    }
    100% {
        box-shadow: 0 0 40px rgba(206, 114, 251, 0.06), 0 0 80px rgba(206, 114, 251, 0.03), 0 0 140px rgba(206, 114, 251, 0.015);
    }
}
.sofree-score__logo {
    width: 10em;
}
.sofree-score__data {
    position: absolute;
    right: 3em;
    background-color: #42355A;
    border-radius: 50%;
    aspect-ratio: 1;
    width: 11em;
    display: grid;
    justify-content: center;
    align-items: center;
}
.sofree-score__score {
    font-size: 3em;
    font-weight: 500;
    position: relative;
    top: .4em;
    text-align: center;
}
.sofree-score__trend {
    font-size: 1.65em;
    font-weight: 600;
    position: relative;
    bottom: .9em;
    color: #7FC873;
}
.feature__content {
    max-width: 600px;
}

.feature__headline {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

.feature__hook {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 var(--space-xl) 0;
    line-height: 1.6;
    max-width: 28em;
}

.feature__description {
    max-width: 33rem;
}

.feature__description p {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--space-xl) 0;
}

.feature__highlights {
    display: grid;
    gap: var(--space-lg);
    margin: 0 0 .5rem 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-icon i {
    color: var(--color-white);
    width: 20px;
    height: 20px;
}

.highlight-content h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin: 0 0 var(--space-xs) 0;
}

.highlight-content p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.feature__cta {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-text {
    color: var(--color-white);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* Responsive Design for Feature Section */
@media (max-width: 768px) {
    .features-wrapper {
        overflow-x: hidden;
    }
    
    .feature__container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: left;
    }
    
    .feature__visual {
        order: -1;
        position: static;
    }
    
    .feature__video-placeholder {
        max-width: 100%;
        width: 100%;
    }
    
    .feature__icon-large {
        width: 150px;
        height: 150px;
    }
    
    .feature__icon-large svg {
        width: 75px;
        height: 75px;
    }
    
    .bouncing-ball-container {
        /* Maintain 5:3 aspect ratio (width:height) */
        width: 300px;
        height: 180px;
        border-radius: 27px;
        border-width: 3px;
    }
    
    .daily-scores-svg-wrapper {
        max-width: 100%;
    }
    
    .feature__container--sofree-score {
        position: static;
        justify-content: center;
    }
    
    .feature__sofree-score {
        width: 100%;
        max-width: 360px;
        font-size: 0.85rem;
        padding: 1.2em 2em;
        margin: 0 auto;
    }
    
    .sofree-score__logo {
        width: 8em;
    }
    
    .sofree-score__data {
        right: 1.5em;
    }
    
    .feature__content {
        text-align: left;
    }
    
    .feature__headline {
        text-align: left;
    }
    
    .feature__description {
        text-align: left;
    }
    
    .score-circle {
        width: 160px;
        height: 160px;
    }
    
    .score-number {
        font-size: 2.5rem;
    }
    
    .feature__headline {
        font-size: 2.5rem;
    }
    
    .feature__highlights {
        gap: var(--space-md);
    }
    
    .highlight-item {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .feature {
        padding: var(--space-3xl) 0;
    }
    
    .feature__icon-large {
        width: 120px;
        height: 120px;
    }
    
    .feature__icon-large svg {
        width: 60px;
        height: 60px;
    }
    
    .feature__video-placeholder {
        max-width: 100%;
    }
    
    .bouncing-ball-container {
        /* Maintain 5:3 aspect ratio (width:height) */
        width: 250px;
        height: 150px;
        border-radius: 22px;
        border-width: 3px;
    }
    
    .feature__sofree-score {
        width: 100%;
        max-width: 280px;
        font-size: 0.75rem;
        padding: 1em 1.5em;
    }
    
    .sofree-score__logo {
        width: 7em;
    }
    
    .sofree-score__data {
        right: 1em;
        font-size: 0.85em;
    }
    
    .score-circle {
        width: 140px;
        height: 140px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .feature__headline {
        font-size: 2rem;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    padding: var(--space-4xl) 0 calc(var(--space-4xl) + 60px);
    background: linear-gradient(135deg, var(--color-background-dark) 0%, var(--color-primary) 50%, var(--color-background-dark) 100%);
    color: var(--color-white);
    position: relative;
    z-index: 10;
}

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

.cta__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.cta__title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
}

.cta__subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
}

.beta-disclaimer {
    margin-top: var(--space-2xl);
    color: inherit;
    opacity: 0.5;
    font-size: 0.95rem;
  }

.beta-disclaimer .info-icon {
    color: currentColor;
}

.beta-disclaimer .info-icon svg {
    width: 16px;
    height: 16px;
    margin-bottom: -.15rem
}

/* Next Steps */
.next-steps__title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.next-steps__list {
    list-style: none;
    counter-reset: step;
}

.next-steps__list li {
    counter-increment: step;
    margin-bottom: var(--space-sm);
    padding-left: var(--space-xl);
    position: relative;
    opacity: 0.9;
}

.next-steps__list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    padding: var(--space-4xl) 0 calc(var(--space-4xl) + 60px);
    background: linear-gradient(135deg, var(--color-background-dark) 0%, var(--color-primary) 50%, var(--color-background-dark) 100%);
    color: var(--color-white);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.testimonials-track {
    display: flex;
    gap: var(--space-2xl);
    padding: var(--space-3xl) 0;
    transition: transform 0.6s ease;
}

.testimonial-card {
    flex-shrink: 0;
    width: 500px;
    padding: var(--space-3xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0.4;
    transform: scale(0.8);
}

.testimonial-card.center {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    z-index: 2;
    opacity: 1;
}

.testimonial-card.adjacent {
    opacity: 0.7;
    transform: scale(0.95);
}

.testimonial__quote {
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
}

.testimonial__author {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonials-section {
        padding: var(--space-3xl) 0 calc(var(--space-3xl) + 40px);
    }
    
    .testimonial-card {
        width: 280px;
        padding: var(--space-xl);
    }
    
    .testimonial-card.center {
        transform: scale(1.1);
    }
    
    .testimonial-card.adjacent {
        transform: scale(0.85);
    }
    
    .testimonials-track {
        gap: var(--space-lg);
    }
    
    .testimonial__quote {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .testimonial__author {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: var(--space-2xl) 0 calc(var(--space-2xl) + 40px);
    }
    
    .testimonial-card {
        width: 240px;
        padding: var(--space-lg);
    }
    
    .testimonial-card.center {
        transform: scale(1.05);
    }
    
    .testimonial-card.adjacent {
        transform: scale(0.8);
    }
    
    .testimonials-track {
        gap: var(--space-md);
        padding: var(--space-xl) 0;
    }
    
    .testimonial__quote {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: var(--space-md);
    }
    
    .testimonial__author {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Form
   ========================================================================== */

.cta__form {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 400px;
}

/* Bottom Form Specific Styling */
#mc_embed_shell_bottom {
    width: 100%;
    min-width: 320px;
}

#mc_embed_signup_scroll_bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-700);
    margin-bottom: var(--space-xs);
}

.form-input,
.form-select {
    padding: var(--space-md);
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input.error,
.form-select.error {
    border-color: #ef4444;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

.cta-button {
    background: linear-gradient(135deg, var(--color-accent) 0%, #34d399 100%);
    color: var(--color-white);
    border: none;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success State */
.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success__icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.form-success__title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-md);
}

.form-success__message {
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

/* Mailchimp Success Replacement */
.mailchimp-success {
    padding: 0;
    text-align: center;
}

.mailchimp-success--compact {
    padding: 0;
}

.mailchimp-success .success-icon {
    margin-bottom: var(--space-lg);
    display: flex;
    justify-content: center;
}

.mailchimp-success .success-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-md);
}

.mailchimp-success .success-message {
    color: var(--color-gray-700);
    line-height: 1.6;
}

.mailchimp-success .success-message p {
    margin-bottom: var(--space-xs);
    font-size: 0.975rem;
}

.mailchimp-success .next-steps {
    background: var(--color-gray-50);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    text-align: left;
}

.mailchimp-success .next-steps h4 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.mailchimp-success .next-steps ol {
    list-style: none;
    counter-reset: step;
    max-width: 420px;
    margin: 0 auto;
}

.mailchimp-success .next-steps li {
    counter-increment: step;
    margin-bottom: var(--space-xs);
    padding-left: var(--space-lg);
    position: relative;
    line-height: 1.5;
}

.mailchimp-success .next-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--color-primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
}

.mailchimp-success .success-note {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background: rgba(89, 178, 209, 0.15); /* brand accent (#59B2D1) @ 15% */
    border-radius: var(--radius);
    border-left: 4px solid var(--color-accent);
}

.mailchimp-success .success-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero {
        min-height: 100vh;
        padding: var(--space-2xl) 0;
    }
    
    .hero--split .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
        padding-top: var(--space-4xl);
    }
    
    .hero--split .hero__content {
        text-align: center;
        order: 2;
        max-width: 100%;
    }
    
    .hero__cta-buttons {
        justify-content: center;
    }
    
    .hero__image {
        order: 1;
    }
    
    .phone-mockup {
        --phone-scale: 0.5 !important;
        max-width: 200px;
    }
    
    .hero__headline {
        font-size: 2.5rem;
    }
    
    .hero__form {
        min-height: 300px;
        order: 2;
    }
    
    #mc_embed_shell {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .radio-options {
        justify-content: flex-start;
    }
    
    .benefits__container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .cta__content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    #mc_embed_shell_bottom {
        margin-top: var(--space-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Show mobile menu button, hide desktop nav */
    .mobile-menu-btn {
        display: flex;
    }
    
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        border-top: 1px solid var(--color-gray-300);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 0;
        padding: var(--space-md) 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    /* Show mobile nav when menu is open */
    .mobile-menu-open .header__nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: var(--space-sm) var(--container-padding);
        border-radius: 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--color-gray-100);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        background-color: var(--color-gray-50);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: var(--space-3xl) 0;
    }
    
    .hero__headline {
        font-size: 2rem;
    }
    
    .hero__hook {
        font-size: 1.125rem;
    }
    
    .hero__cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .phone-mockup {
        --phone-scale: 0.45 !important;
        max-width: 180px;
    }
    
    .hero__form {
        min-height: 250px;
    }
    
    .mailchimp-form {
        padding: var(--space-lg);
    }
    
    .form-title {
        font-size: 1.25rem;
    }
    
    .benefits,
    .cta {
        padding: var(--space-3xl) 0;
    }
    
    .benefits__title,
    .cta__title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

.footer {
    position: relative;
    margin-top: -60px;
    z-index: 15;
}

.footer__angle {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.footer__angle-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: block;
}

.footer__content {
    background-color: var(--color-gray-50);
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-2xl);
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: space-between;
}

.footer__logo-img {
    height: 40px;
    width: auto;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__copyright {
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer__link {
    color: var(--color-secondary);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-lg);
}

.footer__download {
    display: flex;
    justify-content: flex-end;
}

.footer__app-store-badge {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer__app-store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-store-badge__img {
    height: 40px;
    width: auto;
}

.footer__contact {
    text-align: right;
}

.footer__contact-label {
    color: var(--color-gray-900);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    margin: 0 0 var(--space-xs) 0;
}

.footer__contact-link {
    color: var(--color-secondary);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__contact-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
}

.footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius);
    color: var(--color-gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer__social-icon:hover {
    background-color: var(--color-gray-100);
    border-color: var(--color-gray-400);
}

.footer__social-icon .icon-text {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
}

.footer__social-icon .social-icon__svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Form padding adjustments for tablets and below */
@media (max-width: 1024px) {
    .mailchimp-form {
        padding: var(--space-lg);
    }
    
    .mailchimp-form-bottom {
        padding: var(--space-lg);
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        margin-top: -40px;
    }
    
    .footer__angle {
        height: 40px;
    }
    
    .footer__angle-svg {
        height: 40px;
    }
    
    .cta {
        padding: var(--space-3xl) 0 calc(var(--space-3xl) + 40px);
    }
    
    .footer__container {
        flex-direction: column;
        gap: var(--space-2xl);
        align-items: center;
        text-align: center;
    }
    
    .footer__left {
        align-items: center;
        width: 100%;
    }
    
    .footer__legal {
        gap: var(--space-sm);
        align-items: center;
    }
    
    .footer__right {
        align-items: center;
        width: 100%;
        gap: var(--space-lg);
    }
    
    .footer__download {
        justify-content: center;
    }
    
    .footer__contact {
        text-align: center;
    }
    
    .footer__social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        margin-top: -30px;
    }
    
    .footer__angle {
        height: 30px;
    }
    
    .footer__angle-svg {
        height: 30px;
    }
    
    .cta {
        padding: var(--space-3xl) 0 calc(var(--space-3xl) + 30px);
    }
}

/* ==========================================================================
   Top Sticky Banner
   ========================================================================== */

.top-sticky-banner {
    position: sticky;
    top: 0;
    z-index: 200;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 0.6rem var(--container-padding);
    text-align: center;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.top-sticky-banner:hover .top-sticky-banner__text {
    text-decoration: underline;
}

.top-sticky-banner__content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.top-sticky-banner__text {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.3px;
}


/* Mobile adjustments for top sticky banner */
@media (max-width: 640px) {
    .top-sticky-banner {
        padding: 0.5rem var(--space-md);
    }
    
    .top-sticky-banner__content {
        gap: 0.5rem;
    }
    
    .top-sticky-banner__text {
        font-size: 0.8rem;
    }
}
