/* GLOBAL VARIABLES */
:root {
    --bg-body: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: #1e293b;
    --border-color: #334155;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
}

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

a {
    text-decoration: none;
    transition: 0.2s;
}

/* HEADER - FIXED WHITE BOX ISSUE */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent; /* Ensures it is NOT white */
    position: relative;
    z-index: 10;
}

.logo span {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
}

/* NAV BUTTONS */
nav {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: white;
    background: transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #fff;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 8rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

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

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

.lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* FEATURES */
.features {
    padding: 6rem 1rem;
    background: var(--bg-body);
}

.features h2, .pricing h2, .screens h2, .cta h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

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

.feature-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #60a5fa; /* Light Blue */
}

.feature-box p {
    color: var(--text-muted);
    margin: 0;
}

/* SCREENSHOTS */
.screens {
    padding: 4rem 1rem;
    text-align: center;
}

.screenshot-box {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    border-radius: 12px;
    border: 2px dashed var(--border-color);
    font-size: 1.2rem;
}

/* PRICING */
.pricing {
    padding: 6rem 1rem;
    background: var(--bg-body);
}

.pricing p {
    text-align: center;
}

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

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

.price-card.highlight {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.price-card h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

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

.price-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 2;
    flex-grow: 1;
}

/* ADD-ON SECTION */
.addon-text {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.addon-badge {
    background-color: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* CTA SECTION */
.cta {
    padding: 8rem 1rem;
    text-align: center;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--card-bg);
    padding: 3rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer a {
    color: #64748b;
    margin: 0 10px;
}

.footer a:hover {
    color: white;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .feature-grid, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem; 
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .price-card.highlight {
        transform: none;
    }
}

/* ANIMATIONS */
.fade-in { animation: fadeIn 1s ease-in-out; }
.fade-up { animation: fadeUp 1.2s ease; }
.slide-up { animation: slideUp 1s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}