/* ULTRA-FAST OPTIMIZED CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #673de6;
    --primary-dark: #5527c4;
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --background: #f2f3f6;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
img { max-width: 100%; height: auto; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-large { padding: 18px 40px; font-size: 18px; }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 45px; border-radius: 6px; }
.nav-menu { display: flex; list-style: none; gap: 35px; }
.nav-link { color: var(--text-dark); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* HERO */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
.hero-content { text-align: center; width: 100%; padding: 60px 0; }
.hero-logo { max-width: 350px; margin: 0 auto 40px; border-radius: 20px; }
.hero-title { font-size: 56px; font-weight: 800; margin-bottom: 20px; }
.hero-subtitle { font-size: 22px; color: var(--text-gray); margin-bottom: 50px; }
.hero-cta { display: flex; gap: 20px; justify-content: center; margin-top: 40px; }

/* SECTIONS */
.section-title { font-size: 42px; font-weight: 800; text-align: center; margin-bottom: 60px; }
.section-subtitle { text-align: center; font-size: 18px; color: var(--text-gray); margin-top: -40px; margin-bottom: 60px; }

/* FEATURED APPS */
.featured-apps { padding: 80px 0; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.featured-item {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.featured-icon { width: 100px; height: 100px; margin: 0 auto 20px; border-radius: 16px; }

/* FEATURES */
.features-section { padding: 100px 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-box {
    text-align: center;
    padding: 40px 30px;
    background: var(--background);
    border-radius: 16px;
}
.feature-icon { font-size: 48px; margin-bottom: 20px; }

/* APPS GALLERY */
.apps-gallery { padding: 80px 0; background: var(--white); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 25px; }
.app-card {
    background: var(--background);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.app-card img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }

/* STATS */
.stats-section { padding: 100px 0; background: var(--background); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-number { font-size: 48px; font-weight: 800; color: var(--primary); display: block; }
.stat-icon { font-size: 48px; display: block; margin-bottom: 10px; }
.stat-label { font-size: 16px; color: var(--text-gray); font-weight: 600; }

/* PRODUCT */
.product-section { padding: 100px 0; background: var(--background); }
.product-content {
    background: var(--white);
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-image img { max-width: 350px; margin: 0 auto; display: block; }
.price-item {
    text-align: center;
    padding: 20px 30px;
    background: var(--background);
    border-radius: 12px;
}
.price-amount { font-size: 36px; font-weight: 800; color: var(--primary); display: block; }

/* FAQ */
.faq-section { padding: 100px 0; background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--background);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
}
.faq-question { font-size: 18px; font-weight: 700; margin-bottom: 12px; }

/* CONTACT */
.contact-section { padding: 100px 0; background: var(--background); text-align: center; }
.contact-info { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.contact-phone, .contact-email {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
    display: inline-block;
}

/* FOOTER */
.footer { background: var(--white); padding: 60px 0 40px; text-align: center; }
.footer-logo { height: 60px; margin-bottom: 20px; border-radius: 8px; }
.footer-nav { display: flex; gap: 30px; justify-content: center; margin: 20px 0; }
.footer-nav a { color: var(--text-gray); text-decoration: none; font-size: 14px; }

/* PAGE HERO */
.page-hero { padding: 140px 0 80px; text-align: center; }
.breadcrumb { font-size: 14px; color: var(--text-gray); margin-bottom: 20px; }
.page-title { font-size: 56px; font-weight: 800; margin-bottom: 20px; }
.page-subtitle { font-size: 20px; color: var(--text-gray); }

/* APPS CATALOG */
.category-title { font-size: 32px; font-weight: 700; margin-bottom: 30px; }
.app-card-detailed {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.app-card-detailed img { width: 70px; height: 70px; border-radius: 12px; }
.category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
}

/* PRODUCT PAGE */
.product-hero { padding: 140px 0 80px; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-name { font-size: 48px; font-weight: 800; margin-bottom: 15px; }
.product-hero-price { display: flex; gap: 30px; margin-bottom: 40px; }
.price-main, .price-shipping {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.price { font-size: 36px; font-weight: 800; color: var(--primary); display: block; }

/* GRIDS */
.specs-grid, .included-grid, .values-grid, .filter-grid, .help-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.spec-card, .included-item, .value-card, .filter-item, .help-topic-card {
    background: var(--background);
    padding: 30px;
    border-radius: 16px;
}
.included-icon, .value-icon, .help-icon { font-size: 48px; margin-bottom: 20px; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step-card { background: var(--white); padding: 40px 30px; border-radius: 16px; text-align: center; }
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
}

/* CONTACT PAGE */
.contact-methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; }
.contact-method-card { background: var(--background); padding: 50px 40px; border-radius: 20px; text-align: center; }
.contact-method-icon { font-size: 64px; margin-bottom: 20px; }
.contact-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 20px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .featured-grid, .features-grid, .product-content, .product-hero-grid, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .container { padding: 0 20px; }
    .hero-title, .page-title { font-size: 36px; }
    .featured-grid, .features-grid, .stats-grid, .product-content, .product-hero-grid,
    .specs-grid, .included-grid, .values-grid, .filter-grid, .help-topics-grid,
    .steps-grid, .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    .apps-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
