/* =========================================
   Base Styles & Variables
========================================= */
:root {
    --primary-color: #2F80ED;
    --primary-hover: #1f6ad6;
    --bg-color: #0d1117;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --card-bg: #161b22;
    --border-color: #30363d;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

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

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

/* =========================================
   Typography & Buttons
========================================= */
h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 600;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.btn-primary, .btn-large, .btn-buy {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover, .btn-large:hover, .btn-buy:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: rgba(47, 128, 237, 0.1);
    color: var(--primary-color);
}

/* =========================================
   Header (Navbar)
========================================= */
.navbar {
    background-color: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

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

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

/* =========================================
   Hero Section
========================================= */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #161b22 0%, #0d1117 100%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(#fff, #8b949e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   Features
========================================= */
.features {
    padding: 80px 0;
}

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

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

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

/* =========================================
   Pricing (Matching provided image)
========================================= */
.pricing {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background for pricing as in image */
    color: #333;
}
.pricing .section-title {
    color: #333;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    width: 320px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-name {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.plan-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.plan-price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 25px;
}

.plan-price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    color: #555;
    text-align: center;
}

.plan-features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.pricing-card .btn-buy {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.pricing-card .btn-buy.active, .pricing-card .btn-buy:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* =========================================
   FAQ Section
========================================= */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.faq-item p {
    color: var(--text-muted);
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: #090d13;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-about {
    flex: 1;
    min-width: 300px;
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-links, .footer-seo {
    flex: 1;
    min-width: 200px;
}

.footer-links h4, .footer-seo h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul, .footer-seo ul {
    list-style: none;
}

.footer-links li, .footer-seo li {
    margin-bottom: 10px;
}

.footer-links a, .footer-seo a {
    color: var(--text-muted);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile hide for now */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .btn-outline {
        margin-left: 0;
    }
}
