/* ============================================================
   MOAW Services — Elite Dark Industrial Bento UI
   ============================================================ */
:root {
    --bg:              #050505;
    --bg2:             #0d0d0d;
    --emerald:         #10b981;
    --emerald-glow:    rgba(16, 185, 129, 0.35);
    --orange:          #ff5e00;
    --orange-glow:     rgba(255, 94, 0, 0.28);
    --text:            #f8fafc;
    --muted:           #8b949e;
    --bento-bg:        rgba(20, 20, 22, 0.7);
    --bento-border:    rgba(255, 255, 255, 0.08);
    --bento-shadow:    0 4px 32px rgba(0,0,0,0.55);
    --radius:          10px;
    --font-h:          'Outfit', sans-serif;
    --font-b:          'Inter', sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    line-height: 1.65;
    overflow-x: hidden;
    cursor: none;
}

/* ── Canvas background ─────────────────────────────── */
#particles-bg {
    position: fixed; inset: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    background: var(--bg);
}

/* ── Custom Cursor ──────────────────────────────────── */
.cursor-dot, .cursor-outline {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--emerald);
}
.cursor-outline {
    width: 32px; height: 32px;
    border: 1.5px solid rgba(16,185,129,0.55);
    transition: width .25s, height .25s, background .25s, border-color .25s;
}
body.cursor-hover .cursor-outline {
    width: 54px; height: 54px;
    background: rgba(16,185,129,0.08);
    border-color: transparent;
}

/* ── Utility ────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header { margin-bottom: 3rem; }
.section-header h2 { font-family: var(--font-h); font-size: 2.5rem; color:#fff; margin-bottom:.6rem; }
.section-header p  { color: var(--muted); }
.section-header.center { text-align: center; }

/* ── Bento Card ─────────────────────────────────────── */
.bento-card {
    background: var(--bento-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--bento-border);
    border-radius: var(--radius);
    box-shadow: var(--bento-shadow);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color .4s, transform .4s cubic-bezier(.25,1,.5,1);
}
/* Spotlight layer */
.bento-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(255,255,255,0.055), transparent 45%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
    z-index: 1;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { border-color: rgba(255,255,255,0.16); }
.bento-card > * { position: relative; z-index: 2; }

/* ── Buttons ────────────────────────────────────────── */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-b);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: box-shadow .3s, background .3s;
    position: relative; overflow: hidden;
}
.neon-btn {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 0 16px var(--orange-glow);
}
.neon-btn:hover { background: #ff6f1a; box-shadow: 0 0 28px var(--orange-glow); }

.bento-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--bento-border);
    color: #fff;
}
.bento-btn:hover { background: rgba(255,255,255,0.09); }

.full-width { width: 100%; }

/* ── Header ─────────────────────────────────────────── */
.bento-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(5,5,5,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--bento-border);
    padding: 14px 0;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo h1 { font-family: var(--font-h); font-weight: 900; font-size: 2rem; color: #fff; }
.logo span { color: var(--orange); }
.desktop-nav a {
    color: var(--muted); text-decoration: none;
    margin: 0 14px; font-weight: 500;
    transition: color .3s;
}
.desktop-nav a:hover { color: var(--emerald); }

/* ── Mobile Bottom Nav ──────────────────────────────── */
.mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(5,5,5,0.92);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--bento-border);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0;
}
.mobile-bottom-nav .nav-item {
    display: flex; flex-direction: column; align-items: center;
    color: var(--muted); text-decoration: none; font-size: .75rem;
}
.mobile-bottom-nav .nav-item svg { width: 22px; height: 22px; margin-bottom: 3px; }
.mobile-bottom-nav .nav-item.active { color: var(--orange); }

/* ── Hero ───────────────────────────────────────────── */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.badge {
    display: inline-block;
    background: rgba(16,185,129,.14);
    color: var(--emerald);
    padding: 5px 14px; border-radius: 20px;
    font-size: .82rem; font-weight: 600;
    border: 1px solid rgba(16,185,129,.3);
    margin-bottom: 1rem;
}
.hero-title { font-family: var(--font-h); font-size: 3.8rem; line-height: 1.08; margin-bottom: 1.4rem; }
.hero-title span { color: var(--emerald); }
.hero-subtitle { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; perspective: 1200px; }
.tilt-card { padding: 0; overflow: hidden; }
.hero-img { width: 100%; height: auto; display: block; }

.floating-badge {
    position: absolute; bottom: -18px; left: -18px;
    background: #111;
    padding: 14px 22px; border-radius: 10px;
    border: 1px solid var(--emerald);
    box-shadow: 0 8px 24px rgba(0,0,0,.6);
    animation: float 3.2s ease-in-out infinite;
    font-weight: 600;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Services ───────────────────────────────────────── */
.services-section { padding: 7rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.6rem; }
.service-card h3 { font-family: var(--font-h); font-size: 1.4rem; margin: 1rem 0 .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-highlight { border-color: rgba(16,185,129,.28); box-shadow: 0 0 24px rgba(16,185,129,.12); }

/* ── Before / After Slider ──────────────────────────── */
.before-after-section { padding: 6rem 0; background: var(--bg2); }
.slider-container {
    position: relative; width: 100%; max-width: 800px; height: 420px;
    margin: 0 auto; overflow: hidden; cursor: col-resize;
    border-radius: var(--radius); border: 1px solid var(--bento-border);
    padding: 0;
}
.slider-image { position: absolute; inset: 0; overflow: hidden; }
.slider-image img {
    width:100%; height:100%; object-fit:cover;
    pointer-events:none;
    transition: transform 1.4s cubic-bezier(.25,1,.5,1), filter 1.4s ease;
    filter: brightness(.85) contrast(1.1);
}
.slider-container:hover .slider-image img { filter: brightness(1) contrast(1.15); }

.slider-image.before { width: 50%; z-index: 2; border-right: 3px solid var(--orange); }
.slider-handle {
    position: absolute; top:0; bottom:0; left:50%; width:3px;
    background: var(--orange); z-index:3; transform: translateX(-50%);
    pointer-events:none;
}
.slider-handle::after {
    content: '↔';
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:40px; height:40px; background:var(--orange); color:#fff;
    border-radius:50%; display:flex; align-items:center; justify-content:center;
    font-weight:bold; box-shadow:0 0 12px rgba(255,94,0,.5);
}

/* ── Portfolio ──────────────────────────────────────── */
.portfolio-section { padding: 6rem 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1.4rem; }
.portfolio-item { position:relative; border-radius: var(--radius); overflow:hidden; height:260px; }
.portfolio-item img {
    width:100%; height:100%; object-fit:cover;
    transition: transform 1.2s cubic-bezier(.25,1,.5,1), filter 1.2s ease;
    filter: brightness(.82) contrast(1.1);
}
.portfolio-item:hover img { transform:scale(1.05); filter: brightness(1.1) contrast(1.2) saturate(1.2); }
.portfolio-overlay {
    position:absolute; bottom:0; left:0; width:100%;
    padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,.85));
    color:#fff;
}

/* ── Trust Wall / Reviews ───────────────────────────── */
.trust-wall { padding: 4rem 0; overflow:hidden; background: var(--bg2); }
.marquee-title { text-align:center; font-family:var(--font-h); font-size:2rem; margin-bottom:2rem; }
.marquee { overflow:hidden; white-space:nowrap; }
.marquee-content { display:inline-block; animation: marquee 30s linear infinite; }
.review-card {
    display:inline-block; width:340px; white-space:normal;
    vertical-align:top; margin-right:1.6rem;
    font-style:italic; color:var(--muted);
    background: var(--bento-bg); border:1px solid var(--bento-border);
    border-radius: var(--radius); padding:1.4rem;
    backdrop-filter: blur(10px);
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── How We Work ────────────────────────────────────── */
.how-it-works { padding: 6rem 0; }
.steps-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.6rem; }
.step-number { font-family:var(--font-h); font-size:3rem; font-weight:900; color:rgba(255,255,255,.07); margin-bottom:-8px; }
.step-card h3 { font-family:var(--font-h); margin:.8rem 0 .5rem; }
.step-card p { color:var(--muted); font-size:.95rem; }

/* ── AMC Section ────────────────────────────────────── */
.amc-section { padding: 6rem 0; }
.amc-container {
    display:grid; grid-template-columns:1fr 1fr; gap:3rem;
    background: linear-gradient(135deg, rgba(16,185,129,.06) 0%, rgba(255,94,0,.04) 100%);
}
.amc-info ul { list-style:none; margin-top:1.6rem; }
.amc-info li { margin-bottom:1rem; display:flex; align-items:center; font-size:1.05rem; }
.amc-info svg { width:22px;height:22px;stroke:var(--emerald);margin-right:12px;fill:none;stroke-width:2.2; }
.amc-form { display:flex; flex-direction:column; gap:.9rem; margin-top:1.4rem; }
.amc-form input, .amc-form select {
    padding:12px 14px; background:rgba(0,0,0,.4);
    border:1px solid var(--bento-border); border-radius:8px;
    color:#fff; font-family:var(--font-b); font-size:1rem;
}
.amc-form input:focus, .amc-form select:focus { outline:none; border-color:var(--orange); }
.success-message { color:var(--emerald); font-weight:600; padding:1rem 0; }

/* ── Founder ────────────────────────────────────────── */
.founder-section { padding: 5rem 0; }
.founder-container { display:flex; align-items:center; gap:3rem; }
.founder-img { width:220px; height:220px; border-radius:50%; object-fit:cover; border:3px solid var(--emerald); flex-shrink:0; }
.founder-quote { font-size:1.15rem; font-style:italic; color:var(--muted); margin-bottom:1.4rem; line-height:1.8; }
.founder-name { font-weight:600; color:var(--text); }

/* ── FAQ ────────────────────────────────────────────── */
.faq-section { padding: 5rem 0; }
.faq-accordion { max-width:780px; margin:0 auto; }
.faq-item { border:1px solid var(--bento-border); border-radius:8px; margin-bottom:.8rem; overflow:hidden; background:var(--bento-bg); }
.faq-question {
    width:100%; padding:18px 22px; background:none; border:none;
    color:#fff; font-size:1.05rem; font-weight:600; text-align:left;
    cursor:pointer; display:flex; justify-content:space-between;
    font-family:var(--font-b);
}
.faq-question:hover { color:var(--emerald); }
.faq-answer { padding:0 22px; max-height:0; overflow:hidden; transition:max-height .35s ease, padding .35s ease; color:var(--muted); }
.faq-item.active .faq-answer { padding:0 22px 20px; max-height:200px; }
.icon { font-size:1.2rem; font-weight:300; transition:transform .3s; }
.faq-item.active .icon { transform:rotate(45deg); }

/* ── Trust Badges ───────────────────────────────────── */
.trust-badges-section { padding:4rem 0; background:var(--bg2); }
.badges-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1.2rem; text-align:center; }
.badge-item { color:var(--emerald); font-weight:600; padding:1.4rem; }

/* ── Footer ─────────────────────────────────────────── */
.bento-footer { background:rgba(5,5,5,.96); border-top:1px solid var(--bento-border); padding:4rem 0 2rem; }
.footer-container { display:grid; grid-template-columns:1fr 1fr; gap:4rem; }
.footer-info h2 { font-family:var(--font-h); font-size:1.8rem; margin-bottom:.8rem; }
.footer-info span { color:var(--orange); }
.footer-info p, .contact-details p { color:var(--muted); margin-bottom:.4rem; }
.admin-link { color:var(--muted); text-decoration:none; font-size:.85rem; display:inline-block; margin-top:1rem; transition:color .2s; }
.admin-link:hover { color:var(--emerald); }

.footer-coverage h3 { font-family:var(--font-h); font-size:1.3rem; margin-bottom:.8rem; }
.footer-coverage p  { color:var(--muted); margin-bottom:1rem; }
.map-placeholder {
    height:190px; display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,.02); color:var(--muted); font-size:.9rem;
    border-radius: var(--radius); border:1px solid var(--bento-border);
}
.footer-bottom { text-align:center; margin-top:3rem; padding-top:1.6rem; border-top:1px solid rgba(255,255,255,.05); color:var(--muted); font-size:.88rem; }

/* ── Emergency Sticky ───────────────────────────────── */
.emergency-sticky {
    position:fixed; bottom:30px; right:30px; z-index:500;
    background: var(--orange); color:#fff;
    padding:14px 24px; border-radius:28px;
    font-weight:700; font-size:.9rem; text-decoration:none;
    box-shadow: 0 4px 20px var(--orange-glow);
    animation: pulse 2.2s infinite;
}
.emergency-sticky:hover { background:#ff6f1a; }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0   rgba(255,94,0,.7); }
    70%  { box-shadow: 0 0 0 16px rgba(255,94,0,0); }
    100% { box-shadow: 0 0 0 0   rgba(255,94,0,0); }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-content, .amc-container { grid-template-columns:1fr; }
    .founder-container { flex-direction:column; text-align:center; }
}
@media (max-width: 768px) {
    .desktop-nav { display:none; }
    .mobile-bottom-nav { display:flex; }
    body { padding-bottom:70px; cursor:auto; }
    .cursor-dot, .cursor-outline { display:none; }
    .hero-title { font-size:2.4rem; }
    .hero-actions { flex-direction:column; }
    .emergency-sticky { bottom:82px; right:12px; left:12px; text-align:center; font-size:.82rem; }
    .footer-container { grid-template-columns:1fr; }
    .section-header h2 { font-size:1.9rem; }
}

/* --- Theme Toggle --- */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    color: var(--text);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}
.theme-toggle:hover {
    transform: scale(1.1);
}

/* --- Light Mode Variables --- */
body.light-mode {
    --bg:              #f8fafc;
    --bg2:             #ffffff;
    --text:            #0f172a;
    --muted:           #64748b;
    --bento-bg:        rgba(255, 255, 255, 0.85);
    --bento-border:    rgba(0, 0, 0, 0.08);
    --bento-shadow:    0 4px 32px rgba(0,0,0,0.06);
}
body.light-mode #particles-bg {
    background: var(--bg);
}
body.light-mode .bento-header {
    background: rgba(255,255,255,0.82);
}
body.light-mode .bento-footer {
    background: rgba(255,255,255,0.96);
}
body.light-mode .bento-btn {
    color: var(--text);
    background: rgba(0,0,0,0.05);
}
body.light-mode .section-header h2, body.light-mode .logo h1 {
    color: var(--text);
}
body.light-mode .faq-question {
    color: var(--text);
}
body.light-mode .amc-container {
    background: linear-gradient(135deg, rgba(16,185,129,.1) 0%, rgba(255,94,0,.1) 100%);
}
body.light-mode .bento-card::before {
    background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(0,0,0,0.05), transparent 45%);
}
body.light-mode .step-number {
    color: rgba(0,0,0,0.05);
}
