/* Landing Page Styles */
:root {
    --brand-color: #fcffc7;
    --brand-color-light: #ffffdc;
    --brand-color-dark: #dce6a6;
    --accent-color: #f2fac5;
    --border-color: rgba(252, 255, 199, 0.2);
    --background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --panel-bg: rgba(15, 23, 42, 0.95);
    --text-color: #f1f5f9;
    --muted: #94a3b8;
    --shadow: 0 20px 45px rgba(2, 6, 23, 0.45);
    --brand-text-color: #262730;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.app-header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(252, 255, 199, 0.2);
}

.brand-title {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

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

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--brand-color);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--brand-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn-primary {
    background: var(--brand-color);
    color: var(--brand-text-color);
    padding: 1rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 25px rgba(252, 255, 199, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(252, 255, 199, 0.35);
}

/* Screenshots Carousel */
.screenshots-section {
    padding: 4rem 0;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.screenshot-card {
    flex: 0 0 300px; /* Mobile width */
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

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

@media (min-width: 768px) {
    .screenshot-card {
        flex: 0 0 320px; /* Keep mobile-like width for phone screenshots */
    }
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--brand-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.pricing-card {
    background: var(--panel-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-color);
}

.pricing-card.featured {
    border-color: var(--brand-color);
    box-shadow: 0 0 30px rgba(252, 255, 199, 0.1);
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
}

.tier-period {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
    margin-left: 0.5rem;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.tier-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
}

.tier-features li i {
    color: var(--brand-color);
}

/* Footer */
.app-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    text-align: center;
    color: var(--muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--brand-color);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

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

.cookie-btn {
    background: var(--brand-color);
    color: var(--brand-text-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        padding: 1rem 24px;
        scroll-snap-type: x mandatory;
        gap: 1rem;
    }
    .pricing-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}
