:root {
    --brand-yellow: #FCD34D;
    --brand-orange: #F59E0B;
    --brand-orange-dark: #D97706;
    --brand-red: #DC2626;
    --brand-ink: #111827;
    --brand-ink-soft: #1F2937;

    --primary: var(--brand-orange);
    --primary-dark: var(--brand-orange-dark);
    --secondary: #FBBF24;
    --accent: var(--brand-red);
    --dark: var(--brand-ink);
    --gray: #475569;
    --light-gray: #E2E8F0;
    --bg-light: #FFF7E6;
    --white: #FFFFFF;
    --surface: #FFFFFF;
    --surface-muted: #FFF3D6;
    --border: rgba(17, 24, 39, 0.08);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 10px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 12px 28px rgba(17, 24, 39, 0.12);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.18);
    --shadow-xl: 0 30px 80px rgba(17, 24, 39, 0.22);
    --shadow-glow: 0 0 24px rgba(245, 158, 11, 0.35);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --gradient-brand: linear-gradient(135deg, var(--primary), var(--secondary));
    --focus-outline: 2px solid rgba(245, 158, 11, 0.7);
    --focus-ring: 0 0 0 3px rgba(245, 158, 11, 0.22);
    --safe-bottom: env(safe-area-inset-bottom);
    --safe-top: env(safe-area-inset-top);
    --tap-target: 44px;
    --mobile-container-padding: 16px;
    --mobile-section-padding: 60px;
    --mobile-section-padding-tight: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body.nav-lock {
    overflow: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white {
    color: var(--white);
}

.text-white-dim {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.28);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
}

.btn-success {
    background: #48BB78;
    color: white;
}

.btn-success:hover {
    background: #38A169;
    transform: translateY(-2px);
}


.btn:focus-visible,
.lang-btn:focus-visible,
.nav-links a:focus-visible,
.mobile-menu-btn:focus-visible,
.review-nav:focus-visible,
.toast-close:focus-visible,
.close-modal:focus-visible,
.selection-card:focus-within,
.selection-card-link:focus-visible,
.mini-upload:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    box-shadow: var(--focus-ring);
}

.text-input:focus-visible,
.text-area:focus-visible,
.text-area-small:focus-visible,
.select-input:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 1px;
}

/* Navbar */
.navbar {
    padding: calc(18px + var(--safe-top)) 0 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
    transition: all 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(52px, 4.5vw, 66px);
    height: clamp(52px, 4.5vw, 66px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.logo:hover {
    transform: scale(1.07);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.18), 0 10px 26px rgba(15, 23, 42, 0.16);
}

.nav-logo {
    width: clamp(34px, 3.2vw, 46px);
    height: clamp(34px, 3.2vw, 46px);
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s ease;
}

.logo .nav-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo:hover .nav-logo {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 15px;
    /* Reduced from 30px */
    align-items: center;
    flex-wrap: wrap;
    /* Allow wrapping securely */
}

.nav-links a {
    font-weight: 600;
    color: var(--gray);
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.95rem;
    /* Slight reduction */
    white-space: nowrap;
    /* Prevent breaking words */
}



.nav-links a:hover {
    color: var(--primary);
    background: rgba(245, 158, 11, 0.12);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--gray);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.95rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s, background 0.3s;
}

.dropdown-toggle i {
    width: 16px;
    height: 16px;
}

.dropdown-toggle:hover,
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle {
    color: var(--primary);
    background: rgba(245, 158, 11, 0.12);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.dropdown-menu a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--gray);
    font-weight: 600;
    background: transparent;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    color: var(--primary);
    background: rgba(245, 158, 11, 0.12);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links a.active,
.nav-links a[aria-current='page'] {
    color: var(--primary);
    background: rgba(245, 158, 11, 0.15);
    font-weight: 700;
}

.lang-toggle {
    display: flex;
    gap: 6px;
    margin-left: 16px;
    align-items: center;
}

.nav-cta {
    white-space: nowrap;
}

.lang-btn {
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: transparent;
    color: var(--dark);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mobile-menu-btn:hover {
    transform: translateY(-1px);
    background: rgba(245, 158, 11, 0.2);
    box-shadow: var(--shadow-sm);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-carousel {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
    padding: 10px 0;
    mask-image: none;
    -webkit-mask-image: none;
}

.gallery-card {
    min-width: 260px;
    max-width: 260px;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    background: white;
    cursor: pointer;
    border: 1px solid var(--border);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#orderModal.modal-backdrop .modal-content {
    animation: fadeIn 0.3s;
}

#templatesGalleryTrack .gallery-card.template-card {
    height: auto;
    padding: 0;
    overflow: hidden;
}

#templatesGalleryTrack .gallery-card.template-card .card-image {
    height: 340px;
}

#templatesGalleryTrack .gallery-card.template-card .card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#templatesGalleryTrack .gallery-card.template-card .card-info {
    padding: 18px;
}

.templates-gallery-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 24px;
}

.templates-gallery-categories .category-loading {
    color: var(--gray);
    font-weight: 600;
}

.templates-gallery-categories .cat-btn {
    padding: 10px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.templates-gallery-categories .cat-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.templates-gallery-categories .cat-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

@media (max-width: 768px) {
    .templates-gallery-categories {
        justify-content: flex-start;
        padding: 0 15px;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
    }

    .templates-gallery-categories::-webkit-scrollbar {
        display: none;
    }

    .templates-gallery-categories .cat-btn {
        flex: 0 0 auto;
        padding: 8px 16px;
        font-size: 0.85rem;
        scroll-snap-align: start;
    }
}

.gallery-nav {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--primary);
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.gallery-nav i {
    width: 26px;
    height: 26px;
}

.gallery-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#gallery .gallery-carousel::before,
#gallery .gallery-carousel::after {
    content: none;
}

.gallery-empty {
    color: var(--gray);
    padding: 30px;
    width: 100%;
    text-align: center;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Video Section */
.video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-top: 40px;
}

.video-container video {
    width: 100%;
    display: block;
}

/* Hero Section */
.hero {
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 10% 0%, rgba(245, 158, 11, 0.14), transparent 60%),
        radial-gradient(900px 500px at 90% 10%, rgba(251, 191, 36, 0.16), transparent 60%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.6rem;
    margin-bottom: 18px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-image {
    position: relative;
    perspective: 1000px;
}

.floating-cards {
    position: relative;
    height: 500px;
    width: 100%;
}

.card {
    position: absolute;
    width: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
    border: 1px solid var(--border);
    will-change: transform;
    transform-origin: center;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Smoother transitions for Hero Cards */
.card-1 {
    top: 50px;
    left: 50px;
    z-index: 2;
    transform: rotate(-3deg) translateZ(0);
    /* Use transition for smooth state change, but keep animation for float */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.6s ease,
        z-index 0s linear 0.4s;
    /* Delay z-index swap */
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 100px;
    right: 50px;
    z-index: 1;
    transform: rotate(4deg) translateZ(0);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.6s ease,
        z-index 0s linear 0.4s;
    animation: float 6s ease-in-out infinite 3s;
}

.floating-cards.swap-active .card-1 {
    /* Override animation with static transform for interaction state */
    animation: none;
    transform: translate(60px, 20px) rotate(8deg) scale(0.98);
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        z-index 0s linear;
    /* Instant z-index swap on enter */
    box-shadow: var(--shadow-lg);
}

.floating-cards.swap-active .card-2 {
    animation: none;
    transform: translate(-60px, -20px) rotate(-8deg) scale(1.02);
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        z-index 0s linear;
    box-shadow: var(--shadow-lg);
}

/* On exit, we just let them fall back to original state via transition */
.floating-cards.swap-exit .card-1,
.floating-cards.swap-exit .card-2 {
    /* No special exit class needed if we rely on base class transitions, 
       but we keep the selector to ensure overrides are cleared */
    animation: float 6s ease-in-out infinite;
    /* The transition property on base .card-1/.card-2 handles the smoothing back */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes swap-orbit-1 {
    0% {
        transform: rotate(-3deg) translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, 10px) rotate(5deg) scale(0.99);
    }

    100% {
        transform: translate(60px, 20px) rotate(8deg) scale(0.98);
    }
}

@keyframes swap-orbit-2 {
    0% {
        transform: rotate(4deg) translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-25px, -10px) rotate(-5deg) scale(1.01);
    }

    100% {
        transform: translate(-60px, -20px) rotate(-8deg) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {

    .card-1,
    .card-2,
    .floating-cards.swap-active .card-1,
    .floating-cards.swap-active .card-2,
    .floating-cards.swap-exit .card-1,
    .floating-cards.swap-exit .card-2 {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Sections */
.section,
#faq,
#reviews,
#gallery,
#how-it-works,
#track-order {
    scroll-margin-top: calc(85px + var(--safe-top, 0px));
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header p {
    color: var(--gray);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    width: 40px;
    height: 40px;
}

/* Features */
.bg-dark {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 247, 230, 0.95), rgba(255, 255, 255, 0.98));
    color: var(--dark);
    border-radius: clamp(18px, 3vw, 32px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.bg-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(245, 158, 11, 0.18), transparent 60%),
        radial-gradient(500px 260px at 85% 20%, rgba(251, 191, 36, 0.2), transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.bg-dark::after {
    content: none;
}

.bg-dark>.container {
    position: relative;
    z-index: 1;
}

.bg-dark .feature-list li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.bg-dark .feature-list h4 {
    color: var(--dark);
}

.bg-dark .feature-list p {
    color: var(--gray);
}

.bg-dark .section-header h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    margin-bottom: 40px;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Increased gap */
}

.feature-list li {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.feature-list h4 {
    font-size: 1.5rem;
    /* Larger title */
    margin-bottom: 8px;
    color: var(--primary);
    /* Highlight color */
}

.feature-list p {
    font-size: 1.1rem;
    /* Larger text */
    color: rgba(255, 255, 255, 0.9);
}

.f-icon {
    width: 70px;
    /* Larger icon container */
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.f-icon i {
    width: 32px;
    height: 32px;
}

.rounded-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* CTA */
.cta-section {
    background: var(--gradient-brand);
    padding: 120px 0;
}

.cta-section h2 {
    margin-bottom: 24px;
}

.cta-section p {
    margin-bottom: 40px !important;
}

.cta-section .btn {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + var(--safe-bottom));
    z-index: 1200;
    display: none;
    padding-bottom: calc(2px + var(--safe-bottom));
}

.mobile-cta .btn {
    width: 100%;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: #fff;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-delayed {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews Marquee */
.reviews-section {
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.9) 0%, rgba(255, 255, 255, 1) 60%, rgba(247, 250, 252, 0.9) 100%);
}

/* Affiliate Callout */
.affiliate-section {
    background: radial-gradient(900px 400px at 10% 10%, rgba(245, 158, 11, 0.12), transparent 60%);
}

.affiliate-callout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.affiliate-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.affiliate-callout-text h2 {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    margin: 0 0 10px;
}

.affiliate-callout-text p {
    color: var(--gray);
    max-width: 520px;
}

.affiliate-callout-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.affiliate-callout-card {
    background: linear-gradient(180deg, #ffffff, #fff7e6);
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.affiliate-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.affiliate-mini-title {
    font-weight: 700;
}

.affiliate-mini-subtitle {
    color: var(--gray);
    font-size: 0.85rem;
}

.affiliate-mini-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    border-radius: 999px;
    font-weight: 600;
}

.affiliate-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.affiliate-mini-stats div {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 10px;
}

.affiliate-mini-stats span {
    display: block;
    color: var(--gray);
    font-size: 0.8rem;
}

.affiliate-mini-stats strong {
    font-size: 1.1rem;
}

.affiliate-mini-qr {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}

.affiliate-mini-qr-box {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: repeating-linear-gradient(45deg, #e2e8f0, #e2e8f0 6px, #f8fafc 6px, #f8fafc 12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.affiliate-mini-qr-title {
    font-weight: 600;
}

.affiliate-mini-qr-desc {
    color: var(--gray);
    font-size: 0.85rem;
}

.affiliate-mini-code {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .affiliate-callout {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 30px 20px;
        transform: translateX(3px);
    }

    .affiliate-callout-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        transform: translateX(-6px);
    }

    .affiliate-pill {
        margin-left: 0;
        margin-right: 0;
    }

    .affiliate-callout-text h2 {
        text-align: center;
        width: 100%;
    }

    .affiliate-callout-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .affiliate-callout-actions {
        justify-content: center;
        width: 100%;
    }

    .affiliate-callout-card {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        margin: 0 auto;
        justify-self: center;
        transform: translateX(-6px);
    }

    .affiliate-mini-header {
        flex-wrap: wrap;
        gap: 8px;
        text-align: left;
    }

    .affiliate-mini-header>div {
        min-width: 0;
    }

    .affiliate-mini-stats {
        text-align: center;
    }

    .affiliate-mini-qr {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .affiliate-callout {
        padding: 20px 16px;
    }

    .affiliate-callout-card {
        max-width: 100%;
        padding: 18px;
    }

    .affiliate-callout-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.reviews-section .container.center {
    margin-bottom: 30px !important;
}

.marquee-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    gap: 14px;
}

.marquee-track {
    display: flex;
    gap: 30px;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
    padding: 8px 0;
    mask-image: none;
    -webkit-mask-image: none;
}

.review-card {
    min-width: 300px;
    max-width: 300px;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    background: white;
}

.review-nav {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--primary);
    font-size: 1.25rem;
}

.review-nav i {
    width: 28px;
    height: 28px;
}

.review-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.review-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
    display: block;
    image-rendering: auto;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }

    /* Move one-third (one complete set) */
}

/* Gradient Fade for Marquee edges */
.marquee-container::before,
.marquee-container::after {
    content: none;
}

/* Responsive */
@media (max-width: 768px) {

    .nav-cta {
        display: none;
    }

    .navbar.has-mobile-menu .mobile-menu-btn {
        display: inline-flex;
    }

    .navbar.has-mobile-menu .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 12px;
        right: 12px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 14px;
        display: grid;
        gap: 10px;
        box-shadow: var(--shadow-md);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 999;
        -webkit-overflow-scrolling: touch;
    }

    .navbar.has-mobile-menu.nav-open .nav-links {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }

    .navbar.has-mobile-menu:not(.nav-open) .nav-links {
        display: none;
    }

    .navbar.has-mobile-menu .nav-links a {
        padding: 12px 14px;
        border-radius: 12px;
        background: var(--surface-muted);
    }

    .navbar.has-mobile-menu .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .navbar.has-mobile-menu .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 12px;
        background: var(--surface-muted);
    }

    .navbar.has-mobile-menu .dropdown-menu {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        padding: 6px 0 0;
        background: transparent;
        gap: 6px;
    }

    .navbar.has-mobile-menu .dropdown-menu a {
        background: var(--surface-muted);
    }

    .navbar.has-mobile-menu .nav-dropdown {
        display: contents;
        /* Allows children (dropdown-menu) to participate in the nav-links grid */
    }

    .navbar.has-mobile-menu .dropdown-menu {
        display: contents;
    }

    .navbar.has-mobile-menu .dropdown-toggle {
        display: none;
    }

    .navbar.has-mobile-menu .nav-links a.active,
    .navbar.has-mobile-menu .nav-links a[aria-current='page'] {
        background: transparent;
        color: var(--gray);
        font-weight: 600;
    }

    .btn,
    .lang-btn,
    .dropdown-toggle,
    .navbar.has-mobile-menu .nav-links a {
        min-height: var(--tap-target);
    }

    .text-input,
    .text-area,
    .text-area-small,
    .select-input {
        font-size: 16px;
    }

    .gallery-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-card {
        scroll-snap-align: center;
    }

    .marquee-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .review-card {
        scroll-snap-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        grid-template-areas:
            "hero-image"
            "hero-text";
    }

    .hero-text {
        grid-area: hero-text;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .hero-image {
        display: block;
        margin: 0 auto 24px;
        grid-area: hero-image;
    }

    .hero-image,
    .floating-cards,
    .floating-cards .card {
        pointer-events: none;
    }

    .floating-cards {
        height: 320px;
        width: min(100%, 320px);
        margin: 0 auto;
    }

    .card {
        width: 210px;
    }

    .card-1 {
        left: 0;
        top: 10px;
    }

    .card-2 {
        right: 0;
        top: 60px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-track {
        gap: 14px;
    }

    .gallery-card {
        min-width: 220px;
        max-width: 220px;
        height: 260px;
    }

    .gallery-nav {
        width: 48px;
        height: 48px;
    }

    .feature-image {
        order: -1;
        /* Image first on mobile */
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
        justify-items: center;
    }

    .gallery-item {
        height: auto;
        aspect-ratio: 3 / 4;
        width: min(100%, 340px);
    }

    .gallery-item img {
        object-fit: contain;
        background: #fff;
    }

    /* Section spacing */
    .section {
        padding: var(--mobile-section-padding) 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    /* Reviews Marquee */
    .review-card {
        min-width: 250px;
        max-width: 250px;
    }

    .review-nav {
        width: 48px;
        height: 48px;
    }

    .review-nav i {
        width: 22px;
        height: 22px;
    }

    .bg-dark .section-header h2 {
        font-size: clamp(1.9rem, 7.5vw, 2.6rem);
        margin-bottom: 28px;
    }

    .f-icon {
        width: 86px;
        height: 86px;
    }

    .f-icon i {
        width: 40px;
        height: 40px;
    }

    /* Navbar */
    .navbar {
        padding: calc(15px + var(--safe-top)) 0 15px;
    }

    .nav-logo {
        height: 50px;
    }

    .container {
        padding: 0 var(--mobile-container-padding);
    }

    .mobile-cta {
        display: none;
    }

    .marquee-container::before,
    .marquee-container::after {
        display: none;
    }

    .marquee-track {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

@media (max-width: 600px) {
    .legal-content {
        padding: 24px !important;
        border-radius: 16px !important;
    }

    .legal-content h3 {
        font-size: 1.1rem;
        margin-top: 18px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .legal-content ul {
        padding-left: 18px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .navbar {
        padding: calc(12px + var(--safe-top)) 0 12px;
    }

    .nav-container {
        gap: 10px;
    }

    .lang-toggle {
        gap: 4px;
        margin-left: 8px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .floating-cards {
        height: 280px;
        width: min(100%, 280px);
    }

    .card {
        width: 180px;
    }

    .card-1 {
        top: 6px;
    }

    .card-2 {
        top: 50px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .btn-xl {
        padding: 16px 28px;
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .features-container {
        gap: 40px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Order Success Toast */
.toast-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.toast-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.toast-card {
    background: var(--white);
    border-radius: 18px;
    padding: 22px 24px;
    min-width: 280px;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: grid;
    gap: 10px;
    position: relative;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast-backdrop.show .toast-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
}

.toast-desc {
    color: var(--gray);
    font-size: 0.95rem;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.toast-close:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.05);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.14);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}


.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    line-height: 1.6;
    color: var(--gray);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 1000px;
    /* roomy height allow */
}

/* Lightbox */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    backdrop-filter: blur(10px);
}

.lightbox-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.92);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-backdrop.open .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.lightbox-close i {
    width: 24px;
    height: 24px;
}

/* Tracking Section */
.tracking-section {
    background: radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
    padding: 100px 0;
}

.tracking-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tracking-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-brand);
}

.tracking-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.tracking-icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracking-icon-circle i {
    width: 30px;
    height: 30px;
}

.tracking-section .section-title {
    margin-bottom: 40px;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.tracking-form {
    max-width: 580px;
    margin: 0 auto;
}

.tracking-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 8px;
    border-radius: 20px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tracking-input-group:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.15);
}

.search-icon {
    position: absolute;
    left: 24px;
    color: var(--gray);
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
}

.tracking-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding: 14px 20px 14px 48px !important;
    font-size: 1.05rem !important;
    font-family: inherit;
    color: var(--dark);
    outline: none !important;
    width: 100%;
    box-shadow: none !important;
}

.tracking-btn {
    border-radius: 14px !important;
    padding: 14px 28px !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tracking-btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.tracking-btn:hover i {
    transform: translateX(4px);
}

.tracking-result {
    margin-top: 35px;
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.tracking-progress {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
    display: none;
}

.tracking-progress.is-visible {
    display: block;
}

.tracking-steps {
    position: relative;
    display: grid;
    gap: 22px;
    max-width: 640px;
    margin: 0 auto;
}

.tracking-steps-line {
    position: absolute;
    left: 13px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.tracking-steps-fill {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.95));
    transition: height 0.4s ease;
}

.tracking-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
    align-items: flex-start;
    position: relative;
}

.tracking-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.5);
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tracking-step.active .tracking-step-dot,
.tracking-step.completed .tracking-step-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.tracking-step.active .tracking-step-dot::after,
.tracking-step.completed .tracking-step-dot::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.tracking-step-label {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.tracking-step-note {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.5;
}

.tracking-note {
    margin-top: 24px;
    color: var(--gray);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .tracking-steps {
        gap: 18px;
    }

    .tracking-step {
        grid-template-columns: 24px 1fr;
        gap: 12px;
    }

    .tracking-steps-line {
        left: 11px;
    }
}

@media (max-width: 640px) {
    .tracking-input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 15px;
    }

    .search-icon {
        top: 24px;
        transform: translateY(-50%);
    }

    .tracking-input {
        background: #f8fafc !important;
        border: 2px solid #f1f5f9 !important;
        border-radius: 16px !important;
        padding-left: 54px !important;
    }

    .tracking-btn {
        width: 100%;
        justify-content: center;
    }

    .tracking-card {
        padding: 40px 20px;
    }

    .tracking-section {
        padding: 60px 0;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: calc(20px + var(--safe-bottom));
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    padding-bottom: calc(24px + var(--safe-bottom));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    animation: slideUp 0.5s ease;
}

.cookie-banner.show {
    display: flex;
}

.cookie-content {
    flex: 1;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}


@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: calc(10px + var(--safe-bottom));
        left: 10px;
        right: 10px;
        padding: 20px;
        padding-bottom: calc(20px + var(--safe-bottom));
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}
