/* css/products.css */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #020617; color: #f1f5f9; line-height: 1.5; }
.network-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.06; pointer-events: none; }
.network-bg svg { width: 100%; height: 100%; }
@keyframes pulseNode { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.2); } }
@keyframes floatLine { to { stroke-dashoffset: -150; } }
.network-line { animation: floatLine 20s linear infinite; }
.node-pulse { animation: pulseNode 3s ease-in-out infinite; transform-origin: center; }
.navbar { position: sticky; top: 0; background: rgba(2,6,23,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(56,189,248,0.25); z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1.5rem; max-width: 1280px; margin: 0 auto; }
.logo { font-size: 1.4rem; font-weight: 800; background: linear-gradient(135deg, #38bdf8, #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: center; gap: 6px; }
.logo i { background: none; color: #38bdf8; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #cbd5e6; text-decoration: none; font-weight: 500; font-size: 0.85rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #38bdf8; }
.btn-login { background: linear-gradient(95deg, #22c55e, #16a34a); padding: 0.45rem 1.1rem; border-radius: 2rem; color: white; font-weight: 600; font-size: 0.8rem; cursor: pointer; border: none; }
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 19px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; height: 2.5px; width: 100%; background-color: #38bdf8; border-radius: 3px; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 75%; max-width: 280px; height: 100vh; background: rgba(2,6,23,0.98); backdrop-filter: blur(20px); z-index: 1100; padding: 70px 22px 40px; display: flex; flex-direction: column; gap: 18px; transition: right 0.35s cubic-bezier(0.2,0.9,0.4,1.1); border-left: 1px solid rgba(56,189,248,0.3); }
.mobile-menu.active { right: 0; }
.mobile-menu a { color: #e2e8f0; text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 9px 0; border-bottom: 1px solid rgba(56,189,248,0.2); display: flex; align-items: center; gap: 12px; }
.mobile-menu a:hover, .mobile-menu a.active { color: #38bdf8; padding-left: 6px; }
.mobile-menu .btn-login-mobile { background: linear-gradient(95deg, #22c55e, #16a34a); text-align: center; justify-content: center; border-radius: 40px; padding: 11px; margin-top: 18px; border-bottom: none; font-weight: 600; cursor: pointer; }
.close-menu { position: absolute; top: 18px; right: 18px; font-size: 22px; cursor: pointer; color: #38bdf8; background: rgba(255,255,255,0.08); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.overlay-blur { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 1050; display: none; }
.overlay-blur.active { display: block; }
.announcement-bar { background: linear-gradient(135deg, #0f172a, #1e293b); color: #38bdf8; padding: 0.7rem 1rem; text-align: center; font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid #22c55e; }
.hero { text-align: center; padding: 3rem 1.5rem 2rem; background: radial-gradient(circle at 30% 20%, #0ea5e920, transparent 70%); }
.hero h1 { font-size: 2.2rem; font-weight: 800; background: linear-gradient(145deg, white, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 650px; margin: 0 auto; color: #94a3b8; font-size: 0.9rem; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.filter-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin: 2rem 0 1.8rem; }
.filter-label { background: #0f172a; border: 1px solid #2d3a5e; padding: 0.5rem 1.5rem; border-radius: 60px; font-weight: 600; cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
.filter-radio { display: none; }
.filter-radio:checked + .filter-label { background: #38bdf8; border-color: #38bdf8; color: #020617; box-shadow: 0 4px 10px rgba(56,189,248,0.3); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.8rem; margin: 2rem 0 3rem; }
.product-item { display: block; }
#filter-all:checked ~ .container .products .product-item { display: block; }
#filter-ea:checked ~ .container .products .product-item[data-type="Indicator"], #filter-ea:checked ~ .container .products .product-item[data-type="TradingView"] { display: none; }
#filter-ea:checked ~ .container .products .product-item[data-type="EA"] { display: block; }
#filter-indicator:checked ~ .container .products .product-item[data-type="EA"], #filter-indicator:checked ~ .container .products .product-item[data-type="TradingView"] { display: none; }
#filter-indicator:checked ~ .container .products .product-item[data-type="Indicator"] { display: block; }
#filter-tv:checked ~ .container .products .product-item[data-type="EA"], #filter-tv:checked ~ .container .products .product-item[data-type="Indicator"] { display: none; }
#filter-tv:checked ~ .container .products .product-item[data-type="TradingView"] { display: block; }
.product-card { background: rgba(15,23,42,0.9); backdrop-filter: blur(4px); border-radius: 1.75rem; padding: 1.5rem; border: 1px solid rgba(56,189,248,0.25); transition: all 0.3s; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { transform: translateY(-6px); border-color: #38bdf8; box-shadow: 0 25px 35px -12px rgba(0,0,0,0.6); }
.badge-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7rem; }
.popular-badge { background: linear-gradient(135deg, #f97316, #ea580c); padding: 0.2rem 0.8rem; font-size: 0.7rem; font-weight: 800; border-radius: 40px; color: white; }
.rating { color: #facc15; font-size: 0.75rem; }
.platform-badge { display: inline-flex; align-items: center; gap: 6px; padding: 0.25rem 0.9rem; border-radius: 40px; font-size: 0.7rem; font-weight: 700; margin-bottom: 1rem; width: fit-content; }
.platform-MT4 { background: #2563eb; color: white; }
.platform-MT5 { background: #16a34a; color: white; }
.platform-TradingView { background: #f59e0b; color: #0f172a; }
.product-card h3 { font-size: 1.3rem; font-weight: 700; margin: 0.25rem 0 0.5rem; }
.price { font-size: 1.7rem; font-weight: 800; color: #22c55e; margin: 0.5rem 0 0.4rem; }
.description { font-size: 0.85rem; color: #a0afc3; line-height: 1.45; margin-bottom: 1rem; min-height: 55px; }
.profit-meta { display: flex; gap: 1rem; font-size: 0.7rem; color: #94a3b8; border-top: 1px solid #2d3a5e; padding-top: 0.8rem; margin-bottom: 1rem; }
.buy-btn { background: linear-gradient(95deg, #22c55e, #15803d); width: 100%; border: none; padding: 0.8rem; border-radius: 2.2rem; font-weight: 700; font-size: 0.9rem; color: white; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; text-decoration: none; }
.buy-btn:hover { background: #16a34a; transform: scale(0.98); }
.footer { border-top: 1px solid #1e293b; padding: 1.8rem; text-align: center; color: #5b6e8c; margin-top: 2rem; font-size: 0.8rem; }
.ai-widget { position: fixed; bottom: 20px; right: 20px; z-index: 1050; }
#aiToggle { display: none; }
.ai-button { background: linear-gradient(145deg, #22c55e, #15803d); width: 50px; height: 50px; border-radius: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 24px; box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.ai-chat { position: absolute; bottom: 65px; right: 0; width: 300px; height: 420px; background: #0f172ae6; backdrop-filter: blur(24px); border-radius: 22px; display: none; flex-direction: column; border: 1px solid #38bdf8; overflow: hidden; }
#aiToggle:checked ~ .ai-chat { display: flex; }
.ai-chat-header { background: #1e293b; padding: 10px 14px; font-weight: 700; font-size: 0.85rem; display: flex; justify-content: space-between; }
.ai-chat-messages { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.ai-message-bot { background: #0f172a; border-left: 2px solid #22c55e; align-self: flex-start; padding: 7px 10px; border-radius: 16px; font-size: 0.75rem; max-width: 90%; }
.ai-input-area { background: #1e293b; border: none; padding: 10px; color: white; outline: none; border-top: 1px solid #334155; font-family: inherit; font-size: 0.75rem; width: 100%; }
@media (max-width: 880px) { .nav-links { display: none !important; } .hamburger { display: flex; } .hero h1 { font-size: 1.8rem; } .products { grid-template-columns: 1fr; } .container { padding: 0 16px; } }
@media (max-width: 550px) { .hero h1 { font-size: 1.5rem; } .mobile-menu a { font-size: 0.85rem; } .price { font-size: 1.5rem; } }