/* ========================================= */
/* === MAXCREDIBLE GLOBAL DESIGN SYSTEM ==== */
/* ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-deep: #0f0c29;
    --card-bg: #0f172a; 
    --border: rgba(255, 255, 255, 0.1);
    --c-legacy: #ff4747; 
    --c-netting: #38bdf8; 
    --c-shield: #a855f7;
    --c-success: #10b981;
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    background-color: var(--bg-deep);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    padding-bottom: 3rem;
    position: relative;
}

/* --- AMBIENT BG --- */
.ambient-background { position: fixed; inset: 0; z-index: -1; background: #0f0c29; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: float 10s infinite alternate; pointer-events: none; }
.b-1 { width: 500px; height: 500px; background: #ff00cc; top: -10%; left: -10%; }
.b-2 { width: 600px; height: 600px; background: #333399; bottom: -10%; right: -10%; }
.b-3 { width: 400px; height: 400px; background: #00d4ff; top: 40%; left: 30%; }
@keyframes float { 100% { transform: translate(30px, 50px); } }

/* --- NAVIGATION --- */
.top-nav {
    position: fixed; top: 0; left: 0; right: 0; height: 100px;
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; padding: 0 5%;
    background: linear-gradient(to bottom, rgba(2,6,23,0.8) 0%, transparent 100%);
    pointer-events: none;
}
.nav-content {
    background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 100px;
    padding: 8px 12px 8px 24px; display: flex; align-items: center; justify-content: space-between; 
    pointer-events: auto; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    width: 90%; max-width: 1200px; margin: 0 auto;
}
.logo-container { cursor: pointer; display: flex; align-items: center; text-decoration: none; }
.nav-controls { display: flex; align-items: center; gap: 12px; }

/* --- THE STAGE & SMART CARD --- */
.smart-card {
    width: 100%; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 25px 50px -12px rgba(0,0,0,0.5);
    border-radius: 24px; position: relative; transition: all 0.6s var(--ease-elastic);
    display: flex; flex-direction: column; overflow: hidden; 
}

/* --- BUTTONS --- */
.g-cta-btn {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 50px;
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem;
    transition: all 0.3s var(--ease-elastic);
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.5);
    display: inline-flex; align-items: center; gap: 10px; justify-content: center; border: none; cursor: pointer;
}
.g-cta-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.7); }

.nav-cta-btn {
    background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.4); color: #38bdf8;
    text-decoration: none; padding: 8px 18px; border-radius: 20px; font-family: 'Outfit', sans-serif;
    font-weight: 700; font-size: 0.9rem; transition: all 0.2s;
}
.nav-cta-btn:hover { background: #38bdf8; color: #0f172a; box-shadow: 0 0 15px rgba(56, 189, 248, 0.4); }

/* --- UTILITIES & PREVIEW LOGIC --- */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.1); border-radius: 10px; }

.perspective-1000 { perspective: 1000px; }
@media (min-width: 1024px) {
    .rotate-y-6 { transform: rotateY(-6deg) rotateX(2deg); transform-style: preserve-3d; }
}

@media (max-width: 768px) {
    .top-nav { height: 80px; }
    .nav-content { padding: 8px 12px; width: 95%; }
    .nav-controls { gap: 8px; }
    .nav-cta-btn { display: inline-block; padding: 6px 14px; font-size: 0.85rem; white-space: nowrap; }
}

/* --- UI POLISH: Hide Number Input Spinners --- */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield; /* Firefox */
}
