* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif; background-color: #0f172a; color: #e2e8f0; line-height: 1.7; }
a { text-decoration: none; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; background-color: #1e293b; border-bottom: 1px solid #334155; position: relative; }
.navbar .logo { font-size: 1.5rem; font-weight: bold; color: #38bdf8; white-space: nowrap; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; align-items: center; }
.nav-links a, .dropdown-toggle { color: #cbd5e1; transition: color 0.3s; white-space: nowrap; cursor: pointer; }
.nav-links a:hover, .dropdown-toggle:hover { color: #38bdf8; }
.dropdown { position: relative; }
.dropdown-toggle { padding: 0.5rem 0; }
.dropdown-menu { display: none; position: absolute; top: 100%; right: 0; background-color: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 0.5rem 0; min-width: 200px; z-index: 100; box-shadow: 0 8px 30px rgba(0,0,0,0.3); list-style: none; }
.dropdown-menu li { }
.dropdown-menu a { display: block; padding: 0.5rem 1.5rem; color: #cbd5e1; transition: background-color 0.2s; }
.dropdown-menu a:hover { background-color: #334155; color: #38bdf8; }
.dropdown:hover .dropdown-menu { display: block; }
.search-box { position: relative; }
.search-box input { background-color: #0f172a; border: 1px solid #334155; border-radius: 8px; padding: 0.5rem 1rem; color: #e2e8f0; font-size: 0.9rem; width: 180px; transition: border-color 0.3s; outline: none; }
.search-box input:focus { border-color: #38bdf8; }
.search-box input::placeholder { color: #64748b; }
.search-results { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: #1e293b; border: 1px solid #334155; border-radius: 8px; margin-top: 4px; max-height: 300px; overflow-y: auto; z-index: 100; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.search-results.active { display: block; }
.search-result-item { padding: 0.7rem 1rem; color: #cbd5e1; cursor: pointer; transition: background-color 0.2s; border-bottom: 1px solid #334155; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background-color: #334155; color: #38bdf8; }
.search-result-item .result-title { font-weight: bold; margin-bottom: 2px; }
.search-result-item .result-desc { font-size: 0.8rem; color: #94a3b8; }
.nav-links a:hover { color: #38bdf8; }

.hero { display: flex; align-items: center; justify-content: space-between; padding: 4rem 3rem; max-width: 1200px; margin: 0 auto; }
.hero-content { flex: 1; }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 1rem; color: #f1f5f9; }
.hero-content p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-image { flex: 1; text-align: left; }
.hero-image img { max-width: 100%; border-radius: 12px; }

.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 2rem 3rem; background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; }
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number { font-size: 2rem; font-weight: bold; color: #38bdf8; }
.stat-label { color: #94a3b8; font-size: 0.9rem; margin-top: 0.5rem; }

.section-title { text-align: center; color: #f1f5f9; font-size: 1.8rem; margin: 3rem 0 2rem; }

.trust-section { max-width: 1200px; margin: 3rem auto; padding: 0 3rem; }
.trust-section h2 { text-align: center; color: #f1f5f9; font-size: 1.5rem; margin-bottom: 2rem; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.trust-item { background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; padding: 1.5rem; text-align: center; transition: border-color 0.3s; }
.trust-item:hover { border-color: #38bdf8; }
.trust-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.trust-item h3 { color: #f1f5f9; margin-bottom: 0.5rem; }
.trust-item p { color: #94a3b8; font-size: 0.9rem; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.card { background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; padding: 1.5rem; transition: transform 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-4px); border-color: #38bdf8; }
.card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.card h2 { color: #f1f5f9; margin-bottom: 0.5rem; }
.card p { color: #94a3b8; margin-bottom: 1rem; }
.btn { display: block; text-align: center; margin-top: 1rem; padding: 12px 24px; background-color: #38bdf8; color: #0f172a; border-radius: 8px; font-weight: bold; transition: background-color 0.3s; }
.btn:hover { background-color: #7dd3fc; }
.btn-large { font-size: 1.2rem; padding: 15px 30px; }

.how-it-works { max-width: 1200px; margin: 3rem auto; padding: 0 3rem; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.step-item { text-align: center; padding: 2rem 1.5rem; background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; }
.step-number { display: inline-block; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background-color: #38bdf8; color: #0f172a; font-size: 1.5rem; font-weight: bold; margin-bottom: 1rem; }
.step-item h3 { color: #f1f5f9; margin-bottom: 0.5rem; }
.step-item p { color: #94a3b8; font-size: 0.9rem; }

.testimonials-section { max-width: 1200px; margin: 3rem auto; padding: 0 3rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; padding: 1.5rem; }
.testimonial-text { color: #cbd5e1; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { color: #38bdf8; font-size: 0.9rem; }

.compatibility-section { max-width: 1200px; margin: 3rem auto; padding: 0 3rem; }
.devices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.device-item { text-align: center; padding: 1.5rem; background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; }
.device-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.device-item h3 { color: #f1f5f9; margin-bottom: 0.3rem; font-size: 1rem; }
.device-item p { color: #94a3b8; font-size: 0.8rem; }

.cta-section { text-align: center; padding: 4rem 3rem; margin: 3rem 0; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border-top: 1px solid #334155; border-bottom: 1px solid #334155; }
.cta-section h2 { color: #f1f5f9; font-size: 1.8rem; margin-bottom: 1rem; }
.cta-section p { color: #94a3b8; margin-bottom: 1.5rem; }
.cta-section .btn { display: inline-block; }

.product-page { max-width: 800px; margin: 3rem auto; padding: 2rem; background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; }
.product-header h1 { color: #38bdf8; margin-bottom: 0.5rem; }
.product-header .subtitle { color: #94a3b8; border-bottom: 1px solid #334155; padding-bottom: 1rem; margin-bottom: 2rem; }
.product-img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 8px; margin-bottom: 2rem; }
.product-content h2, .product-content h3 { color: #f1f5f9; margin: 1.5rem 0 1rem 0; }
.product-content p { color: #cbd5e1; margin-bottom: 1rem; }
.features-list { list-style-type: disc; margin-right: 2rem; color: #cbd5e1; line-height: 2; }

.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.contact-card { background-color: #0f172a; border-radius: 12px; border: 1px solid #334155; padding: 2rem; text-align: center; }
.contact-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-card h3 { color: #f1f5f9; margin-bottom: 0.5rem; }
.contact-card p { color: #94a3b8; margin-bottom: 1rem; font-size: 0.9rem; }

.hours-box { background-color: #0f172a; border-radius: 8px; padding: 1.5rem; border: 1px solid #334155; margin: 1.5rem 0; }
.hours-box p { color: #cbd5e1; margin-bottom: 0.5rem; }

.pricing-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.pricing-plan { background-color: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 1.5rem; text-align: center; transition: border-color 0.3s; }
.pricing-plan:hover { border-color: #38bdf8; }
.pricing-plan.featured { border-color: #38bdf8; position: relative; }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background-color: #38bdf8; color: #0f172a; padding: 2px 12px; border-radius: 12px; font-size: 0.8rem; font-weight: bold; white-space: nowrap; }
.plan-name { color: #94a3b8; font-size: 0.9rem; margin-bottom: 0.5rem; }
.plan-price { color: #10b981; font-size: 1.5rem; font-weight: bold; margin-bottom: 0.5rem; }
.plan-desc { color: #64748b; font-size: 0.85rem; }

.purchase-box { background-color: #0f172a; padding: 2rem; border-radius: 8px; text-align: center; margin-top: 3rem; border: 1px dashed #38bdf8; }
.purchase-box h2 { color: #f1f5f9; margin-bottom: 1rem; }
.purchase-box p { color: #94a3b8; margin: 1rem 0; }

.faq-section { margin-top: 3rem; }
.faq-section h2 { color: #f1f5f9; margin-bottom: 1.5rem; border-bottom: 1px solid #334155; padding-bottom: 0.5rem; }
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { color: #38bdf8; font-size: 1rem; margin-bottom: 0.5rem; }
.faq-item p { color: #cbd5e1; }

footer { background-color: #1e293b; border-top: 1px solid #334155; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 3rem; }
.footer-col h3 { color: #f1f5f9; margin-bottom: 1rem; font-size: 1.1rem; }
.footer-col p { color: #94a3b8; font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: #94a3b8; transition: color 0.3s; }
.footer-col ul a:hover { color: #38bdf8; }
.footer-bottom { text-align: center; padding: 1.5rem; color: #64748b; border-top: 1px solid #334155; font-size: 0.9rem; }
.footer-bottom a { color: #38bdf8; }

.legal-page { max-width: 900px; }
.legal-page .product-content h2 { border-bottom: 1px solid #334155; padding-bottom: 0.5rem; }
.warranty-box { background-color: #0f172a; border: 1px solid #334155; border-radius: 8px; padding: 1.5rem; margin: 1rem 0; border-right: 4px solid #10b981; }
.warranty-box.warning { border-right-color: #f59e0b; }
.warranty-box h3 { color: #38bdf8; margin-bottom: 0.5rem; font-size: 1rem; }
.warranty-box p { color: #cbd5e1; margin: 0; }

.blog-page { max-width: 1000px; }
.blog-controls { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; justify-content: flex-start; }
.view-toggle { background-color: #1e293b; border: 1px solid #334155; color: #94a3b8; padding: 0.5rem 1.2rem; border-radius: 8px; cursor: pointer; transition: all 0.3s; font-size: 0.9rem; }
.view-toggle:hover { border-color: #38bdf8; color: #38bdf8; }
.view-toggle.active { background-color: #38bdf8; color: #0f172a; border-color: #38bdf8; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-grid.blog-list { grid-template-columns: 1fr; }
.blog-grid.blog-list .blog-card { display: flex; align-items: center; gap: 1.5rem; }
.blog-grid.blog-list .blog-card p { margin-bottom: 0; }
.blog-card { display: block; background-color: #0f172a; border-radius: 12px; border: 1px solid #334155; padding: 1.5rem; text-decoration: none; transition: border-color 0.3s, transform 0.3s; }
.blog-card:hover { border-color: #38bdf8; transform: translateY(-2px); }
.blog-tag { display: inline-block; background-color: #38bdf8; color: #0f172a; padding: 2px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: bold; margin-bottom: 0.8rem; }
.blog-card h3 { color: #f1f5f9; margin-bottom: 0.5rem; font-size: 1.1rem; }
.blog-card p { color: #94a3b8; font-size: 0.9rem; margin-bottom: 1rem; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: #64748b; }
.blog-meta span { display: inline-block; }
.github-cta { text-align: center; background-color: #0f172a; border-radius: 12px; border: 1px solid #334155; padding: 2rem; margin-top: 2rem; }
.github-cta h2 { color: #f1f5f9; margin-bottom: 0.5rem; }
.github-cta p { color: #94a3b8; margin-bottom: 1rem; }
.github-cta .btn { display: inline-block; }
.blog-post-header { margin-bottom: 2rem; }
.blog-back { color: #38bdf8; text-decoration: none; font-size: 0.9rem; display: inline-block; margin-bottom: 1rem; }
.blog-back:hover { text-decoration: underline; }
.blog-post-header h1 { color: #f1f5f9; margin: 0.5rem 0; }
.blog-post-content h2 { color: #f1f5f9; border-bottom: 1px solid #334155; padding-bottom: 0.5rem; margin: 2rem 0 1rem; }
.blog-post-content p { color: #cbd5e1; margin-bottom: 1rem; }
.blog-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; margin: 1rem 0; border: 1px solid #334155; }
.steps-list { list-style-type: decimal; margin-right: 2rem; color: #cbd5e1; line-height: 2; }

.floating-tg { position: fixed; bottom: 30px; left: 30px; z-index: 1000; }
.floating-tg a { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; text-decoration: none; box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; }
.floating-tg a img { width: 60px; height: 60px; border-radius: 50%; }
.floating-tg a:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(56, 189, 248, 0.6); }

.back-to-top { position: fixed; bottom: 30px; right: 30px; z-index: 1000; width: 50px; height: 50px; background-color: #1e293b; border: 1px solid #334155; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #38bdf8; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, transform 0.3s; }
.back-to-top:hover { transform: scale(1.1); border-color: #38bdf8; }
.back-to-top.visible { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; padding: 1rem; }
    .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .dropdown-menu { position: static; box-shadow: none; border: none; background-color: #0f172a; }
    .search-box input { width: 100%; }
    .hero { flex-direction: column; padding: 2rem 1rem; text-align: center; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-image { display: none; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 1rem; }
    .stat-number { font-size: 1.5rem; }
    .products-grid { padding: 0 1rem; }
    .product-page { margin: 1rem; padding: 1.5rem; }
    .pricing-table { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .devices-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-methods { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; padding: 2rem 1rem; }
    .cta-section { padding: 3rem 1rem; }
}
