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

:root {
    /* Dark newspaper-inspired colors from app */
    --primary: #e8e6e3;
    --secondary: #b8b5b2;
    --accent: #6c7b95;
    --gold: #f4d03f;
    
    --text-primary: #e8e6e3;
    --text-secondary: #c4c1be;
    --text-muted: #9a9a9a;
    
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #333333;
    
    --border-primary: #4a4a4a;
    --border-light: #3a3a3a;
    
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.9);
    padding: 8px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--primary);
    border-color: var(--accent);
}

.lang-btn.active {
    background-color: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

/* Header */
.header {
    background-color: var(--bg-primary);
    border-bottom: 2px solid var(--border-primary);
    padding: 2rem 0;
}

.masthead {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 24px;
    box-shadow: 0 4px 12px var(--shadow-light);
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-primary);
    box-shadow: 0 4px 6px var(--shadow-light);
}

.btn-primary:hover {
    background-color: #e5c230;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 6px var(--shadow-light);
}

.btn-secondary:hover {
    background-color: #5a6880;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px var(--shadow-medium);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

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

.feature-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shadow-medium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(244, 208, 63, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(244, 208, 63, 0.2);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold);
    stroke-width: 2;
}

.feature-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Subscription Section */
.subscription {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

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

.plan-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.2);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shadow-medium);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: var(--bg-primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-name {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.plan-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

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

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

/* Free Trial & Subscription Info */
.free-trial-badge {
    background: linear-gradient(135deg, var(--gold), #f1c40f);
    color: var(--bg-primary);
    padding: 12px 24px;
    border-radius: 25px;
    margin: 1.5rem auto 2rem;
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 8px var(--shadow-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.trial-info {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(244, 208, 63, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(244, 208, 63, 0.2);
}

.trial-highlight {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.subscription-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: italic;
    margin-bottom: 0;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--gold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
        padding: 6px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .app-logo {
        width: 80px;
        height: 80px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card {
        width: 100%;
    }
    
    .free-trial-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}