@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #4a69bd;
    --secondary-color: #6a89cc;
    --accent-color: #f6b93b;
    --dark-color: #1e272e;
    --light-color: #ffffff;
    --text-color: #485460;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    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(--accent-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 img {
    height: 50px;
    width: auto;
}

.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: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-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: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://www.toptal.com/designers/subtlepatterns/uploads/fancy-deboss.png');
    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;
}

.tool-input-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
    border-radius: 50px;
    overflow: hidden;
}

.tool-input-box input {
    width: 100%;
    padding: 15px 25px;
    border: 1px solid var(--border-color);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
}
.tool-input-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.tool-input-box button {
    border-radius: 0 50px 50px 0;
    white-space: nowrap;
}

.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.ad-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.ad-box-desktop, .ad-box-mobile {
    position: relative;
    width: fit-content;
    margin: 25px auto 0 auto;
    padding: 10px;
    border: 1px dashed #ccc;
    background: #f1f1f1;
    text-align: center;
}

.ad-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-light);
    padding: 0 8px;
    font-size: 12px;
    color: #999;
}

.ad-placeholder-desktop { width: 728px; height: 90px; }
.ad-placeholder-mobile { width: 300px; height: 250px; }
.ad-placeholder-desktop, .ad-placeholder-mobile {
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.ad-box-desktop { display: block; }
.ad-box-mobile { display: none; }

.blog-preview-section, .blog-page-section {
    padding: 80px 0;
}

.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(-10px);
    box-shadow: 0 10px 20px 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);
}

.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;
    background: var(--bg-light);
}
.pricing-toggle {
    text-align: center;
    margin-bottom: 3rem;
}
.pricing-toggle label {
    font-weight: 600;
    margin: 0 10px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    vertical-align: middle;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--primary-color);
}
input:checked + .slider:before {
    transform: translateX(26px);
}

.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 transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.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;
}
.price .savings-badge {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    background: var(--accent-color);
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 10px;
}
.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;
}
.pricing-card ul li .fa-check-circle { color: var(--primary-color); }
.pricing-card ul li .fa-times-circle { color: #ccc; }


.pricing-comparison, .pricing-faq {
    margin-top: 5rem;
}
.pricing-comparison h2, .pricing-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.comparison-table thead {
    background-color: var(--dark-color);
    color: var(--light-color);
}
.comparison-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}
.comparison-table td:not(:first-child) {
    text-align: center;
}
.comparison-table .fa-check-circle {
    color: var(--primary-color);
    font-size: 1.2rem;
}
.comparison-table .fa-times-circle {
    color: #ccc;
    font-size: 1.2rem;
}
.faq-item {
    background: var(--light-color);
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}
.faq-question {
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}
.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
}
.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}


.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, .static-page-section ol {
    list-style: disc;
    padding-left: 20px;
}
.static-page-section ul li, .static-page-section ol 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);
    padding-left: 5px;
}
.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: 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);
    }

    .tool-input-box {
        flex-direction: column;
        border-radius: 10px;
    }
    .tool-input-box input, .tool-input-box button {
        border-radius: 10px;
    }
    .tool-input-box input {
        border-radius: 10px 10px 0 0;
    }
    .tool-input-box button {
        border-radius: 0 0 10px 10px;
    }

    .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;
    }
}

.header .nav-logo {
    background-color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.header .nav-logo:hover {
    background-color: var(--secondary-color);
}

.header .nav-logo img {
    display: block;
    height: 40px;
    width: auto;
}