/* stuffrite-styles.css */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-main: #F5F0E8;
    --bg-container: #E8DFD0;
    --text-primary: #5C4033;
    --text-muted: #795548;
    --accent-gold: #D4AF37;
    --money-brown: #8B6F47;
    --radius-lg: 24px;
}

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

html, body {
    width: 100%;
    overflow-x: hidden; /* Stops the wobble */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    background-image: radial-gradient(var(--bg-container) 0.8px, transparent 0.8px);
    background-size: 24px 24px;
}

/* --- STRONG ANIMATION --- */
@keyframes glow-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    transform: scale(1);
  }
  50% {
    /* 20px Blur (glow), 0px Spread (size) */
    box-shadow: 0 0 20px 0px rgba(255, 230, 100, 1); 
    transform: scale(1.1); /* 10% bigger */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    transform: scale(1);
  }
}

/* --- NAVIGATION --- */
nav {
    padding: 1rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3E3224;
    border-bottom: 3px solid var(--accent-gold);
    position: sticky; top: 0; z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 35px;
    filter: sepia(1) saturate(5) hue-rotate(10deg) brightness(1.2);
}

.logo-text {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
}

.nav-cta {
    /* Essential layout properties */
    display: inline-block; 
    position: relative; /* Helps z-index stacking */
    
    /* Styling */
    background: var(--accent-gold);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    
    /* The Animation: 2 seconds, infinite loop */
    animation: glow-pulse 2s infinite ease-in-out;
}

/* --- HERO --- */
.hero {
    text-align: center;
    padding: 60px 6%;
}

.hero-img {
    max-width: 80%;
    display: block;
    margin: 0 auto 2.5rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 7vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-content p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* --- MIRROR SECTION --- */
.mirror-section {
    background: var(--bg-container);
    padding: 60px 6%;
    border-radius: var(--radius-lg);
    margin: 0 4% 80px;
    text-align: center;
}

.mirror-eyebrow {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.mirror-section h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.mirror-content {
    max-width: 800px;
    margin: 0 auto;
}

/* --- FRICTION CARDS --- */
.friction-callout {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
}

.friction-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border-bottom: 4px solid var(--accent-gold);
}

.friction-card h4 { margin-bottom: 10px; }

/* --- FEATURES --- */
.feature-container {
    padding: 0 6% 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap; 
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    min-width: 280px; 
}

.feature-text .label {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

.feature-image {
    flex: 1.3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 280px; 
}

.feature-image img { width: 100%; display: block; }

/* --- FOUNDERS / FORM --- */
.founders-section {
    padding: 60px 6%;
    background: var(--bg-container);
    border-radius: 40px;
    margin: 0 4% 80px;
    text-align: center;
    border: 2px solid var(--accent-gold);
}

.founders-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.waitlist-form input, .waitlist-form button {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
}

.waitlist-form button {
    background: var(--text-primary);
    color: white;
    font-weight: 800;
    cursor: pointer;
}

/* --- FOOTER --- */
footer {
    padding: 4rem 6%;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-logo {
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.handwriting { font-family: 'Caveat', cursive; font-weight: 700; color: var(--money-brown); }

/* --- MOBILE SPECIFIC FIXES --- */
@media screen and (max-width: 768px) {
    nav {
        padding: 0.75rem 1rem;
    }
    
    .logo-icon { height: 28px; }
    
    .logo-text { font-size: 1.1rem; }

    .nav-cta {
        padding: 0.5rem 0.9rem;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .feature-row, .feature-row.reverse {
        flex-direction: column-reverse; 
        gap: 20px;
        text-align: center; 
    }
    
    .feature-text, .feature-image {
        min-width: 100%;
        flex: auto;
    }

    .mirror-section, .founders-section {
        margin: 0 1rem 60px; 
        padding: 40px 1.5rem; 
    }
}

/* --- MOBILE RESCUE FIX --- */

/* 1. Stop the side-to-side wobble globally */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* 2. Mobile Specific Rules */
@media screen and (max-width: 600px) {
    
    .mobile-hidden {
        display: none !important;
    }

    .nav-cta {
        padding: 0.5rem 0.8rem !important; 
        font-size: 0.7rem !important;
        white-space: nowrap;
    }

    .logo-icon {
        height: 30px; 
        width: auto;
    }
    
    nav {
        padding: 10px 15px !important;
        gap: 10px;
    }
}