:root {
    --bg-dark: #0a0a0f;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #638a59;
    --primary-hover: #4e6d46;
    --secondary: #c8a96b;
    --accent: #e5d3b3;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Animations */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, 5%) scale(0.9); }
}

/* Glassmorphism Utility */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 100;
    border-radius: 100px;
    transition: background 0.3s ease, border 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary);
}

/* Buttons */
.cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-btn.small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 138, 89, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out forwards;
}

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

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(229, 211, 179, 0.1);
    color: var(--accent);
    border: 1px solid rgba(229, 211, 179, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.gradient-text {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form */
.waitlist-form {
    display: flex;
    gap: 10px;
    padding: 10px;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 100px;
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.waitlist-form input::placeholder {
    color: var(--text-muted);
}

/* Parallax Scroller Section */
.parallax-wrapper {
    position: relative;
    width: 100%;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.parallax-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

/* Left Side: Scrolling Content */
.features-content {
    width: 50%;
    padding-top: 10vh; /* space before the first feature starts */
    padding-bottom: 30vh; /* space after the last feature ends */
}

.feature-step {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 40px;
}

.feature-text {
    padding: 40px;
    text-align: left;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.3;
    transform: scale(0.95);
}

.feature-step.active .feature-text {
    opacity: 1;
    transform: scale(1);
}

.feature-text .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Right Side: Sticky Phone */
.phone-sticky-container {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 650px;
    background: rgba(0, 0, 0, 0.4);
    border: 8px solid #2a2a35;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255,255,255,0.1);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2a2a35;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e2d, #151521);
    border-radius: 32px; /* Inner radius */
    overflow: hidden;
}

/* Phone Screen Images */
.screen-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* When the user replaces placeholders with real imgs, standard styling will apply */
img.screen-img {
    object-fit: cover;
}

.screen-img.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Placeholder styling inside the phone */
.placeholder-content {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
}
.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.screen-img#screen-1 { background: rgba(99, 138, 89, 0.1); }
.screen-img#screen-2 { background: rgba(200, 169, 107, 0.1); }
.screen-img#screen-3 { background: rgba(229, 211, 179, 0.1); }

/* Bottom CTA */
.bottom-cta {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}
.bottom-cta .gradient-text {
    font-size: 3rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 992px) {
    .parallax-container {
        display: flex;
        flex-direction: column-reverse;
    }
    .phone-sticky-container {
        width: 100%;
        height: 100vh;
        position: sticky;
        top: 0;
        padding: 0;
        z-index: 0;
    }
    .phone-frame {
        width: 280px;
        height: 570px;
        transform: scale(0.85);
    }
    .features-content {
        width: 100%;
        position: relative;
        z-index: 10;
        margin-top: -100vh;
        padding-top: 60vh;
        padding-bottom: 20vh;
    }
    .feature-step {
        min-height: 100vh;
        padding: 0;
        align-items: flex-end;
        padding-bottom: 40px;
    }
    .feature-text {
        opacity: 1;
        transform: scale(1);
        background: rgba(10, 10, 15, 0.95);
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    }
}

@media (max-width: 768px) {
    .gradient-text { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .navbar { flex-direction: column; gap: 15px; border-radius: 16px; padding: 15px; }
    .waitlist-form { flex-direction: column; border-radius: 16px; background: transparent; border: none; padding: 0;}
    .waitlist-form input { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 10px;}
    .waitlist-form .cta-btn { width: 100%; border-radius: 12px;}
}
