/* CSS Variables */
:root {
    --primary: #4169E1;
    /* Royal Blue */
    --primary-dark: #2c4ab8;
    --accent: #00C853;
    /* Bright Green */
    --accent-dark: #009624;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.text-highlight {
    color: var(--primary);
}

.text-danger {
    color: #e74c3c;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light);
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-primary-sm {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-sm {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.navbar.scrolled .btn-outline-sm {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155;
    transition: color 0.2s ease;
}

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

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-actions .btn-outline-sm {
    border: 1.5px solid #cbd5e1;
    color: #475569;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
}

.nav-actions .btn-outline-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-actions .btn-primary-sm {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.25);
}

.nav-actions .btn-primary-sm:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    background: radial-gradient(circle at 90% 10%, #ecf4ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 5;
    /* Ensure content sits above the wave shape */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge-new {
    display: inline-block;
    background-color: rgba(65, 105, 225, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
}

.hero-cta .btn {
    white-space: nowrap;
    padding: 13px 22px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    /* Increased size slightly */
    color: #444;
    /* Darker grey for better visibility */
    font-weight: 500;
    margin-top: 10px;
}

.stars {
    color: #f1c40f;
}

.hero-image {
    position: relative;
}

.mockup-container {
    position: relative;
    z-index: 10;
}

.mockup-img {
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
    animation: float 3s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    left: -20px;
    color: var(--accent);
}

.badge-2 {
    bottom: 20%;
    right: -20px;
    color: var(--primary);
    animation-delay: 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Pain Solution Section */
.pain-solution-section {
    padding: 80px 0;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-seo {
    background: rgba(255, 99, 71, 0.1);
    color: tomato;
}

.icon-shop {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.icon-speed {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.comparison {
    margin-top: 15px;
    font-size: 0.95rem;
}

.comparison p {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    /* align-items: flex-start; */
}

.problem i {
    color: #e74c3c;
    margin-top: 4px;
}

.solution i {
    color: #2ecc71;
    margin-top: 4px;
}

.problem {
    color: var(--text-light);
}

.solution {
    color: var(--dark);
    font-weight: 600;
}

/* Killer Feature */
.killer-feature-section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.align-center {
    align-items: center;
}

.feature-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.feature-list li i {
    color: var(--accent);
}

.flowchart-img {
    width: 100%;
    /* Add subtle shadow if transparent png */
    /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); */
}

/* How It Works */
.how-it-works-section {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.step-card {
    position: relative;
    padding: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    /* Add device frame or shadow */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: #fff;
}

.table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    padding-left: 40px;
    font-weight: 600;
}

.comparison-table th {
    background: var(--light);
    font-size: 1.1rem;
    color: var(--dark);
}

.highlight-col {
    background-color: rgba(65, 105, 225, 0.05) !important;
    border-bottom-color: rgba(65, 105, 225, 0.1);
}

.comparison-table .highlight-col {
    color: var(--primary);
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1240px;
    margin: 40px auto 0;
    align-items: stretch;
}

.pricing-card {
    background: white;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.15);
}

.popular-badge {
    position: absolute;
    top: 22px;
    right: -32px;
    background: #FFD700;
    color: #0f172a;
    padding: 5px 36px;
    font-size: 0.7rem;
    text-transform: uppercase;
    transform: rotate(45deg);
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.pricing-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.pricing-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 15px;
    min-height: 36px;
    line-height: 1.4;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1;
}

.price .currency {
    font-size: 1.3rem;
    vertical-align: top;
    font-weight: 700;
}

.price .period {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.pricing-features {
    text-align: left;
    margin: 0 0 25px;
    padding: 0;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.pricing-features li i {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-card .btn {
    padding: 12px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 600;
}

.plan-features li i {
    color: var(--accent);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8faff;
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8faff;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

/* Language Grid Pro Styling */
.languages-section {
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.lang-item {
    background: white;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    cursor: default;
    user-select: none;
}

.lang-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(65, 105, 225, 0.1);
    color: var(--primary);
}

.lang-item i {
    color: var(--accent);
    /* checkmark color */
    font-size: 0.85em;
    opacity: 0.7;
}

.lang-item:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about p {
    color: #aaa;
    margin: 20px 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    opacity: 0.7;
    font-size: 1.2rem;
}

.social-links a:hover {
    opacity: 1;
}

.footer-links h4,
.footer-support h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: white;
}

.support-email {
    display: block;
    margin-top: 10px;
    color: var(--accent);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

/* Responsive */
/* Tablet */
@media (max-width: 1100px) and (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lang-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 992px) {

    .hero-grid,
    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-cta {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .features-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-links,
    .nav-actions {
        display: none;
    }

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

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 250px;
        /* Adjust based on links height */
        left: 0;
        background: white;
        padding-bottom: 20px;
    }
}

/* ==========================================================================
   Homepage Content Plan Styles (Trust Bar, Problem/Solution, Showcase, etc.)
   ========================================================================== */

/* Trust Bar */
.trust-bar-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: center;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(65, 105, 225, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.trust-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 700;
}
.trust-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Problem vs Solution Section */
.problem-solution-section {
    padding: 80px 0;
    background: #f8fafc;
}
.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
.ps-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.ps-card.problem {
    border-top: 5px solid #ef4444;
}
.ps-card.solution {
    border-top: 5px solid #10b981;
    background: linear-gradient(to bottom, #ffffff, #f0fdf4);
}
.ps-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.ps-card.problem .ps-badge {
    background: #fee2e2;
    color: #b91c1c;
}
.ps-card.solution .ps-badge {
    background: #d1fae5;
    color: #047857;
}
.ps-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}
.ps-list {
    margin: 20px 0 0;
}
.ps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}
.ps-list li i {
    margin-top: 3px;
    flex-shrink: 0;
}
.ps-card.problem .ps-list li i {
    color: #ef4444;
}
.ps-card.solution .ps-list li i {
    color: #10b981;
}

/* Language Showcase Section */
.language-showcase-section {
    padding: 80px 0;
    background: #ffffff;
}
.lang-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}
.lang-showcase-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    text-decoration: none;
    color: var(--dark);
}
.lang-showcase-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.1);
}
.lang-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.lang-name-box strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}
.lang-name-box span {
    font-size: 0.8rem;
    color: var(--text-light);
}
.lang-arrow {
    color: #cbd5e1;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.lang-showcase-card:hover .lang-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* Real Example / Demo Section */
.demo-section {
    padding: 80px 0;
    background: #f8fafc;
}
.demo-container {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 40px;
}
.demo-header {
    background: #0f172a;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.demo-browser-dots {
    display: flex;
    gap: 6px;
}
.demo-browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.demo-browser-dots span:nth-child(1) { background: #ef4444; }
.demo-browser-dots span:nth-child(2) { background: #f59e0b; }
.demo-browser-dots span:nth-child(3) { background: #10b981; }
.demo-lang-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.demo-lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}
.demo-lang-btn.active,
.demo-lang-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.demo-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    divide-x: 1px solid #e2e8f0;
}
.demo-pane {
    padding: 35px;
}
.demo-pane-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.demo-pane-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
.demo-pane-tag.original { background: #e2e8f0; color: #475569; }
.demo-pane-tag.translated { background: #dbeafe; color: #1e40af; }
.demo-content-box h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}
.demo-content-box p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
}
.demo-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

/* Tech Stack & Compatibility Section */
.tech-compatibility-section {
    padding: 80px 0;
    background: #ffffff;
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.tech-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px;
    transition: all 0.25s ease;
    background: white;
}
.tech-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.tech-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.tech-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.tech-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Mini Comparison Table */
.comparison-table-wrap {
    margin-top: 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow-x: auto;
}
.comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 650px;
}
.comp-table th {
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}
.comp-table th.highlight-wgr {
    background: #eff6ff;
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.comp-table td {
    padding: 18px 24px;
    font-size: 0.92rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}
.comp-table td.highlight-wgr {
    background: #f8fbff;
    font-weight: 600;
    color: #1e3a8a;
    border-left: 2px solid #bfdbfe;
    border-right: 2px solid #bfdbfe;
}
.comp-table tr:last-child td {
    border-bottom: none;
}

/* E-E-A-T & Trust Section */
.eeat-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.eeat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.eeat-content h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}
.eeat-content p {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}
.eeat-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.eeat-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}
.eeat-badge-item i {
    color: #10b981;
}

/* Final CTA Section */
.final-cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #4169E1 100%);
    color: white;
    text-align: center;
}
.final-cta-box h2 {
    color: white;
    font-size: 2.6rem;
    margin-bottom: 16px;
}
.final-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 35px;
}
.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.final-cta-reassurance {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .ps-grid,
    .demo-body,
    .eeat-grid {
        grid-template-columns: 1fr;
    }
    .demo-pane {
        padding: 24px;
    }
    .final-cta-box h2 {
        font-size: 2rem;
    }
}