/* --- VARIABLES --- */
:root {
    --bg-dark: #09090b;
    --panel-bg: #18181b;
    --blue: #00f2ff;
    --pink: #bd00ff;
    --yellow: #ffd700;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* FONTS */
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* --- FLUID BACKGROUND --- */
.fluid-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(189, 0, 255, 0.15), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(0, 242, 255, 0.15), transparent 40%);
    filter: blur(60px); z-index: -2;
    animation: pulseBg 10s infinite alternate;
}
@keyframes pulseBg { 0% { opacity: 0.5; } 100% { opacity: 1; } }

.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* --- UTILS --- */
.text-gradient {
    background: linear-gradient(to right, var(--blue), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-blue { color: var(--blue); }
.text-pink { color: var(--pink); }
.text-yellow { color: var(--yellow); }
.text-gray { color: var(--text-gray); }

.bg-frosted { background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); }
.bg-darker-panel { background: #000; }
.border-y-gradient { border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.border-end-white { border-right: 1px solid rgba(255,255,255,0.1); }
.border-gradient { border: 2px solid transparent; border-image: linear-gradient(to right, var(--blue), var(--pink)) 1; }

@media (max-width: 768px) { .border-end-white { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; } }

/* --- HERO --- */
.mobile-hero { padding: 80px 0; min-height: 90vh; display: flex; align-items: center; }
.badge-mobile { border: 1px solid var(--blue); color: var(--blue); display: inline-block; padding: 5px 20px; border-radius: 50px; font-weight: 600; text-transform: uppercase; margin-bottom: 20px; font-size: 0.8rem; background: rgba(0, 242, 255, 0.1); }

.btn-gradient {
    background: linear-gradient(90deg, var(--blue), var(--pink)); color: #fff; padding: 15px 40px; font-weight: 700; text-decoration: none; border-radius: 50px; transition: 0.3s;
}
.btn-gradient:hover { filter: brightness(1.2); transform: translateY(-3px); box-shadow: 0 0 30px rgba(189, 0, 255, 0.5); color: white; }

/* --- PHONE VISUALS --- */
.phones-container { position: relative; height: 400px; width: 100%; display: flex; justify-content: center; }
.phone-mockup {
    width: 180px; height: 360px; border-radius: 25px; border: 4px solid #333; position: absolute; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}
.iphone { left: 50%; transform: translateX(-120%); border-color: #444; z-index: 2; }
.android { left: 50%; transform: translateX(20%); border-color: #222; z-index: 1; opacity: 0.8; }

.floating { animation: float 6s ease-in-out infinite; }
.floating-delayed { animation: float 6s ease-in-out infinite 1s; }
@keyframes float { 0%, 100% { top: 0; } 50% { top: -20px; } }

.notch { width: 80px; height: 20px; background: #000; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-radius: 0 0 10px 10px; z-index: 3; }
.camera-hole { width: 10px; height: 10px; background: #111; border-radius: 50%; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 3; }

.screen { padding: 30px 10px; height: 100%; display: flex; flex-direction: column; background: #fff; }
.app-header { font-weight: bold; color: #000; margin-bottom: 10px; }
.skeleton-text { height: 10px; width: 80%; background: #eee; margin-bottom: 5px; border-radius: 2px; }
.skeleton-img { height: 80px; width: 100%; background: #eee; margin: 10px 0; border-radius: 4px; }
.app-btn { background: var(--blue); border: none; padding: 5px 10px; border-radius: 4px; color: white; width: 100%; margin-top: auto; }

/* --- HOT RELOAD LAB --- */
.lab-wrapper { max-width: 900px; margin: 0 auto; }

.code-controller { background: #1e1e1e; border-radius: 8px; border: 1px solid #333; overflow: hidden; margin-bottom: 30px; }
.code-header { background: #252526; padding: 5px 15px; color: #ccc; font-size: 0.8rem; border-bottom: 1px solid #333; }
.code-body { padding: 20px; color: #d4d4d4; font-size: 1rem; }
.x-tag { color: #569cd6; } .x-attr { color: #9cdcfe; }
.code-input { background: #333; border: 1px solid #555; color: white; padding: 2px 5px; border-radius: 4px; font-family: monospace; width: 120px; }
.color-picker { border: none; width: 30px; height: 30px; padding: 0; background: none; vertical-align: middle; cursor: pointer; }

.devices-row { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.device-frame { width: 220px; height: 400px; border: 8px solid #333; border-radius: 30px; position: relative; background: #000; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.device-notch { width: 100px; height: 20px; background: #333; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-radius: 0 0 10px 10px; z-index: 2; }
.device-hole { width: 12px; height: 12px; background: #333; border-radius: 50%; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 2; }
.device-screen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; position: relative; z-index: 1; }
.device-label { position: absolute; bottom: -30px; width: 100%; text-align: center; color: #777; font-size: 0.8rem; }

.demo-btn { padding: 10px 20px; font-size: 1rem; border: none; border-radius: 8px; cursor: pointer; transition: 0.2s; }

/* --- ARCHITECTURE --- */
.arch-diagram { text-align: center; color: white; }
.arch-top { background: var(--pink); display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: bold; }
.arch-arrows { color: #555; margin: 10px 0; }
.arch-bottom { display: flex; justify-content: center; gap: 15px; }
.platform { width: 50px; height: 50px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.p-android { color: #3ddc84; } .p-ios { color: #fff; } .p-win { color: #00a4ef; }

/* --- CARDS & ICONS --- */
.pain-card { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; border-left: 4px solid #ff4444; }
.icon-pain { font-size: 1.5rem; color: #ff4444; }

.feature-icon-box { background: var(--panel-bg); padding: 30px; border-radius: 12px; transition: 0.3s; height: 100%; border: 1px solid transparent; }
.feature-icon-box:hover { border-color: var(--blue); transform: translateY(-5px); }
.icon-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 1.5rem; color: white; }
.gradient-1 { background: linear-gradient(135deg, var(--blue), var(--pink)); }
.gradient-2 { background: #333; color: var(--blue); }
.gradient-3 { background: #333; color: var(--pink); }
.gradient-4 { background: #333; color: var(--yellow); }

.outcome-pill { background: rgba(255,255,255,0.05); padding: 10px 15px; border-radius: 50px; border: 1px solid #333; font-size: 0.9rem; }
.cert-box { border-radius: 12px; }