/* Font Face Declarations */
@font-face {
    font-family: 'Louize Display';
    src: url('fonts/Louize Display - Regular-205TF.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Louize Display';
    src: url('fonts/Louize Display - Italic-205TF.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Louize Display';
    src: url('fonts/Louize Display - Medium-205TF.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Louize Display';
    src: url('fonts/Louize Display - Medium Italic-205TF.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Louize Display';
    src: url('fonts/Louize Display - Bold-205TF.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Louize Display';
    src: url('fonts/Louize Display - Bold Italic-205TF.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-light: #f5f3f0;
    --color-bg-dark: #1a1a1a;
    --color-text-dark: #000000;
    --color-text-light: #ffffff;
    --color-accent: #ff6b35;
    --font-primary: 'Louize Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    transition: var(--transition-smooth);
    background: transparent;
}

.nav.scrolled {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 24px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    opacity: 0.7;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--color-text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    text-decoration: none;
    color: var(--color-text-dark);
    display: inline-block;
}

.nav-btn:hover {
    background: var(--color-text-dark);
    color: var(--color-text-light);
}

/* Section Base */
.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.section.light {
    background-color: var(--color-bg-light);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/top-background.jpeg');
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 3rem;
    text-align: left;
}

.logo-large {
    margin-bottom: 3rem;
    opacity: 0.9;
}

.logo-hero-img {
    height: 20px;
    width: auto;
    display: block;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    text-align: left;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    text-align: left;
}

/* Story Sections */
.story-section {
    min-height: 70vh;
    padding: 6rem 2rem;
}

.story-content {
    text-align: center;
}

.story-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--color-text-dark);
    max-width: 900px;
    margin: 0 auto;
}

.story-text.small {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

/* Product Section */
.product-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.product-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bottom background.png');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

.product-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 3rem;
    text-align: left;
}

.product-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-dark);
    text-align: left;
}

/* CTA Section */
.cta-section {
    min-height: 80vh;
    padding: 6rem 2rem;
}

.cta-content {
    text-align: center;
}

.logo-cta {
    margin-bottom: 3rem;
    text-align: center;
}

.logo-cta-img {
    height: 20px;
    width: auto;
    display: inline-block;
}

.cta-text {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
    color: var(--color-text-dark);
}

/* Waitlist Form */
.waitlist-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    border: 2px solid var(--color-text-dark);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
    background: var(--color-bg-light);
    color: var(--color-text-dark);
}

.email-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.email-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-primary);
    font-weight: 500;
}

.btn-primary {
    background: var(--color-text-dark);
    color: var(--color-text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-dark);
    border: 1px solid var(--color-text-dark);
}

.btn-secondary:hover {
    background: var(--color-text-dark);
    color: var(--color-text-light);
}

/* Footer */
.footer {
    padding: 3rem 3rem 2rem;
    background: var(--color-bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-link {
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-text-dark);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    background: var(--color-text-dark);
    color: var(--color-text-light);
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 20px;
    width: auto;
    display: block;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Parallax Effect */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .hero-content,
    .product-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .story-text {
        font-size: 1.5rem;
    }

    .story-text.small {
        font-size: 1.2rem;
    }

    .cta-text {
        font-size: 1.5rem;
    }

    .form-group {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        min-width: 100%;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .story-text {
        font-size: 1.2rem;
    }

    .product-title {
        font-size: 1.8rem;
    }
}

/* Smooth Scrolling Enhancements */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading State */
.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loaded {
    opacity: 1;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--color-text-dark);
    color: var(--color-text-light);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    z-index: 10000;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.toast-notification.success {
    background: var(--color-text-dark);
}

.toast-notification.error {
    background: #d32f2f;
}

@media (max-width: 768px) {
    .toast-notification {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        transform: translateY(-20px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

