@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;600;700&family=Inter:wght@300;400;500;700&display=swap');

:root {
    --bg-dark: #07070b;
    --card-bg: #0d0d14;
    --border-color: #1a1a24;
    --text-main: #f0f0f5;
    --text-muted: #8a8a9e;
    --accent-cyan: #00e5ff;
    --accent-purple: #8a2be2;
    --success: #00ff88;
    --danger: #ff3366;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }

/* Canvas Star Background */
#starfield {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    z-index: -1; 
    background: radial-gradient(circle at center, #0a0a12 0%, #030305 100%);
}

/* Typography & Utilities */
.highlight { 
    color: var(--accent-cyan); 
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.4); 
}

.section { 
    padding: 80px 5%; 
    max-width: 1300px; 
    margin: 0 auto; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 60px; 
}

.section-header h2 { 
    font-size: 38px; 
    margin-bottom: 15px; 
    letter-spacing: -0.5px; 
}

.section-header p { 
    color: var(--text-muted); 
    font-size: 18px; 
    max-width: 700px; 
    margin: 0 auto; 
}

/* Header */
header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 20px 5%; 
    background: rgba(7, 7, 11, 0.9);
    backdrop-filter: blur(10px); 
    position: sticky; 
    top: 0; 
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo-container { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo { width: 40px; height: auto; }
.brand-text h1 { font-size: 20px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.brand-text p { font-size: 10px; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 25px; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--accent-cyan); }

/* Cart Button */
.cart-container { position: relative; }
.cart-btn {
    background: transparent; 
    border: 1px solid var(--border-color);
    color: var(--text-main); 
    padding: 8px 16px; 
    border-radius: 4px;
    font-family: var(--font-heading); 
    font-weight: 600; 
    cursor: pointer;
    transition: 0.3s; 
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.cart-btn:hover { background: var(--border-color); border-color: var(--accent-cyan); }
#cart-count { color: var(--accent-cyan); }

/* Tooltip */
.cart-tooltip {
    position: absolute; 
    top: 50px; 
    right: 0; 
    background: var(--accent-cyan);
    color: #000; 
    font-weight: 600; 
    font-size: 13px; 
    padding: 8px 12px;
    border-radius: 4px; 
    display: none; 
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    animation: pulse 2s infinite; 
    white-space: nowrap; 
    z-index: 10;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
#close-tooltip { margin-left: 8px; cursor: pointer; color: #000; opacity: 0.6; }
#close-tooltip:hover { opacity: 1; }

/* Hero Section */
.hero-section { 
    min-height: 60vh; 
    padding-top: 60px; 
    padding-bottom: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
}
.badge { 
    display: inline-block; 
    padding: 6px 14px; 
    background: rgba(0, 229, 255, 0.1); 
    border: 1px solid rgba(0, 229, 255, 0.2); 
    color: var(--accent-cyan); 
    font-size: 12px; 
    font-weight: 600; 
    border-radius: 50px; 
    margin-bottom: 20px; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
}
.hero-title { font-size: clamp(36px, 5.5vw, 65px); line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-desc { font-size: 17px; color: var(--text-muted); max-width: 800px; margin: 0 auto 35px; line-height: 1.6; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }

.primary-btn, .secondary-btn { 
    padding: 14px 30px; 
    font-family: var(--font-heading); 
    font-weight: 600; 
    font-size: 15px; 
    border-radius: 4px; 
    text-decoration: none; 
    transition: 0.3s; 
}
.primary-btn { background: var(--accent-cyan); color: #000; }
.primary-btn:hover { background: #fff; box-shadow: 0 0 20px rgba(0,229,255,0.4); }
.secondary-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.secondary-btn:hover { background: var(--border-color); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border-color); padding: 35px 25px; border-radius: 8px; transition: 0.3s; }
.feature-card:hover { border-color: var(--accent-cyan); transform: translateY(-5px); }
.feature-icon { font-size: 32px; color: var(--accent-cyan); margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }

/* Timeline Process */
.timeline { display: flex; flex-direction: column; gap: 30px; max-width: 850px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--border-color); }
.timeline-item { display: flex; gap: 30px; align-items: flex-start; }
.timeline-dot { 
    width: 50px; height: 50px; background: var(--bg-dark); border: 2px solid var(--accent-cyan); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-family: var(--font-heading); font-weight: 700; color: var(--accent-cyan); font-size: 20px; z-index: 1; flex-shrink: 0; 
}
.timeline-content { background: var(--card-bg); border: 1px solid var(--border-color); padding: 25px 30px; border-radius: 8px; width: 100%; transition: 0.3s; }
.timeline-item:hover .timeline-content { border-color: var(--text-muted); }
.timeline-content h4 { font-size: 19px; margin-bottom: 10px; color: var(--text-main); }
.timeline-content p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7;}

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; }
.product-card { background: var(--card-bg); border-radius: 8px; padding: 40px 30px; display: flex; flex-direction: column; position: relative; }
.border-accent-blue { border: 1px solid var(--accent-cyan); }

/* STRICTLY RGB BOUNDARY ONLY */
.rgb-boundary-card { border: 2px solid transparent; background-clip: padding-box; }
.rgb-boundary-card::before {
    content: ''; position: absolute; top: -2px; right: -2px; bottom: -2px; left: -2px;
    z-index: -1; border-radius: 10px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%; animation: glowingBorder 8s linear infinite;
}
@keyframes glowingBorder { 100% { background-position: 400% 0; } }

.banner-heading {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--bg-dark); color: var(--text-main); font-family: var(--font-heading);
    font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 50px;
    letter-spacing: 1px; border: 2px solid transparent; background-clip: padding-box; z-index: 2;
}
.banner-heading::before {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff0000);
    z-index: -1; border-radius: 50px; background-size: 400%; animation: glowingBorder 8s linear infinite;
}

.card-header { margin-bottom: 25px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.card-header h3 { font-size: 22px; margin-bottom: 10px; }
.price { font-size: 32px; font-family: var(--font-heading); font-weight: 700; color: var(--success); }
.price span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.card-body { flex-grow: 1; margin-bottom: 30px; }

.details-list { list-style: none; }
.details-list li { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.details-list li i { color: var(--accent-cyan); font-size: 12px; margin-top: 4px; }
.details-list b { color: var(--text-main); font-weight: 600; }

.add-to-cart { width: 100%; padding: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 15px; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.outline-btn { background: transparent; border: 1px solid var(--accent-cyan); color: var(--accent-cyan); }
.outline-btn:hover { background: var(--accent-cyan); color: #000; }
.solid-btn { background: var(--text-main); border: none; color: #000; }
.solid-btn:hover { background: var(--accent-cyan); }
.coming-soon-banner { text-align: center; margin-top: 40px; padding: 15px; border: 1px dashed var(--border-color); color: var(--text-muted); font-size: 14px; border-radius: 4px; }

/* FAQ Section */
.faq-container { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.faq-question { padding: 20px 25px; font-family: var(--font-heading); font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.3s; }
.faq-question:hover { color: var(--accent-cyan); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; background: var(--bg-dark); }
.faq-answer p { font-size: 15px; color: var(--text-muted); padding-bottom: 20px; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 400px; padding-top: 15px; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent-cyan); }

/* Testimonials */
.feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.feedback-card { background: var(--card-bg); border: 1px solid var(--border-color); padding: 30px; border-radius: 8px; position: relative; }
.stars { color: #ffaa00; font-size: 14px; margin-bottom: 15px; }
.feedback-card p { font-size: 14.5px; font-style: italic; color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.client-name { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--accent-cyan); }

/* Discord Hub */
.discord-section { text-align: center; }
.discord-content { background: linear-gradient(180deg, #12121e 0%, var(--card-bg) 100%); border: 1px solid #5865F2; padding: 60px 30px; border-radius: 12px; max-width: 800px; margin: 0 auto; }
.discord-large-icon { font-size: 50px; color: #5865F2; margin-bottom: 20px; }
.discord-content p { color: var(--text-muted); margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7;}
.discord-btn { display: inline-block; background: #5865F2; color: #fff; padding: 14px 30px; font-family: var(--font-heading); font-weight: 600; border-radius: 4px; text-decoration: none; transition: 0.3s; }
.discord-btn:hover { background: #4752c4; transform: translateY(-3px); }

/* Marquee - Perfected Right to Left Animation */
.marquee-wrapper { 
    border-top: 1px solid var(--border-color); 
    border-bottom: 1px solid var(--border-color); 
    display: flex; 
    align-items: center; 
    background: var(--card-bg); 
}
.marquee-title { 
    padding: 15px 30px; 
    font-family: var(--font-heading); 
    font-weight: 700; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--text-muted); 
    border-right: 1px solid var(--border-color); 
    background: var(--bg-dark); 
    white-space: nowrap; 
    z-index: 2; 
}
.marquee-container { 
    overflow: hidden; 
    white-space: nowrap; 
    flex-grow: 1; 
    padding: 15px 0; 
}
.marquee { 
    display: inline-block; 
    padding-left: 100%; 
    animation: scroll 25s linear infinite; 
}
.marquee a { 
    color: var(--text-muted); 
    font-family: var(--font-heading); 
    font-weight: 600; 
    text-decoration: none; 
    transition: 0.3s; 
    font-size: 15px; 
}
.marquee a:hover { color: var(--text-main); }
.separator { margin: 0 30px; color: var(--border-color); }

@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } 
}

/* Footer */
footer { padding: 80px 5% 30px; background: #040406; border-top: 1px solid var(--border-color); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }

/* Fixed Footer Logo Size */
.footer-brand img, .footer-logo {
    width: 40px; 
    height: auto;
    object-fit: contain;
    max-width: 100%;
}

.footer-brand h2 { font-size: 24px; line-height: 1; margin-bottom: 5px; }
.footer-brand p { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links button { background: none; border: none; color: var(--text-muted); text-align: left; cursor: pointer; font-size: 14px; transition: 0.3s; font-family: var(--font-body); }
.footer-links button:hover { color: var(--accent-cyan); }
.footer-contact { display: flex; flex-direction: column; gap: 15px; }
.footer-contact a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: 0.3s; display: flex; align-items: center; gap: 10px; }
.footer-contact a:hover { color: var(--text-main); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 12px; color: var(--text-muted); }
.footer-bottom a { color: var(--accent-cyan); text-decoration: none; }

/* Tech Modals */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.85); backdrop-filter: blur(5px); }
.tech-modal { background: var(--bg-dark); border: 1px solid var(--border-color); margin: 5vh auto; width: 90%; max-width: 650px; border-radius: 8px; position: relative; display: flex; flex-direction: column; max-height: 90vh; }
.modal-header { padding: 20px 25px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-size: 20px; }
.close { color: var(--text-muted); font-size: 24px; cursor: pointer; transition: 0.3s; }
.close:hover { color: var(--danger); }

/* Cart Styling */
.cart-items-wrapper { padding: 25px; overflow-y: auto; flex-grow: 1; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 10px; }
.cart-item h4 { font-size: 15px; margin-bottom: 5px; }
.cart-item p { font-size: 13px; color: var(--text-muted); }
.cart-item b { color: var(--success); }
.cart-controls { display: flex; align-items: center; gap: 10px; background: var(--bg-dark); padding: 5px; border-radius: 4px; border: 1px solid var(--border-color); }
.cart-controls button { background: transparent; border: none; color: var(--text-muted); width: 25px; height: 25px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.cart-controls button:hover { color: var(--text-main); }
.cart-controls span { font-size: 14px; font-family: var(--font-heading); font-weight: 600; width: 20px; text-align: center; }
.remove-btn { color: var(--danger) !important; }
.cart-total { padding: 20px 25px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--card-bg); }
.total-amount { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--success); }
.checkout-submit-btn { background: var(--accent-cyan); color: #000; border: none; padding: 18px; font-family: var(--font-heading); font-weight: 700; font-size: 16px; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px; transition: 0.3s; }
.checkout-submit-btn:hover { background: #fff; }

/* Form Elements */
.tech-form { padding: 25px; overflow-y: auto; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.input-group { position: relative; margin-bottom: 20px; }
.input-group input { width: 100%; background: var(--card-bg); border: 1px solid var(--border-color); padding: 15px; color: var(--text-main); font-family: var(--font-body); font-size: 14px; border-radius: 4px; outline: none; transition: 0.3s; }
.input-group label { position: absolute; left: 15px; top: 15px; color: var(--text-muted); font-size: 14px; transition: 0.3s; pointer-events: none; }
.input-group input:focus, .input-group input:valid { border-color: var(--accent-cyan); }
.input-group input:focus + label, .input-group input:valid + label { top: -8px; left: 10px; font-size: 11px; background: var(--card-bg); padding: 0 5px; color: var(--accent-cyan); }
.whatsapp-btn { width: 100%; background: #25D366; color: #fff; border: none; padding: 16px; font-family: var(--font-heading); font-weight: 700; font-size: 16px; border-radius: 4px; cursor: pointer; transition: 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.whatsapp-btn:hover { background: #1ebe57; }

/* Policy Modal Expanded Content */
.policy-modal { padding-bottom: 20px; }
.policy-modal h2 { padding: 25px 30px; border-bottom: 1px solid var(--border-color); background: var(--card-bg); border-top-left-radius: 8px; border-top-right-radius: 8px;}
.policy-body { padding: 30px; overflow-y: auto; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.policy-body p { margin-bottom: 18px; }
.policy-body h3 { color: var(--text-main); margin: 30px 0 12px; font-size: 18px; border-bottom: 1px dashed var(--border-color); padding-bottom: 8px;}
.policy-body ul { margin-left: 20px; margin-bottom: 20px; }
.policy-body li { margin-bottom: 8px; }
.policy-body b { color: var(--text-main); }
.policy-body i { color: #ccc; }


/* ==========================================================
   ULTIMATE RESPONSIVENESS - MACBOOK, TABLET, MOBILE, IPAD 
   ========================================================== */

/* Large Tablets & Small Laptops (Screens up to 1024px) */
@media (max-width: 1024px) {
    .section { padding: 60px 5%; }
    .hero-title { font-size: clamp(32px, 5vw, 50px); }
    .hero-desc { font-size: 16px; }
    .products-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* Mobile Devices & iPads (Screens up to 768px) */
@media (max-width: 768px) {
    header { 
        flex-wrap: wrap; 
        gap: 15px; 
        justify-content: space-between; 
        padding: 15px 5%; 
    }
    nav { 
        justify-content: center; 
        width: 100%; 
        order: 3; 
        margin-top: 10px;
    }
    
    .hero-section { min-height: auto; padding-top: 60px; padding-bottom: 60px; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    
    /* Forces elements into a perfect single column to prevent horizontal scrolling bugs */
    .features-grid, .products-grid, .feedback-grid { 
        grid-template-columns: 1fr; 
    }
    
    .timeline::before { left: 20px; }
    .timeline-dot { width: 40px; height: 40px; font-size: 16px; }
    .timeline-item { gap: 15px; }
    .timeline-content { padding: 20px; }

    .marquee-wrapper { flex-direction: column; align-items: stretch; }
    .marquee-title { border-right: none; border-bottom: 1px solid var(--border-color); text-align: center; }
    
    .footer-top { flex-direction: column; gap: 30px; text-align: center; }
    .footer-brand { justify-content: center; flex-direction: column; }
    .footer-links button { text-align: center; width: 100%; }
    .footer-contact { align-items: center; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 15px; }

    .tech-modal { width: 95%; margin: 2vh auto; max-height: 95vh; }
    .input-grid { grid-template-columns: 1fr; gap: 0; }
}

/* Small Mobile Screens (Screens up to 480px) */
@media (max-width: 480px) {
    .section-header h2 { font-size: 28px; }
    .hero-title { font-size: 32px; }
    .primary-btn, .secondary-btn { padding: 12px 20px; font-size: 14px; }
    .discord-content { padding: 40px 20px; }
    .card-header h3 { font-size: 20px; }
    .price { font-size: 28px; }
}