/* ============================================================
   SmartPick AI — OBSIDIAN ULTRA Premium Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --void:    #020408;
  --abyss:   #050c14;
  --deep:    #080f1a;
  --surface: #0c1520;
  --elevated:#111d2b;
  --raised:  #162235;
  --glass-1: rgba(255,255,255,0.03);
  --glass-2: rgba(255,255,255,0.06);
  --glass-3: rgba(255,255,255,0.09);
  --border-1: rgba(255,255,255,0.05);
  --border-2: rgba(255,255,255,0.09);
  --border-3: rgba(255,255,255,0.14);
  --cyan:  #00e5ff;
  --cyan2: #00b8d9;
  --cyan3: #007ca3;
  --cyan-glow: rgba(0,229,255,0.25);
  --gold:  #ffd166;
  --gold2: #e6a817;
  --gold-glow: rgba(255,209,102,0.2);
  --violet: #8b5cf6;
  --emerald:#00d68f;
  --coral:  #ff6b6b;
  --rose:   #ff4d8f;
  --text-primary:  #f0f4f8;
  --text-secondary:#8da0b3;
  --text-muted:    #4d6175;
  --text-ghost:    #2d4155;
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-2xl:36px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.6);
  --shadow-xl:  0 40px 120px rgba(0,0,0,0.7);
  --glow-cyan:  0 0 40px rgba(0,229,255,0.2), 0 0 80px rgba(0,229,255,0.08);
  --glow-gold:  0 0 40px rgba(255,209,102,0.2);
  --glow-violet:0 0 40px rgba(139,92,246,0.2);
  --font-display: 'Outfit', 'Space Grotesk', sans-serif;
  --font-body:    'Inter', 'Space Grotesk', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--void); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; cursor: none; }

.cursor-dot { position: fixed; top: 0; left: 0; z-index: 9999; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); pointer-events: none; transform: translate(-50%,-50%); transition: transform 0.1s, opacity 0.3s, width 0.3s, height 0.3s; mix-blend-mode: screen; }
.cursor-ring { position: fixed; top: 0; left: 0; z-index: 9998; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(0,229,255,0.5); pointer-events: none; transform: translate(-50%,-50%); transition: transform 0.18s cubic-bezier(0.23,1,0.32,1), width 0.3s, height 0.3s, border-color 0.3s; }
body:has(a:hover) .cursor-ring, body:has(button:hover) .cursor-ring { width: 52px; height: 52px; border-color: var(--cyan); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--cyan3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan2); }

body::after { content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); background-size: 200px 200px; }

#particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.ambient-orb { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.orb-1 { width: 600px; height: 600px; top: -200px; left: -100px; background: radial-gradient(circle, rgba(0,229,255,0.07) 0%, transparent 70%); animation: orbFloat1 20s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; bottom: -150px; right: -100px; background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, transparent 70%); animation: orbFloat2 25s ease-in-out infinite; }
.orb-3 { width: 400px; height: 400px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,209,102,0.04) 0%, transparent 70%); animation: orbFloat3 30s ease-in-out infinite; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; background: rgba(2,4,8,0.6); backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid var(--border-1); transition: all 0.4s cubic-bezier(0.23,1,0.32,1); }
nav.scrolled { background: rgba(2,4,8,0.92); border-bottom-color: var(--border-2); box-shadow: 0 1px 0 rgba(0,229,255,0.1), var(--shadow-md); }
.nav-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; position: relative; }
.nav-logo-icon { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--cyan), var(--violet)); display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 0 20px rgba(0,229,255,0.4); animation: logoPulse 3s ease-in-out infinite; }
.nav-logo-text { background: linear-gradient(135deg, #fff 30%, var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; transition: all 0.3s; }
.nav-logo-text:hover { animation: textGlitch 0.4s steps(2) forwards; }
.nav-logo-badge { font-family: var(--font-mono); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em; background: linear-gradient(90deg, var(--cyan), var(--violet)); color: #000; padding: 0.15rem 0.5rem; border-radius: 4px; text-transform: uppercase; }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; padding: 0.45rem 0.85rem; border-radius: var(--r-sm); font-size: 0.85rem; font-weight: 500; transition: all 0.25s cubic-bezier(0.23,1,0.32,1); display: flex; align-items: center; gap: 0.4rem; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 2px; left: 50%; right: 50%; height: 2px; background: var(--cyan); border-radius: 1px; transition: all 0.3s cubic-bezier(0.23,1,0.32,1); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { left: 12px; right: 12px; }
.nav-links a:hover { background: var(--glass-2); }
.nav-cta { background: linear-gradient(135deg, var(--cyan), var(--cyan2)) !important; color: #000 !important; font-weight: 700 !important; box-shadow: 0 0 24px rgba(0,229,255,0.3) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 36px rgba(0,229,255,0.5) !important; background: rgba(0,0,0,0) !important; }
.nav-wishlist-wrap { position: relative; }
.nav-badge { position: absolute; top: -4px; right: -4px; background: var(--rose); color: white; border-radius: 50%; width: 16px; height: 16px; font-size: 0.6rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--void); animation: badgePop 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.nav-mobile-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.2rem; cursor: pointer; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: flex-start; text-align: left; padding: 8rem 0 5rem; overflow: hidden; }
.hero-mesh { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0,229,255,0.1) 0%, transparent 60%), radial-gradient(ellipse 70% 50% at 85% 90%, rgba(139,92,246,0.08) 0%, transparent 55%), radial-gradient(ellipse 60% 40% at 10% 70%, rgba(255,209,102,0.05) 0%, transparent 50%); }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 75%); }
.hero-scanline { position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: scanLine 4s linear infinite; opacity: 0.4; }
.hero-content { position: relative; z-index: 10; max-width: 520px; padding-left: clamp(2rem,6vw,7rem); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; animation: fadeInDown 0.8s cubic-bezier(0.23,1,0.32,1) both; }
.eyebrow-line { height: 1px; width: 32px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.eyebrow-line.right { background: linear-gradient(90deg, var(--cyan), transparent); }
.eyebrow-text { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); }
.eyebrow-cursor { display: inline-block; width: 2px; height: 0.8em; background: var(--cyan); margin-left: 2px; vertical-align: middle; animation: blink 1s step-end infinite; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.5rem; animation: heroTitleIn 1s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.hero-highlight { position: relative; display: inline-block; background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--gold) 100%); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientShift 4s ease-in-out infinite; }
.hero-highlight::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold)); border-radius: 2px; animation: lineGrow 1.2s cubic-bezier(0.16,1,0.3,1) 0.6s both; transform-origin: left; }
.hero p { font-size: 1rem; color: var(--text-secondary); font-weight: 400; max-width: 500px; margin: 0 0 2rem; line-height: 1.75; animation: fadeInUp 0.8s cubic-bezier(0.23,1,0.32,1) 0.3s both; }
.hero-buttons { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; animation: fadeInUp 0.8s cubic-bezier(0.23,1,0.32,1) 0.45s both; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 0; justify-content: flex-start; animation: fadeInUp 0.8s cubic-bezier(0.23,1,0.32,1) 0.6s both; border: 1px solid var(--border-2); border-radius: var(--r-xl); overflow: hidden; background: var(--glass-1); backdrop-filter: blur(20px); max-width: 460px; margin: 0; }
.hero-stat { flex: 1; padding: 1.2rem 1.5rem; text-align: center; position: relative; }
.hero-stat + .hero-stat::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--border-2); }
.hero-stat-num { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--text-primary); line-height: 1; letter-spacing: -0.03em; }
.hero-stat-unit { color: var(--cyan); font-size: 0.95rem; }
.hero-stat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.35rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.3s cubic-bezier(0.23,1,0.32,1); font-family: var(--font-body); text-decoration: none; position: relative; overflow: hidden; letter-spacing: 0.01em; }
.btn::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background 0.2s; }
.btn:hover::before { background: rgba(255,255,255,0.07); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--cyan2)); color: #000; box-shadow: 0 0 0 1px rgba(0,229,255,0.3), 0 8px 32px rgba(0,229,255,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0,229,255,0.5), 0 12px 40px rgba(0,229,255,0.45); }
.btn-outline { background: var(--glass-2); color: var(--text-primary); border: 1px solid var(--border-2); backdrop-filter: blur(12px); }
.btn-outline:hover { border-color: rgba(0,229,255,0.5); color: var(--cyan); }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transform: skewX(-20deg); animation: btnShimmer 3s ease-in-out infinite; }

.section { position: relative; z-index: 1; padding: 6rem 2rem; }
.container { max-width: 1240px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; padding: 0.3rem 0.9rem; background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2); border-radius: 100px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem; }
.section-title span { color: var(--cyan); }
.section-title .gold-text { color: var(--gold); }
.section-sub { color: var(--text-secondary); font-size: 0.92rem; max-width: 480px; margin: 0 auto; line-height: 1.7; }
.divider-line { width: 60px; height: 2px; margin: 1.2rem auto 0; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.glass-card { background: var(--glass-1); border: 1px solid var(--border-1); border-radius: var(--r-lg); backdrop-filter: blur(20px); transition: all 0.35s cubic-bezier(0.23,1,0.32,1); }
.glass-card:hover { border-color: rgba(0,229,255,0.2); box-shadow: var(--glow-cyan); }

.brand-ribbon { padding: 1.2rem 0; overflow: hidden; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); background: var(--surface); position: relative; z-index: 1; }
.brand-ribbon::before, .brand-ribbon::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.brand-ribbon::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.brand-ribbon::after  { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.brand-ribbon-track { display: flex; gap: 3rem; align-items: center; animation: ribbonScroll 25s linear infinite; width: max-content; }
.brand-ribbon-item { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--text-ghost); text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: color 0.3s, text-shadow 0.3s; }
.brand-ribbon-item:hover { color: var(--cyan); text-shadow: 0 0 20px var(--cyan); }
.brand-ribbon-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border-2); flex-shrink: 0; }

#recommend { background: linear-gradient(180deg, var(--void) 0%, var(--abyss) 100%); }
.wizard-wrap { max-width: 820px; margin: 0 auto; }
.wizard-progress { display: flex; align-items: center; justify-content: center; margin-bottom: 3rem; gap: 0; position: relative; }
.wizard-step-dot { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; background: var(--raised); border: 2px solid var(--border-2); color: var(--text-muted); transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); position: relative; z-index: 1; cursor: default; }
.wizard-step-dot.active { background: var(--cyan); border-color: var(--cyan); color: #000; box-shadow: 0 0 0 6px rgba(0,229,255,0.15), 0 0 24px rgba(0,229,255,0.4); transform: scale(1.1); }
.wizard-step-dot.done { background: var(--emerald); border-color: var(--emerald); color: #000; box-shadow: 0 0 16px rgba(0,214,143,0.35); }
.wizard-step-dot.done .dot-num { display: none; }
.wizard-step-dot.done::after { content: '✓'; font-size: 0.9rem; }
.wizard-step-line { height: 2px; flex: 1; max-width: 72px; background: var(--border-2); transition: all 0.5s; position: relative; overflow: hidden; }
.wizard-step-line.done { background: var(--emerald); }
.wizard-step-line.done::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: lineShine 1s ease forwards; }
.wizard-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: 3rem; backdrop-filter: blur(20px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05); }
.wizard-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent); }
.wizard-card::after { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; border-radius: var(--r-xl); background: linear-gradient(135deg, transparent 0%, transparent 40%, rgba(0,229,255,0.04) 50%, transparent 60%, transparent 100%); background-size: 300% 300%; animation: holoShimmer 6s ease-in-out infinite; pointer-events: none; z-index: 0; }
.wizard-step { display: none; animation: stepFadeIn 0.45s cubic-bezier(0.23,1,0.32,1); }
.wizard-step.active { display: block; }
.wizard-q { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.02em; line-height: 1.25; }
.wizard-q-sub { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 2.5rem; line-height: 1.6; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.option-btn { background: var(--glass-1); border: 1.5px solid var(--border-2); border-radius: var(--r-lg); padding: 1.4rem 1.1rem; cursor: pointer; text-align: center; color: var(--text-primary); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; transition: all 0.3s cubic-bezier(0.23,1,0.32,1); font-family: var(--font-body); position: relative; overflow: hidden; backdrop-filter: blur(8px); }
.option-btn::before { content: ''; position: absolute; inset: -1px; border-radius: var(--r-lg); background: linear-gradient(135deg, transparent, rgba(0,229,255,0.05), transparent); opacity: 0; transition: opacity 0.3s; }
.option-btn:hover { border-color: rgba(0,229,255,0.5); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,229,255,0.15); }
.option-btn:hover::before { opacity: 1; }
.option-btn.selected { border-color: var(--cyan); background: rgba(0,229,255,0.1); box-shadow: 0 0 0 1px rgba(0,229,255,0.3), inset 0 0 24px rgba(0,229,255,0.05); transform: translateY(-3px); }
.option-btn.selected::after { content: '✓'; position: absolute; top: 10px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan); color: #000; font-size: 0.65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.option-btn i { font-size: 1.8rem; transition: transform 0.3s, filter 0.3s; }
.option-btn:hover i { transform: scale(1.15); filter: drop-shadow(0 0 8px currentColor); }
.option-btn .opt-title { font-weight: 700; font-size: 0.88rem; letter-spacing: -0.01em; }
.option-btn .opt-sub { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.45; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border-1); }
.step-indicator { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }

#result { display: none; }
.result-reveal-card { position: relative; border-radius: var(--r-xl); overflow: hidden; margin-bottom: 2rem; text-align: center; border: 1px solid var(--border-2); background: var(--surface); box-shadow: var(--shadow-xl); }
.reveal-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.reveal-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 32px 32px; z-index: 0; }
.reveal-content { position: relative; z-index: 1; padding: 3rem 2rem 2.5rem; }
.reveal-eyebrow { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; animation: fadeInDown 0.5s ease both; }
.reveal-icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 100px; height: 100px; border-radius: 28px; margin: 0 auto 1.5rem; font-size: 3.5rem; line-height: 1; animation: iconReveal 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.1s both; position: relative; }
.reveal-icon-ring { position: absolute; inset: -8px; border-radius: 36px; border: 2px solid; opacity: 0.4; animation: ringRotate 8s linear infinite; }
.reveal-category-name { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.75rem; animation: nameReveal 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
.reveal-desc { font-size: 0.95rem; color: var(--text-secondary); max-width: 460px; margin: 0 auto 2rem; line-height: 1.7; animation: fadeInUp 0.5s 0.35s ease both; }
.trait-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2rem; animation: fadeInUp 0.5s 0.45s ease both; }
.trait-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--glass-2); border: 1px solid var(--border-2); border-radius: 100px; padding: 0.4rem 1rem; font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; transition: all 0.2s; }
.trait-chip:hover { background: var(--glass-3); color: var(--text-primary); }
.trait-chip.highlight { font-weight: 600; color: var(--text-primary); }
.trait-chip i { font-size: 0.65rem; }
.ai-confirm-row { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--border-1); animation: fadeInUp 0.5s 0.55s ease both; }
.ai-badge { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 100px; padding: 0.45rem 1.1rem; font-size: 0.78rem; font-weight: 600; }
.ai-badge.confirm { background: rgba(0,214,143,0.08); border: 1px solid rgba(0,214,143,0.25); color: var(--emerald); }
.ai-badge.override { background: rgba(255,209,102,0.08); border: 1px solid rgba(255,209,102,0.2); color: var(--gold); }
.ai-badge.model-info { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2); color: var(--violet); }

.rank-badge { position: absolute; top: 12px; left: 12px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; backdrop-filter: blur(8px); background: rgba(2,4,8,0.85); animation: rankPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
.rank-badge.r1 { animation-delay: 0.1s; border: 1.5px solid var(--gold); box-shadow: 0 0 16px var(--gold-glow); }
.rank-badge.r2 { animation-delay: 0.2s; border: 1.5px solid #94a3b8; }
.rank-badge.r3 { animation-delay: 0.3s; border: 1.5px solid #fb7c28; }

.phones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.result-phones-grid { grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)) !important; }
.phone-card { background: var(--surface); border: 1px solid var(--border-1); border-radius: var(--r-lg); overflow: hidden; transition: all 0.35s cubic-bezier(0.23,1,0.32,1); cursor: pointer; position: relative; box-shadow: var(--shadow-sm); }
.phone-card::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(0,229,255,0), rgba(0,229,255,0.15), rgba(139,92,246,0.1), rgba(0,229,255,0)); opacity: 0; transition: opacity 0.4s; }
.phone-card:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(0,229,255,0.25); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,229,255,0.12), 0 0 40px rgba(0,229,255,0.08); }
.phone-card:hover::before { opacity: 1; }
.result-phones-grid .phone-card { animation: cardIn 0.55s cubic-bezier(0.16,1,0.3,1) both; }
.result-phones-grid .phone-card:nth-child(1) { animation-delay: 0.05s; }
.result-phones-grid .phone-card:nth-child(2) { animation-delay: 0.12s; }
.result-phones-grid .phone-card:nth-child(3) { animation-delay: 0.19s; }
.result-phones-grid .phone-card:nth-child(4) { animation-delay: 0.26s; }
.result-phones-grid .phone-card:nth-child(5) { animation-delay: 0.33s; }
.result-phones-grid .phone-card:nth-child(6) { animation-delay: 0.40s; }
.result-phones-grid .phone-card:nth-child(7) { animation-delay: 0.47s; }
.result-phones-grid .phone-card:nth-child(8) { animation-delay: 0.54s; }
.phone-img-wrap { position: relative; width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--deep), var(--surface)); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0.5rem; }
.phone-img-wrap::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to top, var(--surface), transparent); pointer-events: none; z-index: 2; }
.phone-img-loader { width: 36px; height: 36px; border: 2px solid rgba(0,229,255,0.15); border-top-color: var(--cyan); border-radius: 50%; animation: spin 1s linear infinite; position: absolute; }
.phone-img-wrap img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; padding: 0.6rem; transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), opacity 0.3s; opacity: 0; }
.phone-card:hover .phone-img-wrap img { transform: scale(1.03) translateY(-2px); }
.wishlist-btn { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(2,4,8,0.7); border: 1px solid var(--border-2); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s; color: var(--text-muted); font-size: 0.9rem; backdrop-filter: blur(8px); }
.wishlist-btn:hover { border-color: var(--rose); color: var(--rose); transform: scale(1.1); }
.wishlist-btn.wishlisted { color: var(--rose); border-color: rgba(255,77,143,0.5); background: rgba(255,77,143,0.12); }
.quick-view-bar { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; background: linear-gradient(to top, rgba(2,4,8,0.95) 60%, transparent); padding: 1.2rem 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; opacity: 0; transform: translateY(8px); transition: all 0.3s cubic-bezier(0.23,1,0.32,1); pointer-events: none; }
.phone-card:hover .quick-view-bar { opacity: 1; transform: translateY(0); pointer-events: all; }
.quick-view-btn { background: rgba(0,229,255,0.15); border: 1px solid rgba(0,229,255,0.4); color: var(--cyan); border-radius: 100px; padding: 0.45rem 1.2rem; font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: all 0.2s; display: flex; align-items: center; gap: 0.4rem; }
.quick-view-btn:hover { background: rgba(0,229,255,0.28); }
.phone-card-body { padding: 1.25rem 1.2rem 0.75rem; }
.phone-card-brand { font-family: var(--font-mono); font-size: 0.65rem; color: var(--cyan); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.phone-card-name { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; margin-bottom: 0.9rem; line-height: 1.35; letter-spacing: -0.02em; }
.phone-card-price { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.phone-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.spec-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; color: var(--text-secondary); }
.spec-item i { color: var(--text-ghost); width: 13px; font-size: 0.68rem; flex-shrink: 0; }
.spec-item .spec-val { font-weight: 500; color: var(--text-secondary); }
.score-ring-wrap { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--border-1); }
.score-ring { width: 44px; height: 44px; position: relative; flex-shrink: 0; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 3.5; }
.score-ring-fg { fill: none; stroke-width: 3.5; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.16,1,0.3,1); }
.score-ring-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 800; }
.score-ring-info { font-size: 0.74rem; color: var(--text-secondary); line-height: 1.45; }
.score-ring-info strong { color: var(--text-primary); font-size: 0.79rem; display: block; margin-bottom: 0.1rem; }
.phone-card-footer { padding: 0.75rem 1.2rem; border-top: 1px solid var(--border-1); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.category-badge { font-size: 0.68rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 100px; letter-spacing: 0.04em; }
.cat-gaming      { background: rgba(255,107,107,0.12); color: #ff6b6b; border: 1px solid rgba(255,107,107,0.25); }
.cat-foto        { background: rgba(139,92,246,0.12);  color: #8b5cf6; border: 1px solid rgba(139,92,246,0.25); }
.cat-mahasiswa   { background: rgba(0,214,143,0.12);   color: var(--emerald); border: 1px solid rgba(0,214,143,0.25); }
.cat-umum        { background: rgba(0,229,255,0.12);   color: var(--cyan); border: 1px solid rgba(0,229,255,0.25); }
.compare-btn { background: none; border: 1px solid var(--border-2); color: var(--text-muted); padding: 0.3rem 0.7rem; border-radius: var(--r-xs); font-size: 0.73rem; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.compare-btn:hover, .compare-btn.added { border-color: var(--coral); color: var(--coral); background: rgba(255,107,107,0.08); }
.reasons-box { margin-top: 0.75rem; padding: 0.7rem 0.9rem; background: rgba(0,229,255,0.04); border-left: 3px solid rgba(0,229,255,0.35); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.reasons-title { font-size: 0.68rem; color: var(--cyan); font-weight: 700; margin-bottom: 0.35rem; letter-spacing: 0.06em; text-transform: uppercase; }
.reasons-item { font-size: 0.74rem; color: var(--text-secondary); margin-bottom: 0.18rem; display: flex; align-items: flex-start; gap: 0.4rem; line-height: 1.4; }
.reasons-item::before { content: '→'; color: var(--cyan); font-size: 0.65rem; flex-shrink: 0; margin-top: 1px; }

#catalog { background: linear-gradient(180deg, var(--abyss) 0%, var(--deep) 100%); }
.filter-bar { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; box-shadow: var(--shadow-md); }
.search-wrap { flex: 1; min-width: 220px; position: relative; }
.search-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.8rem; }
.search-input { width: 100%; background: var(--elevated); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 0.65rem 1rem 0.65rem 2.5rem; color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: all 0.25s; }
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: rgba(0,229,255,0.5); box-shadow: 0 0 0 3px rgba(0,229,255,0.08); }
.filter-select { background: var(--elevated); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 0.65rem 1rem; color: var(--text-primary); font-family: var(--font-body); font-size: 0.88rem; outline: none; cursor: pointer; transition: all 0.25s; min-width: 140px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234d6175' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
.filter-select:focus { border-color: rgba(0,229,255,0.5); }
.filter-select option { background: var(--surface); }
.catalog-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.catalog-meta-count { color: var(--text-secondary); font-size: 0.88rem; }
.catalog-meta-hint { font-size: 0.78rem; color: var(--text-muted); }
.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem; flex-wrap: wrap; }
.page-btn { min-width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-sm); color: var(--text-secondary); cursor: pointer; font-size: 0.85rem; font-family: var(--font-body); transition: all 0.2s; display: flex; align-items: center; justify-content: center; padding: 0 0.5rem; }
.page-btn:hover { border-color: rgba(0,229,255,0.4); color: var(--cyan); background: rgba(0,229,255,0.06); }
.page-btn.active { background: var(--cyan); border-color: var(--cyan); color: #000; font-weight: 800; }
.page-btn:disabled { opacity: 0.25; cursor: not-allowed; }

#analytics { background: var(--deep); position: relative; overflow: hidden; }
#analytics::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(139,92,246,0.04) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(0,229,255,0.04) 0%, transparent 40%); pointer-events: none; z-index: 0; }
.analytics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 1.6rem; display: flex; align-items: center; gap: 1.2rem; transition: all 0.3s cubic-bezier(0.23,1,0.32,1); overflow: hidden; position: relative; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: 0; transition: opacity 0.3s; }
.stat-card.blue::before  { background: linear-gradient(90deg, var(--cyan), transparent); }
.stat-card.purple::before{ background: linear-gradient(90deg, var(--violet), transparent); }
.stat-card.green::before { background: linear-gradient(90deg, var(--emerald), transparent); }
.stat-card.orange::before{ background: linear-gradient(90deg, var(--coral), transparent); }
.stat-card:hover { transform: translateY(-3px); border-color: var(--border-3); }
.stat-card:hover::before { opacity: 1; }
.stat-icon { width: 52px; height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-icon.blue   { background: rgba(0,229,255,0.1);   color: var(--cyan); }
.stat-icon.purple { background: rgba(139,92,246,0.1);  color: var(--violet); }
.stat-icon.green  { background: rgba(0,214,143,0.1);   color: var(--emerald); }
.stat-icon.orange { background: rgba(255,107,107,0.1); color: var(--coral); }
.stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.3rem; }
.accuracy-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.acc-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 2rem; text-align: center; transition: all 0.3s; position: relative; overflow: hidden; }
.acc-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.06), transparent 60%); }
.acc-card:hover { transform: translateY(-4px); box-shadow: var(--glow-cyan); border-color: rgba(0,229,255,0.3); }
.acc-pct { font-family: var(--font-display); font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--cyan), var(--emerald)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.04em; }
.acc-type { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.acc-label { font-size: 0.83rem; color: var(--text-secondary); margin-top: 0.4rem; }
.charts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
.chart-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 1.75rem; transition: all 0.3s; }
.chart-card:hover { border-color: var(--border-3); }
.chart-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.01em; }
.chart-title i { color: var(--cyan); }
.chart-wrap { position: relative; height: 230px; }
.score-breakdown { background: var(--surface); border: 1px solid rgba(0,229,255,0.2); border-radius: var(--r-lg); padding: 1.75rem; margin-bottom: 2rem; }
.score-breakdown-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.score-breakdown-sub { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.score-bar-row { margin-bottom: 0.85rem; }
.score-bar-label-row { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 0.3rem; }
.score-bar-cat { color: var(--text-secondary); display: flex; align-items: center; gap: 0.3rem; }
.score-bar-pct { font-family: var(--font-mono); font-weight: 700; }
.score-bar-track { height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(0.16,1,0.3,1); }

.compare-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: rgba(2,4,8,0.95); backdrop-filter: blur(24px); border-top: 1px solid var(--border-2); padding: 0.85rem 2rem; display: flex; align-items: center; gap: 1rem; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.23,1,0.32,1); }
.compare-bar.visible { transform: translateY(0); }
.compare-bar-label { font-size: 0.78rem; color: var(--text-secondary); white-space: nowrap; display: flex; align-items: center; gap: 0.4rem; }
.compare-bar-label i { color: var(--cyan); }
.compare-slots { display: flex; gap: 0.6rem; flex: 1; }
.compare-slot { background: var(--elevated); border: 1px dashed var(--border-2); border-radius: var(--r-sm); padding: 0.5rem 1rem; min-width: 150px; font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; position: relative; transition: all 0.2s; }
.compare-slot.filled { border-style: solid; border-color: rgba(0,229,255,0.3); color: var(--text-primary); }
.remove-compare { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--text-muted); background: none; border: none; font-size: 0.75rem; transition: color 0.2s; }
.remove-compare:hover { color: var(--rose); }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.compare-table th, .compare-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border-1); text-align: left; vertical-align: middle; }
.compare-table th { font-weight: 600; color: var(--text-secondary); width: 160px; font-size: 0.82rem; }
.compare-table td { color: var(--text-primary); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--glass-1); }
.best-val { color: var(--emerald) !important; font-weight: 700; }
.compare-advantages-section { margin-top: 2rem; padding: 1.5rem; background: var(--elevated); border-radius: var(--r-lg); border: 1px solid var(--border-2); }
.compare-adv-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.02em; }
.compare-adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.compare-adv-card { background: var(--surface); border: 1px solid var(--border-1); border-radius: var(--r-md); padding: 1rem; transition: border-color 0.2s; }
.compare-adv-card:hover { border-color: rgba(0,229,255,0.25); }
.compare-adv-phone-name { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.compare-adv-cat { font-size: 0.72rem; margin-bottom: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-adv-list { list-style: none; padding: 0; margin: 0; }
.compare-adv-item { display: flex; align-items: flex-start; gap: 0.45rem; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.45rem; line-height: 1.5; font-weight: 400; }
.compare-adv-item i { flex-shrink: 0; margin-top: 2px; font-size: 0.65rem; }
.compare-adv-item.green i { color: var(--emerald); }
.compare-adv-item.cyan i  { color: var(--cyan); }
.compare-adv-item.gold i  { color: var(--gold); }
.compare-adv-item.violet i{ color: var(--violet); }
.compare-adv-verdict { margin-top: 1.25rem; padding: 1rem; background: rgba(0,229,255,0.04); border: 1px solid rgba(0,229,255,0.15); border-radius: var(--r-md); font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }
.compare-adv-verdict strong { color: var(--cyan); }

.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.75); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: all 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-xl); max-width: 700px; width: 100%; max-height: 88vh; overflow-y: auto; transform: scale(0.95) translateY(20px); transition: all 0.35s cubic-bezier(0.16,1,0.3,1); box-shadow: var(--shadow-xl); }
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { padding: 1.6rem 2rem; border-bottom: 1px solid var(--border-1); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--surface); z-index: 1; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.modal-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.modal-close { background: var(--glass-2); border: 1px solid var(--border-2); color: var(--text-secondary); cursor: pointer; font-size: 1rem; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.modal-close:hover { background: rgba(255,77,143,0.15); border-color: rgba(255,77,143,0.4); color: var(--rose); }
.modal-body { padding: 2rem; }
.modal-img { width: 180px; margin: 0 auto 1.5rem; display: block; object-fit: contain; }
.modal-price { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--cyan); text-align: center; margin-bottom: 2rem; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.modal-spec { background: var(--elevated); border-radius: var(--r-sm); padding: 0.85rem 1rem; border: 1px solid var(--border-1); transition: border-color 0.2s; }
.modal-spec:hover { border-color: rgba(0,229,255,0.2); }
.modal-spec-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.35rem; }
.modal-spec-val { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }

.toast { position: fixed; bottom: 90px; right: 1.5rem; z-index: 500; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-md); padding: 0.8rem 1.3rem; font-size: 0.875rem; display: flex; align-items: center; gap: 0.6rem; transform: translateX(130%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); max-width: 300px; box-shadow: var(--shadow-lg); backdrop-filter: blur(20px); }
.toast.show { transform: translateX(0); }
.toast i { color: var(--cyan); }

.toast-recommendation { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(120px); z-index: 600; background: linear-gradient(135deg, var(--surface), var(--elevated)); border: 1px solid rgba(0,229,255,0.35); border-radius: var(--r-xl); padding: 1.25rem 1.5rem; min-width: 340px; max-width: 92vw; box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,229,255,0.1), var(--glow-cyan); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s; opacity: 0; pointer-events: none; backdrop-filter: blur(24px); }
.toast-recommendation.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: all; }
.toast-rec-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }
.toast-rec-badge { background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #000; border-radius: 100px; padding: 0.25rem 0.75rem; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono); }
.toast-rec-close { margin-left: auto; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.85rem; padding: 0.2rem; transition: color 0.2s; line-height: 1; }
.toast-rec-close:hover { color: var(--rose); }
.toast-rec-phone { display: flex; gap: 0.85rem; align-items: center; background: var(--glass-1); border: 1px solid var(--border-2); border-radius: var(--r-md); padding: 0.75rem; margin-bottom: 0.85rem; }
.toast-rec-phone-emoji { font-size: 2rem; flex-shrink: 0; width: 48px; height: 48px; background: var(--glass-2); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; }
.toast-rec-phone-name { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--text-primary); margin-bottom: 0.15rem; }
.toast-rec-phone-price { font-family: var(--font-mono); color: var(--cyan); font-size: 0.78rem; font-weight: 700; }
.toast-rec-phone-cat { font-size: 0.68rem; color: var(--text-secondary); margin-top: 0.1rem; }
.toast-rec-actions { display: flex; gap: 0.5rem; }
.toast-rec-btn { flex: 1; padding: 0.5rem 0.75rem; border-radius: var(--r-sm); font-size: 0.77rem; font-weight: 600; cursor: pointer; border: none; font-family: var(--font-body); transition: all 0.25s; display: flex; align-items: center; justify-content: center; gap: 0.35rem; }
.toast-rec-btn.primary { background: linear-gradient(135deg, var(--cyan), var(--cyan2)); color: #000; box-shadow: 0 4px 16px rgba(0,229,255,0.25); }
.toast-rec-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,229,255,0.4); }
.toast-rec-btn.secondary { background: var(--glass-2); border: 1px solid var(--border-2); color: var(--text-primary); }
.toast-rec-btn.secondary:hover { border-color: rgba(0,229,255,0.4); color: var(--cyan); }
.toast-rec-stars { display: flex; gap: 0.3rem; justify-content: center; margin: 0.6rem 0 0.3rem; }
.toast-star { cursor: pointer; background: none; border: none; color: var(--border-2); font-size: 1.5rem; transition: all 0.15s; padding: 0; line-height: 1; }
.toast-star.active { color: var(--gold); transform: scale(1.1); }
.toast-rec-rating-label { font-size: 0.72rem; color: var(--text-muted); text-align: center; min-height: 1.2em; }

.ai-thinking-wrap { text-align: center; padding: 4rem 2rem; }
.ai-thinking-icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1.5rem; background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(139,92,246,0.1)); border: 1px solid rgba(0,229,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 2rem; animation: thinkingPulse 2s ease-in-out infinite; }
.ai-thinking-dots { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.2rem; }
.ai-dot { width: 10px; height: 10px; border-radius: 50%; animation: aiDot 1.4s ease-in-out infinite; }
.ai-dot:nth-child(1) { background: var(--cyan); }
.ai-dot:nth-child(2) { background: var(--violet); animation-delay: 0.16s; }
.ai-dot:nth-child(3) { background: var(--gold); animation-delay: 0.32s; }
.ai-thinking-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.ai-thinking-sub { font-size: 0.82rem; color: var(--text-muted); }

.fab-wrap { position: fixed; bottom: 2rem; right: 2rem; z-index: 90; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 0.75rem; }
.fab { width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; background: linear-gradient(135deg, var(--cyan), var(--cyan2)); color: #000; box-shadow: 0 0 0 0 rgba(0,229,255,0.4), var(--shadow-lg); transition: all 0.3s cubic-bezier(0.23,1,0.32,1); animation: fabPulse 3s ease-in-out infinite; }
.fab:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 0 0 8px rgba(0,229,255,0.15), var(--shadow-lg); }
.fab-mini { width: 44px; height: 44px; font-size: 0.95rem; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border-2); color: var(--text-secondary); box-shadow: var(--shadow-md); transition: all 0.3s cubic-bezier(0.23,1,0.32,1); opacity: 0; transform: scale(0.5) translateY(20px); pointer-events: none; }
.fab-mini.visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }
.fab-mini:hover { border-color: rgba(0,229,255,0.4); color: var(--cyan); transform: scale(1.08); }

.skeleton { background: linear-gradient(90deg, var(--elevated) 25%, var(--raised) 50%, var(--elevated) 75%); background-size: 200% 100%; animation: shimmer 1.8s infinite; border-radius: var(--r-sm); }
.skeleton-card { background: var(--surface); border: 1px solid var(--border-1); border-radius: var(--r-lg); overflow: hidden; }
.skeleton-img { aspect-ratio: 4/3; }
.skeleton-body { padding: 1.25rem; }
.skeleton-line { height: 11px; margin-bottom: 0.6rem; }
.skeleton-line.short  { width: 38%; }
.skeleton-line.medium { width: 65%; }
.skeleton-line.full   { width: 100%; }

.wishlist-empty { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.wishlist-empty i { font-size: 3rem; margin-bottom: 1rem; color: var(--rose); opacity: 0.4; display: block; }

.rating-modal-phone { display: flex; align-items: center; gap: 1rem; background: var(--elevated); border-radius: var(--r-md); padding: 0.85rem 1rem; margin-bottom: 1.5rem; border: 1px solid var(--border-1); }
.rating-modal-phone-name { font-weight: 700; font-size: 0.88rem; }
.rating-modal-phone-cat { font-size: 0.75rem; color: var(--cyan); margin-top: 0.2rem; }
.stars-input { display: flex; gap: 0.4rem; justify-content: center; margin: 1rem 0; }
.star-btn { cursor: pointer; background: none; border: none; color: var(--border-2); font-size: 2.2rem; transition: all 0.15s; padding: 0; line-height: 1; }
.star-btn.active { color: var(--gold); transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(255,209,102,0.5)); }
.rating-label { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 1rem; min-height: 1.3em; text-align: center; transition: all 0.2s; }
.rating-textarea { width: 100%; background: var(--elevated); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 0.85rem 1rem; color: var(--text-primary); font-family: var(--font-body); font-size: 0.875rem; resize: vertical; min-height: 85px; outline: none; transition: border-color 0.2s; margin-top: 0.5rem; }
.rating-textarea:focus { border-color: rgba(0,229,255,0.5); }
.rating-textarea::placeholder { color: var(--text-muted); }
.rating-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.5rem; justify-content: center; }
.rating-tag { background: var(--elevated); border: 1px solid var(--border-2); border-radius: 100px; padding: 0.32rem 0.8rem; font-size: 0.78rem; cursor: pointer; transition: all 0.2s; color: var(--text-secondary); }
.rating-tag.selected { background: rgba(0,229,255,0.1); border-color: rgba(0,229,255,0.4); color: var(--cyan); }
.review-card { background: var(--elevated); border-radius: var(--r-sm); padding: 1rem; margin-bottom: 0.75rem; border: 1px solid var(--border-1); animation: fadeInUp 0.4s ease; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.review-stars { color: var(--gold); font-size: 0.85rem; }
.review-date { font-size: 0.72rem; color: var(--text-muted); }
.review-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55; }

.data-stream { position: fixed; right: 0; top: 0; bottom: 0; width: 2px; z-index: 0; pointer-events: none; overflow: hidden; }
.data-stream::before { content: ''; position: absolute; top: -200px; left: 0; width: 2px; height: 200px; background: linear-gradient(to bottom, transparent, var(--cyan), transparent); animation: dataFlow 4s linear infinite; opacity: 0.25; }
.data-stream::after { content: ''; position: absolute; top: -400px; left: 0; width: 2px; height: 200px; background: linear-gradient(to bottom, transparent, var(--violet), transparent); animation: dataFlow 6s linear 2s infinite; opacity: 0.2; }
.data-stream-left { position: fixed; left: 0; top: 0; bottom: 0; width: 2px; z-index: 0; pointer-events: none; overflow: hidden; }
.data-stream-left::before { content: ''; position: absolute; top: -300px; left: 0; width: 2px; height: 200px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); animation: dataFlow 7s linear 1s infinite; opacity: 0.15; }
.scroll-progress-ring { position: fixed; top: 50%; right: 1.5rem; transform: translateY(-50%); z-index: 50; pointer-events: none; display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); transition: all 0.4s; pointer-events: all; cursor: pointer; }
.scroll-dot.active { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: scale(1.4); }
.ai-chip-float { position: fixed; bottom: 5rem; left: 1.5rem; z-index: 50; background: var(--surface); border: 1px solid rgba(0,229,255,0.25); border-radius: var(--r-md); padding: 0.5rem 0.85rem; display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.08em; opacity: 0; transition: opacity 0.5s; backdrop-filter: blur(12px); pointer-events: none; }
.ai-chip-float.visible { opacity: 1; }
.ai-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: chipBlink 2s ease-in-out infinite; }
.corner-deco { position: fixed; z-index: 0; pointer-events: none; width: 120px; height: 120px; opacity: 0.07; }
.corner-deco.top-left  { top: 80px; left: 0; }
.corner-deco.top-right { top: 80px; right: 0; transform: scaleX(-1); }
.corner-deco.bot-left  { bottom: 0; left: 0; transform: scaleY(-1); }
.corner-deco.bot-right { bottom: 0; right: 0; transform: scale(-1); }
.scan-overlay { position: absolute; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; z-index: 1; opacity: 0; background: linear-gradient(90deg, transparent, rgba(0,229,255,0.5), transparent); animation: sectionScan 8s linear infinite; }
#matrix-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.022; }
.float-number { position: fixed; pointer-events: none; z-index: 0; font-family: var(--font-mono); font-size: 0.6rem; color: rgba(0,229,255,0.06); font-weight: 700; animation: floatNumber linear infinite; user-select: none; }

footer { background: var(--void); border-top: 1px solid var(--border-1); padding: 3.5rem 2rem; text-align: center; position: relative; z-index: 1; }
footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; background: linear-gradient(135deg, #fff 30%, var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.footer-sub { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 2rem; line-height: 1.7; }
.footer-badges { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.footer-badge { display: flex; align-items: center; gap: 0.4rem; background: var(--glass-1); border: 1px solid var(--border-1); border-radius: var(--r-xs); padding: 0.35rem 0.85rem; font-size: 0.73rem; color: var(--text-muted); }
.footer-badge i { color: var(--cyan); }
.footer-copy { color: var(--text-ghost); font-size: 0.78rem; margin-top: 2rem; }

.loading-overlay { position: fixed; inset: 0; z-index: 1000; background: var(--void); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.6s; overflow: hidden; }
.loading-overlay.done { opacity: 0; pointer-events: none; }
.loading-logo { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 2rem; animation: loadLogoIn 0.8s cubic-bezier(0.16,1,0.3,1); }
.loading-bar-wrap { width: 240px; height: 2px; background: var(--border-1); border-radius: 1px; overflow: hidden; margin-bottom: 1rem; }
.loading-bar { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold)); border-radius: 1px; width: 0%; transition: width 0.1s; position: relative; }
.loading-bar::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.loading-text { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.2em; text-transform: uppercase; }
.loading-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0,229,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.02) 1px, transparent 1px); background-size: 60px 60px; }

@keyframes fadeInUp   { from { opacity:0; transform: translateY(20px);  } to { opacity:1; transform:translateY(0);  } }
@keyframes fadeInDown { from { opacity:0; transform: translateY(-12px); } to { opacity:1; transform:translateY(0);  } }
@keyframes wordReveal { from { opacity:0; transform: translateY(40px) skewY(4deg); } to { opacity:1; transform:translateY(0) skewY(0); } }
@keyframes heroTitleIn { from { opacity:0; } to { opacity:1; } }
@keyframes iconReveal { from{transform:scale(0.3) rotate(-20deg);opacity:0;} to{transform:scale(1) rotate(0deg);opacity:1;} }
@keyframes nameReveal { from{transform:translateY(20px) scale(0.95);opacity:0;} to{transform:translateY(0) scale(1);opacity:1;} }
@keyframes cardIn     { from{opacity:0;transform:translateY(30px) scale(0.97);} to{opacity:1;transform:translateY(0) scale(1);} }
@keyframes rankPop    { from{transform:scale(0) rotate(-15deg);opacity:0;} to{transform:scale(1) rotate(0deg);opacity:1;} }
@keyframes badgePop   { from{transform:scale(0);} to{transform:scale(1);} }
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes shimmer    { 0%{background-position:-200% 0;} 100%{background-position:200% 0;} }
@keyframes ribbonScroll { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
@keyframes orbFloat1  { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(60px,40px) scale(1.1);} }
@keyframes orbFloat2  { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-50px,-30px) scale(1.08);} }
@keyframes orbFloat3  { 0%,100%{transform:translate(-50%,-50%) scale(1);} 50%{transform:translate(-50%,-50%) scale(1.15);} }
@keyframes scanLine   { 0%{top:0;opacity:0.4;} 80%{opacity:0.4;} 100%{top:100%;opacity:0;} }
@keyframes gradientShift { 0%,100%{background-position:0% 50%;} 50%{background-position:100% 50%;} }
@keyframes lineGrow   { from{transform:scaleX(0);} to{transform:scaleX(1);} }
@keyframes aiDot      { 0%,60%,100%{transform:translateY(0);opacity:0.4;} 30%{transform:translateY(-8px);opacity:1;} }
@keyframes logoPulse  { 0%,100%{box-shadow:0 0 20px rgba(0,229,255,0.3);} 50%{box-shadow:0 0 40px rgba(0,229,255,0.6);} }
@keyframes fabPulse   { 0%,100%{box-shadow:0 0 0 0 rgba(0,229,255,0.3),var(--shadow-lg);} 70%{box-shadow:0 0 0 12px rgba(0,229,255,0),var(--shadow-lg);} }
@keyframes btnShimmer { 0%{left:-100%;opacity:0;} 40%{opacity:1;} 100%{left:150%;opacity:0;} }
@keyframes ringRotate { to{transform:rotate(360deg);} }
@keyframes thinkingPulse { 0%,100%{transform:scale(1);box-shadow:0 0 20px rgba(0,229,255,0.2);} 50%{transform:scale(1.05);box-shadow:0 0 40px rgba(0,229,255,0.4);} }
@keyframes lineShine  { 0%{left:-100%;} 100%{left:200%;} }
@keyframes loadLogoIn { from{opacity:0;transform:translateY(20px) scale(0.9);} to{opacity:1;transform:translateY(0) scale(1);} }
@keyframes stepFadeIn { from{opacity:0;transform:translateX(16px);} to{opacity:1;transform:translateX(0);} }
@keyframes dataFlow   { to { transform: translateY(calc(100vh + 400px)); } }
@keyframes sectionScan { 0%{top:0%;opacity:0;} 5%{opacity:0.5;} 95%{opacity:0.3;} 100%{top:100%;opacity:0;} }
@keyframes floatNumber { 0%{transform:translateY(0);opacity:0;} 5%{opacity:1;} 95%{opacity:0.5;} 100%{transform:translateY(-100vh);opacity:0;} }
@keyframes chipBlink  { 0%,100%{opacity:1;} 50%{opacity:0.2;} }
@keyframes holoShimmer { 0%,100%{background-position:0% 0%;} 50%{background-position:100% 100%;} }
@keyframes blink      { 0%,100%{opacity:1;} 50%{opacity:0;} }
@keyframes textGlitch { 0%{text-shadow:2px 0 var(--cyan),-2px 0 var(--violet);} 25%{text-shadow:-2px 0 var(--cyan),2px 0 var(--violet);} 50%{text-shadow:2px 2px var(--gold),-2px -2px var(--cyan);} 75%{text-shadow:-1px 0 var(--violet),1px 0 var(--gold);} 100%{text-shadow:none;} }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.loading-spin { display: inline-block; animation: spin 1s linear infinite; }
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text-muted); grid-column: 1/-1; }
.empty-state i { font-size: 3rem; margin-bottom: 1.2rem; opacity: 0.25; display: block; }
.empty-state p { font-size: 1rem; line-height: 1.7; }

@media (max-width: 1024px) {
  .phones-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .analytics-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .charts-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.035em; }
  .compare-adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .hero { padding: 6rem 1.2rem 4rem; }
  .hero-stats { flex-direction: row; border-radius: var(--r-lg); }
  .hero-stat { padding: 1rem; }
  .wizard-card { padding: 1.75rem 1.25rem; }
  .accuracy-row { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { flex-direction: column; }
  .charts-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.2rem; }
  .reveal-category-name { font-size: 1.6rem !important; }
  .fab-wrap { bottom: 1.2rem; right: 1.2rem; }
  .compare-bar { padding: 0.75rem 1rem; }
  .modal-specs { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  * { cursor: inherit !important; }
  .toast-recommendation { min-width: 280px; }
  .scroll-progress-ring, .ai-chip-float { display: none; }
  .corner-deco { display: none; }
  .data-stream, .data-stream-left { display: none; }
  .compare-adv-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .accuracy-row { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0.75rem 0.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .analytics-grid { grid-template-columns: 1fr 1fr; }
  .acc-pct { font-size: 1.6rem; }
  .phones-grid { grid-template-columns: 1fr; }
  .wizard-progress { gap: 0.15rem; }
}

/* ============================================================
   PATCH 1 — Fix Semua Teks Buntak (Anti-Overflow)
   ============================================================ */
* { word-break: break-word; overflow-wrap: break-word; }
.hero h1 { font-size: clamp(1.35rem, 2.8vw, 2.4rem) !important; line-height: 1.12 !important; }
.hero p { font-size: clamp(0.82rem, 1.4vw, 0.96rem) !important; line-height: 1.75 !important; }
.hero-stat-num { font-size: clamp(1.05rem, 2vw, 1.35rem) !important; line-height: 1 !important; }
.hero-stat-label { font-size: clamp(0.58rem, 1vw, 0.7rem) !important; letter-spacing: 0.06em !important; }
.hero-buttons { gap: 0.75rem !important; }
.btn { font-size: clamp(0.78rem, 1.2vw, 0.88rem) !important; padding: 0.65rem 1.3rem !important; }
.section-title { font-size: clamp(1.05rem, 2.2vw, 1.65rem) !important; line-height: 1.12 !important; }
.section-sub { font-size: clamp(0.78rem, 1.3vw, 0.88rem) !important; }
.section-eyebrow { font-size: clamp(0.55rem, 1vw, 0.68rem) !important; }
.wizard-q { font-size: clamp(0.9rem, 1.6vw, 1.05rem) !important; line-height: 1.3 !important; }
.wizard-q-sub { font-size: clamp(0.72rem, 1.2vw, 0.82rem) !important; margin-bottom: 1.6rem !important; }
.opt-title { font-size: clamp(0.75rem, 1.2vw, 0.82rem) !important; font-weight: 700 !important; }
.opt-sub { font-size: clamp(0.62rem, 1vw, 0.7rem) !important; line-height: 1.4 !important; }
.option-btn { padding: clamp(0.7rem, 1.2vw, 1rem) clamp(0.6rem, 1vw, 0.9rem) !important; gap: 0.5rem !important; }
.option-btn i { font-size: clamp(1.3rem, 2vw, 1.6rem) !important; }
.reveal-category-name { font-size: clamp(1.3rem, 3vw, 2rem) !important; }
.reveal-desc { font-size: clamp(0.78rem, 1.3vw, 0.9rem) !important; }
.reveal-eyebrow { font-size: clamp(0.58rem, 0.9vw, 0.68rem) !important; }
.trait-chip { font-size: clamp(0.7rem, 1.1vw, 0.78rem) !important; }
.ai-badge { font-size: clamp(0.68rem, 1.1vw, 0.78rem) !important; }
.phone-card-brand { font-size: clamp(0.58rem, 0.9vw, 0.66rem) !important; }
.phone-card-name { font-size: clamp(0.75rem, 1.2vw, 0.85rem) !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.phone-card-price { font-size: clamp(0.82rem, 1.3vw, 0.95rem) !important; }
.spec-item { font-size: clamp(0.68rem, 1vw, 0.76rem) !important; }
.category-badge { font-size: clamp(0.6rem, 0.9vw, 0.68rem) !important; }
.score-ring-info strong { font-size: clamp(0.72rem, 1.1vw, 0.79rem) !important; }
.score-ring-info span { font-size: clamp(0.65rem, 1vw, 0.72rem) !important; }
.score-ring-label { font-size: clamp(0.55rem, 0.9vw, 0.62rem) !important; }
.reasons-title { font-size: clamp(0.6rem, 0.9vw, 0.68rem) !important; }
.reasons-item { font-size: clamp(0.66rem, 1vw, 0.74rem) !important; }
.acc-pct { font-size: clamp(1.4rem, 2.5vw, 2rem) !important; }
.acc-type { font-size: clamp(0.58rem, 0.9vw, 0.68rem) !important; }
.acc-label { font-size: clamp(0.72rem, 1.1vw, 0.83rem) !important; }
.stat-num { font-size: clamp(1.1rem, 2vw, 1.55rem) !important; }
.stat-label { font-size: clamp(0.72rem, 1.1vw, 0.8rem) !important; }
.chart-title { font-size: clamp(0.82rem, 1.3vw, 0.95rem) !important; }
.loading-logo { font-size: clamp(1rem, 2vw, 1.45rem) !important; }
.loading-text { font-size: clamp(0.58rem, 1vw, 0.68rem) !important; }
#sp-intro .il1 { font-size: clamp(1.6rem, 4.5vw, 2.8rem) !important; }
#sp-intro .il2 { font-size: clamp(0.58rem, 1.2vw, 0.85rem) !important; letter-spacing: 0.18em !important; }
#sp-intro .itag { font-size: clamp(0.42rem, 0.8vw, 0.55rem) !important; }
#sp-intro .ipt  { font-size: clamp(0.42rem, 0.8vw, 0.52rem) !important; }
.search-input { font-size: clamp(0.78rem, 1.2vw, 0.9rem) !important; }
.filter-select { font-size: clamp(0.78rem, 1.2vw, 0.88rem) !important; }
.eyebrow-text { font-size: clamp(0.58rem, 0.9vw, 0.7rem) !important; }
.step-indicator { font-size: clamp(0.65rem, 1vw, 0.75rem) !important; }
.footer-logo { font-size: clamp(1.05rem, 1.8vw, 1.3rem) !important; }
.footer-sub { font-size: clamp(0.72rem, 1.1vw, 0.82rem) !important; }
.footer-badge { font-size: clamp(0.65rem, 1vw, 0.73rem) !important; }
.nav-links a { font-size: clamp(0.75rem, 1.2vw, 0.85rem) !important; }
.brand-ribbon-item { font-size: clamp(0.65rem, 1vw, 0.78rem) !important; }
.compare-table th, .compare-table td { font-size: clamp(0.72rem, 1.1vw, 0.88rem) !important; }

/* ============================================================
   PATCH 2 — Logo 3D Smartphone
   ============================================================ */
.nav-logo-icon {
  width: 36px !important; height: 36px !important;
  border-radius: 10px !important; background: none !important;
  box-shadow: none !important; animation: none !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important; perspective: 120px !important;
  overflow: visible !important; position: relative !important;
}
#sp3dLogo { width: 34px; height: 34px; position: relative; transform-style: preserve-3d; animation: logo3dSpin 8s ease-in-out infinite; }
#sp3dLogo .face { position: absolute; inset: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; backface-visibility: hidden; }
#sp3dLogo .face-front { background: linear-gradient(135deg, #00e5ff 0%, #8b5cf6 60%, #ffd166 100%); box-shadow: 0 0 20px rgba(0,229,255,0.5), 0 0 40px rgba(139,92,246,0.3); }
#sp3dLogo .face-right { position: absolute; width: 6px; top: 2px; bottom: 2px; right: -3px; background: linear-gradient(90deg, rgba(139,92,246,0.7), rgba(0,229,255,0.3)); transform: rotateY(90deg) translateZ(3px); border-radius: 0 3px 3px 0; }
#sp3dLogo .face-top { position: absolute; height: 5px; left: 2px; right: 2px; top: -2.5px; background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(0,229,255,0.4)); transform: rotateX(90deg) translateZ(2.5px); border-radius: 3px 3px 0 0; }
@keyframes logo3dSpin {
  0%   { transform: rotateY(0deg) rotateX(0deg); }
  15%  { transform: rotateY(25deg) rotateX(-8deg); }
  35%  { transform: rotateY(-20deg) rotateX(6deg); }
  50%  { transform: rotateY(0deg) rotateX(0deg); }
  65%  { transform: rotateY(20deg) rotateX(4deg); }
  80%  { transform: rotateY(-15deg) rotateX(-5deg); }
  100% { transform: rotateY(0deg) rotateX(0deg); }
}
.nav-logo-icon::after { content: ''; position: absolute; inset: -4px; border-radius: 14px; background: radial-gradient(circle, rgba(0,229,255,0.25) 0%, transparent 70%); animation: logoGlow 3s ease-in-out infinite; pointer-events: none; }
@keyframes logoGlow { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.15)} }
#sp-intro .iico { width: 80px !important; height: 80px !important; border-radius: 22px !important; background: none !important; font-size: 0 !important; perspective: 200px; }

/* Phone card 3D hover enhanced */
.phone-card { transform-style: preserve-3d; }
.phone-img-wrap img { transition: transform 0.6s cubic-bezier(0.23,1,0.32,1), opacity 0.3s, filter 0.3s !important; }
.phone-card:hover .phone-img-wrap img { transform: scale(1.04) translateY(-2px) !important; filter: drop-shadow(0 8px 20px rgba(0,229,255,0.15)) !important; }

/* ============================================================
   PATCH 3 — Hero 3D Decoration
   ============================================================ */
.hero { overflow: hidden; }
@media (min-width: 900px) {
  .hero { padding: 8rem 0 5rem !important; }
  .hero-content { text-align: left !important; margin: 0 !important; padding-left: clamp(2rem, 6vw, 8rem); max-width: 48%; }
  .hero-buttons { justify-content: flex-start !important; }
  .hero-eyebrow { justify-content: flex-start !important; }
  .hero-stats { margin: 0 !important; max-width: 100% !important; }
}
#hero3dPhone { position: absolute; right: clamp(2rem, 7vw, 9rem); top: 50%; transform: translateY(-50%); width: clamp(160px, 19vw, 270px); height: clamp(290px, 38vw, 490px); z-index: 5; pointer-events: none; perspective: 1200px; }
.phone3d-wrap { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: phone3dFloat 6s ease-in-out infinite; }
.phone3d-front { position: absolute; inset: 0; border-radius: 12% / 6%; background: linear-gradient(160deg, #0a1628 0%, #060e1a 60%, #0c1a2e 100%); border: 1.5px solid rgba(0,229,255,0.3); overflow: hidden; box-shadow: 0 0 0 1px rgba(0,229,255,0.15), 0 0 40px rgba(0,229,255,0.12), 0 40px 80px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08); }
.phone3d-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30%; height: 4%; background: #020408; border-radius: 0 0 50% 50%; z-index: 2; }
.phone3d-screen { position: absolute; top: 5%; left: 5%; right: 5%; bottom: 4%; border-radius: 8% / 5%; background: linear-gradient(135deg, #020c18, #040e20 50%, #020a16); overflow: hidden; }
.phone3d-ui { position: absolute; inset: 0; padding: 8% 10%; display: flex; flex-direction: column; gap: 3%; }
.phone3d-ui-bar { height: 6%; background: linear-gradient(90deg, rgba(0,229,255,0.15), rgba(139,92,246,0.1)); border-radius: 4px; border: 0.5px solid rgba(0,229,255,0.2); animation: uiPulse3d 3s ease-in-out infinite; }
.phone3d-ui-bar:nth-child(2){ width: 75%; animation-delay: .3s; }
.phone3d-ui-bar:nth-child(3){ width: 90%; height: 30%; border-radius: 8px; animation-delay: .6s; }
.phone3d-ui-bar:nth-child(4){ width: 60%; animation-delay: .9s; }
.phone3d-ui-bar:nth-child(5){ height: 22%; border-radius: 8px; animation-delay: 1.2s; }
.phone3d-score { position: absolute; bottom: 12%; right: 10%; width: 20%; aspect-ratio: 1; }
.phone3d-score svg { animation: spin 8s linear infinite; }
.phone3d-scanline { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,0.5), transparent); animation: screenScan3d 2.5s linear infinite; opacity: 0.6; }
.phone3d-side-right { position: absolute; top: 2%; right: -4%; width: 4%; height: 96%; background: linear-gradient(90deg, rgba(0,229,255,0.12), rgba(0,229,255,0.04)); border-radius: 0 12px 12px 0; border-right: 1px solid rgba(0,229,255,0.15); }
.phone3d-btn { position: absolute; right: -3%; top: 25%; width: 2%; height: 8%; background: rgba(0,229,255,0.2); border-radius: 2px; border: 0.5px solid rgba(0,229,255,0.3); }
.phone3d-glare { position: absolute; top: 0; left: 0; width: 60%; height: 40%; background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent 60%); border-radius: 8% 0 0 0; pointer-events: none; }
.phone3d-cam { width: 45%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #1a2a3a, #0a1520); border: 1px solid rgba(0,229,255,0.25); box-shadow: 0 0 8px rgba(0,229,255,0.15); }
#hero-orbit { position: absolute; right: clamp(0rem, 4vw, 5rem); top: 50%; transform: translateY(-50%); width: clamp(280px, 38vw, 520px); height: clamp(280px, 38vw, 520px); pointer-events: none; z-index: 4; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,229,255,0.08); }
.orbit-ring:nth-child(1) { animation: orbitRingRotate 20s linear infinite; border-color: rgba(0,229,255,0.1); }
.orbit-ring:nth-child(2) { inset: 12%; animation: orbitRingRotate 14s linear infinite reverse; border-color: rgba(139,92,246,0.1); }
.orbit-ring:nth-child(3) { inset: 25%; animation: orbitRingRotate 9s linear infinite; border-color: rgba(255,209,102,0.08); }
.orbit-dot { position: absolute; border-radius: 50%; top: -4px; left: calc(50% - 4px); }
.orbit-ring:nth-child(1) .orbit-dot { width: 10px; height: 10px; top: -5px; left: calc(50% - 5px); background: #00e5ff; box-shadow: 0 0 10px #00e5ff; }
.orbit-ring:nth-child(2) .orbit-dot { width: 8px; height: 8px; background: #8b5cf6; box-shadow: 0 0 10px #8b5cf6; }
.orbit-ring:nth-child(3) .orbit-dot { width: 6px; height: 6px; top: -3px; left: calc(50% - 3px); background: #ffd166; box-shadow: 0 0 8px #ffd166; }
.hero-chip { position: absolute; background: rgba(5,12,20,0.88); border: 1px solid rgba(0,229,255,0.25); border-radius: 12px; padding: 0.55rem 0.85rem; backdrop-filter: blur(16px); pointer-events: none; z-index: 8; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 8px 32px rgba(0,0,0,0.5); white-space: nowrap; }
.holo-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, black 30%, transparent 70%); animation: holoGridPulse3d 4s ease-in-out infinite; }
.holo-rays { position: absolute; bottom: 0; right: 15%; width: 2px; height: 60%; background: linear-gradient(to top, rgba(0,229,255,0.3), transparent); animation: rayPulse3d 3s ease-in-out infinite; }
.holo-rays::before { content:''; position:absolute; top:0; left:-30px; width:2px; height:80%; background:linear-gradient(to top,rgba(139,92,246,0.2),transparent); animation:rayPulse3d 4s ease-in-out infinite reverse; }
.holo-rays::after { content:''; position:absolute; top:20%; left:40px; width:1px; height:60%; background:linear-gradient(to top,rgba(255,209,102,0.15),transparent); animation:rayPulse3d 5s ease-in-out infinite; animation-delay:-2s; }
.data-particle { position: absolute; font-family: var(--font-mono); font-size: clamp(0.45rem, 0.8vw, 0.6rem); color: rgba(0,229,255,0.15); pointer-events: none; z-index: 3; user-select: none; animation: dataRise3d linear infinite; }
@keyframes phone3dFloat { 0%,100%{transform:translateY(-50%) translateZ(0)} 30%{transform:translateY(calc(-50% - 12px)) translateZ(10px)} 60%{transform:translateY(calc(-50% + 8px)) translateZ(-6px)} }
@keyframes uiPulse3d { 0%,100%{opacity:.7} 50%{opacity:1} }
@keyframes screenScan3d { 0%{top:5%;opacity:0} 5%{opacity:.6} 95%{opacity:.4} 100%{top:96%;opacity:0} }
@keyframes orbitRingRotate { to{transform:rotate(360deg)} }
@keyframes holoGridPulse3d { 0%,100%{opacity:.5} 50%{opacity:1} }
@keyframes rayPulse3d { 0%,100%{opacity:.2;transform:scaleY(1)} 50%{opacity:.7;transform:scaleY(1.08)} }
@keyframes dataRise3d { 0%{transform:translateY(0) translateX(0);opacity:0} 5%{opacity:1} 95%{opacity:.3} 100%{transform:translateY(-100vh) translateX(15px);opacity:0} }
@keyframes barGrow3d { 0%,100%{transform:scaleY(1);opacity:.6} 50%{transform:scaleY(.5);opacity:1} }
@keyframes shadowPulse3d { 0%,100%{opacity:.5;transform:scaleX(1)} 50%{opacity:1;transform:scaleX(1.1)} }
@keyframes chipFloat1 { 0%,100%{transform:translateY(0px) translateX(0px)} 33%{transform:translateY(-12px) translateX(4px)} 66%{transform:translateY(8px) translateX(-3px)} }
@keyframes chipFloat2 { 0%,100%{transform:translateY(0px)} 40%{transform:translateY(-16px) translateX(-5px)} 70%{transform:translateY(6px) translateX(3px)} }
@keyframes chipFloat3 { 0%,100%{transform:translateY(0px)} 35%{transform:translateY(14px) translateX(4px)} 65%{transform:translateY(-10px) translateX(-3px)} }

@media (max-width: 899px) {
  #hero3dPhone, #hero-orbit, .hero-chip, #hero-hologram { display: none !important; }
  .hero-content { margin: 0 auto !important; text-align: center !important; max-width: 100% !important; padding-left: 0 !important; }
  .hero-buttons { justify-content: center !important; }
}

@keyframes ringRotate3D { to { transform: translateY(-50%) rotateX(72deg) rotateZ(360deg); } }


/* ============================================================
   MEGA FIX — All issues from screenshots
   ============================================================ */

/* == FIX: HERO 2 KOLOM LAYOUT == */
@media (min-width: 900px) {
  .hero { padding: 0 !important; min-height: 100vh; }
  .hero-content {
    position: relative !important; z-index: 10 !important;
    max-width: 48% !important;
    padding: 9rem clamp(1rem,3vw,3rem) 5rem clamp(2rem,6vw,7rem) !important;
    text-align: left !important;
  }
  .hero h1 { font-size: clamp(1.6rem,3.2vw,2.6rem) !important; line-height: 1.08 !important; }
  .hero p { margin: 0 0 2rem !important; max-width: 460px !important; }
  .hero-eyebrow { justify-content: flex-start !important; }
  .hero-buttons { justify-content: flex-start !important; }
  .hero-stats { margin: 0 !important; max-width: 440px !important; }
}

/* == FIX: HERO MOBILE CENTER == */
@media (max-width: 899px) {
  .hero { text-align: center !important; padding: 7rem 1.5rem 4rem !important; justify-content: center !important; }
  .hero-content { max-width: 100% !important; padding: 0 !important; }
  .hero-eyebrow { justify-content: center !important; }
  .hero-buttons { justify-content: center !important; }
  .hero-stats { margin: 0 auto !important; max-width: 100% !important; }
  #hero3dPhone, #hero-orbit, .hero-chip, #hero-hologram { display: none !important; }
}

/* == FIX: OPTION GRID 2x2 PAKSA == */
#step1 .option-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.85rem !important;
}
#step2 .option-grid,
#step6 .option-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.85rem !important;
}

/* == FIX: FONT BUNTAK GLOBAL — clamp() semua text == */
*, *::before, *::after { word-break: normal !important; overflow-wrap: break-word; hyphens: none !important; }

.hero h1 { font-size: clamp(1.4rem,2.8vw,2.6rem) !important; line-height: 1.1 !important; letter-spacing: -0.03em !important; }
.hero p { font-size: clamp(0.82rem,1.3vw,0.95rem) !important; line-height: 1.72 !important; }
.hero-stat-num { font-size: clamp(1rem,1.8vw,1.3rem) !important; }
.hero-stat-label { font-size: clamp(0.55rem,0.9vw,0.68rem) !important; }
.hero-stat-unit { font-size: clamp(0.7rem,1.1vw,0.9rem) !important; }
.hero-stat { padding: 1rem 0.9rem !important; }

.section-title { font-size: clamp(1rem,2.2vw,1.6rem) !important; line-height: 1.15 !important; }
.section-sub { font-size: clamp(0.78rem,1.2vw,0.88rem) !important; line-height: 1.65 !important; }
.section-eyebrow { font-size: clamp(0.54rem,0.9vw,0.66rem) !important; letter-spacing: 0.18em !important; }

.wizard-q { font-size: clamp(0.88rem,1.5vw,1rem) !important; line-height: 1.3 !important; font-weight: 700 !important; }
.wizard-q-sub { font-size: clamp(0.7rem,1.1vw,0.8rem) !important; margin-bottom: 1.4rem !important; line-height: 1.55 !important; }
.opt-title { font-size: clamp(0.72rem,1.1vw,0.8rem) !important; font-weight: 700 !important; line-height: 1.2 !important; }
.opt-sub { font-size: clamp(0.6rem,0.95vw,0.68rem) !important; line-height: 1.4 !important; }
.option-btn { padding: clamp(0.75rem,1.2vw,1rem) clamp(0.65rem,1vw,0.9rem) !important; gap: 0.5rem !important; min-height: 0 !important; }
.option-btn i { font-size: clamp(1.25rem,1.8vw,1.55rem) !important; }
.step-indicator { font-size: clamp(0.62rem,0.95vw,0.72rem) !important; }

.reveal-category-name { font-size: clamp(1.25rem,2.8vw,1.9rem) !important; letter-spacing: -0.03em !important; }
.reveal-desc { font-size: clamp(0.76rem,1.2vw,0.88rem) !important; line-height: 1.65 !important; }
.reveal-eyebrow { font-size: clamp(0.56rem,0.85vw,0.66rem) !important; }
.trait-chip { font-size: clamp(0.68rem,1vw,0.76rem) !important; padding: 0.32rem 0.7rem !important; }
.ai-badge { font-size: clamp(0.66rem,1vw,0.76rem) !important; padding: 0.38rem 0.85rem !important; }

.phone-card-brand { font-size: clamp(0.56rem,0.85vw,0.64rem) !important; }
.phone-card-name { 
  font-size: clamp(0.72rem,1.1vw,0.82rem) !important; 
  line-height: 1.3 !important;
  display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
}
.phone-card-price { font-size: clamp(0.78rem,1.2vw,0.92rem) !important; }
.spec-item { font-size: clamp(0.64rem,0.95vw,0.73rem) !important; }
.spec-item i { font-size: clamp(0.6rem,0.85vw,0.68rem) !important; }
.category-badge { font-size: clamp(0.58rem,0.85vw,0.66rem) !important; }
.score-ring-info strong { font-size: clamp(0.68rem,1vw,0.76rem) !important; }
.score-ring-info span { font-size: clamp(0.62rem,0.9vw,0.7rem) !important; }
.score-ring-label { font-size: clamp(0.52rem,0.8vw,0.6rem) !important; }
.reasons-title { font-size: clamp(0.58rem,0.85vw,0.66rem) !important; }
.reasons-item { font-size: clamp(0.63rem,0.95vw,0.71rem) !important; }
.compare-btn { font-size: clamp(0.62rem,0.9vw,0.7rem) !important; }
.quick-view-btn { font-size: clamp(0.66rem,0.95vw,0.75rem) !important; }

.acc-pct { font-size: clamp(1.3rem,2.2vw,1.85rem) !important; }
.acc-type { font-size: clamp(0.56rem,0.85vw,0.66rem) !important; }
.acc-label { font-size: clamp(0.7rem,1.05vw,0.8rem) !important; }
.stat-num { font-size: clamp(1.05rem,1.8vw,1.45rem) !important; }
.stat-label { font-size: clamp(0.68rem,1vw,0.78rem) !important; }
.chart-title { font-size: clamp(0.78rem,1.2vw,0.92rem) !important; }
.score-breakdown-header { font-size: clamp(0.78rem,1.2vw,0.9rem) !important; }
.score-breakdown-sub { font-size: clamp(0.66rem,1vw,0.76rem) !important; }
.score-bar-label-row { font-size: clamp(0.64rem,0.95vw,0.73rem) !important; }

.loading-logo { font-size: clamp(0.95rem,1.8vw,1.4rem) !important; }
.loading-text { font-size: clamp(0.54rem,0.9vw,0.65rem) !important; letter-spacing: 0.15em !important; }

#sp-intro .il1 { font-size: clamp(1.5rem,4.2vw,2.6rem) !important; }
#sp-intro .il2 { font-size: clamp(0.55rem,1.1vw,0.82rem) !important; letter-spacing: 0.16em !important; }
#sp-intro .itag { font-size: clamp(0.38rem,0.75vw,0.52rem) !important; letter-spacing: 0.12em !important; }
#sp-intro .ipt { font-size: clamp(0.38rem,0.75vw,0.5rem) !important; }

.search-input { font-size: clamp(0.76rem,1.1vw,0.88rem) !important; }
.filter-select { font-size: clamp(0.74rem,1.1vw,0.85rem) !important; min-width: 120px !important; }
.catalog-meta-count { font-size: clamp(0.74rem,1.1vw,0.85rem) !important; }
.catalog-meta-hint { font-size: clamp(0.64rem,0.95vw,0.75rem) !important; }

.toast { font-size: clamp(0.74rem,1.1vw,0.85rem) !important; }
.toast-rec-phone-name { font-size: clamp(0.72rem,1.1vw,0.8rem) !important; }
.toast-rec-phone-price { font-size: clamp(0.66rem,1vw,0.75rem) !important; }
.toast-rec-badge { font-size: clamp(0.52rem,0.8vw,0.62rem) !important; }

.compare-table th, .compare-table td { font-size: clamp(0.68rem,1vw,0.84rem) !important; padding: 0.8rem 0.9rem !important; }
.compare-adv-phone-name { font-size: clamp(0.68rem,1vw,0.78rem) !important; }
.compare-adv-cat { font-size: clamp(0.58rem,0.85vw,0.66rem) !important; }
.compare-adv-item { font-size: clamp(0.64rem,0.95vw,0.72rem) !important; }
.compare-adv-verdict { font-size: clamp(0.68rem,1vw,0.78rem) !important; }
.compare-adv-title { font-size: clamp(0.82rem,1.2vw,0.92rem) !important; }

.modal-title { font-size: clamp(0.88rem,1.4vw,1.05rem) !important; }
.modal-price { font-size: clamp(1rem,1.7vw,1.35rem) !important; }
.modal-spec-label { font-size: clamp(0.56rem,0.85vw,0.63rem) !important; }
.modal-spec-val { font-size: clamp(0.74rem,1.1vw,0.88rem) !important; }

.rating-modal-phone-name { font-size: clamp(0.76rem,1.1vw,0.85rem) !important; }
.rating-modal-phone-cat { font-size: clamp(0.65rem,0.95vw,0.73rem) !important; }
.rating-label { font-size: clamp(0.8rem,1.2vw,0.88rem) !important; }
.rating-tag { font-size: clamp(0.68rem,1vw,0.76rem) !important; }
.review-text { font-size: clamp(0.73rem,1.1vw,0.83rem) !important; }
.review-date { font-size: clamp(0.6rem,0.88vw,0.7rem) !important; }

.eyebrow-text { font-size: clamp(0.56rem,0.85vw,0.68rem) !important; letter-spacing: 0.2em !important; }
.nav-links a { font-size: clamp(0.72rem,1.1vw,0.83rem) !important; }
.nav-logo-text { font-size: clamp(0.82rem,1.3vw,1rem) !important; }
.nav-logo-badge { font-size: clamp(0.42rem,0.7vw,0.53rem) !important; }
.brand-ribbon-item { font-size: clamp(0.62rem,0.95vw,0.76rem) !important; }
.btn { font-size: clamp(0.74rem,1.1vw,0.86rem) !important; padding: 0.6rem 1.2rem !important; }

.footer-logo { font-size: clamp(1rem,1.7vw,1.25rem) !important; }
.footer-sub { font-size: clamp(0.7rem,1.05vw,0.8rem) !important; }
.footer-badge { font-size: clamp(0.62rem,0.95vw,0.71rem) !important; padding: 0.32rem 0.7rem !important; }
.footer-copy { font-size: clamp(0.62rem,0.95vw,0.76rem) !important; }

.ai-thinking-text { font-size: clamp(0.86rem,1.4vw,1.05rem) !important; }
.ai-thinking-sub { font-size: clamp(0.68rem,1vw,0.8rem) !important; }
.ai-chip-float { font-size: clamp(0.52rem,0.8vw,0.6rem) !important; }

/* == FIX: WISHLIST pakai foto HP == */
#wishlistItems .wl-item-img {
  width: 52px; height: 52px; object-fit: contain;
  border-radius: var(--r-sm); background: var(--elevated);
  border: 1px solid var(--border-1); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
#wishlistItems .wl-item-img img {
  width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-sm);
}

/* == FIX: DECORASI KIRI KANAN sections == */
/* Side decorations untuk recommend, catalog, footer */
.side-deco-left {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: clamp(60px,8vw,140px); pointer-events: none; z-index: 1;
}
.side-deco-right {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: clamp(60px,8vw,140px); pointer-events: none; z-index: 1;
}

/* Vertical glow lines kiri kanan */
.vline-left {
  position: absolute; left: clamp(8px,2vw,30px); top: 10%; bottom: 10%;
  width: 1px; background: linear-gradient(to bottom, transparent, rgba(0,229,255,0.25), rgba(139,92,246,0.15), transparent);
  pointer-events: none; z-index: 1;
}
.vline-left::before {
  content: ''; position: absolute; left: -3px; top: 30%; width: 7px; height: 7px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: vlineDot 3s ease-in-out infinite;
}
.vline-left::after {
  content: ''; position: absolute; left: -3px; top: 65%; width: 5px; height: 5px;
  border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet);
  animation: vlineDot 4s ease-in-out infinite reverse;
}
.vline-right {
  position: absolute; right: clamp(8px,2vw,30px); top: 10%; bottom: 10%;
  width: 1px; background: linear-gradient(to bottom, transparent, rgba(255,209,102,0.2), rgba(0,229,255,0.2), transparent);
  pointer-events: none; z-index: 1;
}
.vline-right::before {
  content: ''; position: absolute; right: -3px; top: 45%; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold);
  animation: vlineDot 3.5s ease-in-out infinite;
}
.vline-right::after {
  content: ''; position: absolute; right: -3px; top: 70%; width: 5px; height: 5px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: vlineDot 5s ease-in-out infinite reverse;
}
@keyframes vlineDot {
  0%,100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-20px); opacity: 1; }
}

/* Side floating tech labels */
.tech-label-left {
  position: absolute; left: clamp(4px,1.5vw,18px); top: 20%;
  writing-mode: vertical-lr; text-orientation: mixed;
  font-family: var(--font-mono); font-size: clamp(0.38rem,0.6vw,0.5rem);
  color: rgba(0,229,255,0.2); letter-spacing: 0.2em; text-transform: uppercase;
  pointer-events: none; z-index: 1; user-select: none;
  animation: techLabelFloat 6s ease-in-out infinite;
}
.tech-label-right {
  position: absolute; right: clamp(4px,1.5vw,18px); bottom: 25%;
  writing-mode: vertical-lr; text-orientation: mixed;
  font-family: var(--font-mono); font-size: clamp(0.38rem,0.6vw,0.5rem);
  color: rgba(139,92,246,0.2); letter-spacing: 0.2em; text-transform: uppercase;
  pointer-events: none; z-index: 1; user-select: none;
  animation: techLabelFloat 8s ease-in-out infinite reverse;
}
@keyframes techLabelFloat {
  0%,100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 0.6; transform: translateY(-12px); }
}

/* == CATALOG section side decoration == */
#catalog { position: relative; }
#recommend { position: relative; }
#analytics { position: relative; }
footer { position: relative; overflow: hidden; }

/* == FIX: FOOTER badge Python & Flask — hapus lingkaran biru == */
.footer-badge .fa-python { color: var(--cyan) !important; background: none !important; }
.footer-badges .footer-badge:nth-child(4) { color: var(--text-muted) !important; }

/* == FLOATING 3D ELEMENTS di sisi kiri kanan == */
/* Hexagon deco */
.hex-deco {
  position: absolute; pointer-events: none; z-index: 1;
  opacity: 0.06;
}
.hex-deco svg { animation: hexRotate 20s linear infinite; }
@keyframes hexRotate { to { transform: rotate(360deg); } }

/* 3D cube deco */
.cube-deco {
  position: absolute; pointer-events: none; z-index: 1;
  width: clamp(40px,5vw,80px); height: clamp(40px,5vw,80px);
}
.cube-deco svg { animation: cubeFloat 8s ease-in-out infinite; }
@keyframes cubeFloat {
  0%,100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-15px) rotateY(180deg); }
}

/* == FIX: section padding untuk konten tidak terpotong == */
.section { padding: 5rem 2rem !important; }
.container { max-width: 1200px !important; padding: 0 1rem; }

/* == FIX: responsive mobile global == */
@media (max-width: 768px) {
  .section { padding: 4rem 1.2rem !important; }
  .vline-left, .vline-right, .tech-label-left, .tech-label-right,
  .hex-deco, .cube-deco { display: none !important; }
  #step1 .option-grid, #step2 .option-grid, #step6 .option-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .hero-stat { padding: 0.8rem 0.6rem !important; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap !important; }
  .hero-stat { flex: 1 1 40% !important; }
  #step1 .option-grid, #step2 .option-grid, #step6 .option-grid {
    grid-template-columns: 1fr !important;
  }
}

/* humanFloat & brainPulse keyframes (backup dari JS inject) */
@keyframes humanFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
@keyframes brainPulse { 0%,100%{opacity:0.07;transform:scale(1)} 50%{opacity:0.12;transform:scale(1.05)} }
@keyframes hexRotate { to { transform: rotate(360deg); } }
@keyframes cubeFloat { 0%,100%{transform:translateY(0) rotateY(0deg)} 50%{transform:translateY(-15px) rotateY(180deg)} }

/* ============================================================
   HOTFIX — Screenshot issues fix
   ============================================================ */

/* FIX: Phone card image tidak terpotong/naik */
.phone-img-wrap {
  overflow: hidden !important;
  padding: 0 !important;
}
.phone-img-wrap img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0.75rem !important;
  transform-origin: center center !important;
}
.phone-card:hover .phone-img-wrap img {
  transform: scale(1.04) translateY(-2px) !important;
  filter: drop-shadow(0 6px 16px rgba(0,229,255,0.12)) !important;
}
/* Remove after gradient yang nutupin gambar */
.phone-img-wrap::after {
  height: 30px !important;
  opacity: 0.5 !important;
}

/* FIX: Step 5 budget — 2x2 grid paksa */
#step5 .option-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.85rem !important;
}

/* FIX: Analytics 6 cards → 3 kolom */
.analytics-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 900px) {
  .analytics-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .analytics-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* FIX: Accuracy row — sejajar 4 kolom */
.accuracy-row {
  grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 900px) {
  .accuracy-row { grid-template-columns: repeat(2, 1fr) !important; }
}

/* FIX: Footer sosmed links — lebih rapi */
footer .footer-social-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  position: relative;
}

/* FIX: Footer orang 3D */
.footer-3d-left, .footer-3d-right {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  bottom: 0;
  animation: footerPersonFloat 6s ease-in-out infinite;
}
.footer-3d-left { left: clamp(4px,3vw,40px); }
.footer-3d-right { right: clamp(4px,3vw,40px); animation-direction: reverse; }
@keyframes footerPersonFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* FIX: Option grid 3 kolom (step4 baterai) */
#step4 .option-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.85rem !important;
}

/* FIX: Semua option btn konsisten tinggi */
.option-btn {
  min-height: 120px !important;
  justify-content: center !important;
}
