:root {
  --bg: #050914;
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(15, 23, 42, 0.82);
  --border: rgba(255, 255, 255, 0.11);
  --blue: #1677ff;
  --blue-soft: rgba(22, 119, 255, 0.16);
  --text: #ffffff;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --shadow: rgba(0, 76, 180, 0.25);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(circle at 75% 10%, rgba(0,119,255,0.35), transparent 32%),
              radial-gradient(circle at 20% 85%, rgba(0,76,180,0.25), transparent 30%),
              #050914;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(5, 9, 20, 0.86); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-image { gap: 0; flex: 0 0 auto; }
.brand-logo-img { display: block; width: min(320px, 42vw); height: auto; max-height: 72px; object-fit: contain; object-position: left center; }

.brand-icon { width: 50px; height: 50px; border-radius: 999px; border: 4px solid var(--blue); background: #020617; display: grid; place-items: center; font-size: 28px; font-weight: 900; box-shadow: 0 0 35px rgba(22, 119, 255, 0.35); }
.brand-name { font-size: 32px; font-weight: 900; line-height: 1; }
.brand-name span, h1 span, .blue { color: var(--blue); }
.brand-subtitle { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; }
.menu { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }
.menu a:hover { color: #fff; }
.btn, .quote-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border-radius: 18px; border: 1px solid transparent; background: var(--blue); color: white; font-weight: 800; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .quote-form button:hover { transform: translateY(-2px); background: #3b8dff; }
.btn.secondary { background: rgba(255,255,255,0.055); border-color: rgba(22,119,255,0.45); }
.hero { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; padding: 88px 0 64px; }
.tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(22,119,255,0.42); background: var(--blue-soft); color: #bfdbfe; border-radius: 999px; padding: 9px 14px; font-size: 14px; margin-bottom: 22px; }
h1 { font-size: clamp(44px, 7vw, 78px); line-height: 0.96; letter-spacing: -0.055em; margin: 0; font-weight: 950; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 620px; margin: 24px 0 0; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; gap: 8px; align-items: center; border-radius: 999px; background: rgba(255,255,255,0.055); color: var(--muted); padding: 10px 14px; font-size: 14px; }
.device-card { border: 1px solid rgba(22,119,255,0.32); background: var(--card-strong); border-radius: 36px; padding: 22px; box-shadow: 0 30px 80px var(--shadow); }
.device-visual { min-height: 360px; border-radius: 26px; border: 1px solid var(--border); display: grid; place-items: center; text-align: center; padding: 28px; background: linear-gradient(90deg, transparent 24%, rgba(59,130,246,.22) 25%, transparent 26%), linear-gradient(0deg, transparent 24%, rgba(59,130,246,.16) 25%, transparent 26%), linear-gradient(135deg, #0f172a, #020617 55%, #082f75); background-size: 70px 70px, 70px 70px, cover; }
.device-visual .emoji { font-size: 76px; margin-bottom: 18px; }
.device-visual h2 { margin: 0; font-size: 31px; }
section { padding: 74px 0; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2, .split h2, .quote-layout h2 { font-size: clamp(34px, 4vw, 48px); margin: 0; letter-spacing: -0.04em; }
.section-head p, .split p { color: var(--muted); margin: 12px 0 0; line-height: 1.8; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 26px; transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(22,119,255,0.56); }
.card .emoji { font-size: 40px; margin-bottom: 14px; }
.card h3 { margin: 0; font-size: 20px; }
.card p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.split { display: grid; grid-template-columns: 0.85fr 1fr; gap: 44px; align-items: start; }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: center; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 18px; }
.step-number { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; background: var(--blue); border-radius: 999px; font-weight: 900; }
.trust { grid-template-columns: repeat(3, 1fr); }
.quote-layout { border: 1px solid rgba(22,119,255,0.32); background: var(--card-strong); border-radius: 36px; padding: 42px; display: grid; grid-template-columns: 0.9fr 1fr; gap: 36px; align-items: start; }
.contact-links { margin-top: 26px; display: grid; gap: 14px; color: var(--muted); }
.quote-form { display: grid; gap: 13px; border: 1px solid var(--border); background: rgba(255,255,255,0.045); border-radius: var(--radius); padding: 24px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; border: 1px solid var(--border); background: rgba(255,255,255,0.06); color: white; border-radius: 16px; padding: 14px; font: inherit; outline: none;
}
.quote-form textarea { min-height: 130px; resize: vertical; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #94a3b8; }
.quote-form select option { color: #020617; }
.upload-label { color: var(--muted); display: grid; gap: 8px; font-weight: 700; }
.upload-label small, .form-note { color: var(--muted-2); font-size: 13px; margin: 0; }
.form-note a { color: #93c5fd; font-weight: 800; }
.hidden-field { display: none !important; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 999px; display: grid; place-items: center; background: var(--blue); box-shadow: 0 18px 50px rgba(22,119,255,0.42); font-size: 26px; }
footer { border-top: 1px solid var(--border); color: var(--muted-2); text-align: center; padding: 30px 16px; }
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.show { opacity: 1; transform: translateY(0); }
.message-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.message-card { max-width: 660px; width: 100%; border: 1px solid rgba(22,119,255,0.32); background: var(--card-strong); border-radius: 36px; padding: 42px; text-align: center; box-shadow: 0 30px 80px var(--shadow); }
.message-card h1 { font-size: clamp(38px, 6vw, 64px); }
.message-card p { color: var(--muted); line-height: 1.7; }

/* Updated RavFix hero repair panel */
.advanced-panel {
  border: 1px solid rgba(22,119,255,0.42);
  background: linear-gradient(135deg, rgba(5, 9, 20, 0.94), rgba(8, 47, 117, 0.52));
  border-radius: 34px;
  padding: 28px;
  box-shadow: 0 30px 80px var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
}
.advanced-panel-head { text-align: center; padding-bottom: 18px; }
.advanced-panel-head h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.advanced-panel-head p { margin: 10px 0 12px; color: var(--muted); font-size: 18px; }
.advanced-panel-head span { display: block; width: 72px; height: 4px; border-radius: 999px; background: var(--blue); margin: 0 auto; box-shadow: 0 0 22px rgba(22,119,255,0.75); }
.advanced-panel-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.advanced-features { display: grid; gap: 0; }
.advanced-feature { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.09); }
.advanced-feature:last-child { border-bottom: 1px solid rgba(255,255,255,0.09); }
.feature-icon { color: var(--blue); font-size: 34px; line-height: 1; filter: drop-shadow(0 0 12px rgba(22,119,255,0.45)); }
.advanced-feature h3 { margin: 0 0 8px; font-size: 19px; }
.advanced-feature p { margin: 0; color: var(--muted); line-height: 1.6; }
.advanced-image {
  min-height: 420px;
  border-radius: 24px;
  background-image: linear-gradient(180deg, rgba(5,9,20,0.05), rgba(5,9,20,0.1)), url('assets/repair-workbench.png');
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 20px 55px rgba(0,0,0,0.35);
}

/* Updated dark services showcase */
.services-showcase {
  display: grid;
  grid-template-columns: 0.9fr 2.2fr;
  gap: 34px;
  align-items: stretch;
  border: 1px solid rgba(22,119,255,0.28);
  background: linear-gradient(135deg, rgba(5, 9, 20, 0.92), rgba(8, 47, 117, 0.42));
  border-radius: 36px;
  padding: 54px 46px;
  box-shadow: 0 26px 75px rgba(0, 76, 180, 0.18);
}
.services-intro { display: flex; flex-direction: column; justify-content: center; }
.services-intro span { color: var(--blue); font-weight: 900; letter-spacing: 0.14em; font-size: 14px; margin-bottom: 18px; }
.services-intro h2 { font-size: clamp(36px, 5vw, 58px); margin: 0; letter-spacing: -0.05em; }
.services-intro p { color: var(--muted); font-size: 20px; line-height: 1.65; max-width: 410px; }
.services-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card {
  min-height: 310px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
  border-radius: 28px;
  padding: 30px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(22,119,255,0.58); background: rgba(22,119,255,0.08); }
.service-icon { font-size: 42px; margin-bottom: 26px; filter: drop-shadow(0 0 18px rgba(22,119,255,0.35)); }
.service-card h3 { margin: 0 0 18px; font-size: 28px; line-height: 1.05; letter-spacing: -0.03em; }
.service-card p { color: var(--muted); font-size: 17px; line-height: 1.62; margin: 0; }

@media (max-width: 900px) {
  .menu { display: none; }
  .hero, .split, .quote-layout, .advanced-panel-body, .services-showcase { grid-template-columns: 1fr; }
  .grid, .trust { grid-template-columns: repeat(2, 1fr); }
  .services-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advanced-image { min-height: 320px; }
  .hero { padding-top: 54px; }
}
@media (max-width: 620px) {
  .brand-logo-img { width: min(250px, 70vw); }
  .container { width: min(100% - 22px, 1180px); }
  .brand-name { font-size: 26px; }
  .brand-subtitle { font-size: 9px; }
  .nav .btn { display: none; }
  .hero-actions .btn { width: 100%; }
  .grid, .trust, .services-cards { grid-template-columns: 1fr; }
  .quote-layout, .services-showcase { padding: 24px; }
  .service-card { min-height: auto; }
  .advanced-panel { padding: 20px; }
  section { padding: 54px 0; }
}
