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

:root {
    /* Solid orange from logo */
    --orange-solid: #ff7400;
    --logo-text: #f5f5dc;
    --text-on-orange: #1a1a1a;
    --text-light: #4a4a4a;
    --highlight-yellow: #ffc100;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--orange-solid);
    color: var(--logo-text);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Custom text selection styling */
::selection {
    background: var(--highlight-yellow);
    color: var(--text-on-orange);
}

::-moz-selection {
    background: var(--highlight-yellow);
    color: var(--text-on-orange);
}

/* Special selection style for already highlighted text */
.highlight-yellow::selection {
    background: var(--text-on-orange);
    color: var(--logo-text);
}

.highlight-yellow::-moz-selection {
    background: var(--text-on-orange);
    color: var(--logo-text);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 40px;
    background: var(--orange-solid);
}

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

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.logo {
    font-family: 'Nunito', 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--logo-text);
    letter-spacing: -0.5px;
    display: inline-block;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--logo-text);
    text-decoration: none;
    padding: 8px 16px;
    transition: opacity 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.nav-link.active {
    opacity: 1;
}

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

main {
    padding-top: 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    background: var(--orange-solid);
}

.hero-content {
    max-width: 900px;
}

.hero-logo {
    font-family: 'Nunito', 'Poppins', sans-serif;
    font-size: 140px;
    font-weight: 900;
    color: var(--logo-text);
    margin-bottom: 32px;
    letter-spacing: -3px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 36px;
    font-weight: 700;
    color: var(--logo-text);
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.hero-tagline {
    font-size: 24px;
    color: var(--logo-text);
    font-weight: 500;
    opacity: 0.95;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 0;
    margin-bottom: 40px;
}

.download-btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    background: white;
    color: var(--text-on-orange);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 20px;
}

.download-btn:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cta-download-btn {
    margin-bottom: 30px;
}

.story-section {
    padding: 140px 40px;
    max-width: 750px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--orange-solid);
}

.story-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-content {
    font-size: 22px;
    line-height: 1.9;
    color: var(--logo-text);
    font-weight: 400;
    font-family: 'Space Grotesk', sans-serif;
}

.story-intro {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--logo-text);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.story-text {
    margin-bottom: 20px;
    color: var(--logo-text);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.story-text:last-child {
    margin-bottom: 0;
}

.highlight-yellow {
    background: var(--highlight-yellow);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--text-on-orange);
    font-weight: 700;
}

.story-text.highlight {
    font-weight: 800;
    font-size: 26px;
    margin: 24px 0;
    color: var(--logo-text);
    font-family: 'Poppins', sans-serif;
}

.brand-name {
    font-weight: 900;
    color: var(--logo-text);
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
}

.cta-section {
    padding: 120px 40px 120px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--orange-solid);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-content {
    font-size: 26px;
    line-height: 1.6;
    margin-bottom: 50px;
    width: 100%;
}

.cta-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--logo-text);
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.cta-text {
    margin-bottom: 12px;
    color: var(--logo-text);
    font-size: 22px;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
}

.cta-text.highlight {
    font-weight: 900;
    font-size: 32px;
    margin-top: 16px;
    font-family: 'Poppins', sans-serif;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 550px;
    margin-top: 0;
}

.email-input {
    padding: 14px 20px;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    color: var(--text-on-orange);
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s ease;
    min-width: 240px;
    flex: 1;
    max-width: 360px;
    font-weight: 400;
}

.email-input::placeholder {
    color: var(--text-light);
}

.email-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.2);
    background: white;
}

.submit-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 400;
    background: white;
    color: var(--text-on-orange);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
    white-space: nowrap;
}

.submit-btn:hover:not(:disabled) {
    background: #f9f9f9;
}

.submit-btn:active:not(:disabled) {
    background: white;
}

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

.footer {
    padding: 80px 40px;
    background: var(--orange-solid);
}

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

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

.footer-logo {
    font-family: 'Nunito', 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--logo-text);
    letter-spacing: -0.5px;
    display: inline-block;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--logo-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
}

.footer-link {
    color: var(--logo-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    opacity: 1;
}

.footer-separator {
    color: var(--logo-text);
    opacity: 0.6;
}

.footer-copyright {
    color: var(--logo-text);
    opacity: 0.9;
}

/* Legal Pages Styles */
.legal-section {
    padding: 140px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--orange-solid);
    min-height: calc(100vh - 200px);
}

.legal-content {
    color: var(--logo-text);
    font-family: 'Space Grotesk', sans-serif;
}

.legal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--logo-text);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.legal-date {
    font-size: 16px;
    color: var(--logo-text);
    opacity: 0.8;
    margin-bottom: 48px;
    font-weight: 500;
}

.legal-section-content {
    margin-bottom: 40px;
}

.legal-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--logo-text);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.legal-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--logo-text);
    margin-bottom: 16px;
    font-weight: 400;
}

.legal-list {
    margin-left: 24px;
    margin-bottom: 16px;
    padding-left: 0;
}

.legal-list li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--logo-text);
    margin-bottom: 12px;
    font-weight: 400;
    list-style-type: disc;
}

.legal-list li strong {
    font-weight: 600;
    color: var(--logo-text);
}

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

    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-logo {
        font-size: 80px;
    }

    .hero-subtitle {
        font-size: 26px;
    }

    .hero-tagline {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .download-btn {
        font-size: 16px;
        padding: 14px 28px;
        margin-top: 16px;
    }

    .story-section {
        padding: 100px 24px;
    }

    .story-content {
        font-size: 20px;
    }

    .story-intro {
        font-size: 28px;
    }

    .story-text.highlight {
        font-size: 22px;
    }

    .cta-section {
        padding: 100px 24px 100px;
        min-height: 55vh;
    }
    
    .cta-content {
        margin-bottom: 40px;
    }
    
    .cta-title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .cta-text {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .cta-text.highlight {
        font-size: 26px;
    }

    .waitlist-form {
        flex-direction: column;
        gap: 10px;
    }

    .email-input {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }

    .submit-btn {
        width: 100%;
        padding: 14px 28px;
        font-size: 16px;
    }

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

    .legal-section {
        padding: 120px 24px 60px;
    }

    .legal-title {
        font-size: 42px;
    }

    .legal-heading {
        font-size: 24px;
    }

    .legal-text,
    .legal-list li {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 16px 20px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .hero-logo {
        font-size: 64px;
    }

    .logo {
        font-size: 18px;
        padding: 8px 16px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-tagline {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .download-btn {
        font-size: 15px;
        padding: 12px 24px;
        margin-top: 12px;
    }

    .cta-download-btn {
        margin-bottom: 24px;
    }

    .story-section {
        padding: 80px 20px;
    }

    .story-content {
        font-size: 18px;
    }

    .story-intro {
        font-size: 24px;
    }

    .cta-section {
        padding: 80px 20px 80px;
        min-height: 60vh;
    }

    .cta-content {
        margin-bottom: 30px;
    }

    .cta-title {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.1;
    }

    .cta-text {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .waitlist-form {
        flex-direction: column;
        gap: 10px;
    }

    .email-input {
        width: 100%;
        max-width: 100%;
        padding: 14px 18px;
        font-size: 16px;
    }

    .submit-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 16px;
    }

    .footer {
        padding: 60px 20px;
    }

    .footer-links {
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .legal-section {
        padding: 100px 20px 60px;
    }

    .legal-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .legal-date {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .legal-heading {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .legal-text,
    .legal-list li {
        font-size: 16px;
        line-height: 1.7;
    }

    .legal-section-content {
        margin-bottom: 32px;
    }

    .legal-list {
        margin-left: 20px;
    }
}

/* Cursor Trail Effect (Desktop Only) */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.trail-icon {
    position: absolute;
    pointer-events: none;
    color: var(--logo-text);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.trail-icon svg {
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Hide on mobile/touch devices */
@media (max-width: 767px), (hover: none) {
    #cursor-trail {
        display: none;
    }
}
