/* ================================================================
   BilişimCity – Premium Corporate Light Theme
   Bootstrap 5.3 · Plus Jakarta Sans · Light Mode
   ================================================================ */

/* ---- Base ---- */
:root {
  --primary: #4F46E5;        /* Indigo 600 */
  --primary-light: #6366F1;  /* Indigo 500 */
  --primary-dark: #3730A3;   /* Indigo 800 */
  --primary-rgb: 79,70,229;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;      /* Slate 50 */
  --surface-3: #F1F5F9;      /* Slate 100 */
  --card: #FFFFFF;
  --border-color: rgba(15,23,42,.08); /* Slate 900 @ 8% */
  --text: #0F172A;           /* Slate 900 */
  --text-2: #334155;         /* Slate 700 */
  --text-3: #475569;         /* Slate 600 */
  --text-4: #64748B;         /* Slate 500 */
  --success: #059669;        /* Emerald 600 */
  --warning: #D97706;        /* Amber 600 */
  --danger: #DC2626;         /* Red 600 */
  --info: #0284C7;           /* Light Blue 600 */
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { color: var(--text); font-weight: 700; }
p { color: var(--text-3); }
.text-muted { color: var(--text-4) !important; }

::selection { background: var(--primary); color: #fff; }

/* ---- Navbar ---- */
#mainNav {
  background: transparent;
  padding: 20px 0;
  transition: .4s ease;
  border-bottom: 1px solid transparent;
}
#mainNav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom-color: var(--border-color);
  box-shadow: 0 4px 30px rgba(0,0,0,.04);
}
.brand-icon { font-size: 1.75rem; color: var(--primary); display: flex; }
.brand-name { font-size: 1.3rem; font-weight: 800; color: #0F172A; }
.brand-accent { color: var(--primary); }
.navbar .nav-link {
  color: var(--text-3) !important;
  font-size: .875rem;
  font-weight: 600;
  padding: .5rem .85rem !important;
  transition: .3s;
  border-radius: 8px;
}
.navbar .nav-link:hover { color: var(--text) !important; background: rgba(15,23,42,.04); }
.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 2px 12px rgba(var(--primary-rgb),.2);
}
.btn-primary:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb),.3);
  transform: translateY(-1px);
}
.btn-outline-dark { border-color: rgba(15,23,42,.15) !important; color: var(--text) !important; }
.btn-outline-dark:hover { background: rgba(15,23,42,.04) !important; border-color: rgba(15,23,42,.3) !important; }
.ls-wide { letter-spacing: 1.5px; }

/* ---- Section Common ---- */
.sec { padding: 100px 0; position: relative; }
.sec-alt { background: var(--surface-2); }
.sec-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 50px;
  font-size: .7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb),.08);
  border: 1px solid rgba(var(--primary-rgb),.15);
  margin-bottom: 18px;
}
.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px;
}
.sec-desc { font-size: 1.05rem; color: var(--text-3); max-width: 600px; line-height: 1.85; }
.gradient-text { background: linear-gradient(135deg, var(--primary), #8B5CF6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ---- Glow Effect ---- */
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(100px); opacity: .1;
}
.glow-1 { width: 600px; height: 600px; background: var(--primary); top: -20%; right: -10%; }
.glow-2 { width: 500px; height: 500px; background: #0EA5E9; bottom: -15%; left: -8%; }

/* ---- Card ---- */
.card-light {
  background: var(--card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.02), 0 2px 4px -1px rgba(0,0,0,.03);
  transition: .4s cubic-bezier(.25,.8,.25,1);
  overflow: hidden;
}
.card-light:hover {
  border-color: rgba(var(--primary-rgb),.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(var(--primary-rgb),.05);
}
.card-light .card-body { padding: 2rem; }

/* ======================== HERO ======================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 100px; position: relative; overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(var(--primary-rgb),.08);
  border: 1px solid rgba(var(--primary-rgb),.15);
  border-radius: 50px; padding: 8px 20px;
  font-size: .8rem; font-weight: 700; color: var(--primary);
  margin-bottom: 28px;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(5,150,105,.5); } 50% { opacity:.7; box-shadow: 0 0 0 6px rgba(5,150,105,0); } }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 24px;
  letter-spacing: -.02em; color: var(--text);
}
.hero .lead { font-size: 1.15rem; color: var(--text-3); max-width: 520px; line-height: 1.9; margin-bottom: 36px; }

.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: .4s; border: none;
}
.btn-hero-fill {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb),.25);
}
.btn-hero-fill:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(var(--primary-rgb),.4); }
.btn-hero-ghost {
  background: rgba(15,23,42,.04); color: var(--text-2);
  border: 1px solid var(--border-color);
}
.btn-hero-ghost:hover { color: var(--text); border-color: rgba(15,23,42,.2); background: rgba(15,23,42,.06); }

.hero-metrics { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-color); }
.hero-metric-value { font-size: 1.75rem; font-weight: 800; color: var(--text); }
.hero-metric-label { font-size: .78rem; color: var(--text-4); margin-top: 2px; font-weight: 600; }

/* Hero Mockup */
.hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.15);
  position: relative;
}
.hero-card::after {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb),.4), transparent);
}
.browser-dots { display: flex; gap: 6px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-color); }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #EF4444; } .dot-y { background: #F59E0B; } .dot-g { background: #10B981; }

.score-display { display: flex; align-items: center; gap: 24px; }
.score-circle {
  width: 120px; height: 120px; position: relative; flex-shrink: 0;
}
.score-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-circle .track { stroke: rgba(15,23,42,.05); }
.score-circle .fill { stroke-linecap: round; }
.score-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 2rem; font-weight: 800; color: var(--text);
}
.score-lbl { font-size: .7rem; color: var(--text-4); text-align: center; margin-top: 8px; font-weight: 600; }

.bar-group { flex: 1; }
.bar-item { margin-bottom: 12px; }
.bar-head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.bar-name { font-size: .78rem; font-weight: 600; color: var(--text-2); }
.bar-val { font-size: .78rem; font-weight: 700; }
.bar-track { height: 5px; background: rgba(15,23,42,.05); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; }

.issue-row { display: flex; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border-color); }
.issue-chip {
  flex: 1; text-align: center; padding: 10px 8px;
  background: var(--surface-2); border-radius: 10px;
  border: 1px solid var(--border-color);
}
.issue-chip-val { font-size: 1.1rem; font-weight: 800; line-height: 1; }
.issue-chip-lbl { font-size: .6rem; color: var(--text-4); margin-top: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* ======================== ICON BOX ======================== */
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0; font-weight: bold;
}
.ib-primary { background: rgba(var(--primary-rgb),.1); color: var(--primary); }
.ib-success { background: rgba(5,150,105,.1); color: var(--success); }
.ib-warning { background: rgba(217,119,6,.1); color: var(--warning); }
.ib-danger { background: rgba(220,38,38,.1); color: var(--danger); }
.ib-info { background: rgba(2,132,199,.1); color: var(--info); }

/* ======================== FEATURE TAGS ======================== */
.ftag {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: .68rem; font-weight: 700;
  background: var(--surface-2); color: var(--text-3);
  border: 1px solid var(--border-color); margin: 2px;
}

/* ======================== PRINCIPLE CARD ======================== */
.principle-box { padding: 2rem; text-align: center; height: 100%; }
.principle-icon-wrap {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  transition: .4s;
}
.card-light:hover .principle-icon-wrap { transform: scale(1.1) rotate(5deg); }

/* ======================== NUM CARD ======================== */
.num-badge {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem;
  background: rgba(var(--primary-rgb),.1); color: var(--primary);
}

/* ======================== REG BADGE ======================== */
.reg-badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: .65rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 12px;
}

/* ======================== CTA SECTION ======================== */
.cta-sec {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),.05), rgba(2,132,199,.04));
  border-top: 1px solid rgba(var(--primary-rgb),.1);
  border-bottom: 1px solid rgba(var(--primary-rgb),.1);
}
.cta-sec::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb),.1), transparent 65%);
  pointer-events: none;
}

/* ======================== FAQ ======================== */
.accordion-item {
  background: var(--card) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  margin-bottom: 8px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,.02);
}
.accordion-button {
  background: transparent !important;
  color: var(--text) !important;
  font-weight: 700; font-size: .95rem;
  padding: 18px 24px; box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--primary) !important; }
.accordion-body { color: var(--text-3); padding: 0 24px 20px; font-size: .95rem; line-height: 1.8; }

/* ======================== CONTACT ======================== */
.contact-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px; padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.contact-box .form-control {
  background: var(--surface-2); border: 1px solid rgba(15,23,42,.1);
  color: var(--text); padding: 12px 16px; border-radius: 10px; font-size: .92rem;
  font-weight: 500;
}
.contact-box .form-control:focus {
  border-color: var(--primary); color: var(--text);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.12);
  background: #FFFFFF;
}
.contact-box .form-control::placeholder { color: var(--text-4); font-weight: 400; }
.contact-box .form-label { font-size: .85rem; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }

/* ======================== FOOTER ======================== */
.footer-main { background: var(--surface-2); padding: 64px 0; border-top: 1px solid var(--border-color); }
.footer-title { color: var(--text); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-3); text-decoration: none; font-size: .9rem; font-weight: 500; transition: .3s; }
.footer-links a:hover { color: var(--primary); }
.footer-social {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #FFFFFF; border: 1px solid var(--border-color);
  color: var(--text-3); text-decoration: none; font-size: .9rem; transition: .3s;
  box-shadow: 0 2px 4px rgba(0,0,0,.02);
}
.footer-social:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(var(--primary-rgb),.2); }
.footer-bottom { background: #FFFFFF; padding: 20px 0; border-top: 1px solid var(--border-color); }
.footer-badge {
  background: var(--surface-2); border: 1px solid var(--border-color);
  color: var(--text-3); font-weight: 600; font-size: .75rem;
  padding: 5px 12px; border-radius: 6px;
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeInUp .8s ease forwards;
}
/* JS adds .js-reveal class to body, enabling staggered scroll-based reveal */
.js-reveal .reveal { animation: none; opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.25,.8,.25,1); }
.js-reveal .reveal.visible { opacity: 1; transform: translateY(0); }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-metrics { gap: 24px; flex-wrap: wrap; }
  .navbar-collapse { background: #FFFFFF; border-radius: 16px; padding: 16px; margin-top: 12px; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
}
@media (max-width: 576px) {
  .sec { padding: 72px 0; }
  .hero h1 { font-size: 1.9rem; }
  .hero-card { padding: 16px; }
  .score-circle { width: 90px; height: 90px; }
  .score-num { font-size: 1.5rem; }
}
