/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: hsl(0, 0%, 100%);
    color: hsl(224, 71%, 4%);
    line-height: 1.5;
}

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* Navigation */
.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #4f46e5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-login {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav-login:hover {
    color: #4f46e5;
}

.button-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(79, 70, 229, 0.05);
    color: #4f46e5;
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
    padding: 1.5rem 0.6rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(221, 83%, 53%, 0.1), hsl(262, 83%, 58%, 0.1));
    opacity: 0.5;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(0, 0%, 100%), hsl(220, 14%, 98%));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-inner {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: hsl(221, 83%, 53%, 0.1);
    border: 1px solid hsl(221, 83%, 53%, 0.2);
    color: hsl(221, 83%, 53%);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.icon-sparkles {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-gradient-text {
    background: linear-gradient(to right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(220, 9%, 46%);
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

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

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.button-hero {
    background: linear-gradient(to right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    color: hsl(210, 40%, 98%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.button-hero:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.button-outline {
    background-color: transparent;
    border-color: hsl(220, 13%, 91%);
    color: hsl(224, 71%, 4%);
}

.button-outline:hover {
    background-color: hsl(262, 83%, 58%, 0.1);
    border-color: hsl(262, 83%, 58%);
}

.button-secondary {
    background-color: white;
    color: hsl(221, 83%, 53%);
}

.button-secondary:hover {
    background-color: hsl(0, 0%, 95%);
}

.button-outline-white {
    background-color: transparent;
    border-color: white;
    color: white;
}

.button-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.icon-arrow {
    width: 1.25rem;
    height: 1.25rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: hsl(220, 9%, 46%);
    max-width: 48rem;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 6rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card {
    background-color: hsl(0, 0%, 100%);
    border: 2px solid hsl(220, 13%, 91%);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: hsl(221, 83%, 53%, 0.5);
    box-shadow: 0 4px 16px -2px hsl(220, 9%, 46%, 0.1);
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-content {
    padding: 1.5rem;
}

.card-content p {
    color: hsl(220, 9%, 46%);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 1rem;
    background-color: hsl(220, 14%, 96%, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step {
    position: relative;
}

.step-card {
    height: 100%;
    background-color: hsl(0, 0%, 100%);
}

.step-card:hover {
    border-color: hsl(221, 83%, 53%, 0.5);
}

.step-card .card-content {
    padding: 1.5rem;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.step-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(220, 9%, 46%, 0.2);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    color: hsl(220, 9%, 46%);
    line-height: 1.6;
}

.step-connector {
    display: none;
}

/* Benefits Section */
.benefits {
    padding: 6rem 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.benefit-card {
    border: 2px solid hsl(220, 13%, 91%);
    background-color: hsl(0, 0%, 100%);
}

.benefit-card:hover {
    border-color: hsl(262, 83%, 58%, 0.5);
}

.benefit-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.benefit-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    padding-top: 0.25rem;
}

.automation-box {
    padding: 3rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, hsl(221, 83%, 53%, 0.1), hsl(262, 83%, 58%, 0.1));
    border: 2px solid hsl(221, 83%, 53%, 0.2);
}

.automation-content {
    max-width: 48rem;
    margin: 0 auto;
}

.automation-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.automation-text {
    font-size: 1.125rem;
    color: hsl(220, 9%, 46%);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 6rem 1rem;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.pricing-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.currency-switcher,
.billing-switcher {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.currency-btn,
.billing-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.currency-btn:hover,
.billing-btn:hover {
    color: #3b82f6;
}

.currency-btn.active,
.billing-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.pricing-card {
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card-featured {
    border: 2px solid #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pricing-content {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.pricing-pages {
    color: #64748b;
    font-size: 0.95rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
}

.pricing-savings {
    min-height: 24px;
    color: #10b981;
    font-weight: 700;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 1rem;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 2px solid hsl(220, 13%, 91%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    border-color: hsl(221, 83%, 53%, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #1a1a2e;
    font-size: 1.125rem;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #667eea;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    line-height: 1.7;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 6rem 1rem;
    background-color: hsl(220, 14%, 96%, 0.3);
}

.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
}

.cta-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    opacity: 0.9;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
}

/* Footer */
.footer {
    padding: 3rem 1rem;
    border-top: 1px solid hsl(220, 13%, 91%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
}

.footer-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: hsl(220, 9%, 46%);
}

.footer-links a {
    color: hsl(220, 9%, 46%);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: hsl(224, 71%, 4%);
}

.footer-copyright {
    font-size: 0.875rem;
    color: hsl(220, 9%, 46%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }

    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .cta-box {
        padding: 4rem;
    }

    .main-nav {
        display: flex;
    }

    .header-actions {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid .pricing-card:first-child {
        grid-column: 1;
    }

    .pricing-grid .pricing-card:nth-child(2) {
        grid-column: 2;
    }

    .pricing-grid .pricing-card:nth-child(3) {
        grid-column: 3;
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .step-connector {
        display: block;
        position: absolute;
        top: 50%;
        right: -0.75rem;
        width: 1.5rem;
        height: 0.125rem;
        background: linear-gradient(to right, hsl(221, 83%, 53%), hsl(262, 83%, 58%));
    }

    .step:last-child .step-connector {
        display: none;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .logo-image {
        width: 210px;
        height: 48px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .billing-switcher {
        flex-wrap: wrap;
        justify-content: center;
    }

    .currency-btn,
    .billing-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .price-value {
        font-size: 2.5rem;
    }
}

/* Mobile pricing layout */
@media (max-width: 767px) {
    .pricing-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .pricing-grid .pricing-card:first-child {
        width: 100%;
    }

    .pricing-grid .pricing-card:nth-child(2),
    .pricing-grid .pricing-card:nth-child(3) {
        width: calc(50% - 0.5rem);
    }

    .pricing-content {
        padding: 1.5rem 1rem;
    }

    .pricing-tier {
        font-size: 1.25rem;
    }

    .price-value {
        font-size: 2rem;
    }

    .pricing-controls {
        flex-direction: column;
    }

    .featured-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
    }
}


/* Similar Articles / Popular Slider (global) */
.similar-section { padding: 40px 0; background: #f8fafc; border-top: 1px solid #eef2f7; }
.similar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.similar-title { font-size: 22px; font-weight: 800; color: #0f172a; margin: 0; }
.similar-card { background: #fff; border: 1px solid #eef2f7; border-radius: 12px; overflow: hidden; margin: 8px; cursor: pointer; }
.similar-img { width: 100%; height: 160px; object-fit: cover; }
.similar-content { padding: 14px; }
.similar-card h3 { font-size: 16px; margin: 0 0 6px; color: #0f172a; }
.similar-card p { font-size: 14px; color: #4b5563; margin: 0 0 10px; }
.similar-card .link { color: #2563eb; text-decoration: none; font-weight: 600; }
