/* --- CSS VARIABLES & RESET --- */
:root {
    /* Color Theme: Custom Blue (0, 133, 186) */
    --bg-dark: #0b0c10;
    --bg-card: rgba(19, 21, 26, 0.7);
    --bg-card-hover: rgba(28, 31, 38, 0.9);
    
    /* NEW COLORS HERE */
    --primary: #0085ba;       /* Your RGB(0, 133, 186) */
    --primary-glow: #33b5e5;  /* A lighter, brighter blue for neon effects */
    
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --border: rgba(35, 40, 48, 0.5);
    
    --transition-speed: 0.3s;
    --easing: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind everything */
    background-image: radial-gradient(circle at 50% 50%, #1a1c24 0%, #0b0c10 100%);
}

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* Strong blur for glassmorphism */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(11, 12, 16, 0.6);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.logo-container img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    object-fit: cover;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

nav button:hover {
    color: var(--text-main);
}

nav button.active {
    color: var(--primary-glow);
}

nav button.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-glow);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: slideIn 0.3s var(--easing);
}

@keyframes slideIn {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

/* --- MAIN CONTENT AREA --- */
main {
    padding-top: 100px;
    min-height: 100vh;
}

.tab-section {
    display: none;
    padding: 40px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s var(--easing);
}

.tab-section.active-section {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

h1 span {
    color: transparent;
    background: linear-gradient(90deg, var(--primary), var(--primary-glow));
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(69, 162, 158, 0.4));
}

.hero p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.social-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Added this so they stack if screen is too small */
}

.stat-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 15px 30px; /* Reduced padding slightly to fit 3 in a row better */
    min-width: 120px;   /* Ensures boxes are consistent width */
    border-radius: 12px;
    backdrop-filter: blur(5px);
}
.stat-box h3 { color: var(--primary-glow); font-size: 1.5rem; }
.stat-box span { color: var(--text-muted); font-size: 0.9rem; }

.hero-btns {
    display: flex; 
    justify-content: center; 
    gap: 15px;
}

/* --- BUTTONS --- */
.cta-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #2c7a7b 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s var(--easing), box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.cta-btn:hover {
    box-shadow: 0 0 25px rgba(102, 252, 241, 0.4);
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: scale(0.95);
}

.secondary-btn {
    background: rgba(35, 40, 48, 0.6);
    border: 1px solid var(--border);
}

.secondary-btn:hover {
    background: rgba(35, 40, 48, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}
@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* --- GRID LAYOUT --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-main);
    border-left: 4px solid var(--primary-glow);
    padding-left: 15px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* --- PRODUCT CARD --- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s var(--easing);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px); /* See background through card */
    -webkit-backdrop-filter: blur(8px);
}

.card:hover {
    border-color: var(--primary);
    background-color: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-title { font-size: 1.1rem; font-weight: 700; color: #fff; }

.badge {
    font-size: 0.65rem;
    /* Updated to use your blue (0, 133, 186) with 20% opacity */
    background-color: rgba(0, 133, 186, 0.2); 
    color: var(--primary-glow);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    /* Updated border color */
    border: 1px solid rgba(51, 181, 229, 0.3);
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.5;
}

.card-price {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
    color: #fff;
}

.buy-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary-glow);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(69, 162, 158, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    header { padding: 15px 20px; }
    .grid { grid-template-columns: 1fr; }
    nav ul { gap: 15px; }
    nav button { font-size: 0.9rem; }
    .logo-text { display: none; }
}