:root {
    /* Color Palette - LottieFiles Inspired (Teal & Clean) */
    --primary-color: #00bfa5; /* Teal */
    --primary-hover: #00a08b;
    --secondary-color: #111827; /* Dark almost black for text */
    --accent-color: #ff5a5f;
    
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --card-bg: #ffffff;
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --border-color: #e5e7eb;
    
    /* Layout */
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Shadows - Very subtle */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

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

.btn-outline {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-secondary);
    background: var(--bg-light);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 180px 0 100px;
    background: var(--bg-color);
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-actions .btn {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Placeholder for illustration */
.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}

/* ==========================================================================
   Core Advantages (Horizontal Cards like LottieFiles)
   ========================================================================== */
.advantages {
    background-color: var(--bg-color);
    padding-top: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    background: #f3f4f6;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Random bright colors for icons similar to Lottie files */
.icon-yellow { background: #ffdf00; color: #b29c00; }
.icon-pink { background: #ffadd2; color: #c41d7f; }
.icon-green { background: #b7eb8f; color: #389e0d; }
.icon-blue { background: #91caff; color: #0958d9; }
.icon-purple { background: #d3adf7; color: #531dab; }
.icon-orange { background: #ffd591; color: #d46b08; }

.feature-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
    background: var(--bg-light);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 10px 24px;
    border: none;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.price-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
    line-height: 1;
}

.plan-currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 4px;
}

.plan-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.plan-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.price-card .btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
}

/* ==========================================================================
   Target Audience (Scenarios)
   ========================================================================== */
.scenarios {
    background-color: var(--bg-color);
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.scenario-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.scenario-card:hover {
    background: white;
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.scenario-icon {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.scenario-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.scenario-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Articles Section (SEO Matrix)
   ========================================================================== */
.articles {
    background: var(--bg-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.article-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative; /* Added for stretched link */
}

.article-card:hover {
    box-shadow: var(--shadow-md);
}

.article-img {
    height: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-img i {
    font-size: 4rem;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.article-card:hover .article-img i {
    transform: scale(1.15);
}

.article-img::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    z-index: 1;
}

/* Vibrant Gradient Backgrounds for Article Cards */
.bg-gradient-teal { background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%); color: #00897b; }
.bg-gradient-blue { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); color: #1e88e5; }
.bg-gradient-purple { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); color: #8e24aa; }
.bg-gradient-pink { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%); color: #d81b60; }
.bg-gradient-orange { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); color: #fb8c00; }
.bg-gradient-green { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); color: #43a047; }
.bg-gradient-yellow { background: linear-gradient(135deg, #fffde7 0%, #fff59d 100%); color: #f57f17; }
.bg-gradient-indigo { background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%); color: #3949ab; }
.bg-gradient-red { background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%); color: #e53935; }

.article-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-primary);
}

.article-title a::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.article-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.95rem;
    position: relative;
    z-index: 2; /* To keep it interactable above the stretched link */
}

.article-link:hover {
    gap: 8px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    background-color: var(--bg-color);
    overflow: hidden;
}

.testimonial-carousel {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 380px;
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
}

.rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 700;
}

.reviewer-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.faq-question {
    padding: 24px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
    color: var(--text-muted);
}

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

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 80px 0 40px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 24px;
}

.footer-desc {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.95rem;
}

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

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

.trust-badges {
    display: flex;
    gap: 16px;
    font-size: 1.5rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero p { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-illustration { height: 300px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
}


/* GEO Optimization AI Summary Box */
.geo-summary { background: #f8fafc; border-left: 4px solid var(--primary-color); padding: 24px; margin: 30px 0; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.geo-summary h3 { margin-top: 0 !important; font-size: 1.2rem !important; color: #0f172a !important; display: flex; align-items: center; gap: 8px; }
.geo-summary h2 { font-size: 1.4rem !important; color: var(--primary-color) !important; margin: 15px 0 10px !important; font-weight: 700; }
.geo-summary p { margin-bottom: 0 !important; color: #334155 !important; font-size: 1.05rem !important; line-height: 1.7 !important; }
