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

:root {
    /* YıkaBunu Color Palette (from Flutter theme.dart) */
    --clr-primary: #3775FF;
    --clr-primary-dark: #2b5fd4;
    --clr-primary-light: #6b9aff;
    --clr-primary-bg: rgba(55, 117, 255, 0.08);
    --clr-secondary: #4658AC;
    --clr-surface: #e0e9f9;
    --clr-surface-light: #eef3fc;
    --clr-bg: #f8faff;
    --clr-bg-hero: linear-gradient(135deg, #e0e9f9 0%, #eef3fc 40%, #f8faff 100%);
    --clr-white: #ffffff;
    --clr-text: #1C1B1B;
    --clr-text-secondary: #434657;
    --clr-text-muted: #747688;
    --clr-border: #C4C5DA;
    --clr-border-light: #e8eaf6;
    --clr-green: #2ecc71;
    --clr-red: #e74c3c;
    --clr-overlay: rgba(55, 117, 255, 0.04);

    /* Typography — DM Sans to match the Flutter app */
    --ff-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ff-heading: 'DM Sans', 'Georgia', serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.25rem;
    --fs-5xl: 3.75rem;

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(55, 117, 255, 0.06);
    --shadow-md: 0 4px 16px rgba(55, 117, 255, 0.10);
    --shadow-lg: 0 8px 30px rgba(55, 117, 255, 0.12);
    --shadow-xl: 0 12px 40px rgba(55, 117, 255, 0.15);
    --shadow-phone: 0 25px 60px rgba(55, 117, 255, 0.20), 0 10px 20px rgba(0, 0, 0, 0.08);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

.section-tag {
    display: inline-block;
    background: var(--clr-primary-bg);
    color: var(--clr-primary);
    font-size: var(--fs-sm);
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--ff-body);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.btn--primary {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
}

.btn--primary:hover {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 117, 255, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--clr-text);
    border-color: var(--clr-border);
}

.btn--outline:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: var(--clr-overlay);
    transform: translateY(-2px);
}

.btn--danger-outline {
    background: transparent;
    color: var(--clr-red);
    border-color: var(--clr-red);
}

.btn--danger-outline:hover {
    background: var(--clr-red);
    color: var(--clr-white);
    border-color: var(--clr-red);
    transform: translateY(-2px);
}

.btn--primary-outline {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.btn--primary-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
    transform: translateY(-2px);
}

.btn--logout {
    background: var(--clr-white);
    color: var(--clr-red);
    border-color: var(--clr-red);
    padding: 8px 24px;
}

.btn--logout:hover {
    background: var(--clr-red);
    color: var(--clr-white);
    border-color: var(--clr-white);
    transform: translateY(-3px);
}

.btn--sm {
    padding: 8px 20px;
    font-size: var(--fs-sm);
}

.btn--lg {
    padding: 14px 32px;
    font-size: var(--fs-base);
}

.btn--full {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #3775FF;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(55, 117, 255, 0.06);
    transition: all var(--transition-base);
}

.header--scrolled {
    box-shadow: 0 2px 12px rgba(55, 117, 255, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo__img {
    height: 140px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

.logo__img--footer {
    height: 180px;
    /* Logoyu daha da büyüttük */
    filter: brightness(0) invert(1);
    /* logoyu siyaha çevirip invert yaparak beyaza çeviriyor*/
    margin-left: -230px;
    margin-top: -60px;
    margin-bottom: -20px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    margin-right: auto;
    margin-left: 48px;
}

.nav__link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-white);
    position: relative;
    padding: var(--sp-2) 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: #000000;
}

.nav__link:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    margin-right: -24px;
    /* Bu kısmı ekstra sağa kaydırır */
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-2);
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 72px;
    background: var(--clr-bg-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(55, 117, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(70, 88, 172, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
    padding: var(--sp-16) 0;
}

.hero__badge {
    display: inline-block;
    background: var(--clr-primary-bg);
    color: var(--clr-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-6);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.hero__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-5xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--clr-text);
    margin-bottom: var(--sp-6);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-10);
    max-width: 480px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.35s forwards;
}

.hero__cta {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-12);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero__trust {
    display: flex;
    gap: var(--sp-8);
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.65s forwards;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--clr-text-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.hero__trust-item svg {
    color: var(--clr-primary);
}

/* ===== PHONE MOCKUP ===== */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.phone-mockup {
    perspective: 1000px;
}

.phone-mockup__frame {
    width: 290px;
    background: var(--clr-white);
    border-radius: 40px;
    box-shadow: var(--shadow-phone);
    padding: 12px;
    position: relative;
    border: 2px solid rgba(55, 117, 255, 0.1);
    transition: transform var(--transition-slow);
}

.phone-mockup__frame:hover {
    transform: rotateY(-5deg) rotateX(3deg) scale(1.02);
}

.phone-mockup__notch {
    width: 100px;
    height: 26px;
    background: var(--clr-text);
    border-radius: 0 0 16px 16px;
    margin: 0 auto 10px;
    position: relative;
}

.phone-mockup__notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.phone-mockup__screen {
    border-radius: 28px;
    overflow: hidden;
    background: var(--clr-surface-light);
    position: relative;
    height: 480px;
}

/* ===== APP SLIDES (phone animation) ===== */
.app-slides {
    position: relative;
    width: 100%;
    height: calc(100% - 30px);
    overflow: hidden;
}

.app-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.app-slide--active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.app-slides__dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.app-slides__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-border);
    transition: all var(--transition-base);
    cursor: pointer;
}

.app-slides__dot--active {
    width: 20px;
    border-radius: 4px;
    background: var(--clr-primary);
}

/* App UI shared styles */
.app-ui {
    padding: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-ui__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--clr-border-light);
}

.app-ui__header-back {
    font-size: 16px;
    font-weight: 700;
    color: var(--clr-primary);
    cursor: pointer;
}

.app-ui__header-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-text);
    flex: 1;
    text-align: center;
}

.app-ui__header-icon {
    width: 28px;
    height: 28px;
    background: var(--clr-primary-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slide 1: Map */
.app-ui__map {
    flex: 1;
    background: #e8ecf3;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    min-height: 200px;
}

.map-grid {
    position: absolute;
    inset: 0;
}

.map-road {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
}

.map-road--h {
    left: 0;
    right: 0;
    height: 3px;
}

.map-road--v {
    top: 0;
    bottom: 0;
    width: 3px;
}

.map-pin {
    position: absolute;
    z-index: 2;
    animation: pinBounce 2s ease infinite;
}

.map-pin--user {
    z-index: 3;
    animation: none;
}

.map-pin__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(55, 117, 255, 0.15);
    animation: pulse 2s ease-out infinite;
}

.map-pin--biz:nth-child(3) {
    animation-delay: 0.3s;
}

.map-pin--biz:nth-child(4) {
    animation-delay: 0.6s;
}

.app-ui__bottom-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.app-ui__biz-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--clr-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.app-ui__biz-info {
    flex: 1;
}

.app-ui__biz-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--clr-text);
}

.app-ui__biz-dist {
    font-size: 10px;
    color: var(--clr-text-muted);
}

.app-ui__biz-btn {
    padding: 6px 14px;
    background: var(--clr-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
}

/* Slide 2: Service list */
.app-ui__service-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.app-ui__service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.app-ui__service-item--selected {
    border-color: var(--clr-primary);
    background: var(--clr-primary-bg);
}

.app-ui__service-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--clr-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.app-ui__service-info {
    flex: 1;
}

.app-ui__service-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-text);
}

.app-ui__service-price {
    font-size: 11px;
    color: var(--clr-primary);
    font-weight: 700;
}

.app-ui__service-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--clr-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.app-ui__order-btn {
    margin-top: 12px;
    padding: 12px;
    background: var(--clr-primary);
    color: white;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-md);
}

/* Slide 3: Order status */
.app-ui__status {
    flex: 1;
    padding: 8px 0;
}

.status-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    position: relative;
}

.status-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 30px;
    bottom: -10px;
    width: 2px;
    background: var(--clr-border-light);
}

.status-step--done:not(:last-child)::after {
    background: var(--clr-primary);
}

.status-step__dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--clr-border);
    background: var(--clr-white);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.status-step--done .status-step__dot {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
}

.status-step--done .status-step__dot::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.status-step--active .status-step__dot {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(55, 117, 255, 0.15);
}

.status-step--active .status-step__dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s ease-out infinite;
}

.status-step__info {
    flex: 1;
}

.status-step__title {
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-text);
}

.status-step--done .status-step__title,
.status-step--active .status-step__title {
    color: var(--clr-text);
}

.status-step__time {
    font-size: 10px;
    color: var(--clr-text-muted);
}

.app-ui__order-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: var(--clr-primary-bg);
    border-radius: var(--radius-md);
    margin-top: auto;
}

.app-ui__order-label {
    font-size: 12px;
    color: var(--clr-text-secondary);
    font-weight: 500;
}

.app-ui__order-total {
    font-size: 18px;
    font-weight: 800;
    color: var(--clr-primary);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: var(--sp-24) 0;
    background: var(--clr-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-16);
}

.section-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: var(--sp-4);
    color: var(--clr-text);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.steps__grid {
    display: flex;
    flex-direction: column;
    gap: var(--sp-8);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Dashed vertical line in the middle */
.steps__grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    border-left: 2px dashed var(--clr-primary);
    opacity: 0.3;
}

.step-card {
    background: var(--clr-bg);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    position: relative;
    border: 1px solid var(--clr-border-light);
    transition: all var(--transition-base);
    width: calc(50% - 40px);
}

.step-card:nth-child(odd) {
    align-self: flex-start;
    text-align: right;
}

.step-card:nth-child(even) {
    align-self: flex-end;
    text-align: left;
}

/* Circle indicator on the center line */
.step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clr-primary);
    border: 4px solid var(--clr-bg);
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(55, 117, 255, 0.2);
}

.step-card:nth-child(odd)::after {
    right: -48px;
}

.step-card:nth-child(even)::after {
    left: -48px;
}

.step-card:hover {
    transform: scale(1.05);
    /* growth effect */
    box-shadow: var(--shadow-lg);
    border-color: rgba(55, 117, 255, 0.4);
}

.step-card__icon {
    width: 56px;
    height: 56px;
    background: var(--clr-primary-bg);
    color: var(--clr-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
    transition: all var(--transition-base);
}

.step-card:nth-child(odd) .step-card__icon {
    margin-left: auto;
}

.step-card:nth-child(even) .step-card__icon {
    margin-right: auto;
}

.step-card:hover .step-card__icon {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.step-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}

.step-card__desc {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.7;
}

.step-card__number {
    position: absolute;
    top: 16px;
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: rgba(55, 117, 255, 0.08);
    line-height: 1;
}

.step-card:nth-child(odd) .step-card__number {
    left: 16px;
}

.step-card:nth-child(even) .step-card__number {
    right: 16px;
}

@media (max-width: 768px) {
    .steps__grid::before {
        left: 20px;
        transform: none;
    }

    .step-card {
        width: 100%;
        padding-left: 60px;
        align-self: stretch !important;
        text-align: left !important;
    }

    .step-card:nth-child(odd)::after,
    .step-card:nth-child(even)::after {
        left: 12px;
        right: auto;
    }

    .step-card:nth-child(odd) .step-card__icon,
    .step-card:nth-child(even) .step-card__icon {
        margin-left: 0;
        margin-right: auto;
    }

    .step-card:nth-child(odd) .step-card__number,
    .step-card:nth-child(even) .step-card__number {
        right: 16px;
        left: auto;
    }
}

/* ===== MISSION ===== */
.mission {
    padding: var(--sp-24) 0;
    background: linear-gradient(135deg, #1C1B1B 0%, #2a2d4a 100%);
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(55, 117, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.mission__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--sp-16);
    align-items: start;
}

.mission__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: var(--sp-6);
}

.mission__desc {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--sp-10);
}

.mission__features {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

.mission__feature {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}

.mission__feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(55, 117, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--clr-primary-light);
}

.mission__feature h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: var(--sp-1);
}

.mission__feature p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.mission__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-card__number {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--clr-primary-light);
    line-height: 1.2;
    margin-bottom: var(--sp-2);
}

.stat-card__label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* ===== FEATURES ===== */
.features {
    padding: var(--sp-24) 0;
    background: var(--clr-bg);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.feature-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    border: 1px solid var(--clr-border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    background: var(--clr-primary-bg);
    color: var(--clr-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-5);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.feature-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-3);
}

.feature-card__desc {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.7;
}

/* ===== DOWNLOAD ===== */
.download {
    padding: var(--sp-24) 0;
    background: var(--clr-white);
}

.download__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: start;
}

.download__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: var(--sp-4);
}

.download__desc {
    color: var(--clr-text-secondary);
    font-size: var(--fs-md);
    line-height: 1.7;
    margin-bottom: var(--sp-12);
}

.stats {
    display: flex;
    gap: var(--sp-12);
}

.stat__number {
    display: block;
    font-size: var(--fs-3xl);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--clr-primary);
    line-height: 1.2;
}

.stat__label {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

.download__right {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border-light);
    border-radius: var(--radius-lg);
    padding: var(--sp-6) var(--sp-8);
    transition: all var(--transition-base);
}

.download-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.download-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--sp-1);
}

.download-card__version {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-4);
}

.download-card__qr {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.download-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--sp-24) 0;
    background: var(--clr-bg);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: start;
}

.contact__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: var(--sp-6);
}

.contact__desc {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-10);
}

.contact__channels {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.contact__channel {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.contact__channel-icon {
    width: 44px;
    height: 44px;
    background: var(--clr-primary-bg);
    color: var(--clr-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__channel-label {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact__channel-value {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--clr-text);
}

.contact__form-wrapper {
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    padding: var(--sp-10);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-border-light);
}

.form-group {
    margin-bottom: var(--sp-5);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-text-secondary);
    margin-bottom: var(--sp-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--clr-bg);
    border: 1.5px solid var(--clr-border-light);
    border-radius: var(--radius-md);
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--clr-text);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(55, 117, 255, 0.1);
    background: var(--clr-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--clr-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23747688' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--clr-text);
    color: var(--clr-white);
    padding: var(--sp-20) 0 var(--sp-8);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-12);
    margin-bottom: var(--sp-16);
}

.footer__brand {
    margin-bottom: 75px;
}

.footer__tagline {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
    max-width: 280px;
}

.footer__socials {
    display: flex;
    gap: var(--sp-3);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-3px);
}

.footer__heading {
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--sp-6);
}

.footer__links li {
    margin-bottom: var(--sp-3);
}

.footer__links a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--transition-fast);
}

.footer__links a:hover {
    color: var(--clr-white);
    padding-left: 4px;
}

.footer__bottom {
    padding-top: var(--sp-8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer__bottom p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes pinBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Scroll animation class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: var(--fs-4xl);
    }

    .hero__inner {
        gap: var(--sp-8);
    }

    .phone-mockup__frame {
        width: 260px;
    }

    .phone-mockup__screen {
        height: 420px;
    }



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

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-8);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(248, 250, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--sp-8);
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav__link {
        font-size: var(--fs-xl);
    }

    .header__actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--sp-10) 0;
    }

    .hero__title {
        font-size: var(--fs-3xl);
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .phone-mockup__frame {
        width: 240px;
    }

    .phone-mockup__screen {
        height: 400px;
    }



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

    .mission__title {
        font-size: var(--fs-3xl);
    }

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

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

    .download__inner {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
    }

    .download__title {
        font-size: var(--fs-2xl);
    }

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

    .contact__title {
        font-size: var(--fs-3xl);
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }

    .section-title {
        font-size: var(--fs-2xl);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: var(--fs-2xl);
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .btn--lg {
        width: 100%;
    }



    .stats {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .download-card {
        flex-direction: column;
        text-align: center;
        gap: var(--sp-4);
    }
}



/* ===== AUTH PAGES — GLASSMORPHISM ===== */
.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px 20px;
    background: linear-gradient(135deg, #e8edf5 0%, #dce4f4 30%, #eef3fc 60%, #f8faff 100%);
    overflow: hidden;
}

/* Animated floating blobs */
.auth-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: authFloat 12s ease-in-out infinite;
}

.auth-blob--1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(55, 117, 255, 0.35), rgba(70, 88, 172, 0.25));
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.auth-blob--2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(70, 88, 172, 0.3), rgba(55, 117, 255, 0.2));
    bottom: -5%;
    right: -5%;
    animation-delay: -4s;
    animation-duration: 15s;
}

.auth-blob--3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(107, 154, 255, 0.3), rgba(55, 117, 255, 0.15));
    top: 50%;
    left: 60%;
    animation-delay: -8s;
    animation-duration: 18s;
}

@keyframes authFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(15px, 35px) scale(1.02);
    }
}

/* Glass card */
.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 44px 40px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 32px rgba(55, 117, 255, 0.10),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: authCardIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Card header */
.auth-card__header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(55, 117, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(55, 117, 255, 0.12);
}

.auth-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 6px;
}

.auth-card__subtitle {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--clr-text-muted);
    pointer-events: none;
    transition: color var(--transition-base);
}

.auth-input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    color: var(--clr-text);
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(200, 210, 230, 0.6);
    border-radius: 12px;
    outline: none;
    transition: all var(--transition-base);
}

.auth-input::placeholder {
    color: #aab2c0;
}

.auth-input:hover {
    border-color: rgba(55, 117, 255, 0.3);
    background: rgba(255, 255, 255, 0.85);
}

.auth-input:focus {
    border-color: var(--clr-primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(55, 117, 255, 0.10);
}

.auth-input:focus~.auth-input-icon,
.auth-input-wrapper:focus-within .auth-input-icon {
    color: var(--clr-primary);
}

.auth-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23747688' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Error */
.auth-error {
    display: none;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #c0392b;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.15);
    border-radius: 10px;
}

/* Submit button */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(55, 117, 255, 0.25);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(55, 117, 255, 0.35);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer link */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.auth-footer a {
    color: var(--clr-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-footer a:hover {
    color: var(--clr-primary-dark);
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .auth-card__title {
        font-size: 1.35rem;
    }

    .auth-blob--1 {
        width: 250px;
        height: 250px;
    }

    .auth-blob--2 {
        width: 200px;
        height: 200px;
    }

    .auth-blob--3 {
        width: 150px;
        height: 150px;
    }
}

/* Password visibility toggle */
.auth-input--password {
    padding-right: 48px;
}

.auth-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-toggle-password:hover {
    color: var(--clr-primary);
    background: rgba(55, 117, 255, 0.06);
}

/* ===== PAGE LAYOUT — App Pages ===== */
.page-main {
    padding-top: 100px;
    min-height: 80vh;
    padding-bottom: 60px;
    background: var(--clr-bg);
}

.page-header {
    margin-bottom: 32px;
}

.page-header .section-tag {
    margin-bottom: 12px;
}

.page-header h1 {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--clr-text-muted);
    font-size: var(--fs-base);
}

/* ===== SEARCH INPUT ===== */
.search-wrapper {
    position: relative;
    margin-bottom: 28px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--clr-border-light);
    border-radius: var(--radius-lg);
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--clr-text);
    background: var(--clr-white);
    transition: all var(--transition-base);
    outline: none;
}

.search-input:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px var(--clr-primary-bg);
}

.search-input::placeholder {
    color: var(--clr-text-muted);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-muted);
    pointer-events: none;
    transition: color var(--transition-base);
}

.search-wrapper:focus-within .search-icon {
    color: var(--clr-primary);
}

/* ===== BUSINESS CARDS ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

.business-card {
    display: flex;
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border-light);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.business-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-primary-light);
}

.business-card__image {
    width: 130px;
    min-height: 140px;
    background: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.business-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-card__image svg {
    width: 44px;
    height: 44px;
    color: var(--clr-primary);
}

.business-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.business-card__name {
    font-weight: 700;
    font-size: var(--fs-md);
    color: var(--clr-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-card__category {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: 14px;
}

.business-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    color: var(--clr-primary);
    font-weight: 600;
}

.business-card__meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.business-card__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    margin-top: 6px;
}

.business-card__phone svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--clr-text-muted);
}

/* ===== TAB BAR ===== */
.tab-bar {
    display: flex;
    border-bottom: 2px solid var(--clr-border-light);
    margin-bottom: 28px;
    gap: 0;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 14px 24px;
    font-weight: 600;
    font-size: var(--fs-base);
    color: var(--clr-text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-base);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--ff-body);
}

.tab-item:hover {
    color: var(--clr-primary);
}

.tab-item.active {
    color: var(--clr-primary);
    border-bottom-color: var(--clr-primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ===== ORDER CARDS ===== */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--clr-border-light);
    transition: all var(--transition-base);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.order-card__business {
    font-weight: 700;
    font-size: var(--fs-md);
    color: var(--clr-text);
}

.order-card__number {
    font-family: 'Courier New', monospace;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--clr-primary);
    margin-top: 2px;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.order-status-badge--received {
    background: rgba(55, 117, 255, 0.1);
    color: var(--clr-primary);
}

.order-status-badge--preparing {
    background: rgba(255, 165, 0, 0.1);
    color: #e67e00;
}

.order-status-badge--washing {
    background: rgba(0, 150, 255, 0.1);
    color: #0096ff;
}

.order-status-badge--onTheWay {
    background: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
}

.order-status-badge--readyForPickup {
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
}

.order-status-badge--delivered {
    background: rgba(46, 204, 113, 0.1);
    color: var(--clr-green);
}

.order-status-badge--cancelled {
    background: rgba(231, 76, 60, 0.1);
    color: var(--clr-red);
}

.order-status-badge--paymentPending {
    background: rgba(255, 165, 0, 0.1);
    color: #e67e00;
}

.order-status-badge--paymentRejected {
    background: rgba(231, 76, 60, 0.1);
    color: var(--clr-red);
}

.order-card__summary {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: 16px;
}

.order-card__divider {
    border: none;
    border-top: 1px solid var(--clr-border-light);
    margin: 0 0 12px 0;
}

.order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-card__date {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
}

.order-card__detail-btn {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--clr-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-family: var(--ff-body);
}

.order-card__detail-btn:hover {
    background: var(--clr-primary-bg);
}

/* ===== PROFILE PAGE ===== */
.profile-header {
    text-align: center;
    margin-bottom: 48px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 42px;
    font-weight: 800;
    color: var(--clr-primary);
    position: relative;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 4px;
}

.profile-email {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    border: none;
    background: none;
    width: 100%;
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    text-align: left;
}

.profile-menu-item:hover {
    background: var(--clr-surface-light);
}

.profile-menu-item__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.profile-menu-item__content {
    flex: 1;
    min-width: 0;
}

.profile-menu-item__title {
    font-weight: 700;
    font-size: var(--fs-base);
    color: var(--clr-text);
}

.profile-menu-item__subtitle {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    margin-top: 2px;
}

.profile-menu-item__arrow {
    color: var(--clr-text-muted);
    flex-shrink: 0;
}

.profile-menu-item--danger .profile-menu-item__icon {
    background: rgba(231, 76, 60, 0.08);
}

.profile-menu-item--danger .profile-menu-item__title {
    color: var(--clr-red);
}

.profile-menu-item--danger .profile-menu-item__icon svg {
    color: var(--clr-red);
}

.profile-divider {
    border: none;
    border-top: 1px solid var(--clr-border-light);
    margin: 20px 0;
}

/* ===== ACCOUNT LAYOUT (WEB) ===== */
.container.account-layout {
    max-width: 1536px;
    padding: 0 48px;
}

.account-layout {
    display: flex;
    gap: 60px;
    margin: 0 auto;
    align-items: flex-start;
}

.account-sidebar {
    width: 320px;
    flex-shrink: 0;
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border-light);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.account-content {
    flex: 1;
    min-width: 0;
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border-light);
    padding: 32px;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    color: var(--clr-text);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all var(--transition-fast);
}

.account-nav__link svg {
    width: 20px;
    height: 20px;
    color: var(--clr-text-muted);
    flex-shrink: 0;
}

.account-nav__link:hover {
    background: var(--clr-surface-light);
}

.account-nav__link.active {
    background: var(--clr-primary-bg);
    color: var(--clr-primary);
}

.account-nav__link.active svg {
    color: var(--clr-primary);
}

.account-nav__link.text-danger {
    color: var(--clr-red);
}

.account-nav__link.text-danger svg {
    color: var(--clr-red);
}

.account-nav__link.text-danger:hover {
    background: rgba(231, 76, 60, 0.08);
}

@media (max-width: 992px) {
    .account-layout {
        gap: 20px;
    }

    .account-sidebar {
        width: 240px;
    }

    .account-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .account-layout {
        flex-direction: column;
    }

    .account-sidebar {
        width: 100%;
        position: static;
        padding: 20px;
    }

    .account-content {
        padding: 20px;
        border: none;
        background: transparent;
    }
}

/* ===== SETTINGS PAGE ===== */
.settings-card {
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--clr-border-light);
    margin-bottom: 24px;
}

.settings-card__title {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 6px;
}

.settings-card__subtitle {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: 28px;
}

.settings-field {
    margin-bottom: 24px;
}

.settings-field:last-child {
    margin-bottom: 0;
}

.settings-field__label {
    display: block;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--clr-text);
    margin-bottom: 8px;
}

.settings-field__input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--clr-border-light);
    border-radius: var(--radius-md);
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--clr-text);
    background: var(--clr-surface-light);
    transition: all var(--transition-base);
    outline: none;
}

.settings-field__input:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px var(--clr-primary-bg);
    background: var(--clr-white);
}

.settings-field__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-primary);
    pointer-events: none;
}

.settings-field__input-wrap {
    position: relative;
}

/* Toggle Switch */
.toggle-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--clr-border-light);
}

.toggle-item:last-child {
    border-bottom: none;
}

.toggle-item__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toggle-item__icon svg {
    width: 22px;
    height: 22px;
    color: var(--clr-primary);
}

.toggle-item__content {
    flex: 1;
    min-width: 0;
}

.toggle-item__title {
    font-weight: 700;
    font-size: var(--fs-base);
    color: var(--clr-text);
}

.toggle-item__desc {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    margin-top: 2px;
}

/* Custom toggle switch */
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--clr-border);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.toggle-switch__slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked+.toggle-switch__slider {
    background-color: var(--clr-primary);
}

.toggle-switch input:checked+.toggle-switch__slider::before {
    transform: translateX(24px);
}

.toggle-switch input:focus+.toggle-switch__slider {
    box-shadow: 0 0 0 3px var(--clr-primary-bg);
}

/* Settings Info Box */
.settings-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--clr-primary-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(55, 117, 255, 0.12);
    margin-top: 24px;
}

.settings-info svg {
    width: 20px;
    height: 20px;
    color: var(--clr-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.settings-info p {
    font-size: var(--fs-xs);
    color: var(--clr-primary);
    line-height: 1.5;
}

/* Save Button */
.settings-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    background: var(--clr-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--ff-body);
    font-size: var(--fs-md);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
}

.settings-save-btn:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.settings-save-btn:active {
    transform: translateY(0);
}

.settings-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--clr-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state__icon svg {
    width: 36px;
    height: 36px;
    color: var(--clr-primary);
}

.empty-state__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 8px;
}

.empty-state__text {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    max-width: 300px;
    margin: 0 auto;
}

/* ===== TOAST / SNACKBAR ===== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--clr-text);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-size: var(--fs-sm);
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast--success {
    background: var(--clr-green);
}

.toast--error {
    background: var(--clr-red);
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.loading-spinner::after {
    content: "";
    width: 36px;
    height: 36px;
    border: 3px solid var(--clr-border-light);
    border-top-color: var(--clr-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE — App Pages ===== */
@media (max-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card__image {
        width: 100px;
        min-height: 110px;
    }

    .settings-card {
        padding: 24px 20px;
    }

    .order-card {
        padding: 18px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 34px;
    }

    .tab-item {
        padding: 12px 16px;
        font-size: var(--fs-sm);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: var(--fs-xl);
    }

    .order-card__header {
        flex-direction: column;
        gap: 8px;
    }

    .business-card {
        flex-direction: column;
    }

    .business-card__image {
        width: 100%;
        min-height: 120px;
        max-height: 160px;
    }
}