/* Material Design 3 Color Palette */
:root {
    --primary: #1A73E8;
    --primary-hover: #1765CC;
    --primary-light: #E8F0FE;
    --text-primary: #1F1F1F;
    --text-secondary: #5F6368;
    --surface: #FFFFFF;
    --surface-secondary: #F8F9FA;
    --border: #DADCE0;
    --border-focus: #1A73E8;
    --success: #34A853;
    --error: #EA4335;
    --warning: #FBBC04;
}

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

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

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

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.03) 0%, transparent 40%);
    text-align: center;
}

.hero-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
    animation: slideUp 0.6s ease-out;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(31, 31, 31, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    animation: slideUp 0.6s ease-out 0.1s both;
}

/* Product Visual Slideshow */
.product-visual {
    margin: 32px auto;
    max-width: 900px;
}

.slideshow-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.slide {
    display: none;
    animation: slideAnimation 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

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

.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Dots Navigation */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(0, 0, 0, 0.5);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* Trust Bar */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-divider {
    color: var(--border);
    margin: 0 8px;
}

.stars-inline {
    color: #FBBC04;
    font-size: 14px;
}

.disclaimer-text {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 16px;
}

/* Coming Soon Badge */
.coming-soon {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 500;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Email Form */
.email-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 24px;
    animation: slideUp 0.6s ease-out 0.2s both;
}

.email-input {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

.email-input:hover {
    border-color: rgba(95, 99, 104, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.email-input:focus {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(26, 115, 232, 0.2);
}

/* Buttons */
.btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px rgba(60, 64, 67, 0.15);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Trust Signals */
.trust-signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 48px 0;
    background: var(--surface-secondary);
}

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

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(218, 220, 224, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card:hover .feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Social Proof Section */
.social-proof {
    padding: 80px 0;
    background: var(--surface);
}

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

.stat-card-wrapper {
    position: relative;
}

.stat-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.badge-container {
    position: absolute;
    top: -10px;
    right: 20px;
    z-index: 10;
}

.huzzler-badge {
    display: block;
    transition: transform 0.3s ease;
}

.huzzler-badge:hover {
    transform: scale(1.05);
}

.huzzler-badge img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

a.stat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

a.stat-card::after {
    content: '→';
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 24px;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

a.stat-card:hover::after {
    opacity: 1;
    transform: translateX(4px);
}

.chrome-store-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chrome-store-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.stat-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 20px;
    color: #E5E7EB;
}

.star.filled {
    color: #FBBC04;
}

.star.half {
    background: linear-gradient(90deg, #FBBC04 50%, #E5E7EB 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-number {
    font-size: 18px;
    font-weight: 700;
}

.stat-description {
    color: var(--text-secondary);
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

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

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.combined-banner {
    background: linear-gradient(135deg, var(--primary-light) 0%, #E3F2FD 100%);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
}

.banner-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.combined-banner h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.combined-banner p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(66, 133, 244, 0.05) 100%);
}

/* Compressed Social Proof */
.social-proof-compact {
    padding: 48px 0;
    background: var(--surface);
}

.proof-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.proof-badge {
    height: 30px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.store-link-inline {
    margin-left: auto;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.store-link-inline:hover {
    text-decoration: underline;
}

/* Security Section */
.security-section {
    padding: 48px 0;
    background: var(--surface-secondary);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

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

.security-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.security-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.security-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* FAQ Section */
.faq-section {
    padding: 48px 0;
    background: var(--surface);
}

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

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    background: var(--surface);
    transition: background 0.2s;
}

.faq-item summary:hover {
    background: var(--surface-secondary);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--border);
}

.faq-item p {
    padding: 16px 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 12px 0;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Form Messages */
.form-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #E6F4EA;
    color: #1E8E3E;
    border: 1px solid #34A853;
    display: block;
}

.form-message.error {
    background: #FCE8E6;
    color: #D33B27;
    border: 1px solid #EA4335;
    display: block;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .email-input {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .proof-strip {
        gap: 12px;
    }
    
    .proof-item {
        flex-wrap: wrap;
        font-size: 14px;
    }
    
    .store-link-inline {
        width: 100%;
        margin-top: 8px;
        margin-left: 0;
    }
    
    .trust-bar {
        flex-direction: column;
        gap: 8px;
    }
    
    .trust-divider {
        display: none;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .product-visual {
        margin: 24px -20px;
    }
    
    .slideshow-container {
        border-radius: 0;
    }
    
    .dots-container {
        bottom: 10px;
        padding: 6px 12px;
        gap: 6px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .dot.active {
        width: 18px;
    }
}

/* Sticky Mobile CTA */
@media (max-width: 768px) {
    .sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--surface);
        border-top: 1px solid var(--border);
        padding: 12px 16px;
        z-index: 1000;
        display: none;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .sticky-cta.visible {
        display: block;
    }
    
    .sticky-cta button {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}