@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #27ae60;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ffffff;
    --text-color: #34495e;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
    font-size: 16px;
}

.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(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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: #6c757d;
}

.text-center {
    text-align: center;
}

.header {
    background: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    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(--dark-color);
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.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(--dark-color);
}

.hero-section {
    background: var(--bg-light);
    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;
}

.hero-content .cta-button {
    margin-top: 1rem;
}

.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.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;
    background-color: #e8f5e9;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card.highlight-card {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.feature-card.highlight-card h3, .feature-card.highlight-card i {
    color: var(--light-color);
}

.feature-card.highlight-card i {
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-card.highlight-card ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 20px;
    flex-grow: 1;
}

.feature-card.highlight-card ul li {
    list-style-type: '✓ ';
    padding-left: 10px;
    margin-bottom: 0.5rem;
}

.ad-section {
    padding: 20px 0;
    background: var(--bg-light);
    text-align: center;
}

.ad-section.header-ad {
    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: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ad-box-desktop { display: inline-block; }
.ad-box-mobile { display: none; }

.blog-preview-section, .blog-page-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.blog-preview-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.blog-card {
    display: block;
    background: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.25rem;
}

.blog-card-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.blog-card-content span {
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 2px solid var(--border-color);
}
.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}
.pricing-card .plan-description {
    margin-bottom: 2rem;
    height: 40px;
}
.pricing-card ul {
    margin-bottom: 2rem;
    text-align: left;
}
.pricing-card ul li {
    margin-bottom: 1rem;
}
.pricing-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.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;
}
.static-page-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.static-page-section ul {
    list-style: disc;
    padding-left: 20px;
}
.static-page-section ul li {
    margin-bottom: 0.5rem;
}

.contact-form {
    margin-top: 3rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
}

.footer {
    background: var(--dark-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 .footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
}

.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-col ul li a:hover {
    color: var(--light-color);
}
.footer-col .social-icons a {
    display: inline-block;
    color: #a9a9a9;
    margin-right: 15px;
    font-size: 1.2rem;
}
.footer-col .social-icons a:hover {
    color: var(--light-color);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #485460;
    padding-top: 20px;
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--light-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        height: 100vh;
        padding-top: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }
    
    .nav-link.cta-button {
        width: 50%;
        margin: 1rem auto;
    }

    .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: block; }

    .footer-grid {
        text-align: center;
    }
    .footer-col ul {
        padding-left: 0;
    }
    .footer-col .social-icons {
        justify-content: center;
    }
}