:root {
    /* Color Palette */
    --primary-color: #F59E0B; /* Saffron Gold */
    --primary-dark: #D97706;
    --background-dark: #1C120C; /* Deep Spiritual Brown/Black */
    --surface-dark: #2D1B11;
    --text-main: #FFFBF5; /* Ivory */
    --text-muted: rgba(255, 251, 245, 0.7);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(28, 18, 12, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(28, 18, 12, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

/* Buttons */
.btn-primary, .btn-primary-small {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--background-dark);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

.btn-primary:hover, .btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* Hero Banner */
.hero-banner {
    margin-top: 80px; /* offset for navbar */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--background-dark);
}

.banner-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 0 0 20px 20px;
    object-fit: cover;
}

.hero-cta {
    margin-top: -3rem; /* Pull button up slightly over the banner */
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
}

/* Showcase Section */
.showcase {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--background-dark), var(--surface-dark));
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
    align-items: start;
}

.screenshot-wrapper {
    width: 100%;
    max-width: 250px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screenshot-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border: 4px solid var(--surface-dark);
    transition: var(--transition-smooth);
    display: block;
}

.screenshot-wrapper h4 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-main);
}

.screenshot-wrapper:hover img {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--surface-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

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

/* Pro Section */
.pro-section {
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, var(--surface-dark), var(--background-dark));
}

.pro-container {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 32px;
    padding: 4rem;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.pro-visual-group {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dark-screenshot {
    width: 230px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 4px solid #111;
    display: block;
}

.float-1 {
    position: absolute;
    left: 10%;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    position: absolute;
    right: 10%;
    margin-top: 100px;
    z-index: 1;
    opacity: 0.8;
    animation: float 7s ease-in-out infinite 1s;
}

.pro-text {
    flex: 1;
}

.pro-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.pro-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pro-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
footer {
    background: #110A06;
    padding: 4rem 2rem 2rem;
}

/* Legal Pages (Privacy Policy & Terms) */
.legal-container {
    padding: 140px 2rem 8rem;
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--background-dark), var(--surface-dark));
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(28, 18, 12, 0.95);
    padding: 5rem 6rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(245, 158, 11, 0.1);
    text-align: left; /* Ensure text is strictly left-aligned */
}

.legal-content h1 {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.legal-content .last-updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFFBF5;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 251, 245, 0.85);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify; /* Justify text for a clean document look */
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
    color: rgba(255, 251, 245, 0.85);
}

.legal-content ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1.1rem;
    position: relative;
    list-style-type: disc;
}

.legal-content ul li::marker {
    color: var(--primary-color);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.legal-content a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand img {
    width: 40px;
    border-radius: 12px;
}

.footer-brand h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Reveal Classes for JS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal.active, .reveal-up.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 900px) {
    .pro-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .pro-visual-group {
        width: 100%;
        min-height: 450px;
    }
    
    .float-1 { left: 50%; margin-left: -115px; }
    .float-2 { right: 50%; margin-right: -115px; margin-top: 150px; }
    
    .pro-list {
        display: inline-block;
        text-align: left;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Transform the gallery into a swipeable carousel on mobile */
    .showcase-gallery {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-left: 2rem;
        padding-right: 2rem;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .showcase-gallery::-webkit-scrollbar {
        display: none;
    }

    .screenshot-wrapper {
        flex: 0 0 75%;
        max-width: 280px;
        scroll-snap-align: center;
    }
    
    .hero-banner {
        margin-top: 60px;
    }

    .legal-content {
        padding: 3rem 2rem;
    }
    .legal-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .float-1 { left: 50%; margin-left: -90px; width: 180px; }
    .float-2 { right: 50%; margin-right: -90px; margin-top: 100px; width: 180px; }
    
    .pro-visual-group {
        min-height: 350px;
    }
}
