/* ══════════════════════════════════════════════════════════════
   BLUME TELECOM - MAIN STYLES
   Consolidated from multiple HTML files.
   ══════════════════════════════════════════════════════════════ */

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

:root {
  --purple:        #5C3280;
  --purple-light:  #7044A0;
  --purple-pale:   #F0EBF8;
  --purple-border: rgba(92, 50, 128, 0.14);
  --navy:          #0D0D1A;
  --navy-2:        #1A1A2E;
  --slate:         #F7F7FA;
  --white:         #FFFFFF;
  --text:          #1A1A2E;
  --text-2:        #42425A;
  --muted:         #888899;
  --border:        #E8E8F0;
  --border-dark:   rgba(255, 255, 255, 0.1);
  --r:             8px;
  --r-lg:          14px;
  --r-xl:          20px;
  --shadow:        0 4px 40px rgba(0, 0, 0, 0.08);
  --shadow-md:     0 8px 48px rgba(92, 50, 128, 0.12);
  --max:           1220px;
  --display:       'Epilogue', sans-serif;
  --body:          'Plus Jakarta Sans', sans-serif;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--display); line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 52px;
}

/* ── SHARED COMPONENTS ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--purple);
  flex-shrink: 0;
}

.eyebrow.on-dark { color: rgba(255, 255, 255, 0.65); }
.eyebrow.on-dark::before { background: rgba(255, 255, 255, 0.4); }

.h1 { font-size: clamp(42px, 5.5vw, 68px); font-weight: 900; color: var(--navy); letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.accent { color: var(--purple); }
.lead { font-size: 17px; color: var(--text-2); line-height: 1.78; font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.24s var(--ease);
  letter-spacing: 0.01em;
}

.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(92, 50, 128, 0.28); }
.btn-outline { background: transparent; color: var(--purple); border: 1.5px solid var(--purple-border); }
.btn-outline:hover { background: var(--purple-pale); border-color: var(--purple); }
.btn-white { background: var(--white); color: var(--purple); }
.btn-white:hover { background: var(--purple-pale); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }

/* ── REVEAL ANIMATIONS ── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ── TOP BAR ── */
#topBar {
  background: var(--navy-2);
  padding: 9px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

#topBar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tb-l, .tb-r {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tb-l span, .tb-r a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.tb-r a:hover { color: #fff; }
.tb-divider { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.1); }
.tb-ico { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── NAVBAR ── */
#navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

#navbar.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07); }
#navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.nav-logo img { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }

.nav-links li a {
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 13px;
  border-radius: 6px;
  transition: all 0.2s;
  display: block;
}

.nav-links li a:hover, .nav-links li.active a {
  color: var(--purple);
  background: var(--purple-pale);
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 99;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 11px 18px; font-size: 13.5px; color: var(--text-2); transition: all 0.18s; }
.nav-dropdown-menu a:hover { background: var(--purple-pale); color: var(--purple); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--navy); border-radius: 2px; transition: all 0.24s; }

/* ── FOOTER ── */
#footer { background: var(--navy); color: rgba(255, 255, 255, 0.55); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 52px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.f-logo { height: 30px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.85; }
.f-desc { font-size: 13px; color: rgba(255, 255, 255, 0.4); line-height: 1.78; max-width: 260px; }
.f-col-h { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-links a { font-size: 13.5px; color: rgba(255, 255, 255, 0.45); transition: color 0.2s; }
.f-links a:hover { color: #fff; }
.f-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.f-contact-item svg { width: 14px; height: 14px; stroke: var(--purple-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }
.f-contact-item p, .f-contact-item a { font-size: 13px; color: rgba(255, 255, 255, 0.45); line-height: 1.6; transition: color 0.2s; }
.f-contact-item a:hover { color: #fff; }
#copyright { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
#copyright .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
#copyright p { font-size: 12.5px; color: rgba(255, 255, 255, 0.2); }
#copyright a { color: rgba(255, 255, 255, 0.35); }

/* ── BACK TO TOP ── */
#backToTop { position: fixed; bottom: 28px; right: 28px; z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop button { width: 44px; height: 44px; border-radius: var(--r); background: var(--purple); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(92, 50, 128, 0.35); transition: all 0.24s; }
#backToTop button:hover { background: var(--purple-light); transform: translateY(-2px); }
#backToTop button svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── COOKIE BAR ── */
#cookieBar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; display: none; }
#cookieBar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ck-text { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.ck-text a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; }
.ck-btn { padding: 10px 22px; border-radius: var(--r); background: var(--purple); color: #fff; font-family: var(--body); font-size: 13px; font-weight: 700; border: none; cursor: pointer; white-space: nowrap; transition: all 0.24s; }
.ck-btn:hover { background: var(--purple-light); }

/* ── READ PROGRESS (for posts) ── */
#readProgress {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--purple), #A47ECC);
  z-index: 2000; transition: width 0.12s linear;
  box-shadow: 0 0 12px rgba(92, 50, 128, 0.5);
}

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media(max-width:900px) {
  .container { padding: 0 28px; }
  #topBar .tb-l { display: none; }
}
@media(max-width:768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 68px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 16px;
    z-index: 999; box-shadow: var(--shadow);
  }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  #cookieBar .container { flex-direction: column; align-items: flex-start; }
}

/* ── INDEX SPECIFIC (Slider) ── */
#hero { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; }
.slider-track { display: flex; width: 300%; height: 100%; transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1); }
.slide { flex: 0 0 33.3333%; height: 100%; position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 6s ease-out; }
.slide.active .slide-bg { transform: scale(1); }
.slide:nth-child(1) .slide-bg { background-image: linear-gradient(105deg, rgba(13, 13, 26, 0.88) 0%, rgba(13, 13, 26, 0.55) 55%, rgba(92, 50, 128, 0.45) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=85'); }
.slide:nth-child(2) .slide-bg { background-image: linear-gradient(115deg, rgba(13, 13, 26, 0.9) 0%, rgba(92, 50, 128, 0.6) 50%, rgba(13, 13, 26, 0.75) 100%), url('https://images.unsplash.com/photo-1573164713988-8665fc963095?w=1600&q=85'); }
.slide:nth-child(3) .slide-bg { background-image: linear-gradient(95deg, rgba(13, 13, 26, 0.85) 0%, rgba(13, 13, 26, 0.5) 60%, rgba(92, 50, 128, 0.5) 100%), url('https://images.unsplash.com/photo-1556761175-4b46a572b786?w=1600&q=85'); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 100px 0; }
.slide-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 20px; opacity: 0; transform: translateY(18px); transition: opacity 0.55s 0.2s ease, transform 0.55s 0.2s ease; }
.slide-eyebrow::before { content: ''; width: 24px; height: 1.5px; background: rgba(255, 255, 255, 0.5); }
.slide.active .slide-eyebrow { opacity: 1; transform: none; }
.slide-h1 { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 5.8vw, 78px); color: var(--white); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 20px; max-width: 780px; opacity: 0; transform: translateY(24px); transition: opacity 0.6s 0.35s ease, transform 0.6s 0.35s ease; }
.slide.active .slide-h1 { opacity: 1; transform: none; }
.slide-h1 .hl { color: #A47ECC; }
.slide-desc { font-size: 17px; color: rgba(255, 255, 255, 0.62); max-width: 520px; line-height: 1.72; margin-bottom: 36px; opacity: 0; transform: translateY(20px); transition: opacity 0.55s 0.5s ease, transform 0.55s 0.5s ease; }
.slide.active .slide-desc { opacity: 1; transform: none; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(16px); transition: opacity 0.5s 0.62s ease, transform 0.5s 0.62s ease; }
.slide.active .slide-actions { opacity: 1; transform: none; }
.slide-stats { display: flex; gap: 0; margin-top: 48px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(12px); max-width: 460px; opacity: 0; transform: translateY(16px); transition: opacity 0.5s 0.72s ease, transform 0.5s 0.72s ease; }
.slide.active .slide-stats { opacity: 1; transform: none; }
.sstat { flex: 1; padding: 18px 20px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.sstat:last-child { border-right: none; }
.sstat-n { font-family: var(--display); font-size: 24px; font-weight: 800; color: #fff; display: block; line-height: 1; margin-bottom: 4px; }
.sstat-l { font-size: 10.5px; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.07em; text-transform: uppercase; }
.slider-arrows { position: absolute; bottom: 44px; right: 72px; z-index: 10; display: flex; gap: 10px; }
.sarrow { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); transition: all 0.25s; flex-shrink: 0; }
.sarrow:hover { background: var(--purple); border-color: var(--purple); }
.sarrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-dots { position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.sdot { width: 34px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; }
.sdot.active { background: rgba(255,255,255,0.35); }
.sdot-progress { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: #fff; transition: width 0s linear; }
.sdot.active .sdot-progress { width: 100%; }

/* ── FAQ SPECIFIC ── */
.faq-sidebar { position: sticky; top: 88px; }
.faq-sidebar-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 8px; margin-bottom: 24px; }
.faq-cat-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border-radius: var(--r); background: none; border: none; font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: all 0.2s; position: relative; text-align: left; }
.faq-cat-btn:hover { color: var(--purple); background: var(--purple-pale); }
.faq-cat-btn.active { color: var(--purple); background: var(--purple-pale); }
.faq-cat-btn.active::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--purple); border-radius: 0 4px 4px 0; }
.acc-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); margin-bottom: 12px; overflow: hidden; transition: all 0.28s var(--ease); }
.acc-item:hover { border-color: var(--purple-border); box-shadow: var(--shadow); }
.acc-head { padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acc-title { font-size: 15.5px; font-weight: 700; color: var(--navy); transition: color 0.2s; }
.acc-item.open .acc-title { color: var(--purple); }
.acc-body { height: 0; overflow: hidden; transition: height 0.35s var(--ease); }
.acc-inner { padding: 0 24px 24px; font-size: 14.5px; color: var(--text-2); line-height: 1.75; }

/* ── BLOG GRID SPECIFIC ── */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; margin-top: 48px; }
.bc-featured { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; transition: all 0.3s; }
.bc-img { aspect-ratio: 16/9; overflow: hidden; background: var(--slate); }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.bc-featured:hover .bc-img img { transform: scale(1.04); }
.bc-body { padding: 28px; }
.bc-meta { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.bc-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }
.bc-title-lg { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.bc-excerpt { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.bc-link { font-size: 13.5px; font-weight: 700; color: var(--purple); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.bc-link:hover { gap: 10px; }
.bc-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
