/* ============================================================
   G3J Site — Custom Styles
   ============================================================ */

:root {
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --purple-600: #9333ea;
    --bg-dark: #0a081c;
    --bg-card: #131128;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Glassmorphism ── */
.glass-nav {
    background: rgba(10, 8, 28, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.glass-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
}

/* ── Text Gradient ── */
.text-gradient {
    background: linear-gradient(135deg, #818cf8, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Animations ── */
@keyframes pulseSlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.05); }
}
.animate-pulse-slow { animation: pulseSlow 4s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ── Navbar ── */
.navbar { position: fixed; width: 100%; z-index: 50; transition: all 0.3s; }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); background: rgba(10, 8, 28, 0.95); }

.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-mobile-btn { display: none; }
.nav-mobile-menu { display: none; }
.nav-mobile-menu.active { display: block; }

/* ── Buttons ── */
.btn-solid-indigo {
    background: #4f46e5;
    color: #fff;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-solid-indigo:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,70,229,0.45);
}

/* ── Product Cards ── */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 1rem;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(99,102,241,0.2);
}

.card-inner {
    background: var(--bg-card);
    border-radius: 0.875rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ── Color icon helpers ── */
.icon-indigo  { color: #818cf8; background: rgba(99,102,241,0.1); }
.icon-purple  { color: #c084fc; background: rgba(168,85,247,0.1); }
.icon-pink    { color: #f472b6; background: rgba(236,72,153,0.1); }
.icon-green   { color: #4ade80; background: rgba(74,222,128,0.1); }
.icon-blue    { color: #60a5fa; background: rgba(96,165,250,0.1); }
.icon-orange  { color: #fb923c; background: rgba(251,146,60,0.1); }
.icon-yellow  { color: #facc15; background: rgba(250,204,21,0.1); }
.icon-cyan    { color: #22d3ee; background: rgba(34,211,238,0.1); }

.icon-box {
    width: 3.5rem; height: 3.5rem;
    border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: background 0.3s;
}

/* ── Badge ── */
.badge {
    position: absolute;
    top: 0; right: 0;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-bottom-left-radius: 8px;
    z-index: 2;
    letter-spacing: 0.05em;
}
.badge-gradient { background: linear-gradient(90deg, #4f46e5, #9333ea); }
.badge-pink     { background: #db2777; }
.badge-green    { background: #16a34a; }

/* ── Price ── */
.price-value { font-size: 1.8rem; font-weight: 800; color: #fff; }
.price-type  { font-size: 0.8rem; color: #6b7280; margin-left: 4px; align-self: flex-end; margin-bottom: 4px; }

/* ── Button styles ── */
.btn { display: block; text-align: center; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.btn-solid       { background: #4f46e5; color: #fff; }
.btn-solid:hover { background: #4338ca; }
.btn-gradient-pink { background: linear-gradient(90deg,#db2777,#9333ea); color:#fff; }
.btn-gradient-pink:hover { background: linear-gradient(90deg,#be185d,#7e22ce); }
.btn-outline-green  { border: 1px solid rgba(74,222,128,0.35); color: #4ade80; }
.btn-outline-green:hover  { background: rgba(74,222,128,0.1); }
.btn-outline-indigo { border: 1px solid rgba(99,102,241,0.35); color: #818cf8; }
.btn-outline-indigo:hover { background: rgba(99,102,241,0.1); }
.btn-outline-blue   { border: 1px solid rgba(96,165,250,0.35); color: #60a5fa; }
.btn-outline-blue:hover   { background: rgba(96,165,250,0.1); }
.btn-outline-orange { border: 1px solid rgba(251,146,60,0.35); color: #fb923c; }
.btn-outline-orange:hover { background: rgba(251,146,60,0.1); }

/* ── Services ── */
.service-card { border-radius: 1rem; padding: 2rem; }
.border-yellow { border-left: 4px solid #facc15; }
.border-cyan   { border-left: 4px solid #22d3ee; }
.border-indigo { border-left: 4px solid #818cf8; }
.border-pink   { border-left: 4px solid #f472b6; }
.border-green  { border-left: 4px solid #4ade80; }
.border-purple { border-left: 4px solid #c084fc; }

.service-icon-box {
    width: 3rem; height: 3rem;
    border-radius: 9999px;
    display:flex; align-items:center; justify-content:center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* ── Features ── */
.feature-icon {
    width: 4rem; height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

/* ── Footer ── */
footer { border-top: 1px solid rgba(255,255,255,0.08); background: #0a081c; }
.social-btn {
    width: 2.5rem; height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.2s;
}
.social-btn:hover { color: #fff; }
.social-hover-indigo:hover { background: #4f46e5; }
.social-hover-pink:hover   { background: #db2777; }
.social-hover-green:hover  { background: #16a34a; }
.social-hover-blue:hover   { background: #2563eb; }
.social-hover-cyan:hover   { background: #0891b2; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-desktop { display: none !important; }
    .nav-mobile-btn { display: block !important; }
}

/* ── Utility ── */
.hidden       { display: none !important; }
.text-center  { text-align: center; }
.w-full       { width: 100%; }
.flex         { display: flex; }
.items-center { align-items: center; }
.gap-2        { gap: 0.5rem; }
.mt-auto      { margin-top: auto; }
.section-divider { width: 5rem; height: 3px; background: linear-gradient(90deg,#6366f1,#9333ea); margin: 0 auto; border-radius: 999px; }
