/* ═══════════════════════════════════════════════════════════════
   HOTLY LANDING PAGE - FINAL OPTIMIZED VERSION
   - No scroll animations (only initial hero fade)
   - Fixed gradient rendering
   - Zero lag scrolling
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Colors */
    --stone-50: #fafaf9;
    --stone-200: #e7e5e4;
    --stone-300: #D6D3D1;
    --stone-400: #A6A09B;
    --stone-500: #79716B;
    --stone-600: #57534D;
    --stone-700: #44403B;
    --stone-800: #292524;
    --stone-900: #1C1917;
    --stone-950: #0c0a09;
    
    /* Glass effects - SIMPLIFIED */
    --glass-white: rgba(255, 255, 255, 0.95);
    --glass-light: rgba(255, 255, 255, 0.9);
    
    /* Spacing system */
    --space-xs: 12px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    
    /* Typography scale */
    --text-xs: 14px;
    --text-sm: 16px;
    --text-base: 18px;
    --text-lg: 20px;
    --text-xl: 24px;
    --text-2xl: 32px;
    --text-3xl: 40px;
    --text-4xl: 48px;
    --text-5xl: 56px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px -2px rgba(0, 0, 0, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 16px -4px rgba(0, 0, 0, 0.08), 0 8px 24px -8px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 8px 32px -8px rgba(0, 0, 0, 0.1), 0 12px 48px -12px rgba(0, 0, 0, 0.08);
    
    /* Border radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    
    /* Animations */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    :root {
        --space-xs: 16px;
        --space-sm: 20px;
        --space-md: 32px;
        --space-lg: 48px;
        --space-xl: 64px;
        --space-2xl: 80px;
        --space-3xl: 120px;
        
        --text-xl: 28px;
        --text-2xl: 40px;
        --text-3xl: 52px;
        --text-4xl: 64px;
        --text-5xl: 72px;
    }
}

@media (min-width: 1024px) {
    :root {
        --space-xs: 20px;
        --space-sm: 24px;
        --space-md: 40px;
        --space-lg: 56px;
        --space-xl: 72px;
        --space-2xl: 96px;
        --space-3xl: 128px;
        
        --text-xl: 32px;
        --text-2xl: 48px;
        --text-3xl: 60px;
        --text-4xl: 72px;
        --text-5xl: 80px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Instrument Sans', sans-serif;
    background: #f5f5f7;
    color: var(--stone-800);
    overflow-x: hidden;
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 275px;
}

section {
    width: 100%;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   MINIMAL ANIMATIONS - ONLY ON INITIAL LOAD
   ═══════════════════════════════════════════════════════════════ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ONLY hero content animates, ONLY ONCE on page load */
.animate-ready .animate-content {
    animation: fadeIn 0.3s ease-out both;
}

.animate-ready .stagger-1 { animation-delay: 0s; }
.animate-ready .stagger-2 { animation-delay: 0.08s; }
.animate-ready .stagger-3 { animation-delay: 0.12s; }

/* NO scroll animations - everything else is just visible */

/* Glass shimmer effect */
.glass-shimmer {
    position: relative;
    overflow: hidden;
}

.glass-shimmer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION - FIXED GRADIENT RENDERING
   ═══════════════════════════════════════════════════════════════ */

.hero-section {
    padding: var(--space-sm);
    background: #f5f5f7;
}

.hero-container {
    border-radius: var(--radius-2xl);
    position: relative;
    min-height: auto;
    height: auto;
    /* CRITICAL: Fixed background gradient - always renders */
    background: linear-gradient(135deg, 
        #f8d7a1 0%, #87ceeb 20%, #4a5f8f 40%, 
        #87ceeb 60%, #f8d7a1 80%, #ff9a76 100%);
    background-attachment: scroll; /* Ensure it scrolls with the page */
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    /* CRITICAL: overflow hidden to prevent rendering issues */
    overflow: hidden;
}

/* Background image layer */
.hero-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('./hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    border-radius: var(--radius-2xl);
    /* Force GPU rendering */
    will-change: opacity;
    transform: translateZ(0);
}

/* White overlay */
.hero-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-2xl);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (min-width: 400px) {
    .hero-container {
        min-height: 500px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.3));
}

.nav-menu {
    display: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    font-size: var(--text-sm);
    color: var(--stone-950);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.nav-link:hover {
    opacity: 0.7;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--stone-950);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -2px); }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: var(--space-sm);
    background: var(--glass-white);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    font-size: 18px;
    color: var(--stone-950);
    text-decoration: none;
    font-weight: 500;
    padding: 12px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-mobile {
    width: 100%;
    justify-content: center;
}

@media (min-width: 900px) {
    .hamburger { display: none; }
    .nav-menu { display: flex; }
    .mobile-menu { display: none !important; }
    .logo { height: 48px; }
}

@media (min-width: 1200px) {
    .logo { height: 52px; }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn-primary {
    background: var(--stone-950);
    color: var(--stone-50);
    border: none;
    border-radius: var(--radius-xl);
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #1a1a1a;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .btn-primary {
        padding: 13px 28px;
        font-size: 17px;
        gap: 10px;
    }
    
    .btn-primary svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 1024px) {
    .btn-primary {
        padding: 14px 32px;
        font-size: 19px;
    }
    
    .btn-primary svg {
        width: 22px;
        height: 22px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HERO MAIN CONTENT
   ═══════════════════════════════════════════════════════════════ */

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-sm) var(--space-3xl);
}

.hero-title {
    font-family: 'Instrument Serif', serif;
    font-size: var(--text-3xl);
    line-height: 1.1;
    text-align: center;
    color: #0d3055;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.hero-title .italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: var(--text-base);
    line-height: 1.5;
    text-align: center;
    color: var(--stone-800);
    font-weight: 400;
    max-width: 600px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .hero-main {
        padding: var(--space-xl) var(--space-md);
        gap: var(--space-lg);
    }
    
    .hero-title { font-size: var(--text-4xl); }
    .hero-subtitle { font-size: var(--text-lg); }
}

@media (min-width: 1024px) {
    .hero-title { font-size: var(--text-5xl); }
}

/* ═══════════════════════════════════════════════════════════════
   EMAIL INPUT
   ═══════════════════════════════════════════════════════════════ */

.hero-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    padding-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .hero-cta {
        padding-bottom: 0;
    }
}

.email-input-wrapper {
    background: var(--glass-white);
    border-radius: var(--radius-xl);
    padding: 12px 16px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    gap: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease-smooth);
}

.email-input-wrapper:focus-within {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.email-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--stone-950);
    outline: none;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-align: center;
    padding: 8px;
}

.email-input::placeholder {
    color: var(--stone-500);
    opacity: 0.8;
}

@media (min-width: 640px) {
    .email-input-wrapper {
        flex-direction: row;
        align-items: center;
        padding: 10px 16px;
        gap: 12px;
    }
    
    .email-input {
        text-align: left;
        padding: 0;
        min-width: 150px;
    }
}

@media (min-width: 768px) {
    .email-input-wrapper {
        padding: 12px 20px;
        gap: 16px;
    }
    
    .email-input {
        font-size: 17px;
        min-width: 180px;
    }
}

@media (min-width: 1024px) {
    .email-input {
        font-size: 18px;
        min-width: 200px;
    }
}

.hero-note,
.cta-note {
    font-size: var(--text-xs);
    text-align: center;
    color: var(--stone-600);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 500px;
    padding-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .hero-note,
    .cta-note {
        font-size: var(--text-sm);
        padding-bottom: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CARDS SECTION - NO ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.cards-section {
    padding: var(--space-2xl) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    background: #f5f5f7;
}

.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
}

.section-title-italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: var(--text-2xl);
    color: var(--stone-800);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--text-base);
    color: var(--stone-500);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section-title-italic { font-size: var(--text-3xl); }
    .section-subtitle { font-size: var(--text-lg); }
}

@media (min-width: 1024px) {
    .cards-section { padding: var(--space-3xl) var(--space-xl); }
}

/* ═══════════════════════════════════════════════════════════════
   FLIP CARDS - VISIBLE, NO ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    grid-auto-rows: 1fr;
}

@media (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

@media (min-width: 1100px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.flip-card {
    perspective: 1000px;
    min-height: 420px;
    height: 100%;
    cursor: pointer;
    /* NO animations - just visible */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease-smooth);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

@media (min-width: 768px) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--glass-white);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: var(--glass-light);
}

@media (min-width: 768px) {
    .flip-card {
        min-height: 450px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: var(--space-sm);
    }
}

@media (min-width: 1024px) {
    .flip-card {
        min-height: 480px;
    }
}

@media (min-width: 1100px) {
    .flip-card-front,
    .flip-card-back {
        padding: clamp(24px, 2vw, 32px);
    }
}

.card-label {
    font-size: var(--text-sm);
    color: var(--stone-500);
    font-weight: 500;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.card-content {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(20px, 5.5vw, 34px);
    color: var(--stone-950);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    padding: var(--space-md) 0;
    font-weight: 400;
    letter-spacing: -0.02em;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: manual;
    -webkit-hyphens: manual;
    max-width: 100%;
}

@media (min-width: 768px) {
    .card-content {
        font-size: clamp(20px, 3.5vw, 28px);
        line-height: 1.35;
    }
}

@media (min-width: 1100px) {
    .card-content {
        font-size: clamp(22px, 2.2vw, 26px);
        line-height: 1.4;
    }
}

@media (min-width: 1400px) {
    .card-content {
        font-size: clamp(24px, 2vw, 28px);
    }
}

.flip-card-back .card-content {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(13px, 3vw, 15px);
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.005em;
    padding: var(--space-xs);
    padding-right: 12px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.flip-card-back .card-content::-webkit-scrollbar {
    width: 4px;
}

.flip-card-back .card-content::-webkit-scrollbar-track {
    background: transparent;
}

.flip-card-back .card-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.flip-card-back .card-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .flip-card-back .card-content { 
        font-size: clamp(13px, 1.6vw, 15px);
        line-height: 1.5;
        padding: var(--space-sm);
        padding-right: 14px;
    }
}

@media (min-width: 1100px) {
    .flip-card-back .card-content { 
        font-size: clamp(13px, 1.15vw, 15px);
        line-height: 1.55;
        padding: clamp(8px, 1vw, 12px);
        padding-right: 14px;
    }
}

@media (min-width: 1400px) {
    .flip-card-back .card-content { 
        font-size: clamp(14px, 1.1vw, 16px);
        line-height: 1.6;
    }
}

.card-hint {
    font-size: var(--text-xs);
    color: var(--stone-500);
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0.8;
    flex-shrink: 0;
    margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════════
   MONOLOGUE SECTION - NO ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

.monologue-section {
    background: var(--stone-950);
    padding: var(--space-2xl) var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.monologue-content {
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius-xl);
}

.monologue-title {
    font-family: 'Instrument Serif', serif;
    font-size: var(--text-3xl);
    line-height: 1.2;
    color: var(--stone-50);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.monologue-text {
    font-size: var(--text-base);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: -0.01em;
    hyphens: auto;
}

@media (min-width: 768px) {
    .monologue-title { font-size: var(--text-4xl); }
    .monologue-text { font-size: var(--text-lg); }
}

@media (min-width: 1024px) {
    .monologue-section { padding: var(--space-3xl) var(--space-xl); }
    .monologue-title { font-size: var(--text-5xl); }
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION - FIXED GRADIENT
   ═══════════════════════════════════════════════════════════════ */

.cta-section {
    padding: var(--space-sm);
    background: #f5f5f7;
}

.cta-container {
    border-radius: var(--radius-2xl);
    position: relative;
    min-height: auto;
    height: auto;
    /* CRITICAL: Fixed background gradient */
    background: linear-gradient(135deg, 
        #f8d7a1 0%, #87ceeb 20%, #4a5f8f 40%, 
        #87ceeb 60%, #f8d7a1 80%, #ff9a76 100%);
    background-attachment: scroll;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('./footer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    border-radius: var(--radius-2xl);
    will-change: opacity;
    transform: translateZ(0);
}

.cta-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    border-radius: var(--radius-2xl);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    padding: var(--space-2xl) var(--space-sm) var(--space-xs);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.cta-title {
    font-family: 'Instrument Serif', serif;
    font-size: var(--text-3xl);
    line-height: 1.15;
    text-align: center;
    color: #194839;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.cta-title .italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
}

.cta-subtitle {
    font-size: var(--text-base);
    line-height: 1.5;
    text-align: center;
    color: var(--stone-800);
    font-weight: 400;
    max-width: 600px;
    letter-spacing: -0.01em;
}

.cta-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    padding-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .cta-form {
        padding-bottom: 0;
    }
}

@media (min-width: 400px) {
    .cta-container {
        min-height: 400px;
    }
}

@media (min-width: 480px) {
    .cta-container {
        min-height: 450px;
    }
}

@media (min-width: 768px) {
    .cta-content {
        padding: var(--space-xl) var(--space-md);
        gap: var(--space-lg);
    }
    
    .cta-title { font-size: var(--text-4xl); }
    .cta-subtitle { font-size: var(--text-lg); }
}

@media (min-width: 1024px) {
    .cta-title { font-size: var(--text-5xl); }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
    background: var(--stone-950);
    padding: var(--space-xs) var(--space-md);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-sm);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: none;
}

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.footer-links a:hover {
    color: var(--stone-50);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-links {
        display: flex;
        gap: var(--space-xl);
    }
    
    .footer-logo { height: 48px; }
}

@media (min-width: 1024px) {
    .footer-logo { height: 52px; }
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.input-container {
    background-color: white;
    width: 100%;
    max-width: 600px;
    border: 0.3rem solid rgba(116, 60, 17, 0.15);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    min-height: 3.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.textarea-field {
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #371e09;
    font-weight: 300;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.textarea-field::placeholder {
    color: #7e6b57;
}

.bottom-controls {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.file-input-wrapper {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f6f3f0;
    padding: 12px;
    transition: background-color 0.3s ease;
}

.file-input-wrapper:hover {
    background-color: #efe7e0;
}

.file-input-hidden {
    display: none;
}

.icon {
    width: 18px;
    height: 18px;
    color: #7a5a3a;
}

.create-button {
    background-color: #292524;
    color: white;
    padding: 8px 20px;
    border-radius: 3rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 300;
    cursor: not-allowed;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-family: inherit;
}

.create-button:not(:disabled) {
    cursor: pointer;
    opacity: 1;
}

.create-button:not(:disabled):hover {
    background-color: #1a1918;
}

.button-text {
    display: none;
}

/* Media queries for larger screens */
@media (min-width: 768px) {
    .input-container {
        border-width: 0.6rem;
        padding: 16px 24px;
        border-radius: 3rem;
    }

    .textarea-field {
        font-size: 1.25rem;
    }

    .create-button {
        font-size: 1.25rem;
    }

    .button-text {
        display: inline;
    }
}

.container {
    background: white;
    border: 10px solid rgba(116, 60, 17, 0.15);
    border-radius: 32px;
    width: 100%;
    max-width: 700px;
    padding: 20px;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.05);
}

textarea {
    width: 100%;
    min-height: 90px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 18px;
    color: #371e09;
    font-weight: 300;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 16px;
}

textarea::placeholder {
    color: #7e6b57;
    font-weight: 300;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
textarea:focus::placeholder{
    opacity: 0.5;
}

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

.upload-btn {
    background: #f6f3f0;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 80%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.upload-btn:hover {
    background: #efe7e0;
}

.upload-btn svg {
    width: 20px;
    height: 20px;
    stroke: #7a5a3a;
}

.create-btn {
    background: #292524;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 48px;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.create-btn:hover {
    background: #3a3633;
}

.create-btn svg {
    width: 22px;
    height: 22px;
}

input[type="file"] {
    display: none;
}
/* Modal Styles */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #f0f0f0;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}


.email-input-wrapper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.email-input-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 16px;
    color: rgb(11, 2, 2);
    position: relative;
    z-index: 1;
}

.email-input::placeholder {
    color: rgba(2, 2, 2, 0.7);
}

@media (max-width: 640px) {
    .email-input-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    .email-input {
        width: 100%;
        text-align: center;
    }
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        border-width: 4px;
        border-radius: 24px;
        padding: 16px;
    }
    textarea {
        font-size: 16px;
    }
    .create-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
    .create-btn span {
        display: none;
    }
    .modal {
        padding: 30px 20px;
    }
    .modal-title {
        font-size: 20px;
    }
    .modal-subtitle {
        font-size: 13px;
    }
}