/* ================================
   STORIES LANDING PAGE STYLES
   ================================ */

/* ================================
   CSS VARIABLES - DESIGN SYSTEM
   ================================ */
:root {
    /* Typography */
    --font-primary: 'Helvetica Now Display', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes */
    --font-size-96: 96px;
    --font-size-72: 72px;
    --font-size-64: 64px;
    --font-size-48: 48px;
    --font-size-32: 32px;
    --font-size-24: 24px;
    --font-size-20: 20px;
    --font-size-16: 16px;
    --font-size-14: 14px;
    
    /* Line Heights */
    --line-height-none: 1;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Font Weights */
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    
    /* Colors */
    --color-black: #000000;
    --color-gray-90: #111725;
    --color-gray-85: #1e1e1e;
    --color-gray-70: #333333;
    --color-gray-50: #666666;
    --color-gray-20: #e0e0e0;
    --color-gray-10: #f3f6fb;
    --color-gray-05: #f4f6fb;
    --color-white: #ffffff;
    --color-pink: #ff005e;
    --color-pink-dark: #d9004e;
    
    /* Spacing */
    --spacing-148: 148px;
    --spacing-128: 128px;
    --spacing-120: 120px;
    --spacing-96: 96px;
    --spacing-64: 64px;
    --spacing-48: 48px;
    --spacing-32: 32px;
    --spacing-24: 24px;
    --spacing-16: 16px;
    --spacing-8: 8px;
    
    /* Button Sizing */
    --btn-padding-large: 14px 40px;
    --btn-padding-medium: 14px 40px;
    --btn-border-radius: 0px;
    
    /* Border Radius */
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Breakpoints (for reference) */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
    --breakpoint-desktop: 1440px;
}

/* ================================
   TYPOGRAPHY
   ================================ */

/* Font Face Declarations */
@font-face {
    font-family: 'Helvetica Now Display';
    src: url('../fonts/fontbold.woff2') format('woff2'),
         url('../fonts/fontbold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Now Display';
    src: url('../fonts/fontregular.woff2') format('woff2'),
         url('../fonts/fontregular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Base Typography */
html {
    background-color: var(--color-white);
    overscroll-behavior: none;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    color: var(--color-gray-90);
    background-color: var(--color-white);
    overscroll-behavior-y: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

/* ================================
   UTILITY CLASSES
   ================================ */

.accent {
    color: var(--color-pink);
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
}

.hide {
    display: none !important;
}

/* ================================
   LAYOUT CONTAINERS
   ================================ */

/* Section default padding */
section {
    padding: var(--spacing-128) var(--spacing-120);
    width: 100%;
}

/* ================================
   BUTTON COMPONENTS
   ================================ */

/* Base Button */
.btn {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    padding: var(--btn-padding-medium);
    border: none;
    border-radius: var(--btn-border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    line-height: 1.45;
    letter-spacing: -0.08px;
}

.btn svg {
    flex-shrink: 0;
}

/* Primary Button - Black (Hero large: 24px) */
.btn--primary {
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: var(--font-size-24);
}

.btn--primary:hover {
    background-color: var(--color-pink);
    color: var(--color-white);
}

/* Primary Button Small - Black (16px) */
.btn--primary.btn--small {
    font-size: var(--font-size-16);
}

/* Secondary Button - White with Black Border (16px) */
.btn--secondary {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    font-size: var(--font-size-16);
}

.btn--secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Accent Button - Pink (16px) */
.btn--accent {
    background-color: var(--color-pink);
    color: var(--color-white);
    font-size: var(--font-size-16);
}

.btn--accent:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Button Modifiers */
.btn--small {
    font-size: var(--font-size-16);
}

.btn--full {
    width: 100%;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    padding: var(--spacing-148) var(--spacing-120);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* Hero Background Layers */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

/* Fallback for browsers that don't support WebP */
.no-webp .hero::before {
    background-image: url('../images/hero-bg.jpg');
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(238, 167, 119, 0.4) 0%, rgba(255, 0, 94, 0.4) 100%);
    z-index: 1;
}

.hero__container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.hero__content {
    margin-bottom: var(--spacing-96);
}

.hero__title {
    font-size: var(--font-size-96);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-32);
    line-height: 1.1;
}

/* Hero Title Fade In Animation */
.hero__title.fade-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInSlide 1.2s ease-out 0.3s forwards;
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero__subtitle {
    font-size: var(--font-size-24);
    color: var(--color-gray-90);
    line-height: 1.5;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about__container {
    display: flex;
    gap: var(--spacing-64);
    align-items: center;
}

.about__content {
    flex: 1;
}

.about__title {
    font-size: var(--font-size-72);
    margin-bottom: var(--spacing-32);
    line-height: 1;
}

.about__text {
    font-size: var(--font-size-24);
    margin-bottom: var(--spacing-32);
    line-height: 1.5;
}

.about__content .btn {
    margin-right: 16px;
}

.about__content .btn:last-child {
    margin-right: 0;
}

.about__image {
    flex: 0 0 449px;
    border-radius: 8px;
    overflow: hidden;
}

/* ================================
   USE CASES SECTION
   ================================ */

.use-cases {
    background-color: var(--color-gray-10);
}

.use-cases__title {
    font-size: var(--font-size-72);
    margin-bottom: var(--spacing-96);
    line-height: 1;
}

.use-cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-96);
}

.use-case {
    border-bottom: 1px solid var(--color-gray-20);
    padding-bottom: var(--spacing-32);
}

.use-case__title {
    font-size: var(--font-size-48);
    margin-bottom: var(--spacing-32);
    line-height: 1;
}

.use-case__text {
    font-size: var(--font-size-20);
    line-height: 1.5;
}

/* ================================
   COVER IMAGE SECTION
   ================================ */

.cover-image {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.cover-image__container {
    position: relative;
    width: 100%;
    height: 816px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.cover-image__photo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

/* Gradient overlay for better text visibility */
.cover-image__container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 314px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(25, 0, 9, 0.8) 100%);
    pointer-events: none;
    z-index: 5;
}

.cover-image__widget {
    position: absolute;
    top: 48px;
    left: 48px;
    z-index: 10;
    width: 200px;
}

.widget-image {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.15));
}

/* Widget Recording Pulse Animation */
.widget-recording {
    animation: widgetPulse 2s ease-in-out infinite;
}

@keyframes widgetPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.15));
    }
    50% {
        transform: scale(1.02);
        filter: drop-shadow(0px 4px 24px rgba(255, 0, 94, 0.3));
    }
}

/* Bottom Bar - Always centered */
.cover-image__bottom-bar {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    white-space: nowrap;
}

.bottom-bar__waves {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.waves-image {
    height: 26px;
    width: auto;
    display: block;
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* Waves Animation - Audio Visualization Effect */
.waves-animated {
    animation: wavesFlow 2s ease-in-out infinite;
}

@keyframes wavesFlow {
    0%, 100% {
        transform: scaleY(1);
    }
    25% {
        transform: scaleY(1.2);
    }
    50% {
        transform: scaleY(0.8);
    }
    75% {
        transform: scaleY(1.1);
    }
}

.bottom-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon-image {
    width: 90px;
    height: 90px;
    display: block;
}

.bottom-bar__text {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    max-width: 600px;
}

/* Marquee Container with continuous gradient */
.marquee {
    display: flex;
    gap: 16px;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    background: linear-gradient(90deg, 
        #ff005e 0%, 
        #EEA377 25%, 
        #ff005e 50%, 
        #EEA377 75%, 
        #ff005e 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.bottom-bar__description {
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-regular);
    margin: 0;
    flex-shrink: 0;
}

/* ================================
   STORY SECTION
   ================================ */

.story {
    padding-right: 0 !important;
    overflow-x: hidden;
}

.story__container {
    display: flex;
    gap: var(--spacing-64);
    align-items: center;
    max-width: 100%;
}

.story__content {
    flex: 1;
    padding-left: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.story__title {
    font-size: var(--font-size-72);
    margin-bottom: var(--spacing-32);
    line-height: 1.2;
}

.story__text {
    font-size: var(--font-size-20);
    margin-bottom: var(--spacing-32);
    line-height: 1.5;
}

.story__buttons {
    display: flex;
    gap: var(--spacing-16);
    margin-top: var(--spacing-96);
    align-items: center;
    max-width: 100%;
    flex-wrap: nowrap;
}

.paypal-donate-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.paypal-donate-button {
    width: 52%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform var(--transition-normal);
    vertical-align: middle;
}

.paypal-donate-button:hover {
    transform: scale(1.05);
}

.story__image {
    flex: 1;
    margin-right: 0;
}

.story__image img,
.story__image .device-frame {
    width: 100%;
    height: auto;
}

/* ================================
   FEATURES SECTION
   ================================ */

.features {
    background-color: var(--color-gray-05);
}

.features__header {
    display: flex;
    gap: var(--spacing-48);
    margin-bottom: var(--spacing-96);
}

.features__image {
    flex: 0 0 449px;
    border-radius: 8px;
    overflow: hidden;
}

.features__intro {
    flex: 1;
}

.features__title {
    font-size: var(--font-size-72);
    line-height: 1.2;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-32);
}

.feature__title {
    font-size: var(--font-size-48);
    margin-bottom: var(--spacing-32);
    line-height: 1;
}

.feature__text {
    font-size: var(--font-size-20);
    line-height: 1.5;
}

/* ================================
   HOW IT WORKS SECTION
   ================================ */

.how-it-works__title {
    font-size: var(--font-size-64);
    margin-bottom: var(--spacing-48);
    line-height: 1;
}

.accordion {
    width: 100%;
}

.accordion__item {
    border-bottom: 1px solid var(--color-gray-20);
}

.accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-32) var(--spacing-24);
    background: none;
    text-align: left;
}

.accordion__title {
    font-size: var(--font-size-32);
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
}

.accordion__icon {
    width: 24px;
    height: 24px;
    transition: opacity var(--transition-fast);
}

.accordion__icon--up {
    display: none;
}

.accordion__icon--down {
    display: block;
}

.accordion__item--open .accordion__icon--up {
    display: block;
}

.accordion__item--open .accordion__icon--down {
    display: none;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.accordion__item--open .accordion__content {
    max-height: 2000px;
}

.accordion__text {
    font-size: var(--font-size-20);
    line-height: 1.75;
    color: var(--color-gray-85);
    padding: 0 var(--spacing-24) var(--spacing-24) var(--spacing-24);
}

.link {
    color: var(--color-pink);
    text-decoration: underline;
}

/* ================================
   CTA SECTION
   ================================ */

.cta {
    background-color: var(--color-black);
}

.cta__content {
    margin-bottom: var(--spacing-96);
}

.cta__title {
    font-size: var(--font-size-96);
    color: var(--color-white);
    margin-bottom: var(--spacing-32);
    line-height: 1.2;
    max-width: 740px;
}

.cta__subtitle {
    font-size: var(--font-size-24);
    color: var(--color-white);
    line-height: 1.75;
}

.cta__buttons {
    display: flex;
    gap: var(--spacing-16);
    align-items: center;
}

.btn--outline-white {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 13px 39px;
}

.btn--outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    padding: 42px 44px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-64);
}

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

.footer__links {
    display: flex;
    gap: 36px;
}

.footer__link {
    font-size: var(--font-size-20);
    color: var(--color-gray-50);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer__link:hover {
    color: var(--color-black);
}

.footer__social {
    display: flex;
    gap: 14px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 20px;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--color-gray-70);
    transform: scale(1.1);
}

.footer__copyright {
    font-size: var(--font-size-14);
    color: var(--color-gray-50);
    text-align: center;
    width: 100%;
}

/* ================================
   MODAL
   ================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal[aria-hidden="false"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal__container {
    position: relative;
    background-color: var(--color-white);
    padding: 48px 32px;
    border-radius: 0px;
    max-width: 600px;
    width: 90%;
    z-index: 1001;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-50);
    transition: color var(--transition-fast);
}

.modal__close:hover {
    color: var(--color-black);
}

.modal__header {
    margin-bottom: 48px;
}

.modal__title {
    font-size: var(--font-size-32);
    font-weight: var(--font-weight-bold);
    margin-bottom: 32px;
    line-height: 1;
    color: var(--color-gray-90);
}

.modal__text {
    font-size: var(--font-size-20);
    line-height: 1.5;
    color: var(--color-gray-90);
}

/* ================================
   FORM
   ================================ */

.modal__form {
    width: 100%;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-8);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-bold);
}

.form-input,
.form-select {
    width: 100%;
    padding: 16px 12px;
    font-size: var(--font-size-16);
    font-family: var(--font-primary);
    border: 1px solid rgba(0, 0, 0, 0.23);
    border-radius: 0px;
    transition: border-color var(--transition-fast);
    background-color: var(--color-white);
    color: var(--color-gray-90);
}

.form-input::placeholder,
.form-select::placeholder {
    color: rgba(0, 0, 0, 0.54);
    font-size: var(--font-size-16);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10L12 15L17 10H7Z' fill='%23000000'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px 24px;
    padding-right: 40px;
    cursor: pointer;
}

.form-select option:first-child {
    color: rgba(0, 0, 0, 0.54);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-black);
}

.form-input--error,
.form-select--error {
    border-color: var(--color-pink);
}

.form-error {
    display: block;
    color: var(--color-pink);
    font-size: var(--font-size-14);
    margin-top: 4px;
    min-height: 20px;
}

/* Checkbox styles */
.form-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 10px;
}

.form-checkbox-input {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, 0.54);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.form-checkbox-input:checked {
    background-color: var(--color-black);
    border-color: var(--color-black);
}

.form-checkbox-input:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox-label {
    font-size: var(--font-size-16);
    color: rgba(0, 0, 0, 0.87);
    line-height: 1.5;
    letter-spacing: 0.15px;
}

/* ================================
   LEGAL PAGES
   ================================ */

/* EASY TO CHANGE: Legal page text sizes */
:root {
    --legal-text-size: 16px;        /* Body text size - change this to adjust all text */
    --legal-title-size: 20px;       /* Main title (h1) */
    --legal-heading-size: 18px;     /* Section headings (h2) */
    --legal-subheading-size: 16px;  /* Sub-headings (h3) */
}

/* Legal Header */
.legal-header {
    background-color: var(--color-white);
    padding: 28px var(--spacing-120) 28px 44px;
    width: 100%;
    box-shadow: 0px 0.5px 0px 0px rgba(0, 0, 0, 0.1);
}

.legal-header__container {
    max-width: 1440px;
    margin: 0 auto;
}

.legal-header__logo {
    display: inline-block;
    text-decoration: none;
}

.legal-header__logo-img {
    height: 36px;
    width: auto;
    display: block;
}

/* Legal Content */
.legal-content {
    padding: var(--spacing-96) var(--spacing-120);
    width: 100%;
}

.legal-content__container {
    max-width: 1440px;
    margin: 0 auto;
}

.legal-content__text {
    font-family: var(--font-primary);
    font-size: var(--legal-text-size);
    line-height: 1.5;
    color: var(--color-gray-90);
}

.legal-content__title {
    font-size: var(--legal-title-size);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-48);
    line-height: 1.5;
}

.legal-content__text h1 {
    font-size: var(--legal-title-size);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-48);
    line-height: 1.5;
}

.legal-content__text h2 {
    font-size: var(--legal-heading-size);
    font-weight: var(--font-weight-bold);
    margin-top: var(--spacing-48);
    margin-bottom: var(--spacing-24);
    line-height: 1.5;
}

.legal-content__text h3 {
    font-size: var(--legal-subheading-size);
    font-weight: var(--font-weight-bold);
    margin-top: var(--spacing-32);
    margin-bottom: var(--spacing-16);
    line-height: 1.5;
}

.legal-content__text p {
    margin-bottom: var(--spacing-24);
}

.legal-content__text ul,
.legal-content__text ol {
    margin-bottom: var(--spacing-24);
    padding-left: 40px;
}

.legal-content__text ul li,
.legal-content__text ol li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-content__text ul {
    list-style-type: disc;
}

.legal-content__text ol {
    list-style-type: decimal;
}

.legal-content__text a {
    color: var(--color-pink);
    text-decoration: underline;
}

.legal-content__text a:hover {
    color: var(--color-pink-dark);
}

/* ================================
   RESPONSIVE - MOBILE FIRST
   ================================ */

/* Tablet and below */
@media (max-width: 1024px) {
    .cover-image__bottom-bar {
        gap: 12px;
    }
    /* Typography adjustments */
    :root {
        --font-size-96: 64px;
        --font-size-72: 48px;
        --font-size-64: 40px;
        --font-size-48: 32px;
        --font-size-32: 24px;
        --spacing-128: 80px;
        --spacing-120: 40px;
        --spacing-148: 80px;
        --spacing-96: 60px;
        --spacing-64: 40px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 600px;
    }
    
    /* About Section */
    .about__container {
        flex-direction: column;
        gap: var(--spacing-48);
    }
    
    .about__image {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .about__image img {
        width: 100%;
        height: auto;
    }
    
    /* Use Cases */
    .use-cases__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-64);
    }
    
    /* Story Section */
    .story {
        padding-right: 0 !important;
    }
    
    .story__container {
        flex-direction: column;
        gap: var(--spacing-48);
    }
    
    .story__content {
        padding-left: 0;
        padding-right: var(--spacing-48);
    }
    
    .story__image {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .story__buttons {
        flex-direction: row;
        gap: var(--spacing-8);
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .story__buttons .btn {
        width: auto;
        flex: 0 0 auto;
        font-size: var(--font-size-14);
        padding: 10px 16px;
    }
    
    .paypal-donate-form {
        flex: 0 0 auto;
    }
    
    .paypal-donate-button {
        width: 40%;
    }
    
    /* Features Section */
    .features__header {
        flex-direction: column;
        gap: var(--spacing-32);
    }
    
    .features__image {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .features__image img {
        width: 100%;
        height: auto;
    }
    
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-48);
    }
    
    /* Cover Image */
    .cover-image__container {
        height: 700px;
    }
    
    .cover-image__photo {
        object-fit: cover;
        object-position: center;
    }
    
    .cover-image__widget {
        top: 40px;
        left: 40px;
        width: 180px;
    }
    
    .app-icon-image {
        width: 70px;
        height: 70px;
    }
    
    .bottom-bar__description {
        font-size: 18px;
    }
    
    .waves-image {
        height: 22px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Typography adjustments */
    :root {
        --font-size-96: 48px;
        --font-size-72: 36px;
        --font-size-64: 32px;
        --font-size-48: 28px;
        --font-size-32: 22px;
        --font-size-24: 18px;
        --font-size-20: 16px;
        --spacing-128: 60px;
        --spacing-120: 20px;
        --spacing-96: 48px;
        --spacing-64: 32px;
        --spacing-48: 24px;
    }
    
    /* Container padding */
    section {
        padding-left: var(--spacing-32);
        padding-right: var(--spacing-32);
    }
    
    /* Hero Section */
    .hero {
        min-height: 500px;
        padding-left: var(--spacing-32);
        padding-right: var(--spacing-32);
    }
    
    .hero__content {
        margin-bottom: var(--spacing-64);
    }
    
    /* About Section */
    .about__content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-16);
    }
    
    .about__content .btn {
        width: 100%;
        margin-right: 0;
    }
    
    /* Story Section */
    .story {
        padding-right: 0 !important;
    }
    
    .story__content {
        padding-left: 0;
        padding-right: var(--spacing-32);
    }
    
    .story__image {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    /* Features Grid */
    .features__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-48);
    }
    
    /* Accordion */
    .accordion__header {
        padding: var(--spacing-24) var(--spacing-16);
    }
    
    .accordion__title {
        font-size: var(--font-size-24);
        padding-right: var(--spacing-16);
    }
    
    .accordion__text {
        padding: 0 var(--spacing-16) var(--spacing-24) var(--spacing-16);
    }
    
    /* CTA Section */
    .cta__title {
        font-size: var(--font-size-48);
    }
    
    .cta__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta__buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer__content {
        flex-direction: column;
        gap: var(--spacing-32);
        text-align: center;
    }
    
    .footer__links {
        flex-direction: column;
        gap: var(--spacing-16);
    }
    
    .footer__social {
        justify-content: center;
    }
    
    /* Cover Image - Mobile */
    .cover-image__container {
        height: 500px;
    }
    
    .cover-image__photo {
        object-fit: cover;
        object-position: center;
    }
    
    .cover-image__widget {
        top: 32px;
        left: 32px;
        width: 150px;
    }
    
    .cover-image__bottom-bar {
        gap: 8px;
    }
    
    .app-icon-image {
        width: 60px;
        height: 60px;
    }
    
    .bottom-bar__description {
        font-size: 14px;
    }
    
    .waves-image {
        height: 16px;
    }
    
    /* Modal - Mobile */
    .modal__dialog {
        width: 95%;
        max-width: 95%;
        margin: var(--spacing-16);
        padding: var(--spacing-32);
    }
    
    .modal__close {
        top: var(--spacing-16);
        right: var(--spacing-16);
    }
    
    .modal__title {
        font-size: var(--font-size-32);
    }
    
    .form-group {
        margin-bottom: var(--spacing-16);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --font-size-96: 36px;
        --font-size-72: 28px;
        --spacing-120: 16px;
    }
    
    section {
        padding-left: var(--spacing-24);
        padding-right: var(--spacing-24);
    }
    
    .hero {
        min-height: 400px;
        padding-left: var(--spacing-24);
        padding-right: var(--spacing-24);
    }
    
    .story {
        padding-right: 0 !important;
    }
    
    .story__content {
        padding-right: var(--spacing-24);
    }
    
    .story__image {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .story__buttons {
        gap: var(--spacing-8);
        flex-wrap: nowrap;
    }
    
    .story__buttons .btn {
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    .paypal-donate-button {
        width: 35%;
        min-width: 80px;
    }
    
    .cover-image__container {
        height: 300px;
    }
    
    .cover-image__widget {
        top: 24px;
        left: 24px;
    }
    
    .cover-image__bottom-bar {
        bottom: 24px;
        gap: 6px;
    }
    
    .bottom-bar__text {
        max-width: 200px;
    }
    
    .app-icon-image {
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   Video Lightbox
   ========================================================================== */

.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-lightbox[aria-hidden="false"] {
    display: flex;
}

.video-lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-lightbox__container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 10001;
}

.video-lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.video-lightbox__close:hover {
    transform: scale(1.1);
}

.video-lightbox__video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

