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






body {
    font-family: 'DM Sans', sans-serif;
    color: white;
    min-height: 100vh;
    background-image: url('https://res.cloudinary.com/dkotn5guy/image/upload/v1767093891/background_lc34jt.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #041410;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }

/* --- NAVBAR & SCROLLING PILL --- */
.navbar { 
    height: 90px; 
    display: flex; 
    align-items: center; 
    position: fixed; 
    top: 0; left: 50%; transform: translateX(-50%);
    width: 1200px; /* Start full width */
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The Blur Shield: Subtle background layer */
.blur-shield {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(4, 20, 16, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

/* Scrolled State: The Floating 800px Pill */
.navbar-scrolled {
    height: 70px;
    width: 800px; 
    top: 10px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 0 20px;
}

.navbar-scrolled .blur-shield {
    opacity: 1;
    width: 100vw; /* Keeps the blur wide while the pill is small */
    left: 50%;
    transform: translateX(-50%);
}

.navbar-scrolled .logo,
.navbar-scrolled .nav-links a { color: #093629; }

.navbar-scrolled .btn-gradient {
    background: #093629;
    color: #ffffff;
    box-shadow: none;
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: 'Gluten', cursive; font-weight: 800; font-size: 1.8rem; color: #ffffff; text-transform: lowercase; transition: color 0.4s ease; }
.nav-links { display: flex; list-style: none; gap: 3rem; }
.nav-links a { text-decoration: none; color: rgba(255, 255, 255, 0.7); font-weight: 500; transition: color 0.4s ease; }

/* --- HERO & THIN HEADINGS --- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 160px 1rem 80px; }
.hero-title { font-family: 'Taviraj', serif; font-weight: 200; font-size: 3.8rem; margin-bottom: 60px; line-height: 1.1; }
.hero-subtitle { font-weight: 300; font-size: 1.25rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 30px; }

.box-heading, .trans-heading { font-family: 'Taviraj', serif; font-weight: 100; font-size: 3.2rem; line-height: 1.1; margin-bottom: 25px; }
.box-heading { color: #093629; }

/* --- CONTENT BOXES --- */
.samples-section { position: relative; margin-top: -100px; width: 100%; display: flex; flex-direction: column; align-items: center; height: 850px; }
.samples-base { width: 100%; opacity: 20%; }
.samples-base img { width: 100%; display: block; }
.parallax-overlay { position: absolute; top: 180px; width: 100%; max-width: 1200px; padding: 0 2rem; z-index: 10; }
.content-box { width: 100%; height: 600px; background: #ffffff; border-radius: 15px; overflow: hidden; }

.box-grid { display: flex; height: 100%; padding: 10px; }
.grid-left { flex: 0 0 50%; display: flex; align-items: center; }
.grid-right { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding-left: 40px; }

.trans-row-margin { margin-top: 150px; }
.trans-grid { display: flex; width: 100%; gap: 60px; }
.flex-reverse { flex-direction: row-reverse; }
.grid-text { flex: 0 0 55%; display: flex; flex-direction: column; justify-content: center; }
.grid-gif { flex: 0 0 40%; display: flex; align-items: center; }

.gif-wrapper { width: 100%; border-radius: 15px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.gif-wrapper img { width: 100%; display: block; }

/* --- FOOTER --- */
.footer { width: 100%; padding: 60px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 100px; }
.footer-wrapper { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; list-style: none; gap: 3rem; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, 0.5); font-size: 0.95rem; transition: color 0.3s ease; }

/* --- UI ELEMENTS --- */
.btn-gradient {
    padding: 14px 32px; border: none; border-radius: 50px; font-family: 'DM Sans', sans-serif; font-weight: 700;
    background: linear-gradient(to right, #8DFFF9, #1C6E26); color: #041410; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal { opacity: 0; will-change: transform, opacity; transition: transform 0.6s ease-out, opacity 0.6s ease-out; }
.animate-on-load { animation: slideUpFade 1.2s forwards; }

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(-50px); }
}

@media (max-width: 850px) {
    .navbar-scrolled { width: 95%; }
    .hero-title { font-size: 2.5rem; }
}






/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(4, 20, 16, 0.9); /* Dark theme match */
    backdrop-filter: blur(10px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    position: relative;
    text-align: center;
    color: #093629;
    animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}














/* --- MODAL CONTAINER FIXED 600x700 --- */
.modal-container {
    width: 600px;
    height: 700px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevents internal scrollbars */
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* --- SECTION 1: TOP (200px) --- */
.modal-section-top {
    flex: 0 0 200px;
    padding: 5px;
    position: relative;
}
.modal-section-top::before {
    content: "";
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    background-image: url('https://res.cloudinary.com/dkotn5guy/image/upload/v1767114428/freepik__multiple-abstract-art-reflective-transparent-gloss__40926_g78a3a.png');
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}
.modal-logo-overlay {
    position: absolute;
    bottom: 20px; /* 5px margin + 15px padding */
    left: 20px;
    color: white !important;
    font-size: 2rem;
    z-index: 2;
}

/* --- SECTION 2: MID (Optimized for Visibility) --- */
.modal-section-mid {
    flex: 1; /* Automatically takes up the remaining 400px (700-200-100) */
    padding: 25px 80px; /* Reduced vertical padding */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; /* Distributes items without crowding */
    text-align: center;
}

.modal-title { 
    font-family: 'Taviraj', serif; 
    font-weight: 100; 
    font-size: 1.8rem; 
    color: #093629; 
}

.modal-subtitle { 
    font-size: 0.85rem; 
    color: #666; 
    margin-bottom: 10px; 
}

.invite-group { 
    display: flex; 
    gap: 8px; 
    margin-top: 5px; 
}

/* Condensed Inputs */
.modal-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
}

.btn-google {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
}

.modal-divider { 
    margin: 15px 0; 
    border-bottom: 1px solid #eee; 
    line-height: 0.1em; 
    text-align: center; 
}
.modal-divider span { background:#fff; padding:0 10px; color: #ccc; font-size: 0.7rem; text-transform: uppercase; }

.btn-full { width: 100%; border-radius: 8px; padding: 12px; font-size: 0.9rem; }

/* --- SECTION 3: BOT (100px) --- */
.modal-section-bot {
    flex: 0 0 100px;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}

/* --- LOGIC STATES --- */
.disabled-zone {
    opacity: 0.25;
    pointer-events: none;
    transition: all 0.4s ease;
}
.disabled-zone.unlocked {
    opacity: 1;
    pointer-events: all;
}
.error-text { color: #e74c3c; font-size: 0.75rem; display: none; margin-top: 5px; }
.link-signin { color: #1C6E26; font-weight: 700; text-decoration: none; }