/* FlipRadar Styles - Complete */

:root {
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --green-500: #22c55e;
    --red-500: #ef4444;
    --yellow-500: #eab308;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--gray-800); background: var(--gray-50); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--gray-900); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-family: var(--font-display); font-size: 15px; font-weight: 600; border-radius: var(--radius-md); border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: white; box-shadow: 0 2px 8px rgba(249,115,22,0.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.4); }
.btn-outline { background: transparent; color: var(--gray-700); border: 2px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--orange-500); color: var(--orange-600); }
.btn-ghost { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { color: var(--orange-600); }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* Navigation */
.nav { 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(--gray-100); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.logo-icon { font-size: 28px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--gray-600); }
.nav-links a:hover { color: var(--orange-600); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Hero */
.hero { position: relative; padding: 160px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(249,115,22,0.08) 0%, transparent 50%); z-index: -1; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; padding: 8px 16px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 100px; font-size: 14px; font-weight: 600; color: #c2410c; margin-bottom: 24px; }
.hero-title { font-size: 56px; font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.gradient-text { background: linear-gradient(135deg, var(--orange-500), #c2410c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 20px; color: var(--gray-600); margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; }
.hero-note { font-size: 14px; color: var(--gray-500); }

/* Hero Visual */
.alert-card { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100); overflow: hidden; }
.alert-header { display: flex; justify-content: space-between; padding: 16px 20px; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.alert-badge { padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.alert-badge.live { background: var(--green-500); color: white; }
.alert-time { font-size: 13px; color: var(--gray-500); }
.alert-body { display: flex; gap: 20px; padding: 20px; }
.vehicle-image { width: 160px; height: 120px; background: var(--gray-100); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.vehicle-info h3 { font-size: 20px; margin-bottom: 4px; }
.vehicle-info .damage { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }
.stats { display: flex; gap: 24px; }
.stat .label { font-size: 11px; text-transform: uppercase; color: var(--gray-400); }
.stat .value { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.stat .value.score-high, .stat .value.profit { color: var(--green-500); }

/* Social Proof */
.social-proof { padding: 60px 0; background: white; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.proof-stats { display: flex; justify-content: center; gap: 80px; }
.proof-stat { text-align: center; }
.proof-stat .number { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--orange-600); }
.proof-stat .label { font-size: 14px; color: var(--gray-500); }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 40px; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--gray-500); max-width: 600px; margin: 0 auto; }

/* Features */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: white; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); }
.feature-card:hover { border-color: #fed7aa; box-shadow: var(--shadow-md); }
.feature-icon { font-size: 40px; margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--gray-500); }

/* How It Works */
.how-it-works { padding: 80px 0; background: white; }
.steps { display: flex; align-items: flex-start; gap: 24px; }
.step { flex: 1; text-align: center; }
.step-number { width: 48px; height: 48px; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: white; font-family: var(--font-display); font-size: 20px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--gray-500); }
.step-arrow { font-size: 24px; color: var(--gray-300); padding-top: 12px; }

/* AI Scoring */
.ai-scoring { padding: 80px 0; background: var(--gray-900); color: white; }
.ai-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-text h2 { color: white; font-size: 36px; margin-bottom: 20px; }
.ai-text p, .ai-text li { color: var(--gray-300); margin-bottom: 12px; }
.ai-text li { padding-left: 24px; position: relative; }
.ai-text li::before { content: '✓'; position: absolute; left: 0; color: var(--orange-500); }
.ai-text li strong { color: white; }
.ai-note { padding: 16px; background: rgba(255,255,255,0.05); border-left: 3px solid var(--orange-500); }
.score-examples { display: flex; flex-direction: column; gap: 16px; }
.score-example { display: flex; align-items: center; gap: 16px; padding: 16px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); }
.score-badge { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.score-example.trash .score-badge { background: var(--red-500); color: white; }
.score-example.risky .score-badge { background: var(--yellow-500); color: var(--gray-900); }
.score-example.good .score-badge { background: var(--green-500); color: white; }
.score-details .verdict { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.score-example.trash .verdict { color: var(--red-500); }
.score-example.risky .verdict { color: var(--yellow-500); }
.score-example.good .verdict { color: var(--green-500); }
.score-details .reason { font-size: 14px; color: var(--gray-400); }

/* Pricing */
.pricing { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: white; padding: 40px 32px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--orange-500); box-shadow: 0 0 0 1px var(--orange-500), var(--shadow-lg); transform: scale(1.05); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange-500); color: white; padding: 4px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.plan-price .amount { font-family: var(--font-display); font-size: 48px; font-weight: 700; }
.plan-price .period { font-size: 16px; color: var(--gray-500); }
.plan-features { text-align: left; margin: 24px 0 32px; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 15px; color: var(--gray-600); }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--gray-500); }

/* CTA */
.cta { padding: 80px 0; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); text-align: center; }
.cta h2 { color: white; font-size: 36px; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 32px; }
.cta .btn-primary { background: white; color: var(--orange-600); }

/* Footer */
.footer { padding: 60px 0 30px; background: var(--gray-900); color: var(--gray-400); }
.footer-content { display: flex; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid var(--gray-800); }
.footer-brand { max-width: 300px; }
.footer-brand .logo-text { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: white; margin-left: 8px; }
.footer-brand p { margin-top: 16px; font-size: 14px; }
.footer-links { display: flex; gap: 80px; }
.footer-col h4 { color: white; font-size: 14px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; }
.footer-col a:hover { color: var(--orange-500); }
.footer-bottom { padding-top: 30px; text-align: center; font-size: 14px; }

/* Auth Pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: radial-gradient(ellipse at 30% 20%, rgba(249,115,22,0.08) 0%, transparent 50%), var(--gray-50); }
.auth-card { width: 100%; max-width: 420px; background: white; padding: 48px; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .logo { font-size: 40px; margin-bottom: 16px; }
.auth-header h1 { font-size: 28px; margin-bottom: 8px; }
.auth-header p { color: var(--gray-500); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--gray-700); margin-bottom: 8px; }
.form-input { width: 100%; padding: 12px 16px; font-size: 15px; border: 1px solid var(--gray-200); border-radius: var(--radius-md); }
.form-input:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.auth-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--gray-500); }
.auth-footer a { color: var(--orange-600); font-weight: 500; }

/* Dashboard */
.dashboard { min-height: 100vh; background: var(--gray-50); }
.dashboard-nav { background: white; border-bottom: 1px solid var(--gray-100); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.dashboard-content { max-width: 1000px; margin: 0 auto; padding: 40px 24px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.dashboard-header h1 { font-size: 28px; }
.alerts-list { display: flex; flex-direction: column; gap: 16px; }
.alert-item { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; display: flex; justify-content: space-between; align-items: center; }
.alert-item-info h3 { font-size: 18px; margin-bottom: 4px; }
.alert-item-criteria { display: flex; gap: 16px; font-size: 14px; color: var(--gray-500); }
.alert-item-stats { display: flex; gap: 24px; text-align: right; }
.alert-item-stats .stat-value { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.alert-item-actions { display: flex; gap: 8px; }
.empty-state { text-align: center; padding: 60px 40px; background: white; border: 2px dashed var(--gray-200); border-radius: var(--radius-lg); }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); margin-bottom: 24px; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.2s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: white; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; border-radius: var(--radius-xl); }
.modal-header { padding: 24px; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-size: 20px; }
.modal-close { width: 32px; height: 32px; border: none; background: var(--gray-100); border-radius: 50%; cursor: pointer; }
.modal-body { padding: 24px; }
.modal-footer { padding: 24px; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .features-grid, .pricing-grid { grid-template-columns: 1fr; }
    .ai-content { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 36px; }
    .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .proof-stats, .footer-content { flex-direction: column; gap: 32px; }
}
