/* =====================================================
   QuickServe24 – Clean Mobile-First CSS (2026)
   ===================================================== */

/* ------------------------------
   ROOT & BASE
-------------------------------- */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --dark: #1a1a1a;
    --text: #333;
    --light: #f8f9fa;
    --radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

/* ------------------------------
   NAVBAR
-------------------------------- */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 14px;
}

/* ------------------------------
   HERO SECTION
-------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

/* subtle background */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,.15), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.1), transparent 50%);
}

/* hero text */
.hero h1 {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
}

.hero .lead {
    font-size: 1.05rem;
    opacity: .95;
}

/* buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.hero .btn {
    border-radius: 30px;
    padding: 14px 26px;
    font-weight: 600;
}

/* trust icons */
.trust-indicators small {
    opacity: .9;
}

/* ------------------------------
   HERO MOCKUP
-------------------------------- */
.hero-dashboard-mockup {
    max-width: 360px;
    margin: 40px auto 0;
}

.mockup-screen {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.mockup-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-title {
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
}

.mockup-content {
    padding: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.merge-button {
    margin-top: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px;
    border-radius: 24px;
    text-align: center;
    font-weight: 600;
}

/* ------------------------------
   TOOL CARDS
-------------------------------- */
.tool-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: center;
}

.tool-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
}

.tool-card h5 {
    font-weight: 600;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

/* ------------------------------
   STATISTICS
-------------------------------- */
.stats h2 {
    font-size: 2.4rem;
    font-weight: 700;
}

.stats p {
    font-weight: 500;
    color: #666;
}

/* ------------------------------
   WHY CHOOSE
-------------------------------- */
.why-choose {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.why-choose i {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

/* ------------------------------
   TESTIMONIALS
-------------------------------- */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* ------------------------------
   BUTTONS
-------------------------------- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 22px rgba(102,126,234,.45);
}

/* ------------------------------
   FOOTER
-------------------------------- */
footer {
    background: var(--dark);
    color: #ccc;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: var(--primary);
}

/* ------------------------------
   STICKY AD
-------------------------------- */
.sticky-ad {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* -------- MOBILE -------- */
@media (max-width: 576px) {

    .hero {
        text-align: center;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-dashboard-mockup {
        max-width: 280px;
    }

    .tool-card {
        margin-bottom: 20px;
    }

    .sticky-ad {
        position: static;
    }
}

/* -------- TABLET -------- */
@media (min-width: 577px) and (max-width: 992px) {

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-dashboard-mockup {
        max-width: 420px;
    }
}

/* -------- REDUCED MOTION -------- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* -------- PRINT -------- */
@media print {
    .hero,
    .sticky-ad,
    .adsbygoogle {
        display: none !important;
    }
}

/* =========================================
   MOBILE: REDUCE STICKY ADSENSE HEIGHT
   ========================================= */

@media (max-width: 576px) {

    .sticky-ad {
        padding: 4px 0 !important;   /* reduce vertical padding */
        height: auto;
    }

    .sticky-ad .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .sticky-ad ins.adsbygoogle {
        min-height: 50px !important; /* mobile-friendly ad height */
        max-height: 60px !important;
    }
}

