:root {
    --bg_dark: #0f1114;
    --card_bg: #1c1f24;
    --accent_blue: #3498db;
    --text_main: #ffffff;
    --text_dim: #a0a0a0;
    --gold: #d4af37;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg_dark); color: var(--text_main); font-family: 'Inter', sans-serif; line-height: 1.6; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: transparent; position: sticky; top: 0; z-index: 1000; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; cursor: pointer; transition: opacity 0.4s ease, transform 0.4s ease; }
.logo.hidden { opacity: 0; pointer-events: none; transform: translateY(-6px); }
.nav_logo { height: 40px; }

/* Nav links — hidden with logo on scroll */
.nav_links {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav_links.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-6px); }

/* Each nav item wraps a link + its dropdown */
.nav_item { position: relative; }
.nav_link {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
    padding: 6px 14px;
    display: block;
    white-space: nowrap;
}
.nav_link:hover { color: var(--text_main); }

/* Per-link dropdown — same glass style as hamburger */
.nav_dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    padding-top: 12px;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1002;
}
.nav_item:hover .nav_dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav_dropdown_inner {
    background: rgba(28, 31, 36, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.nav_dropdown_inner a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav_dropdown_inner a.live {
    color: rgba(255,255,255,0.6);
}
.nav_dropdown_inner a.live:hover {
    color: var(--text_main);
    background: rgba(255,255,255,0.05);
}
.nav_dropdown_inner a.disabled {
    color: rgba(255,255,255,0.2);
    cursor: not-allowed;
    pointer-events: none;
}

/* Hamburger */
.nav_hamburger { position: relative; }
.hamburger_btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 14px;
    flex: none;
    width: auto;
}
.hamburger_btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(255,255,255,0.55);
    border-radius: 2px;
    transition: background 0.2s;
}
.hamburger_btn:hover span { background: var(--text_main); }
.hamburger_dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 12px;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}
.nav_hamburger:hover .hamburger_dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.hamburger_dropdown_inner {
    background: rgba(28, 31, 36, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hamburger_dropdown_inner a {
    display: block;
    padding: 10px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s, background 0.2s;
}
.hamburger_dropdown_inner a:hover { color: var(--text_main); background: rgba(255,255,255,0.05); }

.nav_right { display: flex; align-items: center; gap: 25px; }
.cart_icon { cursor: pointer; position: relative; font-size: 1.2rem; }
.cart_count { position: absolute; top: -8px; right: -10px; background: var(--accent_blue); color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 10px; }

.cart_sidebar { position: fixed; right: -400px; top: 0; width: 350px; height: 100%; background: rgba(28, 31, 36, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 2000; transition: 0.4s; padding: 30px; box-shadow: -10px 0 30px rgba(0,0,0,0.5); border-left: 1px solid rgba(255,255,255,0.1); }
.cart_sidebar.active { right: 0; }
.cart_header { display: flex; justify-content: space-between; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }

.hero { 
    text-align: center; 
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, rgba(26,58,92,0.5) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(26,42,26,0.4) 0%, transparent 50%),
                radial-gradient(ellipse at 60% 80%, rgba(42,26,58,0.4) 0%, transparent 50%),
                var(--bg_dark);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 50%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
}
.hero h1, .hero p { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-bottom: 10px; font-weight: 700; }


.product_showcase { padding: 60px 5%; }
.product_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* ENHANCED GLASS CARD */
.card { 
    background: radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.08), transparent),
                radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.08), transparent),
                linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)), 
                rgba(28, 31, 36, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtler shine border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.card:hover { 
    transform: translateY(-10px); 
    border-color: rgba(52, 152, 219, 0.5); 
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

.card_img { height: 180px; }
.analyze_bg { background: linear-gradient(45deg, #2a1b3d, #4b0082); }
.shaper_bg { background: linear-gradient(45deg, #1b273d, #0047ab); }
.lufs_bg { background: linear-gradient(45deg, #2a1b3d, #4b0082); }
.card_content { padding: 25px; }
.price { float: right; color: var(--gold); font-weight: 700; }
.card_actions { display: flex; gap: 10px; margin-top: 20px; }

button { flex: 1; padding: 12px; border-radius: 6px; cursor: pointer; font-weight: 700; border: none; text-transform: uppercase; font-size: 0.75rem; transition: 0.3s; }
.btn_outline { background: rgba(52, 152, 219, 0.1); border: 1px solid var(--accent_blue); color: var(--accent_blue); }
.btn_outline:hover { background: var(--accent_blue); color: #fff; }
.btn_primary { background: var(--gold); color: #000; }
.btn_primary:hover { filter: brightness(1.2); transform: scale(1.02); }

.newsletter { background: #161a1f; padding: 80px 5%; text-align: center; border-top: 1px solid #2d323a; }
.news_form { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
input[type="email"] { background: #0f1114; border: 1px solid #333; color: white; padding: 12px 20px; border-radius: 4px; width: 300px; }

/* ENHANCED GLASS MODAL */
.modal { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000; 
    display: none; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
    animation: fadeInBackground 0.3s ease forwards;
}

.modal_content { 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), 
                rgba(28, 31, 36, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 95%; 
    max-width: 1000px; 
    border-radius: 24px; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    overflow-y: auto; 
    max-height: 90vh; 
    position: relative; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    animation: slideUpContent 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes slideUpContent {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close_modal { position: absolute; top: 20px; right: 20px; cursor: pointer; font-size: 1.5rem; z-index: 10; color: white; opacity: 0.6; transition: 0.3s; }
.close_modal:hover { opacity: 1; transform: rotate(90deg); }
.modal_info { padding: 30px; }

/* LAYOUT FOR MULTIPLE IMAGES */
.modal_img_group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px;
    width: 100%;
    align-self: flex-start;
    position: sticky;
    top: 0;
    box-sizing: border-box;
}

.modal_img_group img {
    border-radius: 10px;
    object-fit: contain;
    width: 100%;
    height: auto;
    display: block;
}

.modal_img_wrapper { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
}

.modal_img_wrapper img { width: 100%; height: auto; }

#contactContainer { transition: opacity 0.3s ease; }

.faq_item { background: rgba(28, 31, 36, 0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 15px; overflow: hidden; backdrop-filter: blur(5px); }
.faq_toggle { display: none; }
.faq_question { display: block; padding: 20px; font-weight: 700; cursor: pointer; background: rgba(28, 31, 36, 0.5); transition: background 0.3s; position: relative; }
.faq_question::after { content: '+'; position: absolute; right: 20px; color: var(--gold); }
.faq_answer { max-height: 0; padding: 0 20px; background: rgba(22, 26, 31, 0.4); transition: all 0.4s ease-out; color: var(--text_dim); font-size: 0.9rem; opacity: 0; }
.faq_toggle:checked + .faq_question { background: rgba(37, 42, 49, 0.6); }
.faq_toggle:checked + .faq_question::after { content: '−'; }
.faq_toggle:checked ~ .faq_answer { max-height: 200px; padding: 20px; opacity: 1; }

.cart_item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.remove_btn { background: transparent; color: #ff4d4d; border: none; font-size: 0.7rem; cursor: pointer; text-transform: uppercase; font-weight: 700; flex: none; width: auto; padding: 5px; }
.remove_btn:hover { color: #ff8080; }

.site_footer { background: #0a0c0e; padding: 80px 5% 30px; border-top: 1px solid #2d323a; margin-top: 60px; }
.footer_content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto 60px; }
.footer_brand { max-width: 300px; }
.footer_brand p { color: var(--text_dim); margin-top: 20px; font-size: 0.9rem; }
.footer_nav { display: flex; gap: 80px; }
.footer_column h4 { color: var(--text_main); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px; margin-bottom: 25px; }
.footer_column ul { list-style: none; }
.footer_column li { margin-bottom: 12px; }
.footer_column a { color: var(--text_dim); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer_column a:hover { color: var(--accent_blue); }
.footer_bottom { text-align: center; border-top: 1px solid #2d323a; padding-top: 30px; color: var(--text_dim); font-size: 0.75rem; }

@media (max-width: 768px) {
    .footer_content { flex-direction: column; text-align: center; }
    .footer_brand { margin: 0 auto; }
    .footer_nav { justify-content: center; gap: 40px; }
    .product_grid { grid-template-columns: 1fr; }

    .modal_content {
        grid-template-columns: 1fr; 
        width: 90%;
        max-height: 85vh; 
    }
    .modal_info {
        padding: 20px;
    }
    .modal_img_group {
        padding: 10px;
    }
}

.product_img_container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    height: 180px; 
    background-color: #0047ab;
    overflow: hidden;
}

.scaled_product_img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

/* PREMIUM TYPOGRAPHY */
h1, h2, h3 {
    letter-spacing: -0.5px;
    line-height: 1.2;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

.sp-title {
    font-family: 'Rajdhani', sans-serif; /* swap for your choice */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SHARED TECH SPECS TABLE — used on raven.html and hawk.html
   ───────────────────────────────────────────────────────────────────────── */
.sp-specs-table {
    width: 90%;
    margin: 20px auto 0;
    border-collapse: collapse;
    font-size: 0.88rem;
    color: var(--text_main);
}
.sp-specs-table th,
.sp-specs-table td {
    padding: 13px 22px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.sp-specs-table thead tr {
    background: rgba(255, 255, 255, 0.05);
}
.sp-specs-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text_dim);
}
.sp-specs-table tbody tr:nth-child(odd)  { background: rgba(255, 255, 255, 0.02); }
.sp-specs-table tbody tr:nth-child(even) { background: transparent; }
.sp-specs-table tbody tr:hover           { background: rgba(255, 255, 255, 0.05); }
.sp-specs-table td:first-child {
    color: var(--text_dim);
    font-weight: 500;
    width: 40%;
}
.sp-specs-table td:last-child { color: var(--text_main); }
