/* styles-phone.css - Phone mockup styles */

.phone-container {
    position: relative;
    width: 320px;
    height: 640px;
    margin: 0 auto;
    perspective: 1000px;
}

.phone-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(30px);
    opacity: 0.5;
}


.scroll-progress-bar {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 99;
    pointer-events: none;
}

@media (max-width: 768px) {
    .scroll-progress-bar {
        height: 4px;
    }
}

.scroll-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #5a8fd8, #c4daff, #5a8fd8);
    background-size: 200% 100%;
    animation: shimmerProgress 3s ease-in-out infinite;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s ease-out;
}

@keyframes shimmerProgress {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}



.hero-title {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-actions {
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.trust-badges {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-phone {
    opacity: 0;
    transform: translateY(60px) scale(0.7);
    animation: heroPhoneIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

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

@keyframes heroPhoneIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(0.75);
    }
}


.hero-phone {
    flex: 0 0 auto;
}


.phone-screen-content {
    opacity: 0;
    animation: phoneScreenIn 0.6s ease-out 1s forwards;
}

@keyframes phoneScreenIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.app-bar {
    opacity: 0;
    animation: phoneElIn 0.5s ease-out 1.2s forwards;
}

@keyframes phoneElIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cinematic-header {
    opacity: 0;
    animation: phoneElIn 0.5s ease-out 1.35s forwards;
}

.finance-card {
    opacity: 0;
    transform: translateY(15px);
    animation: phoneCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

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

.section-title {
    opacity: 0;
    animation: phoneElIn 0.4s ease-out forwards;
}

.section-title:nth-of-type(1) {
    animation-delay: 1.7s;
}

.section-title:nth-of-type(2) {
    animation-delay: 1.85s;
}

.app-card.alert-card {
    opacity: 0;
    transform: translateX(-15px);
    animation: phoneSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}

@keyframes phoneSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-card.activity-card {
    opacity: 0;
    transform: translateX(-15px);
    animation: phoneSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.95s forwards;
}

.bottom-nav {
    opacity: 0;
    transform: translateY(10px);
    animation: phoneElIn 0.4s ease-out 2.1s forwards;
}


.finance-wave {
    animation: waveMove 4s ease-in-out infinite;
    overflow: hidden;
    width: 100%;
}

.finance-wave svg {
    width: 100%;
    display: block;
    height: 100%;
}

@keyframes waveMove {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* waveSlide removed: animation now handled by SVG pattern's animateTransform */


.finance-total {
    font-variant-numeric: tabular-nums;
}

.finance-total.counting {
    animation: counterPulse 0.1s ease-out;
}

@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.feature-card .feature-icon {
    transition: transform 0.3s ease-out, background 0.3s ease;
}

.feature-card:hover .feature-icon {
    animation: iconBounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes iconBounce {
    0% { transform: scale(1) translateY(0); }
    25% { transform: scale(1.15) translateY(-5px); }
    50% { transform: scale(0.95) translateY(0); }
    75% { transform: scale(1.05) translateY(-2px); }
    100% { transform: scale(1) translateY(0); }
}


.feature-card.visible .feature-icon {
    animation: iconGlow 0.6s ease-out forwards;
}

@keyframes iconGlow {
    0% {
        box-shadow: 0 0 0 0 var(--accent-glow);
        background: var(--accent-glow);
    }
    100% {
        box-shadow: 0 0 20px 5px var(--accent-glow);
        background: var(--accent-glow);
    }
}


.problem-arrow {
    position: relative;
    overflow: hidden;
}

.problem-arrow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), transparent);
    animation: arrowLineMove 2s ease-in-out infinite;
}

@keyframes arrowLineMove {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

.problem-icon.pain {
    animation: painPulse 3s ease-in-out infinite;
}

@keyframes painPulse {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 12px 3px var(--error-bg); }
}

.problem-icon.solution {
    animation: solutionGlow 3s ease-in-out infinite 1.5s;
}

@keyframes solutionGlow {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 12px 3px var(--success-bg); }
}


.faq-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, border-color 0.2s ease;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}


.btn-google-play,
.btn-app-store,
.btn-faq-cta,
.btn-primary {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}


.hero-particle {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
    filter: blur(0.5px);
}


.hero-particle-glow {
    width: var(--size, 8px);
    height: var(--size, 8px);
    background: transparent;
    filter: blur(6px);
    box-shadow: 0 0 calc(var(--size, 8px) * 3) calc(var(--size, 8px) * 1.5) var(--accent-glow);
    opacity: 0;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.3);
    }
    8% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
    15% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    30% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * 0.45));
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
        transform: translateY(var(--drift, -80px)) translateX(calc(var(--drift, -40px) * 0.15)) scale(0.75);
    }
    70% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * -0.45));
        opacity: 0.6;
    }
    85% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    92% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
}



.section-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.section-particle {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: sectionParticleFloat var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
    filter: blur(0.5px);
}

.section-particle-glow {
    width: var(--size, 8px);
    height: var(--size, 8px);
    background: transparent;
    filter: blur(6px);
    box-shadow: 0 0 calc(var(--size, 8px) * 3) calc(var(--size, 8px) * 1.5) var(--accent-glow);
    opacity: 0;
}

@keyframes sectionParticleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.3);
    }
    8% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
    15% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    30% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * 0.45));
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
        transform: translateY(var(--drift, -80px)) translateX(calc(var(--drift, -40px) * 0.15)) scale(0.75);
    }
    70% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * -0.45));
        opacity: 0.6;
    }
    85% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    92% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 60%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(169, 199, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroOrb1 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(38, 71, 119, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroOrb2 22s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(-80px, 40px) scale(1.15); opacity: 0.55; }
    50% { transform: translate(0, 80px) scale(0.85); opacity: 0.3; }
    75% { transform: translate(80px, 40px) scale(1.1); opacity: 0.5; }
}

@keyframes heroOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(70px, -50px) scale(1.1); opacity: 0.45; }
    50% { transform: translate(0, -100px) scale(0.9); opacity: 0.25; }
    75% { transform: translate(-70px, -50px) scale(1.05); opacity: 0.4; }
}


.trust-badge {
    transition: transform 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 20px rgba(64, 95, 144, 0.3));
}

.trust-badge-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover .trust-badge-icon {
    transform: scale(1.1);
}


.nav a {
    overflow: hidden;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover::after,
.nav a.active::after {
    width: 20px;
    left: 50%;
    transform: translateX(-50%);
}


@keyframes phoneRotate {
    0%, 100% { transform: rotateY(-8deg) rotateX(3deg); }
    25% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(8deg) rotateX(-3deg); }
    75% { transform: rotateY(0deg) rotateX(0deg); }
}


.hero-phone {
    flex: 0 0 auto;
    transform: scale(0.75);
    transform-origin: center center;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1c1c1e, #2c2c2e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 0 0 1px var(--border) inset;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.phone-screen-content {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    padding-bottom: 80px;
}

.phone-screen-content::-webkit-scrollbar { display: none; }


.status-bar {
    padding: 8px 16px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icon {
    width: 18px;
    height: 18px;
    fill: var(--text-primary);
}

.status-logo {
    width: 18px;
    height: 18px;
}

.status-logo svg {
    width: 100%;
    height: 100%;
}


.app-bar {
    padding: 8px 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-bar-menu {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.app-bar-menu svg { width: 22px; height: 22px; fill: currentColor; }

.app-bar-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}


.cinematic-header {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.cinematic-header-bg {
    position: absolute;
    inset: 0;
    
    background: linear-gradient(
        180deg,
        #111318 0%,
        #1a1c22 50%,
        #111318 100%
    );
}

[data-theme="light"] .cinematic-header-bg {
    
    background: linear-gradient(
        180deg,
        #f9f9ff 0%,
        #e8e8f5 50%,
        #f9f9ff 100%
    );
}

.cinematic-header-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(64, 95, 144, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cinematic-header-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinematic-header-img svg {
    width: 130px;
    height: 130px;
    
    fill: rgba(169, 199, 255, 0.25);
}

[data-theme="light"] .cinematic-header-img svg {
    fill: rgba(64, 95, 144, 0.55);
}

.cinematic-header-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(7px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cinematic-header-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    letter-spacing: 1px;
}

.cinematic-header-plate {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 1px;
}


.finance-card {
    margin: var(--space-sm) var(--space-md);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.finance-card-bg {
    position: absolute;
    inset: 0;
    
    background: linear-gradient(135deg, #0A1929 0%, #132F4C 100%);
    border-radius: 24px;
}

[data-theme="light"] .finance-card-bg {
    
    background: linear-gradient(135deg, #1A237E 0%, #283593 100%);
    border-radius: 24px;
}


.finance-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    opacity: 0.3;
}

.finance-wave svg {
    width: 100%;
    height: 100%;
}

.finance-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

.finance-card-content {
    position: relative;
    z-index: 1;
    padding: var(--card-padding-md);
}

.finance-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.finance-card-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.finance-info-icon {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
}

.finance-info-icon svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.5);
}

.finance-trend-badge {
    margin-right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
}

.finance-trend-badge.increasing {
    background: rgba(255, 180, 171, 0.2);
    color: #ffb4ab;
    border: 1px solid rgba(255, 180, 171, 0.4);
}

.finance-trend-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.finance-total {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.finance-breakdown {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 0 20px;
}

.finance-breakdown-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.finance-breakdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.finance-breakdown-dot.fuel { background: #1B5E20; }
.finance-breakdown-dot.maintenance { background: #563e5c; }
.finance-breakdown-dot.expense { background: #8D6E00; }

.finance-breakdown-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.finance-breakdown-value {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}


.section-title {
    padding: 16px 16px 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}


.app-card {
    margin: 0 var(--space-md) var(--space-sm);
    background: var(--surface-container);
    border-radius: 16px;
}


.alert-card {
    padding: var(--space-xs) var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.alert-icon svg { width: 20px; height: 20px; fill: currentColor; }
.alert-icon.overdue { color: var(--error); }
.alert-icon.due-soon { color: var(--tertiary); }

.alert-info { flex: 1; min-width: 0; }

.alert-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alert-subtitle {
    font-size: 12px;
    font-weight: 600;
    margin-top: var(--space-2xs);
}

.alert-subtitle.overdue { color: var(--error); }
.alert-subtitle.due-soon { color: var(--tertiary); }

.alert-trailing {
    flex-shrink: 0;
    color: var(--text-muted);
}

.alert-trailing svg { width: 16px; height: 16px; fill: currentColor; }


.activity-card {
    margin: 0 var(--space-md) var(--space-sm);
    background: var(--surface-container-high);
    border-radius: 6px;
    padding: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.activity-card:hover {
    background: var(--surface-container-highest);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow), 0 0 30px rgba(64, 95, 144, 0.15);
}

.activity-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1B5E2E, #0d4018);
    border: 3px solid var(--phone-screen);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .activity-icon-wrapper {
    background: linear-gradient(135deg, #C4EED0, #a5d6a7);
    border-color: #ffffff;
}

.activity-icon-svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

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

.activity-header {
    margin-bottom: var(--space-2xs);
}

.activity-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.activity-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-date {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
}

.clock-icon {
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
}

.activity-date span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.activity-trailing {
    flex-shrink: 0;
    color: var(--text-muted);
    align-self: center;
}

.activity-trailing svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


.maintenance-status-card {
    margin: 0 var(--space-md) var(--space-sm);
    background: var(--surface-container);
    border-radius: 16px;
    padding: var(--space-sm);
}

.maintenance-status-card .status-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--surface-container-high);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maintenance-status-card .status-item:hover {
    background: var(--surface-container-highest);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow), 0 0 30px rgba(64, 95, 144, 0.15);
}

.maintenance-status-card .status-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.maintenance-status-card .status-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.maintenance-status-card .status-icon.overdue {
    background: rgba(255, 180, 171, 0.2);
    color: #ffb4ab;
}

[data-theme="light"] .maintenance-status-card .status-icon.overdue {
    background: rgba(186, 26, 26, 0.15);
    color: #ba1a1a;
}

.maintenance-status-card .status-icon.pending {
    background: rgba(169, 199, 255, 0.2);
    color: #a9c7ff;
}

[data-theme="light"] .maintenance-status-card .status-icon.pending {
    background: rgba(64, 95, 144, 0.15);
    color: #405f90;
}

.maintenance-status-card .status-icon.in-progress {
    background: rgba(165, 214, 167, 0.2);
    color: #A5D6A7;
}

[data-theme="light"] .maintenance-status-card .status-icon.in-progress {
    background: rgba(196, 238, 208, 0.3);
    color: #074D24;
}

.maintenance-status-card .status-info {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    flex: 1;
}

.maintenance-status-card .status-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.maintenance-status-card .status-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}


.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 10px;
    background: var(--surface-container);
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 32px 32px;
    z-index: 10;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    border-radius: 50%;
}

.nav-item.active {
    background: var(--surface-container-highest);
    color: var(--text-primary);
}

.nav-item svg { width: 22px; height: 22px; fill: currentColor; }
.nav-item-label { display: none; }


.nav-fab {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.nav-fab svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

[data-theme="light"] .nav-fab {
    background: #405f90;
    color: #ffffff;
}


.camera-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}


.phone-frame::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 120px;
    width: 3px;
    height: 30px;
    background: #2a2a3e;
    border-radius: 2px 0 0 2px;
}

.phone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 170px;
    width: 3px;
    height: 50px;
    background: #2a2a3e;
    border-radius: 2px 0 0 2px;
}

.phone-side-button {
    position: absolute;
    right: -3px;
    top: 150px;
    width: 3px;
    height: 70px;
    background: #2a2a3e;
    border-radius: 0 2px 2px 0;
}


@media (max-width: 800px) {
    .phone-container { display: none; }
    .hero-phone { display: none; }
    .hero-section {
        overflow-x: hidden;
    }
    .hero-section::before,
    .hero-section::after {
        display: none;
    }
    .hero-particles,
    .hero-particle,
    .hero-particle-glow {
        display: none;
    }
    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .trust-badges {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
    }
    .btn-google-play,
    .btn-app-store {
        flex: none;
        min-width: 0;
        width: 100%;
        max-width: none;
    }
    .scroll-progress-bar-fill {
        animation: none;
    }
}

@media (max-width: 768px) {
    .scroll-progress-bar {
        display: block;
    }
}

@media (max-width: 480px) {
    .phone-container { display: none; }
    .hero-phone { display: none; }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-inline: auto;
    }
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 375px) {
    .phone-container { display: none; }
    .hero-actions {
        max-width: 260px;
    }
}

@media (max-width: 320px) {
    .phone-container { display: none; }
    .hero-actions {
        max-width: 240px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .phone-container { display: none; }
}
