:root {
    --primary-color: #7c5dfa;
    --primary-hover: #6a4ce3;
    --accent-color: #fbbf24;
    --secondary-color: #2D3748;
    --text-color: #4A5568;
    --light-bg: #f5f3ff;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

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

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

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

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

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

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

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

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

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-selector select {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 8px 36px 8px 12px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.language-selector select:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(124, 93, 250, 0.05);
}

.language-selector select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 93, 250, 0.1);
}

.language-selector::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234A5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.language-selector:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237c5dfa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-container {
    margin-bottom: 20px;
}

.badge {
    background-color: #ede9fe;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.small-text {
    font-size: 0.85rem;
    color: #718096;
}

/* Browser Mockup */
.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    aspect-ratio: 16/10;
}

.browser-header {
    background: #EDF2F7;
    padding: 12px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red { background: #FC8181; }
.yellow { background: #F6E05E; }
.green { background: #68D391; }

.browser-content {
    padding: 20px;
    height: 100%;
    background: #f5f5f5;
    position: relative;
}

.mockup-ui {
    display: flex;
    gap: 20px;
}

.mockup-product {
    flex: 2;
    height: 200px;
    background: white;
    border-radius: 8px;
}

.mockup-extension-widget {
    flex: 1;
    background: #7c5dfa;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow);
    position: absolute;
    right: 20px;
    top: 20px;
    width: 260px;
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
    color: white;
    font-family: 'Inter', sans-serif;
    border: none;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.widget-header-area {
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, #7c5dfa 0%, #6a4ce3 100%);
}

.widget-header-area h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.widget-header-area p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.status-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
}

.widget-content-area {
    background: #8b70fc;
    padding: 15px;
}

.mockup-btn {
    width: 100%;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 15px;
}

.btn-yellow {
    background: var(--accent-color);
    color: #1a202c;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.how-it-works-box {
    background: rgba(0, 0, 0, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.how-it-works-box h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.how-it-works-box ul {
    list-style: none;
    font-size: 0.8rem;
    opacity: 0.9;
    text-align: left;
}

.how-it-works-box li {
    margin-bottom: 4px;
}

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

.widget-footer {
    text-align: center;
    font-size: 0.65rem;
    margin-top: 10px;
    opacity: 0.7;
}
    background: var(--primary-color);
    border: none;
    height: 30px;
    border-radius: 4px;
    margin-top: 10px;
    color: white;
    font-size: 0.8rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--light-bg);
}

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

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

.step h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1.2rem;
}

.limited-offer {
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: var(--secondary-color);
    color: #A0AEC0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #4A5568;
}

.footer-logo {
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.2s;
}

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

.copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* Content / Article Pages */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.content-section {
    padding: 60px 0;
    min-height: 60vh;
}

.article {
    max-width: 860px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 18px;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

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

.article h1 {
    color: var(--secondary-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.article h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-size: 1.6rem;
    line-height: 1.3;
}

.article h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 1.15rem;
}

.article p {
    margin-bottom: 14px;
}

.article ul,
.article ol {
    margin-bottom: 14px;
    padding-left: 20px;
}

.article li {
    margin-bottom: 8px;
}

.lede {
    font-size: 1.05rem;
    color: var(--text-color);
}

.screenshot {
    margin: 22px 0 18px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

.screenshot figcaption {
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #718096;
    background: #fafafa;
}

.cta-box {
    margin-top: 28px;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, #ffffff 0%, #f7f5ff 100%);
}

.cta-box h2 {
    margin-top: 0;
}

.faq {
    margin-top: 10px;
}

.last-updated {
    margin-top: 30px;
    color: #718096;
    font-size: 0.9rem;
}

/* Calculator */
.calculator {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: end;
}

.calc-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: var(--secondary-color);
}

.calc-grid input {
    padding: 12px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.calc-grid button {
    grid-column: 1 / -1;
    justify-self: start;
}

.calc-results {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .calc-results {
        grid-template-columns: 1fr;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none; /* Simple hide for now, would need JS toggle for real menu */
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}
