/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --q-green: #16c95f;
    --q-green-soft: #18d56a;
    --q-dark: #01131d;
    --q-dark-alt: #011e2c;
    --q-bg: #020a10;
    --q-card: #071823;
    --q-card-light: #0b2230;
    --q-border: rgba(255, 255, 255, 0.06);
    --q-text: #e5f7ee;
    --q-muted: #93a8b3;
    --q-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 999px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #032938 0, #020a10 40%, #01070c 100%);
    color: var(--q-text);
}

/* Layout helpers */
.qd-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.qd-section {
    padding: 5rem 0;
}

.qd-section-light {
    background: rgba(3, 20, 29, 0.8);
}

.qd-section-dark {
    background: radial-gradient(circle at top left, #032938, #01131d 35%, #01070c 90%);
}

/* Header */
.qd-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(to right, rgba(1, 19, 29, 0.96), rgba(1, 30, 44, 0.96));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
}

.qd-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 1rem;
    text-transform: uppercase;
}

.qd-logo strong {
    color: var(--q-green-soft);
}

.logo-dot {
    width: 22px;
    height: 22px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, #7ef9b8, #16c95f 45%, #01131d 100%);
    box-shadow: 0 0 0 3px rgba(22, 201, 95, 0.4);
}

.qd-nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.qd-nav a {
    color: var(--q-muted);
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 0.2s ease;
}

.qd-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--q-green), #8fffd0);
    transition: width 0.2s ease;
}

.qd-nav a:hover {
    color: #ffffff;
}

.qd-nav a:hover::after {
    width: 100%;
}

.qd-header-cta {
    margin-left: 1.25rem;
}

/* Buttons */
.qd-btn-primary,
.qd-btn-outline,
.qd-btn-ghost {
    font-family: inherit;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    padding: 0.6rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.qd-btn-primary {
    background: linear-gradient(135deg, var(--q-green), var(--q-green-soft));
    border-color: rgba(144, 255, 206, 0.2);
    color: #02120a;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.qd-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.qd-btn-outline {
    background: transparent;
    border-color: rgba(150, 219, 191, 0.6);
    color: #e2fff3;
}

.qd-btn-outline:hover {
    background: rgba(7, 39, 27, 0.9);
}

.qd-btn-ghost {
    background: rgba(1, 19, 29, 0.7);
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--q-muted);
}

.qd-btn-ghost:hover {
    background: rgba(6, 30, 43, 0.9);
    color: #ffffff;
}

.small-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.w-full {
    width: 100%;
}

/* Mobile Nav */
.qd-nav-toggle {
    display: none;
    width: 38px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(1, 19, 29, 0.8);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.qd-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

/* Hero */
.qd-hero {
    padding: 4.5rem 0 4rem;
}

.qd-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    background: rgba(7, 47, 33, 0.85);
    color: #a1ffcd;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(144, 255, 206, 0.3);
}

.qd-hero-text h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    margin: 1rem 0 0.6rem;
    line-height: 1.15;
}

.highlight {
    color: var(--q-green-soft);
}

.hero-sub {
    margin: 0.4rem 0 1.8rem;
    color: var(--q-muted);
    max-width: 540px;
    font-size: 0.97rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--q-muted);
}

.hero-meta-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #f4fff9;
}

.hero-meta-label {
    font-size: 0.8rem;
}

/* Hero Card */
.qd-hero-card {
    background: radial-gradient(circle at top, #062c1c, #071823 55%, #01070c 100%);
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(133, 225, 180, 0.35);
    box-shadow: var(--q-shadow-soft);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b5ffe0;
    background: rgba(3, 16, 12, 0.9);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(144, 255, 206, 0.4);
}

.status-pill {
    font-size: 0.8rem;
    color: #d6ffed;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(22, 201, 95, 0.12);
}

.hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hero-card-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.87rem;
}

.hero-card-list li span:first-child {
    color: #e5f8ef;
}

.hero-card-footer {
    font-size: 0.8rem;
    color: var(--q-muted);
    border-top: 1px dashed rgba(144, 255, 206, 0.25);
    padding-top: 0.7rem;
}

/* Sections */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.section-heading p {
    color: var(--q-muted);
    font-size: 0.95rem;
}

/* Cards / Grid */
.qd-grid {
    display: grid;
    gap: 1.7rem;
}

.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qd-card {
    background: var(--q-card);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    border: 1px solid var(--q-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.service-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.service-card p {
    margin: 0 0 0.9rem;
    color: var(--q-muted);
    font-size: 0.88rem;
}

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

/* Tags */
.qd-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
}

.qd-tag-list li {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(1, 30, 44, 0.9);
    border: 1px solid rgba(137, 229, 190, 0.3);
}

/* eSports section */
.esports-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: center;
}

.esports-text p {
    color: var(--q-muted);
    font-size: 0.95rem;
    max-width: 520px;
}

.esports-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.esports-list li::before {
    content: "✔";
    margin-right: 0.5rem;
    color: var(--q-green-soft);
}

.esports-card {
    background: linear-gradient(145deg, #071823, #031b13);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.4rem;
    border: 1px solid rgba(144, 255, 206, 0.24);
}

.qd-timeline {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.6rem;
    font-size: 0.88rem;
}

.qd-timeline li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qd-timeline .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--q-green-soft);
}

/* Products */
.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card h3 {
    margin: 0 0 0.3rem;
}

.product-card p {
    margin: 0 0 0.9rem;
    color: var(--q-muted);
}

.product-features {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.1rem;
    display: grid;
    gap: 0.4rem;
    font-size: 0.86rem;
}

.product-features li::before {
    content: "• ";
    color: var(--q-green-soft);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    font-size: 0.8rem;
    color: #c0ffe3;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(6, 53, 36, 0.9);
}

.product-featured {
    border: 1px solid rgba(144, 255, 206, 0.7);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    position: relative;
    background: radial-gradient(circle at top, #0c3c27, #071823 55%, #01070c 100%);
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: #16c95f;
    color: #012112;
}

/* Reviews */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.review-card {
    opacity: 0.35;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.review-card.active {
    opacity: 1;
    transform: translateY(0);
    background: var(--q-card-light);
}

.review-text {
    margin: 0 0 1.1rem;
    color: #d7f7eb;
    font-size: 0.9rem;
}

.review-meta {
    font-size: 0.8rem;
    color: var(--q-muted);
    display: grid;
    gap: 0.2rem;
}

.review-name {
    font-weight: 500;
    color: #f4fff9;
}

.review-stars {
    color: #ffdb6e;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

.reviews-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(201, 255, 229, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.reviews-dots .dot.active {
    background: var(--q-green-soft);
}

/* Why Qolor */
.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.why-grid > div p {
    color: var(--q-muted);
    font-size: 0.95rem;
}

.why-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card h3 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
}

.mini-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--q-muted);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-text p {
    color: var(--q-muted);
    max-width: 520px;
    font-size: 0.95rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.contact-form {
    background: rgba(3, 17, 24, 0.95);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.4rem;
    border: 1px solid rgba(144, 255, 206, 0.25);
    box-shadow: var(--q-shadow-soft);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    color: #c3e9da;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(144, 255, 206, 0.3);
    background: rgba(1, 19, 29, 0.95);
    color: #e9fff6;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(163, 198, 187, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--q-green-soft);
    box-shadow: 0 0 0 1px rgba(144, 255, 206, 0.3);
}

.form-note {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: var(--q-muted);
}

/* Footer */
.qd-footer {
    padding: 1.6rem 0 2rem;
    background: #01070c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.qd-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--q-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--q-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--q-green-soft);
}

/* Pills */
.pill {
    font-size: 0.75rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(1, 30, 44, 0.9);
    border: 1px solid rgba(137, 229, 190, 0.35);
}

/* Responsive */
@media (max-width: 992px) {
    .qd-hero-inner {
        grid-template-columns: 1.1fr;
    }

    .qd-hero-card {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-slider {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .esports-inner,
    .contact-grid,
    .why-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .qd-header-inner {
        padding-inline: 1rem;
    }

    .qd-header-cta {
        display: none;
    }

    .qd-nav-toggle {
        display: inline-flex;
    }

    .qd-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(1, 19, 29, 0.98);
        padding: 0.75rem 1.5rem 0.9rem;
        flex-direction: column;
        gap: 0.7rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .qd-nav.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .qd-hero {
        padding-top: 4rem;
    }

    .hero-meta {
        gap: 1.1rem;
    }

    .services-grid,
    .product-grid,
    .reviews-slider {
        grid-template-columns: minmax(0, 1fr);
    }

    .qd-footer-inner {
        flex-direction: column-reverse;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .qd-hero-text h1 {
        font-size: 2.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
