/* 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: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    /* Slightly transparent white */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.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: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
}

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

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

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

.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;
    gap: 15px;
    margin-bottom: 40px;
}

.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: 100px 0;
    background-color: #f8faff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 26px;
    right: -32px;
    background: #FFD700;
    color: #333;
    padding: 7px 40px;
    font-size: 0.75rem;
    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;
}

.plan-header {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.plan-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.launch-offer {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.plan-features {
    text-align: left;
    margin: 30px 0;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.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: 1024px) and (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 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;
    }
}