/* ========================================
   Trameks Landing Page - CSS
   ======================================== */

/* CSS Variables */
:root {
    --primary: #10B981;
    --primary-dark: #064E3B;
    --primary-light: #D1FAE5;
    --primary-hover: #059669;
    
    --neutral-900: #111827;
    --neutral-800: #1F2937;
    --neutral-700: #374151;
    --neutral-600: #4B5563;
    --neutral-500: #6B7280;
    --neutral-400: #9CA3AF;
    --neutral-300: #D1D5DB;
    --neutral-200: #E5E7EB;
    --neutral-100: #F3F4F6;
    --neutral-50: #F9FAFB;
    
    --damage-original: #9CA3AF;
    --damage-local: #F97316;
    --damage-painted: #3B82F6;
    --damage-replaced: #EF4444;
    
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-width: 320px;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        z-index: 100;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius);
        text-align: center;
    }
    
    .nav a:hover {
        background: var(--neutral-100);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .header-container {
        position: relative;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(6, 78, 59, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--neutral-50) 0%, #fff 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310B981' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Search Box */
.search-box {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 0 auto 3rem;
    border: 1px solid var(--neutral-200);
}

.search-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.search-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    color: var(--neutral-600);
    background: var(--neutral-100);
    transition: all 0.2s;
}

.search-tab.active {
    background: var(--primary);
    color: #fff;
}

.search-input-wrapper {
    display: flex;
    gap: 0.75rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-family: inherit;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.search-input::placeholder {
    color: var(--neutral-400);
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-hint {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

@media (max-width: 640px) {
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-btn {
        justify-content: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--neutral-600);
    font-size: 1.125rem;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

/* ========================================
   Packages Section
   ======================================== */
.packages {
    background: linear-gradient(180deg, var(--neutral-50) 0%, #fff 100%);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.package-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 2px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.package-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    margin-bottom: 1.5rem;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.package-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.package-price .currency {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--neutral-500);
}

.package-features {
    margin-bottom: 2rem;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
}

.package-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.package-features li.included svg {
    stroke: var(--success);
    fill: none;
}

.package-features li.excluded {
    color: var(--neutral-400);
}

.package-features li.excluded svg {
    stroke: var(--neutral-400);
    fill: none;
}

.package-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    margin-bottom: 0.75rem;
}

.package-btn:hover {
    background: var(--primary-hover);
}

.sample-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}

.sample-btn:hover {
    background: var(--primary-light);
}

/* ========================================
   Reports Section
   ======================================== */
.reports {
    background: #fff;
}

/* Sample Report Buttons */
.sample-reports-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.sample-report-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: #fff;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sample-report-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.sample-report-btn.popular {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(6, 78, 59, 0.05) 100%);
}

.popular-ribbon {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.sample-btn-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.sample-btn-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.sample-btn-content {
    flex: 1;
}

.sample-btn-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.sample-btn-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.sample-btn-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .sample-report-btn {
        flex-wrap: wrap;
        padding: 1.25rem;
    }
    
    .sample-btn-price {
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
    }
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.report-card {
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.report-card:hover {
    box-shadow: var(--shadow-lg);
}

.report-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
}

.report-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.report-badge.basic {
    background: rgba(255, 255, 255, 0.2);
}

.report-badge.medium {
    background: rgba(245, 158, 11, 0.3);
}

.report-badge.full {
    background: rgba(239, 68, 68, 0.3);
}

.report-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.report-header .vin {
    font-size: 0.875rem;
    opacity: 0.8;
    font-family: monospace;
}

.report-section {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    position: relative;
}

.report-section:last-child {
    border-bottom: none;
}

.report-section h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.report-section.locked {
    position: relative;
    overflow: hidden;
}

.report-section.locked > *:not(.lock-overlay):not(h5) {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}

.lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.lock-overlay svg {
    width: 32px;
    height: 32px;
    stroke: var(--neutral-500);
    margin-bottom: 0.5rem;
}

.lock-overlay span {
    font-size: 0.875rem;
    color: var(--neutral-600);
    font-weight: 500;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.info-item span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.info-item strong {
    font-size: 0.9375rem;
    color: var(--neutral-800);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.success {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.status-badge svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* Damage Diagram */
.damage-diagram-container {
    background: #fef9e7;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid #f5e6b3;
}

.damage-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

.legend-item i {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-item.original i { background: #d1d5db; }
.legend-item.local i { background: #f97316; }
.legend-item.painted i { background: #3b82f6; }
.legend-item.replaced i { background: #ef4444; }
.legend-item.new i { background: #22c55e; }

.diagram-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
}

.car-diagram {
    flex: 0 0 auto;
    width: 200px;
    min-height: 380px;
    background: url('../images/car-diagram.svg') center/contain no-repeat;
}

.damage-list {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

@media (max-width: 768px) {
    .diagram-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .damage-list {
        flex-direction: column;
        gap: 1rem;
    }
}

.damage-category {
    margin-bottom: 1rem;
}

.damage-category:last-child {
    margin-bottom: 0;
}

.damage-category h6 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.damage-category h6 i {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.damage-category h6 i.painted { background: var(--damage-painted); }
.damage-category h6 i.replaced { background: var(--damage-replaced); }

.damage-category ul {
    padding-left: 1.25rem;
}

.damage-category li {
    font-size: 0.8125rem;
    color: var(--neutral-600);
    padding: 0.25rem 0;
    position: relative;
}

.damage-category li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--neutral-400);
}

/* New damage items */
.damage-category li.new-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.new-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.375rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
    }
    50% { 
        box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
    }
}

/* Legend new item */
.legend-item.new i {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: 2px dashed white;
    box-shadow: 0 0 0 1px #22c55e;
    animation: pulse-border 1.5s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Placeholder for locked content */
.car-diagram-placeholder,
.valuation-placeholder {
    height: 200px;
    background: var(--neutral-100);
    border-radius: var(--radius);
}

/* Section description */
.section-desc {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-bottom: 1rem;
}

/* Sök/Tak Check Grid */
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--neutral-200);
    transition: all 0.2s ease;
}

.check-item:hover {
    box-shadow: var(--shadow-sm);
}

.check-item.success .check-icon {
    background: var(--primary-light);
    color: var(--primary);
}

.check-item.warning .check-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.check-item.error .check-icon {
    background: #fee2e2;
    color: #ef4444;
}

.check-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 18px;
    height: 18px;
}

.check-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.check-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.check-status {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.check-item.warning .check-status {
    color: #f59e0b;
    font-weight: 500;
}

.check-item.error .check-status {
    color: #ef4444;
    font-weight: 500;
}

/* AirBag Grid */
.airbag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.airbag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    transition: all 0.2s ease;
}

.airbag-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.airbag-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.airbag-icon.success {
    background: var(--primary-light);
    color: var(--primary);
}

.airbag-icon.warning {
    background: #fef3c7;
    color: #f59e0b;
}

.airbag-icon.error {
    background: #fee2e2;
    color: #ef4444;
}

.airbag-icon svg {
    width: 24px;
    height: 24px;
}

.airbag-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.25rem;
}

.airbag-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
}

.airbag-status.success {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.airbag-status.warning {
    background: #fef3c7;
    color: #92400e;
}

.airbag-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.airbag-summary {
    margin-top: 1rem;
}

/* Leak Test Grid */
.leak-test-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leak-test-item {
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--neutral-200);
}

.leak-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.leak-test-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.leak-test-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}

.leak-test-status.success {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.leak-test-status.warning {
    background: #fef3c7;
    color: #92400e;
}

.leak-test-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.leak-test-bar {
    height: 8px;
    background: var(--neutral-200);
    border-radius: 999px;
    overflow: hidden;
}

.leak-test-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s ease;
}

.leak-test-fill.success {
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.leak-test-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.leak-test-fill.error {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.leak-test-summary {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.leak-note {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: 0.5rem;
    font-style: italic;
}

/* KM Chart */
.km-chart-container {
    width: 100%;
    max-width: 600px;
    margin: 1rem auto 1.5rem;
    background: white;
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--neutral-200);
}

.km-chart {
    width: 100%;
    height: auto;
    display: block;
}

.km-chart .chart-points circle {
    transition: r 0.2s ease;
    cursor: pointer;
}

.km-chart .chart-points circle:hover {
    r: 8;
}

/* KM Table */
.km-table {
    width: 100%;
    font-size: 0.8125rem;
    border-collapse: collapse;
}

.km-table th,
.km-table td {
    padding: 0.625rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--neutral-200);
}

.km-table th {
    font-weight: 600;
    color: var(--neutral-700);
    background: var(--neutral-100);
}

.km-table tbody tr:hover {
    background: var(--neutral-50);
}

/* Valuation Box */
.valuation-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--neutral-200);
}

.valuation-range {
    margin-bottom: 1rem;
}

.range-bar {
    position: relative;
    height: 8px;
    background: var(--neutral-200);
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.range-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--warning), var(--primary));
    border-radius: 999px;
}

.range-marker {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.range-labels .current {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1rem;
}

.valuation-note {
    font-size: 0.75rem;
    color: var(--neutral-500);
    text-align: center;
}

/* Expert Reports */
.expert-reports {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--neutral-200);
}

.expert-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-100);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--neutral-600);
}

.expert-name {
    flex: 1;
    font-weight: 500;
    color: var(--neutral-800);
}

.expert-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.expert-status.available {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Expert Tabs */
.expert-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-200);
    overflow-x: auto;
}

.expert-tab {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: 2px solid var(--neutral-200);
    background: #fff;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 50px;
}

.expert-tab img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s;
}

.expert-tab:hover {
    border-color: var(--neutral-400);
}

.expert-tab:hover img {
    filter: grayscale(50%);
    opacity: 0.8;
}

.expert-tab.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.expert-tab.active img {
    filter: grayscale(0%);
    opacity: 1;
}

.expert-diagram {
    display: none;
}

.expert-diagram.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.expert-source {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--neutral-200);
}

.source-badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.source-badge.otorapor {
    background: #FEE2E2;
    color: #B91C1C;
}

.source-badge.yamanlar {
    background: #DBEAFE;
    color: #1D4ED8;
}

.source-badge.pilotgarage {
    background: #FEF3C7;
    color: #B45309;
}

.report-date {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* Different diagram variants for consistency demonstration */
.car-diagram-yamanlar {
    background-image: url('../images/car-diagram-yamanlar.svg') !important;
}

.car-diagram-pilotgarage {
    background-image: url('../images/car-diagram-pilotgarage.svg') !important;
}

@media (max-width: 640px) {
    .diagram-wrapper {
        flex-direction: column;
    }
    
    .car-diagram {
        flex: none;
        width: 100%;
        height: 180px;
    }
    
    .damage-list {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-tabs {
        gap: 0.375rem;
    }
    
    .expert-tab {
        min-width: 80px;
        padding: 0.375rem 0.75rem;
    }
    
    .expert-tab img {
        height: 22px;
    }
}

/* ========================================
   Partners Section
   ======================================== */
.partners {
    background: var(--neutral-50);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: var(--neutral-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-400);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.partner-card span {
    font-weight: 500;
    color: var(--neutral-700);
    font-size: 0.9375rem;
}

/* Partner Grid - 3 columns */
.partners-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.partner-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: var(--primary-dark);
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--neutral-900);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-brand .logo-icon {
    color: var(--primary);
}

.footer-brand p {
    color: var(--neutral-400);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-links a {
    display: block;
    color: var(--neutral-400);
    font-size: 0.9375rem;
    padding: 0.375rem 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-400);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-800);
    border-radius: var(--radius);
    color: var(--neutral-400);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--neutral-500);
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   Modal
   ======================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--neutral-100);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--neutral-700);
}

.modal-body {
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

/* Modal Report Styles */
.modal-report .report-header {
    position: sticky;
    top: 0;
    z-index: 5;
}

.modal-report .report-section {
    padding: 1.5rem 2rem;
}

.modal-report .modal-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--neutral-200);
    background: var(--neutral-50);
}

.modal-report .modal-footer p {
    margin-bottom: 1rem;
    color: var(--neutral-600);
}

.modal-report .modal-footer .package-btn {
    max-width: 350px;
}

/* VIN Verification */
.vin-verification {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.vin-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--neutral-100);
    border-radius: var(--radius);
    font-family: monospace;
}

.vin-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neutral-500);
    text-transform: uppercase;
}

.vin-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-800);
    letter-spacing: 0.05em;
}

.vin-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.vin-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.vin-detail-item span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.vin-detail-item strong {
    font-size: 0.875rem;
    color: var(--neutral-800);
}

/* Theft Check */
.theft-check {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-badge.large {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

.check-note {
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

/* Info Grid Detailed */
.info-grid-detailed {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* KM Status */
.km-status {
    margin-bottom: 1rem;
}

.km-ok {
    color: var(--success);
    font-weight: 600;
}

/* KM Source Logo */
.km-source-logo {
    height: 20px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

.km-source-text {
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

/* Expert Notes */
.expert-notes {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--neutral-50);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.expert-notes h6 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.expert-notes p {
    font-size: 0.875rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* Valuation Enhanced */
.valuation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.valuation-header span {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.valuation-price {
    font-size: 1.75rem;
    color: var(--primary-dark);
}

.valuation-factors {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.valuation-factors h6 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.75rem;
}

.valuation-factors ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.valuation-factors li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

.valuation-factors li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.valuation-factors li.positive::before {
    background: var(--success);
}

.valuation-factors li.negative::before {
    background: var(--error);
}

.valuation-factors li.neutral::before {
    background: var(--neutral-400);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* Scroll animations */
.feature-card,
.package-card,
.report-card,
.partner-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.visible,
.package-card.visible,
.report-card.visible,
.partner-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .packages-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sample-reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Header */
    .header {
        padding: 0;
    }
    
    .header .container {
        height: 56px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    /* Hero */
    .hero {
        padding: 5rem 0 2.5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .search-box {
        padding: 1rem;
    }
    
    .search-tabs {
        gap: 0.25rem;
    }
    
    .search-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .search-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    /* Features */
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    /* Packages */
    .packages {
        padding: 3rem 0;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .package-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .package-name {
        font-size: 1.125rem;
    }
    
    .package-price {
        font-size: 1.75rem;
    }
    
    /* Sample Reports */
    .sample-reports {
        padding: 3rem 0;
    }
    
    .sample-reports-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sample-report-btn {
        padding: 1rem;
    }
    
    .sample-package-name {
        font-size: 1rem;
    }
    
    .sample-package-price {
        font-size: 0.875rem;
    }
    
    /* Partners */
    .partners {
        padding: 3rem 0;
    }
    
    .partners-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .partner-logo-card {
        padding: 1rem;
    }
    
    /* CTA */
    .cta {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
        padding: 1rem;
        border-radius: var(--radius-lg);
    }
    
    .modal-header {
        padding: 1rem;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .vehicle-model {
        font-size: 1.25rem;
    }
    
    /* Expert tabs */
    .expert-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .expert-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .expert-tab img {
        height: 16px;
    }
    
    /* Report sections */
    .report-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .report-section h5 {
        font-size: 0.9375rem;
    }
    
    /* Diagram */
    .damage-diagram-container {
        padding: 1rem;
    }
    
    .damage-legend {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .legend-item {
        font-size: 0.6875rem;
    }
    
    .diagram-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .car-diagram {
        width: 180px;
        min-height: 340px;
        margin: 0 auto;
    }
    
    .damage-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .damage-category h6 {
        font-size: 0.8125rem;
    }
    
    .damage-category li {
        font-size: 0.8125rem;
    }
    
    /* KM Chart */
    .km-chart-container {
        padding: 0.75rem;
        overflow-x: auto;
    }
    
    .km-chart {
        min-width: 400px;
    }
    
    /* KM Table */
    .km-table {
        font-size: 0.75rem;
    }
    
    .km-table th,
    .km-table td {
        padding: 0.5rem;
    }
    
    .km-source-logo {
        height: 16px;
    }
    
    /* Info grid */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .info-item {
        padding: 0.75rem;
    }
    
    /* Valuation */
    .valuation-box {
        padding: 1rem;
    }
    
    .valuation-price {
        font-size: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.8125rem;
    }
    
    .footer-links h4 {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.8125rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .header .container {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero {
        padding-top: 4.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .packages-grid {
        gap: 1rem;
    }
    
    .package-features li {
        font-size: 0.8125rem;
    }
    
    .partners-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .partner-logo-card {
        padding: 0.75rem;
    }
    
    .partner-logo-card img {
        height: 24px;
    }
    
    /* Modal */
    .modal-content {
        margin: 0.5rem;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 0.875rem;
    }
    
    .vehicle-model {
        font-size: 1.125rem;
    }
    
    .vehicle-vin {
        font-size: 0.6875rem;
    }
    
    .expert-tabs {
        justify-content: center;
    }
    
    .expert-tab {
        flex: 1;
        min-width: 80px;
        justify-content: center;
    }
    
    .car-diagram {
        width: 160px;
        min-height: 300px;
    }
    
    .legend-item i {
        width: 12px;
        height: 12px;
    }
    
    /* New badge responsive */
    .new-badge {
        font-size: 0.5625rem;
        padding: 0.1rem 0.25rem;
    }
    
    /* Table scroll */
    .km-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .km-table {
        min-width: 360px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .package-card:hover,
    .feature-card:hover,
    .sample-report-btn:hover {
        transform: none;
    }
    
    .package-card.popular:hover {
        transform: scale(1.02);
    }
    
    .search-btn,
    .btn-primary,
    .btn-outline {
        min-height: 48px;
    }
    
    .expert-tab {
        min-height: 44px;
    }
}

/* Landscape phone */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem;
        min-height: auto;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-body {
        max-height: 70vh;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .modal-close,
    .cta {
        display: none;
    }
    
    .modal {
        position: static;
        background: none;
    }
    
    .modal-content {
        box-shadow: none;
        max-height: none;
    }
}

