@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #007BFF;
    --secondary-color: #4C9BFF;
    --accent-color: #FFD60A;
    --dark-color: #121212;
    --light-color: #ffffff;
    --text-color: #E0E0E0;
    --bg-light: #1E1E1E;
    --border-color: #333333;
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--dark-color);
    font-size: 16px;
    line-height: 1.7;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }
h1, h2, h3 { color: var(--light-color); font-weight: 700; line-height: 1.3; }
h1 { font-size: 3.2rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: #BDBDBD; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto 3rem auto; color: #BDBDBD; }

.header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-logo {
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.nav-logo:hover { background-color: var(--secondary-color); }
.nav-logo img { height: 50px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { font-weight: 500; color: var(--text-color); }
.nav-link.active, .nav-link:hover { color: var(--light-color); }

.cta-button {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: block;
}
.cta-button:hover { background-color: var(--secondary-color); transform: translateY(-2px); }

.hamburger { display: none; cursor: pointer; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--light-color); }

.hero-section { padding: 100px 0; text-align: center; }
.hero-content h1 { max-width: 800px; margin: 0 auto 1rem auto; }
.hero-content p { max-width: 700px; margin: 0 auto 2rem auto; font-size: 1.1rem; }

.features-section { padding: 80px 0; }
.blog-preview-section { padding: 80px 0; background-color: var(--bg-light); }
.pricing-section { padding: 80px 0; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--box-shadow); }
.feature-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; }

.ad-section {
    padding: 20px 0;
    text-align: center;
}
.ad-section.header-ad {
    background-color: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
}
.ad-box-desktop, .ad-box-mobile {
    display: inline-block;
    vertical-align: top;
}
.ad-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    text-align: center;
}
.ad-placeholder {
    border: 1px solid var(--border-color);
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.ad-box-desktop { display: inline-block; }
.ad-box-mobile { display: none; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.blog-card { display: block; background: var(--bg-light); border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 25px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    position: relative;
}
.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}
.pricing-card h3 { font-size: 1.75rem; }
.pricing-card .price { font-size: 3rem; font-weight: 800; color: var(--light-color); margin: 0.5rem 0; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: #BDBDBD; }
.pricing-card > p { color: #BDBDBD; min-height: 48px; }
.pricing-card ul { margin: 1.5rem 0; text-align: left; padding-left: 10px; flex-grow: 1; }
.pricing-card ul li { margin-bottom: 1rem; list-style-type: '✓  '; padding-left: 10px; }
.pricing-card .cta-button { margin-top: auto; }

.static-page-section { padding: 80px 0; }
.static-page-section .container { max-width: 800px; }
.static-page-section h1 { margin-bottom: 2rem; text-align: center; }
.static-page-section h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.75rem; color: var(--secondary-color); }
.static-page-section p, .static-page-section li { color: #BDBDBD; }
.static-page-section ul { list-style: disc; padding-left: 20px; }
.static-page-section ul li { margin-bottom: 0.5rem; }

.footer { background: #0a0a0a; border-top: 1px solid var(--border-color); color: #a9a9a9; padding: 60px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 3rem; }
.footer-col h3 { color: var(--light-color); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { color: #a9a9a9; }
.footer-bottom { text-align: center; border-top: 1px solid #485460; padding-top: 20px; font-size: 0.9rem; }

@media (max-width: 992px) {
    .pricing-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-menu { position: fixed; left: -100%; top: 80px; flex-direction: column; background-color: var(--dark-color); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5); height: 100vh; padding-top: 2rem; }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .ad-box-desktop { display: none; }
    .ad-box-mobile { display: inline-block; }
}