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

:root {
    --primary-color: #FF9900;
    --primary-dark: #E68A00;
    --secondary-color: #232F3E;
    --text-dark: #0F1111;
    --text-light: #565959;
    --bg-light: #F7F8FA;
    --bg-white: #FFFFFF;
    --border-color: #E3E6E8;
    --success-color: #067D62;
    --gradient-start: #FF9900;
    --gradient-end: #FF6B35;
}

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

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

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 16px;
    z-index: 1101;
}
.nav-menu-btn span {
    display: block;
    width: 28px;
    height: 4px;
    background: var(--text-dark);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.sidebar-nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    z-index: 2000;
    transition: right 0.3s;
}
.sidebar-nav.open {
    right: 0;
}
.sidebar-nav a {
    font-size: 20px;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 600;
}
.sidebar-nav .btn-primary {
    font-size: 18px;
    padding: 12px 24px;
}
.close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-dark);
    align-self: flex-end;
    margin-bottom: 32px;
    cursor: pointer;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

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

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

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Browser Buttons */
.browser-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.browser-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.browser-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.chrome-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #4285F4;
}

.chrome-btn:hover {
    border-color: #1967D2;
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.3);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-action {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
}

/* Hero Image / Browser Mockup */
.hero-image {
    margin-top: 64px;
}

.browser-mockup {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mockup-header {
    background: #E3E6E8;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #999;
}

.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }

.mockup-content {
    padding: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.price-comparison {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    max-width: 100%;
}

.price-card {
    background: white;
    padding: 16px 12px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s;
}

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

.price-card.best {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 153, 0, 0.3);
}

.price-card.best:hover {
    transform: scale(1.05) translateY(-4px);
}

.price-card .flag {
    font-size: 28px;
}

.price-card .price {
    font-size: 18px;
    font-weight: 700;
}

.price-card .badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.price-card .price-converted {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

.price-card.best .price-converted {
    color: rgba(255, 255, 255, 0.8);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--secondary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
}

.section-header .light {
    color: var(--text-light);
    font-weight: 400;
}

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

.feature-card {
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    color: var(--text-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Blog Section */
.blog-cta {
    padding: 120px 0;
}

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

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
}

.blog-card-link:hover .blog-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 24px 12px;
    color: var(--text-dark);
}

.blog-card p {
    color: var(--text-light);
    padding: 0 24px 24px;
    margin-bottom: 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .browser-buttons {
        gap: 12px;
    }
    
    .browser-btn {
        padding: 14px 20px;
        gap: 12px;
    }
    
    .btn-action {
        font-size: 16px;
    }
    
    .btn-subtitle {
        font-size: 12px;
    }
    
    .price-comparison {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .price-card {
        padding: 12px 8px;
    }
    
    .price-card .flag {
        font-size: 24px;
    }
    
    .price-card .price {
        font-size: 16px;
    }
    
    .price-card.best {
        transform: scale(1);
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    .nav-menu-btn {
        display: flex;
    }
    
    .mockup-content {
        padding: 24px;
    }
}

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

.hero-content,
.feature-card,
.blog-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }
