/* ═══════════════════════════════════════
   Josh — Field Service Platform
   Bold & Colorful Design
   ═══════════════════════════════════════ */

:root {
  --jh:#d9e840; --jhD:#c5d42e;
  --ld:#7c3aed; --ldL:rgba(124,58,237,0.08); --ldBg:#f5f3ff;
  --sc:#db2777; --scL:rgba(219,39,119,0.07); --scBg:#fff1f2;
  --je:#0284c7; --jeL:rgba(2,132,199,0.07); --jeBg:#f0f9ff;
  --iv:#8b5cf6; --ivL:#ede9fe; --ivBg:#f5f3ff;
  --cc:#f43f5e; --ccL:#fff1f2; --ccBg:#fff1f2;
  --ac:#0d9488; --acL:#ccfbf1; --acD:#0f766e;
  --dk:#1e1b4b; --md:rgba(30,27,75,0.5); --lt:rgba(30,27,75,0.3); --ltr:rgba(30,27,75,0.08);
  --bg:#ffffff;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  font-family:'Plus Jakarta Sans','Inter','Segoe UI',system-ui,sans-serif;
  color:var(--md);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

img { max-width:100%; }

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4 { color:var(--dk); font-weight:800; letter-spacing:-0.03em; line-height:1.15; }

.section-label {
  display:inline-block;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--lt);
  margin-bottom:6px;
}

.section-title {
  font-size:42px;
  margin-bottom:8px;
}

.section-sub {
  font-size:17px;
  color:var(--lt);
  max-width:620px;
  margin-bottom:36px;
}

.section { padding:80px 0; }

/* ═══ NAV ═══ */
.nav {
  position:fixed; top:0; left:0; right:0;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 28px;
  z-index:100;
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(30,27,75,0.04);
}

.nav-back {
  display:flex; align-items:center; gap:4px;
  color:rgba(30,27,75,0.3); text-decoration:none;
  font-size:12px; font-weight:500;
  padding:5px 10px; border-radius:6px;
  border:1px solid rgba(30,27,75,0.06);
  transition:all 0.15s;
  white-space:nowrap;
}
.nav-back:hover { color:var(--dk); border-color:rgba(30,27,75,0.12); background:rgba(30,27,75,0.03); }

.logo { display:flex; align-items:center; gap:8px; }
.logo-box {
  width:28px; height:28px; border-radius:6px;
  background:var(--jh); color:var(--dk);
  display:flex; align-items:center; justify-content:center;
  font-weight:900; font-size:12px;
}
.logo-text { font-weight:800; font-size:16px; color:var(--dk); letter-spacing:-0.02em; }
.logo-text span { font-weight:300; color:#7c3aed; }

.nav-links { display:flex; gap:20px; }
.nav-links a {
  color:rgba(30,27,75,0.4); text-decoration:none;
  font-size:13px; font-weight:500;
  transition:color 0.15s;
}
.nav-links a:hover { color:var(--dk); }

.nav-cta {
  padding:7px 16px; border-radius:6px;
  background:var(--jh); color:var(--dk);
  font-size:13px; font-weight:700; text-decoration:none;
  transition:background 0.15s;
}
.nav-cta:hover { background:var(--jhD); }

/* ═══ HERO ═══ */
.hero {
  min-height:100vh;
  background:linear-gradient(145deg,#e0e7ff 0%,#c7d2fe 25%,#bae6fd 55%,#f0fdf4 100%);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
  padding:100px 24px 60px;
}

.hero::before {
  content:''; position:absolute;
  top:-30%; right:-15%; width:500px; height:500px;
  background:radial-gradient(circle,rgba(217,232,64,0.06) 0%,transparent 60%);
  pointer-events:none;
}

.hero-content { max-width:780px; text-align:center; position:relative; z-index:1; }

.hero-badge {
  display:inline-block;
  padding:6px 16px; border-radius:20px;
  background:rgba(30,27,75,0.04);
  border:1px solid rgba(30,27,75,0.06);
  font-size:12px; font-weight:600; color:var(--dk);
  margin-bottom:16px;
}

.hero h1 {
  font-size:56px; color:var(--dk);
  margin-bottom:12px;
}
.hero h1 span {
  display:block;
  background:linear-gradient(135deg,#7c3aed 0%,#db2777 50%,#0284c7 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero p {
  font-size:17px; color:rgba(30,27,75,0.4);
  margin-bottom:24px; line-height:1.7;
  max-width:600px; margin-left:auto; margin-right:auto;
}

.hero-cta { display:flex; gap:12px; justify-content:center; margin-bottom:28px; }

.btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:12px 28px; border-radius:8px;
  font-size:14px; font-weight:700; text-decoration:none;
  transition:all 0.15s;
}
.btn-primary { background:var(--jh); color:var(--dk); }
.btn-primary:hover { background:var(--jhD); transform:translateY(-1px); }
.btn-outline {
  border:1.5px solid rgba(30,27,75,0.1); color:var(--dk);
}
.btn-outline:hover { border-color:rgba(30,27,75,0.2); background:rgba(30,27,75,0.03); }

.hero-modules { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
.hero-modules span {
  padding:5px 14px; border-radius:20px;
  background:rgba(30,27,75,0.03);
  border:1px solid rgba(30,27,75,0.05);
  font-size:12px; color:rgba(30,27,75,0.3); font-weight:500;
}

.hero-scroll {
  position:absolute; bottom:28px;
  font-size:11px; color:rgba(30,27,75,0.15); font-weight:500;
  letter-spacing:1px; text-transform:uppercase;
  animation:bounce 2s infinite;
}

@keyframes bounce {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(6px); }
}

/* ═══ PLATFORM ═══ */
.platform-section { background:rgba(255,255,255,0.4); position:relative; }
.platform-section::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,#7c3aed,#db2777,#0284c7);
}

.platform-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; }

.platform-card {
  background:rgba(255,255,255,0.5); border-radius:12px; padding:24px;
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.5);
  box-shadow:0 2px 20px rgba(0,0,0,0.02), 0 6px 24px rgba(0,0,0,0.06);
  transition:transform 0.2s, box-shadow 0.2s;
}
.platform-card:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,0.08); }

.platform-icon {
  width:32px; height:32px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:14px;
  margin-bottom:10px;
}

.platform-card h3 { font-size:16px; margin-bottom:4px; color:var(--dk); }
.platform-card p { font-size:13px; color:var(--md); line-height:1.6; }

/* ═══ KEY FEATURES ═══ */
.features-section { background:#f8faff; position:relative; }
.features-section::before {
  content:''; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:200px; height:3px;
  background:linear-gradient(90deg,#7c3aed,#db2777,#0284c7);
  border-radius:2px;
}

.features-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

.feature-card {
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.5);
  border-radius:12px; padding:24px;
  box-shadow:0 2px 20px rgba(0,0,0,0.02), 0 6px 24px rgba(0,0,0,0.06);
  transition:transform 0.2s, box-shadow 0.2s;
  display:flex; flex-direction:column;
}
.feature-card:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,0.08); }

.feature-icon { width:36px; height:36px; margin-bottom:12px; }

.feature-card h3 { font-size:17px; margin-bottom:4px; color:var(--dk); }
.feature-tagline { font-size:13px; color:var(--md); line-height:1.6; flex:1; }

.fi-tt { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E") no-repeat center/contain; }
.fi-ro { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23db2777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='5' r='2'/%3E%3Ccircle cx='19' cy='19' r='2'/%3E%3Ccircle cx='19' cy='5' r='2'/%3E%3Ccircle cx='5' cy='19' r='2'/%3E%3Cpath d='M5 5L19 19'/%3E%3Cpath d='M19 5L5 19'/%3E%3C/svg%3E") no-repeat center/contain; }
.fi-ap { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='8 12 10 14 16 8'/%3E%3C/svg%3E") no-repeat center/contain; }
.fi-qr { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Cpath d='M14 14h1.5v1.5H14z'/%3E%3Cpath d='M18 14h1.5v1.5H18z'/%3E%3Cpath d='M14 18h1.5v1.5H14z'/%3E%3Cpath d='M18 18h1.5v1.5H18z'/%3E%3C/svg%3E") no-repeat center/contain; }

/* ═══ SYSTEM SECTIONS ═══ */
.sys-header {
  display:flex; align-items:flex-start; gap:24px;
  margin-bottom:36px;
}

.sys-badge {
  width:64px; height:64px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900; font-size:26px; flex-shrink:0;
}

.sys-label {
  display:inline-block;
  font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:1.2px; margin-bottom:2px;
}

.sys-info h2 { font-size:34px; margin-bottom:4px; }
.sys-info p { font-size:15px; color:rgba(255,255,255,0.65); max-width:600px; }

.sys-features { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; }

.sys-card {
  padding:18px 20px; border-radius:10px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.06);
  transition:transform 0.2s, background 0.2s;
}
.sys-card:hover { transform:translateY(-2px); background:rgba(255,255,255,0.1); }

.sys-card h4 { font-size:14px; margin-bottom:3px; }
.sys-card p { font-size:13px; line-height:1.6; }

/* Leads Section */
.leads-section { background:var(--ld); }
.leads-section .sys-badge { background:rgba(255,255,255,0.2); color:#fff; }
.leads-section .sys-label { color:rgba(255,255,255,0.5); }
.leads-section .sys-info h2 { color:#fff; }
.leads-section .sys-card { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.08); }
.leads-section .sys-card h4 { color:#fff; }
.leads-section .sys-card p { color:rgba(255,255,255,0.65); }

/* Scheduling Section */
.scheduling-section { background:var(--sc); }
.scheduling-section .sys-badge { background:rgba(255,255,255,0.2); color:#fff; }
.scheduling-section .sys-label { color:rgba(255,255,255,0.5); }
.scheduling-section .sys-info h2 { color:#fff; }
.scheduling-section .sys-card { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.08); }
.scheduling-section .sys-card h4 { color:#fff; }
.scheduling-section .sys-card p { color:rgba(255,255,255,0.65); }

/* Jobs Section */
.jobs-section { background:var(--je); }
.jobs-section .sys-badge { background:rgba(255,255,255,0.2); color:#fff; }
.jobs-section .sys-label { color:rgba(255,255,255,0.5); }
.jobs-section .sys-info h2 { color:#fff; }
.jobs-section .sys-card { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.08); }
.jobs-section .sys-card h4 { color:#fff; }
.jobs-section .sys-card p { color:rgba(255,255,255,0.65); }

/* Invoicing Section */
.invoicing-section { background:var(--iv); }
.invoicing-section .sys-badge { background:rgba(255,255,255,0.2); color:#fff; }
.invoicing-section .sys-label { color:rgba(255,255,255,0.5); }
.invoicing-section .sys-info h2 { color:#fff; }
.invoicing-section .sys-card { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.08); }
.invoicing-section .sys-card h4 { color:#fff; }
.invoicing-section .sys-card p { color:rgba(255,255,255,0.65); }

/* Cases Section */
.cases-section { background:var(--cc); }
.cases-section .sys-badge { background:rgba(255,255,255,0.2); color:#fff; }
.cases-section .sys-label { color:rgba(255,255,255,0.5); }
.cases-section .sys-info h2 { color:#fff; }
.cases-section .sys-card { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.08); }
.cases-section .sys-card h4 { color:#fff; }
.cases-section .sys-card p { color:rgba(255,255,255,0.65); }



/* ═══ WHY ═══ */
.why-section { background:rgba(255,255,255,0.35); }
.why-section .section-label { color:rgba(30,27,75,0.25); }
.why-section .section-title { color:var(--dk); }
.why-section .section-sub { color:rgba(30,27,75,0.3); }

.why-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; }

.why-card {
  background:rgba(255,255,255,0.4);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.4);
  border-radius:12px; padding:24px;
  transition:transform 0.2s;
}
.why-card:hover { transform:translateY(-2px); }

.why-num {
  width:32px; height:32px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:14px;
  margin-bottom:10px;
}

.why-card h3 { color:var(--dk); font-size:16px; margin-bottom:4px; }
.why-card p { font-size:13px; color:var(--md); line-height:1.6; }

/* ═══ FOOTER ═══ */
.footer {
  background:rgba(30,27,75,0.03);
  border-top:1px solid rgba(30,27,75,0.04);
  padding:48px 0 32px;
}

.footer-content { text-align:center; }
.footer .logo { justify-content:center; margin-bottom:8px; }
.footer .logo-text { font-size:18px; }

.footer-content p { font-size:14px; color:var(--lt); margin-bottom:20px; }

.footer-links { display:flex; gap:16px; justify-content:center; margin-bottom:16px; }
.footer-links a { color:var(--lt); text-decoration:none; font-size:13px; transition:color 0.15s; }
.footer-links a:hover { color:var(--dk); }

.footer-contact { font-size:13px; color:var(--lt); margin-bottom:16px; }
.footer-contact span { margin:0 4px; }
.footer-copy { font-size:11px; color:var(--lt); }

/* ═══ RESPONSIVE ═══ */
@media (max-width:900px) {
  .nav-links, .nav-cta { display:none; }
  .hero h1 { font-size:36px; }
  .platform-grid, .features-grid, .sys-features, .why-grid { grid-template-columns:1fr 1fr; }
  .section-title { font-size:32px; }
  .sys-info h2 { font-size:26px; }
  .sys-header { flex-direction:column; gap:12px; }
}

@media (max-width:600px) {
  .hero h1 { font-size:28px; }
  .section-title { font-size:26px; }
  .platform-grid, .features-grid, .sys-features, .why-grid { grid-template-columns:1fr; }
  .hero-cta { flex-direction:column; align-items:center; }
  .section { padding:48px 0; }
  .sys-info h2 { font-size:22px; }
}
