:root {
    --primary: #b91c1c;
    --primary-light: #dc2626;
    --primary-dark: #7f1d1d;
    --soft-red: #fee2e2;
    --dark: #151922;
    --charcoal: #242a35;
    --muted: #6b7280;
    --soft: #f6f7f9;
    --white: #ffffff;
    --line: rgba(21, 25, 34, 0.1);
    --shadow: 0 14px 42px rgba(21, 25, 34, 0.08);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", "Tahoma", sans-serif;
    background: #fbfcfd;
    color: var(--dark);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

/*
|--------------------------------------------------------------------------
| Header / Navbar
|--------------------------------------------------------------------------
*/

.site-header {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px 10px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(21, 25, 34, 0.08);
    box-shadow: 0 12px 36px rgba(21, 25, 34, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark,
.mini-logo {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
    box-shadow: 0 16px 32px rgba(185, 28, 28, 0.24);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.brand-mark svg,
.mini-logo svg {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.12));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-text span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    flex: 1;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 12px;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    transition: 0.25s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(185, 28, 28, 0.09);
    color: var(--primary);
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 900;
    white-space: nowrap;
    transition: 0.25s ease;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(21, 25, 34, 0.10);
    cursor: pointer;
    font-size: 22px;
}

/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.header-action,
.btn-primary {
    color: white;
    background: var(--primary);
    box-shadow: 0 12px 26px rgba(185, 28, 28, 0.18);
}

.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 900;
    transition: 0.25s ease;
}

.btn:hover,
.header-action:hover {
    transform: translateY(-2px);
}

.btn-light {
    color: var(--primary);
    background: #fff;
    border: 1px solid rgba(185, 28, 28, 0.13);
}

.btn-soft {
    color: var(--primary);
    background: var(--soft-red);
}

/*
|--------------------------------------------------------------------------
| Home Hero
|--------------------------------------------------------------------------
*/

.hero {
    position: relative;
    min-height: 100vh;
    padding: 122px 0 44px;
    overflow: hidden;
    background: #fff;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.54) 42%, rgba(255, 255, 255, 0.96) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.00) 62%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(650px, 100%);
    margin-inline-start: auto;
    padding-top: 58px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(254, 226, 226, 0.84);
    border: 1px solid rgba(185, 28, 28, 0.13);
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(42px, 5.2vw, 76px);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 20px;
}

h1 span,
.join-content h2 span {
    color: var(--primary);
}

.hero-lead {
    color: #374151;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 2.05;
    font-weight: 600;
    margin-bottom: 28px;
    max-width: 630px;
}

.hero-actions,
.join-actions,
.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-bottom: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 590px;
}

.stat-card {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(21, 25, 34, 0.08);
    box-shadow: 0 12px 30px rgba(21, 25, 34, 0.06);
    backdrop-filter: blur(12px);
}

.stat-card strong {
    display: block;
    color: var(--primary);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.slider-dots {
    position: absolute;
    z-index: 4;
    right: 50%;
    transform: translateX(50%);
    bottom: 28px;
    display: flex;
    gap: 9px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    border: 0;
    background: rgba(185, 28, 28, 0.24);
    cursor: pointer;
    transition: 0.25s ease;
}

.slider-dot.active {
    width: 34px;
    background: var(--primary);
}

/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.section {
    padding: 76px 0;
}

.section-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-head {
    width: min(820px, 100%);
    margin: 0 auto 38px;
    text-align: center;
}

.section-kicker {
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 10px;
}

.section-head h1,
.section-head h2,
.page-title,
.join-content h2,
.download-content h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.section-head p,
.page-description,
.join-content p,
.download-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.95;
    font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| Page Header
|--------------------------------------------------------------------------
*/

.page-hero {
    padding: 132px 0 56px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(21, 25, 34, 0.06);
}

.page-hero-compact {
    padding-bottom: 46px;
}

.page-hero-content {
    width: min(820px, 100%);
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--soft-red);
    border-radius: 12px;
    padding: 9px 15px;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 18px;
}

.page-title span {
    color: var(--primary);
}

/*
|--------------------------------------------------------------------------
| Cards / Grids
|--------------------------------------------------------------------------
*/

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card,
.service-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(21, 25, 34, 0.07);
    box-shadow: 0 10px 30px rgba(21, 25, 34, 0.05);
    transition: 0.25s ease;
}

.card-soft,
.service-card {
    background: #fff;
}

.service-card {
    padding: 24px;
    min-height: 230px;
}

.service-card::before {
    content: none;
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    left: -70px;
    bottom: -70px;
    background: rgba(185, 28, 28, 0.08);
}

.card-icon,
.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--primary);
    background: var(--soft-red);
    font-size: 24px;
    margin-bottom: 18px;
}

.card h3,
.service-card h3,
.join-card h3,
.app-card h3 {
    font-weight: 900;
}

.card h3,
.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.card p,
.service-card p,
.join-card p,
.app-card p {
    color: var(--muted);
    line-height: 1.85;
    font-weight: 600;
    font-size: 15px;
}

/*
|--------------------------------------------------------------------------
| Advertisement Banner Slider
|--------------------------------------------------------------------------
*/

.ad-banner-slider {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--soft);
    box-shadow: var(--shadow);
}

.ad-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.9s ease, transform 5s ease;
    color: #fff;
}

.ad-banner-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.ad-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-banner-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(21, 25, 34, 0.10) 0%, rgba(21, 25, 34, 0.48) 42%, rgba(21, 25, 34, 0.82) 100%),
        linear-gradient(180deg, rgba(21, 25, 34, 0.00) 40%, rgba(21, 25, 34, 0.45) 100%);
}

.ad-banner-overlay {
    position: absolute;
    right: 34px;
    bottom: 34px;
    z-index: 3;
    width: min(560px, calc(100% - 68px));
}

.ad-banner-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.ad-banner-overlay h3 {
    font-size: clamp(26px, 3.5vw, 44px);
    line-height: 1.25;
    font-weight: 900;
    margin-bottom: 10px;
}

.ad-banner-overlay p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.9;
    font-weight: 700;
}

.ad-banner-dots {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.ad-banner-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: 0.25s ease;
}

.ad-banner-dot.active {
    width: 34px;
    background: #fff;
}

/*
|--------------------------------------------------------------------------
| App Duty Box
|--------------------------------------------------------------------------
*/

.app-duty-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 22px;
    align-items: center;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(185, 28, 28, 0.12);
    box-shadow: var(--shadow);
}

.app-duty-icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    font-size: 40px;
    background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
    box-shadow: 0 18px 42px rgba(185, 28, 28, 0.25);
}

.app-duty-content span {
    display: inline-flex;
    color: var(--primary);
    background: var(--soft-red);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.app-duty-content h2 {
    font-size: clamp(28px, 3.8vw, 46px);
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 14px;
}

.app-duty-content p {
    color: #374151;
    font-size: 17px;
    line-height: 2;
    font-weight: 700;
    margin-bottom: 20px;
}

/*
|--------------------------------------------------------------------------
| Join Section
|--------------------------------------------------------------------------
*/

.join-section {
    padding: 76px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.join-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(185, 28, 28, 0.12);
    box-shadow: var(--shadow);
}

.join-box::after {
    content: none;
    position: absolute;
    width: 380px;
    height: 380px;
    left: -160px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(185, 28, 28, 0.08);
    pointer-events: none;
}

.join-content,
.join-cards {
    position: relative;
    z-index: 2;
}

.join-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--soft-red);
    border-radius: 10px;
    padding: 9px 15px;
    font-weight: 900;
    margin-bottom: 18px;
}

.join-content p {
    color: #374151;
    margin-bottom: 24px;
}

.join-cards {
    display: grid;
    gap: 14px;
}

.join-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(21, 25, 34, 0.07);
    box-shadow: 0 8px 24px rgba(21, 25, 34, 0.05);
}

.join-card-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    box-shadow: 0 16px 34px rgba(185, 28, 28, 0.22);
}

.join-card h3 {
    font-size: 20px;
    margin-bottom: 7px;
}

/*
|--------------------------------------------------------------------------
| Download Section
|--------------------------------------------------------------------------
*/

.download-section {
    padding: 76px 0;
}

.download-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 30px;
    align-items: center;
    padding: 36px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #111827 0%, #7f1d1d 100%);
    box-shadow: 0 18px 52px rgba(21, 25, 34, 0.16);
}

.download-box::before {
    content: none;
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    left: -120px;
    bottom: -150px;
    background: rgba(220, 38, 38, 0.28);
}

.download-content,
.download-visual {
    position: relative;
    z-index: 2;
}

.download-content p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
}

.store-btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: 0.25s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
}

.store-btn strong,
.store-btn span {
    display: block;
}

.store-btn strong {
    font-size: 15px;
    font-weight: 900;
}

.store-btn span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 700;
    margin-bottom: 2px;
}

.phone-card {
    width: min(320px, 100%);
    margin-inline: auto;
    padding: 14px;
    border-radius: 24px;
    background: #0f172a;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    transform: none;
}

.phone-screen {
    min-height: 505px;
    border-radius: 18px;
    padding: 22px;
    color: var(--dark);
    background: linear-gradient(180deg, #ffffff, #fff4f4);
    overflow: hidden;
}

.app-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.mini-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.mini-logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
}

.app-status {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    background: var(--soft-red);
    border-radius: 999px;
    padding: 6px 10px;
}

.app-card {
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.08);
    margin-bottom: 14px;
    border: 1px solid rgba(185, 28, 28, 0.08);
}

.app-card small {
    color: var(--primary);
    font-weight: 900;
}

.app-card h3 {
    margin-top: 8px;
    font-size: 18px;
}

.app-card p {
    font-size: 13px;
    margin-top: 8px;
}

/*
|--------------------------------------------------------------------------
| Badges / Status
|--------------------------------------------------------------------------
*/

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 900;
}

.badge-primary {
    color: var(--primary);
    background: var(--soft-red);
}

.badge-success {
    color: #047857;
    background: #d1fae5;
}

.badge-gray {
    color: #4b5563;
    background: #f3f4f6;
}

.badge-danger {
    color: #b91c1c;
    background: #fee2e2;
}

.badge-distance {
    color: #0369a1;
    background: #e0f2fe;
}

/*
|--------------------------------------------------------------------------
| Forms
|--------------------------------------------------------------------------
*/

.form-box {
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(21, 25, 34, 0.07);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    color: var(--dark);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(21, 25, 34, 0.12);
    border-radius: 12px;
    background: #fff;
    color: var(--dark);
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    transition: 0.25s ease;
}

.form-control[type="search"] {
    min-height: 58px;
    font-size: 16px;
    background: #fff;
}

.filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

textarea.form-control {
    min-height: 140px;
    padding-top: 14px;
    resize: vertical;
}

.form-control:focus {
    border-color: rgba(185, 28, 28, 0.45);
    box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

.nearest-search-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 16px;
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid rgba(185, 28, 28, 0.13);
}

.nearest-search-panel h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 8px;
}

.nearest-search-panel p {
    color: var(--muted);
    line-height: 1.8;
    font-weight: 700;
}

.nearest-search-status {
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.7;
    margin-bottom: 18px;
}

.nearest-search-status[data-status-type="loading"] {
    color: #92400e;
    background: #fef3c7;
    border: 1px solid rgba(146, 64, 14, 0.16);
}

.nearest-search-status[data-status-type="success"] {
    color: #047857;
    background: #d1fae5;
    border: 1px solid rgba(4, 120, 87, 0.16);
}

.nearest-search-status[data-status-type="danger"] {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid rgba(185, 28, 28, 0.16);
}

.btn:disabled,
.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.header-auth-links,
.header-auth-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-auth-form {
    margin: 0;
}

.header-auth-form .header-action {
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.header-user {
    max-width: 150px;
    overflow: hidden;
    color: var(--dark);
    font-size: 14px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-action-light {
    color: var(--primary);
    background: #fff;
    border: 1px solid rgba(185, 28, 28, 0.14);
    box-shadow: none;
}

.notice {
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    margin-bottom: 16px;
}

.notice-success {
    color: #047857;
    background: #d1fae5;
    border: 1px solid rgba(4, 120, 87, 0.16);
}

.notice-danger {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid rgba(185, 28, 28, 0.16);
}

.auth-error-list {
    margin: 0;
    padding-inline-start: 1.1rem;
}

.auth-error-list li + li {
    margin-top: 0.35rem;
}

.location-map-card {
    overflow: hidden;
}

.location-map-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.location-map-header h3 {
    margin-bottom: 6px;
}

.location-map-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.location-map-action {
    min-height: 44px;
    padding-inline: 16px;
    white-space: nowrap;
}

.location-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #f1f5f9;
}

.location-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-map-coordinates {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

/*
|--------------------------------------------------------------------------
| Usage Page
|--------------------------------------------------------------------------
*/

.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.usage-card {
    position: relative;
    min-height: 230px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(21, 25, 34, 0.08);
    box-shadow: 0 10px 30px rgba(21, 25, 34, 0.05);
}

.usage-card-emergency {
    grid-column: 1 / -1;
    min-height: auto;
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    border-color: rgba(185, 28, 28, 0.14);
}

.usage-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 10px;
    color: var(--primary);
    background: var(--soft-red);
    font-size: 13px;
    font-weight: 900;
}

.usage-card h2 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
}

.usage-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    font-weight: 700;
}

.usage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.auth-section {
    min-height: 100vh;
    padding: 150px 0 82px;
    background:
        radial-gradient(circle at 14% 18%, rgba(220, 38, 38, 0.12), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #fff7f7 55%, #f8fafc 100%);
}

.auth-layout {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: 24px;
    align-items: stretch;
    width: min(1040px, 100%);
    margin-inline: auto;
}

.auth-layout-wide {
    width: min(1160px, 100%);
    grid-template-columns: 0.78fr 1.22fr;
}

.auth-panel,
.auth-form {
    min-height: 100%;
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #111827 0%, #7f1d1d 100%);
    box-shadow: var(--shadow);
}

.auth-panel .section-kicker {
    color: #fecaca;
}

.auth-panel h1 {
    font-size: clamp(30px, 4vw, 50px);
    letter-spacing: 0;
    margin-bottom: 16px;
}

.auth-panel p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    font-weight: 700;
    line-height: 2;
}

.auth-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.auth-highlights span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 900;
}

.auth-form h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 18px;
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
}

.auth-switch {
    margin-top: 16px;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 900;
}

.campaign-reservation-card {
    border-color: rgba(185, 28, 28, 0.16);
    background: linear-gradient(180deg, #fff, #fff7f7);
}

.reservation-state {
    padding: 14px 16px;
    border-radius: 18px;
    color: #7c2d12;
    background: #ffedd5;
    font-weight: 900;
    margin-bottom: 16px;
}

.reservation-state-success {
    color: #047857;
    background: #d1fae5;
}

.campaign-stats-card {
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}

.campaign-stats-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.campaign-stats-head h3 {
    margin: 4px 0 0;
}

.campaign-total-indicator {
    min-width: 132px;
    padding: 16px;
    border-radius: 22px;
    text-align: center;
    background: var(--soft-red);
    border: 1px solid rgba(185, 28, 28, 0.12);
}

.campaign-total-indicator span,
.campaign-stat-tile small,
.campaign-stats-summary span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.campaign-total-indicator strong {
    display: block;
    color: var(--primary);
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    margin-top: 7px;
}

.campaign-meter {
    display: flex;
    width: 100%;
    height: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid rgba(21, 25, 34, 0.06);
    margin-bottom: 18px;
}

.campaign-meter span {
    min-width: 0;
    transition: width 0.3s ease;
}

.meter-coming {
    background: #10b981;
}

.meter-interested {
    background: #f59e0b;
}

.meter-not-coming {
    background: #ef4444;
}

.campaign-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.campaign-stat-tile {
    position: relative;
    min-height: 178px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(21, 25, 34, 0.07);
    box-shadow: 0 14px 40px rgba(21, 25, 34, 0.055);
}

.campaign-stat-tile .stat-dot {
    width: 12px;
    height: 12px;
    display: inline-flex;
    border-radius: 999px;
    margin-bottom: 14px;
}

.campaign-stat-tile strong {
    display: block;
    color: var(--dark);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0 14px;
}

.stat-progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #f3f4f6;
    margin-bottom: 10px;
}

.stat-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.campaign-stat-tile em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.stat-coming .stat-dot,
.stat-coming .stat-progress span {
    background: #10b981;
}

.stat-interested .stat-dot,
.stat-interested .stat-progress span {
    background: #f59e0b;
}

.stat-not-coming .stat-dot,
.stat-not-coming .stat-progress span {
    background: #ef4444;
}

.campaign-stats-summary {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(21, 25, 34, 0.06);
}

.campaign-stats-summary strong {
    display: block;
    color: var(--primary);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin-top: 6px;
}

.campaign-stats-summary p {
    margin: 0;
    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    padding: 18px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(21, 25, 34, 0.07);
    box-shadow: 0 18px 56px rgba(21, 25, 34, 0.06);
}

.pagination-summary {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.pagination-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-link,
.pagination-ellipsis {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
}

.pagination-link {
    color: var(--dark);
    background: #f8fafc;
    border: 1px solid rgba(21, 25, 34, 0.08);
    transition: 0.25s ease;
}

.pagination-link:hover {
    color: var(--primary);
    border-color: rgba(185, 28, 28, 0.20);
    transform: translateY(-2px);
}

.pagination-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.22);
}

.pagination-link.disabled {
    color: rgba(107, 114, 128, 0.55);
    cursor: not-allowed;
    background: #f3f4f6;
}

.pagination-link.disabled:hover {
    color: rgba(107, 114, 128, 0.55);
    border-color: rgba(21, 25, 34, 0.08);
    transform: none;
}

.pagination-nav {
    min-width: 76px;
    padding-inline: 14px;
}

.pagination-ellipsis {
    color: var(--muted);
}

/*
|--------------------------------------------------------------------------
| Empty / Loading
|--------------------------------------------------------------------------
*/

.empty-state {
    text-align: center;
    padding: 46px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(21, 25, 34, 0.07);
    box-shadow: 0 10px 30px rgba(21, 25, 34, 0.05);
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
    font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.footer {
    padding: 34px 0 42px;
    background: #fff;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

.footer a {
    color: rgba(107, 114, 128, 0.55);
    transition: 0.25s ease;
}

.footer a:hover {
    color: var(--primary);
}

/*
|--------------------------------------------------------------------------
| Animation
|--------------------------------------------------------------------------
*/

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: 0.75s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1040px) {
    .navbar {
        align-items: flex-start;
        border-radius: 28px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
        margin-inline-start: auto;
    }

    .nav-links,
    .header-auth-links,
    .header-auth-form {
        display: none;
    }

    .navbar.open .nav-links,
    .navbar.open .header-auth-links,
    .navbar.open .header-auth-form {
        display: flex;
    }

    .navbar.open .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        order: 5;
    }

    .navbar.open .nav-links a {
        justify-content: center;
    }

    .navbar.open .header-auth-links,
    .navbar.open .header-auth-form {
        width: 100%;
        flex-direction: column;
        order: 6;
    }

    .navbar.open .header-action,
    .navbar.open .header-auth-form .header-action {
        width: 100%;
    }

    .header-user {
        max-width: 100%;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .hero {
        min-height: auto;
        padding-top: 122px;
    }

    .hero::after {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.82) 44%, rgba(255, 255, 255, 0.98) 100%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.00) 55%, rgba(255, 255, 255, 1) 100%);
    }

    .hero-content {
        padding-top: 28px;
    }

    .grid-2,
    .grid-3,
    .services-grid,
    .auth-layout,
    .auth-layout-wide,
    .nearest-search-panel,
    .usage-grid,
    .campaign-stats-grid,
    .campaign-stats-summary,
    .join-box,
    .download-box {
        grid-template-columns: 1fr;
    }

    .campaign-stats-head {
        flex-direction: column;
    }

    .campaign-total-indicator {
        width: 100%;
    }

    .nearest-search-panel .btn {
        width: 100%;
    }

    .location-map-header {
        display: grid;
    }

    .location-map-action {
        width: 100%;
    }

    .location-map-frame {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }

    .usage-card-emergency {
        grid-column: auto;
    }

    .download-visual {
        order: -1;
    }

    .page-hero {
        padding-top: 132px;
    }
}

@media (max-width: 720px) {
    .ad-banner-slider {
        min-height: 420px;
        border-radius: 28px;
    }

    .ad-banner-overlay {
        right: 22px;
        bottom: 54px;
        width: calc(100% - 44px);
    }

    .ad-banner-overlay p {
        font-size: 15px;
    }

    .ad-banner-dots {
        right: 22px;
        left: auto;
        bottom: 22px;
    }

    .app-duty-box {
        grid-template-columns: 1fr;
        padding: 26px;
        border-radius: 28px;
    }

    .app-duty-icon {
        width: 76px;
        height: 76px;
        border-radius: 24px;
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .site-header {
        top: 10px;
    }

    .container {
        width: min(100% - 22px, 1180px);
    }

    .navbar {
        min-height: 66px;
        padding: 10px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 15px;
    }

    .brand-text strong {
        font-size: 22px;
    }

    .brand-text span {
        display: none;
    }

    .hero {
        padding: 106px 0 44px;
    }

    .hero-content {
        padding-top: 18px;
    }

    h1 {
        letter-spacing: -0.8px;
    }

    .hero-lead,
    .section-head p,
    .join-content p,
    .download-content p,
    .page-description {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section,
    .join-section,
    .download-section {
        padding: 62px 0;
    }

    .join-box,
    .download-box {
        padding: 26px;
        border-radius: 30px;
    }

    .join-card {
        grid-template-columns: 1fr;
    }

    .slider-dots {
        bottom: 16px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .card,
    .form-box,
    .service-card {
        padding: 22px;
        border-radius: 24px;
    }

    .pagination-wrap {
        align-items: stretch;
        flex-direction: column;
        padding: 16px;
        border-radius: 22px;
    }

    .pagination-summary {
        text-align: center;
        white-space: normal;
    }

    .pagination-links {
        justify-content: center;
    }

    .pagination-link,
    .pagination-ellipsis {
        min-width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .pagination-nav {
        min-width: 68px;
    }

    .page-hero {
        padding: 112px 0 52px;
    }
}
