/* ==========================================================================
   CarServ24 — Page-Specific Styles
   Home, About, Services, Workshops, Contact, Privacy, Terms
   ========================================================================== */
@import url('variables.css');

/* ──────────────────────────────────────────────────
   1. HOME PAGE
────────────────────────────────────────────────── */

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(21, 93, 252, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        var(--bg-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: var(--z-raised);
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-heading span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 44px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-feature-item .check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-feature-item .check svg {
    width: 10px;
    height: 10px;
    color: var(--color-success);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Right — Dashboard Mockup */
.hero-mockup-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.hero-dashboard {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(21, 93, 252, 0.15);
    backdrop-filter: blur(20px);
    animation: float 5s ease-in-out infinite;
}

.hero-dashboard-header {
    background: rgba(21, 93, 252, 0.15);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-dots {
    display: flex;
    gap: 6px;
}

.db-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.db-dot.red   { background: #ff5f57; }
.db-dot.yellow{ background: #ffbd2e; }
.db-dot.green { background: #28c840; }

.db-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.hero-dashboard-body {
    padding: 24px;
}

.db-welcome {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.db-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.db-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.db-metric {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    text-align: center;
}

.db-metric-val {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.db-metric-lbl {
    font-size: 10px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.db-chart-bar-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
    margin-bottom: 12px;
}

.db-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--brand-primary) 0%, rgba(21, 93, 252, 0.4) 100%);
    transition: height 1s ease;
}

.db-bookings {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.db-booking-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
}

.db-booking-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-booking-icon svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.db-booking-info { flex: 1; }

.db-booking-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.db-booking-status {
    font-size: 11px;
    color: var(--text-gray);
}

.db-booking-amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-success);
}

/* Floating stat cards */
.float-stat-1 {
    position: absolute;
    top: 30px;
    left: -30px;
    animation-delay: 0.5s;
}

.float-stat-2 {
    position: absolute;
    bottom: 50px;
    right: -20px;
    animation-delay: 1.2s;
}

.float-stat-3 {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    animation-delay: 0.8s;
}

/* Trusted numbers (Stats) */
.stats-section {
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    padding: 60px 0;
}

/* Ticker strip */
.ticker-section {
    padding: 28px 0;
    background: rgba(21, 93, 252, 0.04);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

/* CTA Banner */
.cta-banner {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(21, 93, 252, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        var(--bg-secondary);
    border: 1px solid rgba(21, 93, 252, 0.2);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(21, 93, 252, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 93, 252, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Mobile App Section */
.app-promo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.app-badge:hover {
    border-color: rgba(21, 93, 252, 0.3);
    transform: translateY(-2px);
}

.app-badge svg {
    width: 28px;
    height: 28px;
    color: var(--text-primary);
}

.app-badge-texts {
    display: flex;
    flex-direction: column;
}

.app-badge-sub {
    font-size: 10px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badge-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.app-phone-frame {
    width: 220px;
    height: 420px;
    background: var(--bg-card);
    border: 2px solid var(--border-default);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: float 5s ease-in-out infinite;
}

.app-phone-notch {
    width: 80px;
    height: 20px;
    background: var(--bg-secondary);
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.app-phone-screen {
    padding: 16px;
    height: calc(100% - 20px);
    background: linear-gradient(160deg, rgba(21, 93, 252, 0.08), var(--bg-secondary));
}

.app-screen-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 12px;
    text-align: center;
}

.app-screen-card {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.app-screen-label {
    font-size: 9px;
    color: var(--text-gray);
    margin-bottom: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.app-screen-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ──────────────────────────────────────────────────
   2. ABOUT PAGE
────────────────────────────────────────────────── */
.page-hero {
    padding-top: 130px;
    padding-bottom: 80px;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(21, 93, 252, 0.1) 0%, transparent 50%),
        var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-primary), transparent);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand-primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 12px var(--brand-primary);
}

.timeline-year {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.timeline-event {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-detail {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-base);
}

.value-card:hover {
    border-color: rgba(21, 93, 252, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(21, 93, 252, 0.1);
    border: 1px solid rgba(21, 93, 252, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 26px;
    height: 26px;
    color: var(--brand-primary);
}

.value-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    text-align: center;
}

.team-card:hover {
    border-color: rgba(21, 93, 252, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    height: 180px;
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.15), rgba(15, 23, 42, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    box-shadow: var(--glow-primary-sm);
}

.team-info {
    padding: 20px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

/* ──────────────────────────────────────────────────
   3. SERVICES PAGE
────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(21, 93, 252, 0.35);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: rgba(21, 93, 252, 0.06);
    line-height: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(21, 93, 252, 0.1);
    border: 1px solid rgba(21, 93, 252, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); 
    object-fit: contain;
}
.service-icon.service{
    background: var(--brand-gradient);
}

.service-icon img:not([data-keep-color]) {
    filter: brightness(0) invert(1);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--brand-primary);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ──────────────────────────────────────────────────
   4. WORKSHOPS PAGE
────────────────────────────────────────────────── */
.workshops-filter {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 48px;
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 160px;
}

.filter-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.filter-select {
    padding: 11px 16px;
    background: rgba(15, 23, 42, 0.03);
    border: 1.5px solid var(--border-default);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-body);
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

.filter-select:focus {
    border-color: var(--brand-primary);
    background: #ffffff;
}

.filter-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

/* ──────────────────────────────────────────────────
   5. CONTACT PAGE
────────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 100px;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-default);
}

.contact-detail:last-of-type {
    border-bottom: none;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(21, 93, 252, 0.1);
    border: 1px solid rgba(21, 93, 252, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
}

.contact-detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.5;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    backdrop-filter: blur(10px);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ──────────────────────────────────────────────────
   6. LEGAL PAGES (Privacy, Terms)
────────────────────────────────────────────────── */
.legal-layout {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 56px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-default);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content ul li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
    list-style: none;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--brand-primary);
    border-radius: 50%;
}

.legal-last-updated {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-last-updated svg {
    width: 14px;
    height: 14px;
    color: var(--brand-primary);
}

/* ──────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid        { grid-template-columns: 1fr; text-align: center; }
    .hero-features    { justify-content: center; }
    .hero-btns        { justify-content: center; }
    .hero-mockup-wrap { height: auto; margin-top: 48px; }
    .float-stat-1, .float-stat-2, .float-stat-3 { display: none; }

    .values-grid      { grid-template-columns: repeat(2, 1fr); }
    .team-grid        { grid-template-columns: repeat(2, 1fr); }
    .services-grid    { grid-template-columns: repeat(2, 1fr); }
    .workshops-grid   { grid-template-columns: repeat(2, 1fr); }
    .contact-layout   { grid-template-columns: 1fr; }
    .contact-info-card { position: static; }
    .app-promo        { grid-template-columns: 1fr; text-align: center; }
    .app-badges       { justify-content: center; }
    .app-mockup       { order: -1; }
}

@media (max-width: 768px) {
    .hero-features    { grid-template-columns: 1fr; }
    .hero-heading     { font-size: 32px; letter-spacing: -0.5px; }
    .values-grid      { grid-template-columns: 1fr 1fr; }
    .team-grid        { grid-template-columns: 1fr 1fr; }
    .services-grid    { grid-template-columns: 1fr; }
    .workshops-grid   { grid-template-columns: 1fr; }
    .workshops-filter {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        align-items: stretch;
        margin-bottom: 32px;
    }
    .workshops-filter .filter-group {
        width: 100%;
    }
    .workshops-filter button {
        width: 100%;
        justify-content: center;
    }
    .cta-banner       { padding: 48px 24px; }
    .legal-content    { padding: 32px 24px; }
    .contact-form-card{ padding: 32px 24px; }
    .contact-info-card{ padding: 28px 24px; }
}

@media (max-width: 480px) {
    .values-grid      { grid-template-columns: 1fr; }
    .team-grid        { grid-template-columns: 1fr; }
    .cta-title        { font-size: 26px; }
}

/* ──────────────────────────────────────────────────
   PHONE MOCKUP & CUSTOMER EXPERIENCE STYLES (NEW)
────────────────────────────────────────────────── */
.phone-mockup-container {
    position: relative;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.phone-mockup {
    width: 270px;
    height: 520px;
    background: #ffffff;
    border: 10px solid #0f172a;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(21, 93, 252, 0.08);
    position: relative;
    z-index: 2;
}

.phone-notch {
    width: 110px;
    height: 18px;
    background: #0f172a;
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    padding: 24px 16px 16px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, rgba(21, 93, 252, 0.04), #f8fafc);
    overflow: hidden;
}

.phone-screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-default);
}

.phone-user-avatar {
    width: 24px;
    height: 24px;
    background: rgba(21, 93, 252, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--brand-primary);
}

.phone-screen-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow: hidden;
}

.phone-search-bar {
    background: #ffffff;
    border: 1px solid var(--border-default);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 10px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.phone-search-bar svg {
    color: var(--text-gray);
}

.service-status-card {
    background: #ffffff;
    border: 1px solid var(--border-default);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge-green {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-time {
    font-size: 9px;
    color: var(--text-gray);
    font-weight: 600;
}

.workshop-avatar-sm {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--brand-primary), #2563eb);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.mini-tracker {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    position: relative;
    padding: 0 4px;
}

.mini-tracker::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--border-default);
    z-index: 1;
}

.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.tracker-step .step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border-default);
    transition: var(--transition-fast);
}

.tracker-step.completed .step-dot {
    background: #10b981;
    border-color: #10b981;
}

.tracker-step.active .step-dot {
    background: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(21, 93, 252, 0.2);
}

.tracker-step .step-text {
    font-size: 8px;
    font-weight: 600;
    color: var(--text-gray);
}

.tracker-step.active .step-text {
    color: var(--brand-primary);
    font-weight: 700;
}

.tracker-step.completed .step-text {
    color: var(--text-primary);
}

.phone-recent-jobs {
    background: #ffffff;
    border: 1px solid var(--border-default);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.job-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-secondary);
}

.job-check-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.job-check-item .live-circle {
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
    animation: pulse-green 1.5s infinite;
    margin: 3px;
}

/* Floating Cards styling */
.phone-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(21, 93, 252, 0.15);
    border-radius: 16px;
    padding: 14px;
    z-index: 3;
    width: 200px;
    box-shadow: var(--shadow-md);
}

.float-card-top {
    top: 30px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.float-card-bottom {
    bottom: 30px;
    right: -50px;
    width: 220px;
    animation: float 6s ease-in-out infinite 3s;
}

@media (max-width: 1200px) {
    .float-card-top { left: -20px; }
    .float-card-bottom { right: -20px; }
}

@media (max-width: 576px) {
    .phone-float-card { display: none; }
    .phone-mockup-container { max-width: 280px; padding: 20px 0; }
}

