/* YES Uniwork - Figma design implementation */

:root {
    --bg-page: #f8f8f5;
    --bg-white: #ffffff;
    --text-primary: #181710;
    --text-muted: rgba(24, 23, 16, 0.7);
    --text-muted-6: rgba(24, 23, 16, 0.6);
    --text-muted-4: rgba(24, 23, 16, 0.4);
    --accent: #ffd900;
    --accent-20: rgba(255, 217, 0, 0.2);
    --accent-10: rgba(255, 217, 0, 0.1);
    --dark: #181710;
    --dark-80: rgba(24, 23, 16, 0.8);
    --slate: #94a3b8;
    --slate-light: #cbd5e1;
    --border: rgba(24, 23, 16, 0.05);
    --border-1: rgba(24, 23, 16, 0.1);
    --font: 'Inter', system-ui, sans-serif;
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-32: 32px;
    --radius-40: 40px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-btn: 0 10px 15px -3px rgba(255, 217, 0, 0.2), 0 4px 6px -4px rgba(255, 217, 0, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-page);
}

/* ========== Preloader ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-page);
    z-index: 99999; /* on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    animation: preloaderPulse 1.5s infinite;
}

.preloader-progress-bar {
    width: 160px;
    height: 6px;
    background: var(--border-1);
    border-radius: var(--radius-8);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: var(--radius-8);
    animation: loadProgress 1.2s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; box-shadow: 0 0 10px rgba(255,217,0,0.5); }
    100% { width: 100%; box-shadow: 0 0 10px rgba(255,217,0,0); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.95); opacity: 0.8; }
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 1024px) {
    .container { padding: 0 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
}

/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0 17px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo.logo-img-only { gap: 0; }

.logo-img {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    border-radius: var(--radius-8);
}

@media (max-width: 480px) {
    .logo-img { height: 40px; max-width: 160px; }
    .site-header { padding: 12px 0; }
}

/* ========== Header Location Picker ========== */
.header-location-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(24, 23, 16, 0.04);
    border: 1px solid transparent;
    border-radius: var(--radius-8);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.header-location-picker:hover {
    background: rgba(24, 23, 16, 0.08);
    border-color: rgba(24, 23, 16, 0.1);
}

.header-location-picker.has-location {
    background: var(--accent-10);
    border-color: var(--accent-20);
}

.header-location-picker.has-location .location-icon {
    color: var(--dark);
}

.location-icon {
    color: var(--text-muted-5);
}

.location-text {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    background: var(--bg-white);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-12);
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.12);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
    cursor: default;
}

.header-location-picker.is-active .location-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.location-dropdown-header {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted-5);
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}

.location-status-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0 0 20px;
}

.location-status-text.success { color: #27c93f; font-weight: 700; }
.location-status-text.error { color: #ff5f56; font-weight: 700; }

.btn-location-detect {
    width: 100%;
    padding: 12px;
    background: var(--dark);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-8);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btn-location-detect:hover {
    background: #000;
}

.btn-location-detect:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.detect-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinnerRotate 0.8s linear infinite;
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
}

.main-nav a:hover { color: var(--text-primary); }

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
    max-width: 400px;
}

.search-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 160px;
    max-width: 256px;
    height: 40px;
    padding: 0 12px;
    background: rgba(24, 23, 16, 0.05);
    border: 1px solid transparent;
    border-radius: var(--radius-8);
}

.search-icon {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    color: var(--text-primary);
}

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

.header-ai-link {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    min-width: auto;
    max-width: 256px;
    background: rgba(24, 23, 16, 0.05);
    border: 1px solid transparent;
    border-radius: var(--radius-8);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}
.header-ai-link:hover {
    background: rgba(24, 23, 16, 0.08);
    border-color: var(--border);
    color: var(--text-primary);
}
.header-ai-text { margin-left: 4px; }

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    background: var(--dark);
    color: white;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: var(--radius-8);
    white-space: nowrap;
}

.btn-login-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    background: transparent;
    color: var(--dark);
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    border-radius: var(--radius-8);
    border: 2px solid var(--dark);
    white-space: nowrap;
}

.btn-outline:hover { background: var(--bg-1); }

.profile-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.profile-avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-10);
}

.nav-toggle { display: none; }

@media (max-width: 768px) {
    .main-nav, .header-ai-link { display: none; }
    .btn-login, .btn-outline {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px;
    }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-toggle span {
        width: 22px;
        height: 2px;
        background: var(--text-primary);
    }
}

@media (max-width: 480px) {
    .header-inner { gap: 12px; }
}

/* ========== Hero ========== */
.hero {
    position: relative;
    padding: 60px 0 100px; /* space at bottom for nav dots */
    overflow: hidden;
}

.hero-full-slider {
    display: grid;
    width: 100%;
}

.hero-full-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(40px);
}

.hero-full-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 1;
}

.hero-full-slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-full-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted-4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-full-slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.hero-inner {
    display: flex;
    gap: 48px;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-20);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.hero-title {
    font-weight: 900;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 6px;
    color: var(--text-primary);
}

.hero-title-accent {
    display: inline-block;
    background: var(--dark);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: var(--radius-8);
    margin-top: 4px;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 24px;
    max-width: 480px;
}

.hero-search-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    max-width: 580px;
    margin-bottom: 24px;
}

.hero-search-form {
    flex: 1;
    display: flex;
    min-width: 0;
}

.hero-search-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    background: var(--bg-white);
    border: 2px solid var(--border-1);
    border-radius: var(--radius-12);
    box-shadow: var(--shadow-sm);
}

.hero-search-icon {
    width: 26px;
    height: 18px;
    margin-right: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 16px;
    color: var(--text-primary);
}

.hero-search-input::placeholder { color: #6b7280; }

a.btn-book,
.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 24px;
    background: var(--accent);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-12);
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    text-decoration: none;
}

.btn-arrow { font-size: 16px; }

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-avatars {
    display: flex;
}

.hero-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -12px;
    object-fit: cover;
}

.hero-avatar:last-child { margin-right: 0; }

.hero-social-text {
    font-size: 14px;
    margin: 0;
    color: var(--text-muted-6);
    font-weight: 500;
}

.hero-social-text strong { color: var(--text-primary); font-weight: 600; }

.hero-visual {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.hero-image-wrap {
    background: var(--accent-10);
    border-radius: var(--radius-32);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 536px;
    object-fit: cover;
    display: block;
}

.hero-card-verified {
    position: absolute;
    left: -24px;
    bottom: -24px;
    max-width: 200px;
    padding: 25px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-16);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

.verified-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.verified-icon { flex-shrink: 0; }
.verified-title { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.verified-desc { font-size: 12px; line-height: 1.33; color: var(--text-muted-6); margin: 0; }

@media (max-width: 1024px) {
    .hero { padding: 48px 0; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-search-row { margin-left: auto; margin-right: auto; }
    .hero-social-proof { justify-content: center; }
    .hero-title { font-size: 36px; }
    .hero-title-accent { font-size: 28px; }
    .hero-card-verified { left: 50%; transform: translateX(-50%); bottom: 24px; }
}

@media (max-width: 480px) {
    .hero { padding: 32px 0; }
    .hero-title { font-size: 26px; }
    .hero-title-accent { font-size: 22px; padding: 2px 6px; }
    .hero-desc { font-size: 15px; margin-bottom: 20px; }
    .hero-search-row { flex-direction: column; gap: 8px; margin-bottom: 16px; }
    .hero-search-wrap, .hero-search-wrap .search-input { height: 48px; min-height: 48px; }
    .section { padding: 40px 0; }
    .section-title { font-size: 24px; }
}

/* ========== Our Services ========== */
.section { padding: 64px 0; }
.section-services { padding: 64px 0; background: var(--bg-page); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.section-head-text { max-width: 576px; }
.section-title { font-weight: 900; font-size: 26px; line-height: 1.2; margin: 0 0 12px; color: var(--text-primary); }
.section-desc { font-size: 14px; line-height: 1.5; color: var(--text-muted-6); margin: 0; }

.link-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
}

.link-arrow { flex-shrink: 0; }

/* Services grid */
.modern-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.modern-service-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-16);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.modern-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.06);
    border-color: rgba(24, 23, 16, 0.15);
}

.msc-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-page);
    overflow: hidden;
    border-bottom: 1px solid var(--border-1);
}

.msc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-service-card:hover .msc-img-wrap img {
    transform: scale(1.05);
}

.msc-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--accent);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.msc-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.msc-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
    line-height: 1.3;
}

.msc-desc {
    font-size: 13px;
    color: var(--text-muted-6);
    margin: 0 0 16px;
    line-height: 1.4;
    flex: 1; 
}

.msc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-1);
}

.msc-price {
    font-weight: 800;
    font-size: 14px;
    color: var(--dark);
}

.msc-arrow {
    color: var(--dark);
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.modern-service-card:hover .msc-arrow {
    transform: translateX(4px);
}

.msc-hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .modern-services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .modern-services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .msc-content { padding: 16px; }
    .msc-title { font-size: 16px; }
    .msc-desc { font-size: 13px; margin-bottom: 16px; }
}

@media (max-width: 480px) {
    .modern-services-grid { grid-template-columns: 1fr; }
}

/* ========== AI Section (matches Partners & Reviews pattern) ========== */
.section-ai { padding: 96px 0; }

.ai-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.ai-section-title {
    font-weight: 900;
    font-size: 30px;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.ai-section-subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted-6);
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ai-wrap {
    position: relative;
    background: var(--dark);
    border-radius: var(--radius-40);
    padding: 64px;
    overflow: hidden;
}

.ai-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, var(--accent-20), transparent);
    pointer-events: none;
}

.ai-inner {
    position: relative;
    display: flex;
    gap: 48px;
    align-items: center;
}

.ai-content { flex: 1; min-width: 0; }
.ai-badge { font-weight: 700; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); margin: 0 0 24px; }
.ai-title { font-weight: 900; font-size: 28px; line-height: 1.2; color: white; margin: 0 0 16px; }
.ai-title-accent { color: var(--accent); }
.ai-desc { font-size: 15px; line-height: 1.6; color: var(--slate); margin: 0 0 24px; max-width: 480px; }
.ai-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.ai-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.45;
}
.ai-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.ai-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ai-primary,
a.btn-ai-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-12);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-ai-primary:hover,
a.btn-ai-primary:hover {
    background: #e5c002;
    color: var(--text-primary);
    transform: translateY(-1px);
}
.btn-ai-secondary,
a.btn-ai-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-12);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
a.btn-ai-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.ai-animated-mockup {
    flex: 1;
    max-width: 420px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-24);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    padding-bottom: 24px;
}

.ai-mockup-header {
    background: rgba(0,0,0,0.2);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }
.mockup-title { color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600; margin-left: 12px; }

.ai-mockup-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }

/* 1: Scan Container */
.ai-scan-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    background: #000;
}

.ai-scan-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }

.ai-scan-overlay {
    position: absolute; inset: 0; background: rgba(255, 217, 0, 0.1);
    animation: scanPulse 2s infinite alternate;
}

.ai-scanner-line {
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent);
    box-shadow: 0 0 15px 5px rgba(255,217,0,0.4);
    animation: scanMove 3s infinite ease-in-out;
}

@keyframes scanMove {
    0% { top: -5%; }
    50% { top: 105%; }
    100% { top: -5%; }
}

@keyframes scanPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 2: Score Card & 3: Recommendation Card */
.ai-score-card, .ai-recommendation-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px;
    animation: aiPopupSlide 6s infinite;
}

.ai-score-card { display: flex; align-items: center; gap: 16px; animation-delay: 1.5s; opacity: 0; animation-fill-mode: both; }
.score-circle {
    width: 48px; height: 48px; border-radius: 50%;
    border: 3px solid #ff5f56;
    display: flex; align-items: center; justify-content: center;
}
.score-text { color: #fff; font-weight: 800; font-size: 14px; }
.score-details p { margin: 0; }
.score-title { color: rgba(255,255,255,0.9); font-weight: 700; margin-bottom: 4px; font-size: 15px; }
.score-subtitle { color: #ff5f56; font-size: 13px; font-weight: 600; }

.ai-recommendation-card { animation-delay: 3s; opacity: 0; animation-fill-mode: both; }
.rec-title { color: rgba(255,255,255,0.9); font-weight: 700; margin: 0 0 12px; font-size: 14px; }

.rec-options { display: flex; flex-direction: column; gap: 10px; }
.rec-option {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: 10px; background: rgba(0,0,0,0.25);
    border: 1px solid transparent; transition: all 0.3s ease;
}
.rec-option.diy { border-color: rgba(39, 201, 63, 0.4); }
.rec-option.book { border-color: rgba(255, 217, 0, 0.4); }

.rec-icon { font-size: 20px; }
.rec-text p { margin: 0; }
.rec-opt-title { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.rec-opt-desc { color: rgba(255,255,255,0.6); font-size: 12px; }

@keyframes aiPopupSlide {
    0%, 5% { opacity: 0; transform: translateY(15px); }
    15%, 85% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 1024px) {
    .ai-inner { flex-direction: column; }
    .ai-title { font-size: 28px; }
    .ai-section-head { margin-bottom: 32px; }
}

@media (max-width: 768px) {
    .section-ai { padding: 64px 0; }
    .ai-section-title { font-size: 28px; }
    .ai-section-subtitle { font-size: 16px; }
    .ai-wrap { padding: 32px 24px; }
    .ai-title { font-size: 22px; }
    .ai-buttons { flex-direction: column; }
    .ai-buttons .btn-ai-primary,
    .ai-buttons .btn-ai-secondary { justify-content: center; width: 100%; }
}

/* ========== Trusted by (scrolling + draggable) ========== */
.section-trust {
    padding: 49px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--text-muted-4);
    text-align: center;
    margin: 0 0 31px;
}

.trust-track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}

.trust-track-wrap::-webkit-scrollbar {
    display: none;
}

.trust-track-wrap.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 24px;
    width: max-content;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0.7;
}

.trust-item:hover {
    opacity: 1;
}

.trust-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.trust-name {
    font-weight: 900;
    font-size: 20px;
    color: var(--text-primary);
    white-space: nowrap;
}

/* ========== Testimonials ========== */
.section-testimonials { padding: 96px 0; }
.testimonials-title {
    font-weight: 900;
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted-6);
    margin: 0 0 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
    align-items: stretch;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-16);
    padding: 33px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.testimonial-card-featured {
    transform: scale(1.05);
    border-color: rgba(255, 217, 0, 0.2);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars img { width: 20px; height: 19px; object-fit: contain; }
.testimonial-quote { font-size: 16px; line-height: 1.5; color: var(--text-muted-6); margin: 0 0 16px; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 16px; padding-top: 16px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 16px; color: var(--text-primary); display: block; }
.testimonial-role { font-size: 12px; color: var(--text-muted-4); }

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card-featured { transform: none; }
}

/* ========== Footer ========== */
.site-footer {
    background: var(--dark);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 64px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    object-position: left center;
    border-radius: var(--radius-8);
}

.footer-logo.footer-logo-img-only { gap: 0; }

.footer-logo-text { font-weight: 900; font-size: 20px; }
.footer-desc { font-size: 16px; line-height: 1.5; color: var(--slate); margin: 0 0 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: white;
    text-decoration: none;
}

.icon-globe::before { content: '🌐'; }
.icon-share::before { content: '⎘'; }
.icon-email::before { content: '✉'; }

.footer-heading { font-weight: 700; font-size: 18px; color: white; margin: 0 0 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { font-size: 16px; color: var(--slate); text-decoration: none; }
.footer-links a:hover { color: white; }

.footer-newsletter-desc { font-size: 14px; line-height: 1.43; color: var(--slate); margin: 0 0 16px; }
.footer-newsletter-form { display: flex; }
.footer-email-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: var(--radius-8) 0 0 var(--radius-8);
    font: inherit;
    font-size: 14px;
    color: white;
}

.footer-email-input::placeholder { color: #6b7280; }
.btn-join {
    padding: 0 16px;
    background: var(--accent);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 0 var(--radius-8) var(--radius-8) 0;
    cursor: pointer;
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 33px 0; }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy { font-size: 14px; color: #64748b; margin: 0; }
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { font-size: 14px; color: #64748b; text-decoration: none; }
.footer-legal a:hover { color: white; }

.footer-credit {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0 24px;
}
.footer-credit-text {
    font-size: 13px;
    color: rgba(100, 116, 139, 0.9);
    text-align: center;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
