@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');

:root {
    --bg-main: #0F0F12; /* Dark charcoal base */
    --bg-secondary: #17171C; /* Slightly lighter charcoal */
    --accent: #39FF14; /* Neon volt green */
    --accent-hover: #5DFF3D; /* Lighter neon green */
    --text-main: #FFFFFF; /* White text */
    --text-muted: #8A8A93; /* Muted gray text */
    --text-dark: #0F0F12; /* Dark text for neon buttons */
    --border: #2C2C35; /* Subtle dark border */
    --card-bg: #1A1A24; /* Card background with slight tint */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.primary-btn {
    background-color: var(--accent);
    color: var(--text-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.primary-btn:hover {
    transform: translateY(-2px);
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

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

.secondary-btn:hover {
    background-color: rgba(26, 46, 34, 0.05);
    border-color: var(--text-muted);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 34, 22, 0.9); /* Stable dark green background for transparent logo */
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(235, 230, 208, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}



.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(235, 230, 208, 0.75); /* Decoupled light cream nav links */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #EBE6D0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #EBE6D0;
    border-radius: 2px;
}

.nav-close {
    display: none !important;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 900px) {
    .nav-close {
        display: block !important;
    }
}

.nav-cta {
    color: #EBE6D0;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #EBE6D0;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background-color: #EBE6D0;
    color: #1A2E22;
}

/* Sections Common */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Hero */
.hero {
    padding-top: 10rem;
    text-align: center;
    background: radial-gradient(circle at top, var(--bg-secondary) 0%, var(--bg-main) 60%);
}

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

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 4px 16px rgba(26, 46, 34, 0.18));
}

.beta-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-dark);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    vertical-align: middle;
    position: relative;
    top: -4px;
    margin-left: 0.75rem;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.beta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: -3rem;
    margin-bottom: 4rem;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.store-btn {
    display: inline-block;
    transition: transform 0.2s ease;
    height: 64px;
}

.store-btn:hover:not(.coming-soon) {
    transform: scale(1.05);
}

.store-btn.coming-soon {
    position: relative;
    cursor: not-allowed;
}

.store-btn.coming-soon .store-badge {
    filter: grayscale(100%);
    opacity: 0.35;
    transition: opacity 0.2s ease;
}

.store-btn.coming-soon:hover .store-badge {
    opacity: 0.5;
}

.store-btn-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.coming-soon-text {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--accent);
    color: var(--text-dark);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.store-badge {
    height: 100%;
    width: auto;
}

.film-roll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    margin: 2rem auto 0;
    /* Premium vignette/fade-out masking on left and right edges */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.film-roll-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: slide-roll 30s linear infinite;
}

.film-roll-track:hover {
    animation-play-state: paused; /* Pause sliding on hover for readability and interaction */
}

.film-roll-card {
    height: 373px; /* Uniform height across all mockups */
    width: auto; /* Width scales dynamically to fit the screenshot aspect ratio */
    border-radius: 32px;
    border: 5px solid var(--border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-secondary);
    overflow: hidden;
    flex-shrink: 0;
    cursor: zoom-in;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.film-roll-card:hover {
    transform: translateY(-12px) scale(1.04);
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

@keyframes slide-roll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Seamless infinite scroll loop point */
    }
}

.film-roll-card .mockup-img {
    width: auto;
    height: 100%;
    display: block;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 46, 34, 0.3);
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Split Sections */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.screenshot-img {
    max-width: 300px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 4px solid var(--border);
}

.dual-mockups {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px;
    height: 480px;
    margin: 0 auto;
}

.split-mockup {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220px;
    border-radius: 24px;
    border: 4px solid var(--border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-secondary);
    overflow: hidden;
    /* CSS variables to animate smoothly without hover jumps/flickers */
    --tx: 0px;
    --ty: 0px;
    --rot: 0deg;
    --scale: 1;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rot)) scale(var(--scale));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.mockup-left {
    --tx: -60px;
    --rot: -5deg;
    z-index: 1;
    opacity: 0.9;
}

.mockup-right {
    --tx: 60px;
    --ty: 20px;
    --rot: 5deg;
    z-index: 2;
}

.split-mockup:hover {
    --scale: 1.05;
    --ty: -10px; /* Float up slightly */
    --rot: 0deg; /* Straighten out */
    z-index: 10;
    opacity: 1;
    border-color: var(--accent);
}

.insight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insight-list li {
    display: flex;
    flex-direction: column;
}

.insight-list strong {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.insight-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.insight-icon {
    width: 22px;
    height: 22px;
    color: var(--accent);
    stroke-width: 2.2;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .insight-title {
        justify-content: center;
    }
}

.insight-list span {
    color: var(--text-muted);
}

/* About Section */
.about-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.about-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: var(--accent);
}

.about-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.about-content a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.about-content a:hover {
    color: var(--accent-hover);
}

.signature-container {
    margin-top: 0.25rem;
    display: flex;
    justify-content: flex-start;
}

.signature {
    font-family: 'Alex Brush', cursive;
    font-size: 2rem;
    color: var(--accent);
    transform: rotate(-3deg);
    display: inline-block;
}

@media (max-width: 900px) {
    .about-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
    z-index: 1;
    background: linear-gradient(180deg, rgba(235, 230, 208, 0.05) 0%, var(--card-bg) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features li.not-included {
    color: var(--border);
    text-decoration: line-through;
    opacity: 0.75;
}

.pricing-features li:last-child {
    border-bottom: none;
}


/* Footer */
.footer {
    border-top: 1px solid rgba(235, 230, 208, 0.15);
    padding: 4rem 2rem 2rem;
    background: #122218; /* Decoupled dark green background */
    margin-top: 4rem;
    color: #F6F4EB;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #B2C5B8; /* Muted light text */
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #F6F4EB;
}

.footer-links a {
    display: block;
    color: #B2C5B8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #F6F4EB;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(235, 230, 208, 0.1);
    padding-top: 2rem;
    color: #B2C5B8;
    font-size: 0.8rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .split-section {
        flex-direction: column;
        text-align: center;
    }

    .split-section.reverse {
        flex-direction: column-reverse;
        text-align: center;
    }

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

    .navbar {
        backdrop-filter: none !important;
        background-color: #122218 !important; /* Solid dark green background to prevent fixed positioning containment issues */
    }

    .nav-links {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: var(--bg-secondary) !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2.5rem !important;
        z-index: 2000 !important;
    }

    .nav-links.open {
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-main); /* Dark green for light cream mobile menu background */
        font-weight: 600;
    }

    .nav-links a:hover {
        color: var(--accent-hover);
    }

    .hamburger {
        display: flex;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .dual-mockups {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto !important;
        max-width: 100% !important;
        margin: 2rem auto 0 !important;
        gap: 0 !important;
        position: relative !important;
    }

    .split-mockup {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 130px !important;
        flex-shrink: 0 !important;
    }

    .mockup-left {
        transform: rotate(-4deg) translateY(0) !important;
        z-index: 1 !important;
    }

    .mockup-right {
        transform: rotate(4deg) translateY(15px) !important;
        margin-left: -25px !important; /* Overlap them slightly for the premium look */
        z-index: 2 !important;
    }
}

@media (max-width: 600px) {
    .film-roll-container {
        padding: 2rem 0;
        mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    }
    
    .film-roll-track {
        gap: 1.5rem;
    }
    
    .film-roll-card {
        height: 231px; /* Uniform height on mobile */
        width: auto;
        border-radius: 18px;
        border: 3px solid var(--border);
    }
}

@media (max-width: 750px) and (min-width: 601px) {
    .film-roll-container {
        padding: 2.5rem 0;
    }
    
    .film-roll-track {
        gap: 2rem;
    }
    
    .film-roll-card {
        height: 302px; /* Uniform height on medium screens */
        width: auto;
        border-radius: 26px;
        border: 4px solid var(--border);
    }
}

/* Legal Pages Styling */
.legal-body {
    background-color: var(--bg-main);
    color: var(--text-main);
    padding: 2rem;
}

.legal-container {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.legal-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.legal-nav a:hover, .legal-nav a.active {
    color: var(--accent);
    font-weight: 600;
}

.legal-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.legal-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.legal-container p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.legal-container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.legal-container li {
    margin-bottom: 0.5rem;
}

.legal-container a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-container a:hover {
    color: var(--text-main);
}

.btn-delete {
    display: inline-block;
    background-color: var(--danger);
    color: var(--text-main) !important;
    padding: 12px 24px;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(226, 125, 96, 0.15);
}

.btn-delete:hover {
    background-color: #f18c70;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(226, 125, 96, 0.25);
}

/* Cursor zoom-in for screenshots */
.hero-mockup, 
.hero-mockup img, 
.split-image img, 
.split-mockup, 
.split-mockup img {
    cursor: zoom-in;
}

/* Lightbox Modal for screenshot zoom */
.lightbox {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 34, 24, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 20px;
    border: 4px solid var(--border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: zoom-out;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--accent);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    z-index: 2101;
}

.lightbox-close:hover {
    color: var(--text-main);
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }
    .lightbox-close {
        top: 16px;
        right: 20px;
        font-size: 36px;
    }
}
