/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:         #ffffff;
    --bg2:        #f7f7fb;
    --bg3:        #eeeef6;
    --border:     rgba(0,0,0,0.09);
    --text:       #111118;
    --text-muted: #6b6b80;
    --accent:     #7c3aed;
    --accent2:    #5b21b6;
    --gold:       #b45309;
    --silver:     #4b5563;
    --blue:       #0284c7;
    --wa:         #25D366;
    --wa-dark:    #128C7E;
    --radius:     14px;
    --radius-lg:  20px;
    --shadow:     0 8px 40px rgba(0,0,0,0.10);
    --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: #fff;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.5); }

.btn--wa {
    background: var(--wa);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
.btn--wa:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }

.btn--full { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ===== NAVBAR ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.logo-icon { font-size: 22px; }
.accent { color: var(--accent); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}
.nav__links a:hover { color: var(--accent); }
.nav__cta { padding: 9px 18px; font-size: 13px; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__logo svg { stroke: var(--accent); }
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
}
.mobile-menu a {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
}
.mobile-menu a:hover { background: var(--bg3); color: var(--text); }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 90px 0 120px;
    overflow: hidden;
    min-height: 580px;
    /* Dubai background image with overlay */
    background:
        linear-gradient(135deg, rgba(15,5,40,0.88) 0%, rgba(60,20,130,0.80) 50%, rgba(10,3,30,0.90) 100%),
        url('../img/dubai-bg.jpg') center center / cover no-repeat;
    color: #fff;
}
/* Adjust text colors for dark hero */
.hero .hero__title { color: #fff; }
.hero .hero__sub { color: rgba(255,255,255,0.92); }
.hero .hero__trust { color: rgba(255,255,255,0.88); }
.hero .hero__pill {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: #e9d5ff;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 75% 50%, rgba(124,58,237,0.25) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 10% 20%, rgba(167,139,250,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero__dubai { display: none; }

/* Pulsing delivery pill */
.hero__pill--pulse {
    background: rgba(34,197,94,0.18) !important;
    border-color: rgba(34,197,94,0.45) !important;
    color: #86efac !important;
    animation: pillPulse 2s ease-in-out infinite;
}
@keyframes pillPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.45); }
    50%      { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* Two-column split */
.hero__split {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: 460px;
}

/* LEFT */
.hero__content {
    position: relative;
    text-align: left;
}
.hero__pill svg { vertical-align: middle; }
.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124,58,237,0.09);
    border: 1px solid rgba(124,58,237,0.22);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.hero__title {
    font-size: clamp(36px, 4.5vw, 66px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, #7c3aed, #a78bfa, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 460px;
    margin: 0 0 32px;
    line-height: 1.7;
}
.hero__actions {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.hero__trust {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* RIGHT: product image */
.hero__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__image-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__image-wrap::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(124,58,237,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero__product-img {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(124,58,237,0.22));
    animation: heroFloat 4s ease-in-out infinite;
}
.hero__image-placeholder {
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.25);
}
.hero__image-placeholder p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-align: center;
    padding: 16px;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero__wave svg { width: 100%; height: 50px; fill: #ffffff !important; }

/* Responsive */
@media (max-width: 860px) {
    .hero__split { grid-template-columns: 1fr; text-align: center; min-height: auto; }
    .hero__content { text-align: center; }
    .hero__actions { justify-content: center; }
    .hero__trust { justify-content: center; }
    .hero__sub { margin: 0 auto 32px; }
    .hero__image { order: 0; }
    .hero__image-wrap { max-width: 220px; max-height: 220px; margin: 0 auto; }
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.section-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto;
}

/* ===== PRODUCTS ===== */
.products { padding: 100px 0; background: var(--bg); }

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    position: relative;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all var(--transition);
    overflow: visible;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124,58,237,0.06), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.product-card__body { position: relative; z-index: 10; }
.quick-order { position: relative; z-index: 20; }
.quick-order a, .quick-order button { position: relative; z-index: 20; pointer-events: auto !important; cursor: pointer; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(167,139,250,0.25); box-shadow: var(--shadow); }
.product-card:hover::before { opacity: 1; }

.product-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.badge--gold  { background: rgba(245,200,66,0.15); color: var(--gold); border: 1px solid rgba(245,200,66,0.3); }
.badge--silver { background: rgba(176,184,200,0.12); color: var(--silver); border: 1px solid rgba(176,184,200,0.25); }
.badge--blue  { background: rgba(56,189,248,0.12); color: var(--blue); border: 1px solid rgba(56,189,248,0.25); }

.product-card__photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; flex-shrink: 0; background: #f5f3ff; }
.product-card__photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; padding: 16px; }
.product-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card:not(:has(.product-card__photo)) .product-card__body { padding-top: 36px; }
.product-card__icon { line-height: 1; color: var(--accent); }
.product-card__name { font-size: 20px; font-weight: 700; letter-spacing: -0.4px; }
.product-card__tagline { font-size: 13px; font-weight: 600; color: var(--accent); }
.product-card__desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; flex: 1; }

.product-card__price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg3);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 4px 0;
}
.price-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.price-value { font-size: 13px; font-weight: 600; color: var(--accent); margin-left: auto; }

.product-card__actions { display: flex; flex-direction: column; gap: 10px; }

/* ===== HOW TO ORDER ===== */
.how {
    padding: 100px 0;
    background: #f7f7fb;
}
.how__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 28px 16px;
    position: relative;
}
.step__num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 16px;
    color: #fff;
}
.step__icon { margin-bottom: 12px; color: var(--accent); display: flex; justify-content: center; }
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.step__arrow {
    font-size: 28px;
    color: var(--border);
    padding-top: 48px;
    color: rgba(167,139,250,0.3);
    font-weight: 300;
}

/* ===== WHY US ===== */
.why { padding: 100px 0; background: var(--bg); }
.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why__card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}
.why__card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,0.2); }
.why__icon { display: flex; justify-content: center; margin-bottom: 16px; color: var(--accent); }
.why__card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.why__card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 100%);
    border-top: 1px solid var(--border);
}
.contact__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}
.contact__text h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.contact__text p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; max-width: 420px; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact__list li { font-size: 14px; color: var(--text-muted); }
.contact__list a { color: var(--accent); font-weight: 600; }
.contact__list a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
    background: #f7f7fb;
    border-top: 1px solid var(--border);
    padding: 32px 0;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.footer__copy { font-size: 13px; color: var(--text-muted); }
.footer__note { font-size: 11px; color: rgba(136,136,153,0.6); }

/* ===== FLOATING WA ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 200;
    width: 58px;
    height: 58px;
    background: var(--wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    transition: all var(--transition);
    color: #fff;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }

/* ===== ORDER PAGE ===== */
.order-page { background: var(--bg); }
.order-main { padding: 60px 0 100px; }
.order-wrap { max-width: 580px; margin: 0 auto; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 32px;
    transition: color var(--transition);
}
.back-link:hover { color: var(--text); }

.order-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.order-card__header {
    padding: 36px 36px 28px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}
.order-card__header h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.order-card__header p { font-size: 14px; color: var(--text-muted); }

.order-form { padding: 32px 36px 36px; display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--sm { max-width: 160px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.2px;
}
.optional { font-weight: 400; color: var(--text-muted); }

input, select, textarea {
    background: #f9f9fc;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    outline: none;
    transition: border-color var(--transition);
    width: 100%;
    resize: vertical;
}
input::placeholder, textarea::placeholder { color: rgba(136,136,153,0.6); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888899' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(124,58,237,0.06);
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: var(--radius);
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
}
.form-notice svg { flex-shrink: 0; color: var(--accent); margin-top: 1px; }

/* ===== INLINE QUICK ORDER (homepage product cards) ===== */
.quick-order {
    margin-top: auto; padding-top: 14px; display: flex;
    flex-direction: column; gap: 10px;
}
.qty-row {
    display: flex !important; flex-direction: row !important;
    align-items: center; justify-content: space-between; gap: 12px;
}
.qty-label { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.qty-control {
    display: inline-flex !important; flex-direction: row !important;
    align-items: center; gap: 0;
    background: #f5f3ff; border: 1px solid rgba(124,58,237,0.18);
    border-radius: 50px; padding: 3px;
}
.qty-btn {
    width: 30px; height: 30px; border: none; background: transparent;
    color: #5b21b6; font-size: 18px; font-weight: 700; cursor: pointer;
    border-radius: 50%; transition: background 0.15s;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0; line-height: 1; flex-shrink: 0;
}
.qty-btn:hover { background: rgba(124,58,237,0.18); }
.qty-input {
    width: 44px; border: none; background: transparent; outline: none;
    text-align: center; font-size: 15px; font-weight: 700; color: #1f1530;
    font-family: inherit; padding: 0; -moz-appearance: textfield; appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Compact card body */
.product-card__name { font-size: 17px; margin-bottom: 4px; }
.product-card__tagline { font-size: 13px; margin-bottom: 14px; }

.alert { padding: 16px 20px; border-radius: var(--radius); margin: 0 36px 0; }
.alert--error { background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.25); color: #b91c1c; }
.alert ul { margin-top: 8px; padding-left: 18px; font-size: 13px; }
.alert li { margin-bottom: 4px; }

.trust-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .products__grid { grid-template-columns: 1fr 1fr; }
    .nav__links { display: none; }
    .nav__burger { display: flex; }
    .how__steps { gap: 0; }
    .step__arrow { display: none; }
    .contact__inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
    .contact__list { align-items: center; }
    .contact__text p { margin: 0 auto 24px; }
}

@media (max-width: 600px) {
    .products__grid { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .hero { padding: 70px 0 90px; }
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__trust { gap: 16px; font-size: 12px; }
    .form-row { grid-template-columns: 1fr; }
    .order-card__header, .order-form { padding: 24px; }
    .alert { margin: 0 24px; }
    .how__steps { flex-direction: column; align-items: center; }
}
