/* ============================================
   BRAND COLORS — from the Platinum Fiber logo & collaterals
   ============================================ */
:root {
  --primary: #142c45;        /* logo navy ("FIBER") */
  --primary-dark: #0b1c2e;
  --charcoal: #4d4d4d;       /* logo gray ("PLATINUM") */
  --violet: #5b0fc8;         /* collateral purple */
  --violet-dark: #3a0790;
  --violet-light: #f3ecff;
  --purple: #5a00b8;         /* logo purple stripe */
  --magenta: #a8009a;        /* logo magenta stripe */
  --blue: #0a50b0;           /* logo blue stripe */
  --accent: var(--violet);
  --accent-dark: var(--violet-dark);
  --stripes: linear-gradient(90deg, var(--purple), var(--magenta), var(--blue));
  --brand-gradient: linear-gradient(135deg, #3a0790 0%, #6a0fd6 55%, #9c10d4 100%);
  --platinum: #d4d2e6;       /* light text on dark backgrounds */
  --text: #2b2b2b;
  --muted: #5f646d;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(58, 7, 144, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: .9rem; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-light { background: var(--white); color: var(--violet-dark); border-color: var(--white); }
.btn-light:hover { background: var(--violet-light); border-color: var(--violet-light); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 8px;
}

/* Top bar */
.topbar { background: var(--primary-dark); color: var(--platinum); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; gap: 12px; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar-social { display: flex; gap: 14px; }

/* Header */
.header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header::after { content: ""; display: block; height: 4px; background: var(--stripes); }
.header-inner { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.logo { display: flex; align-items: center; }
.logo img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-weight: 500; color: var(--primary); font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--violet); }
.nav .btn { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--primary); margin: 4px 0; border-radius: 2px; }

/* Hero (image slider) */
.hero { background: var(--brand-gradient); }
.slides { position: relative; max-width: 1600px; margin: 0 auto; aspect-ratio: 2 / 1; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(255,255,255,.2); color: var(--white);
  border: 0; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem; backdrop-filter: blur(4px);
}
.slide-btn:hover { background: rgba(255,255,255,.4); }
.prev { left: 16px; }
.next { right: 16px; }
.dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dots button.active { background: var(--white); }

/* Sections */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--primary); line-height: 1.25; margin-bottom: 10px; }
.section-head h2::after { content: ""; display: block; width: 80px; height: 4px; border-radius: 2px; background: var(--stripes); margin: 14px auto 0; }
.section-head p { color: var(--muted); }

/* Zoomable images */
.zoomable { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }

/* Plans */
.plans { background: var(--violet-light); }
.promo-strip {
  display: block; text-align: center;
  background: var(--brand-gradient); color: var(--white);
  padding: 12px 20px; border-radius: 999px;
  margin: -20px auto 40px; max-width: 760px; font-size: .95rem;
  transition: transform .2s;
}
.promo-strip:hover { transform: translateY(-2px); }
.promo-strip strong { color: #ffe94d; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-poster { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.plan-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.plan-poster:hover img { transform: scale(1.04); }
.plan-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.plan-card h3 { color: var(--primary); font-size: 1.1rem; letter-spacing: .5px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--violet); line-height: 1.1; margin-top: 4px; }
.plan-price span { font-size: 1.1rem; vertical-align: top; }
.plan-price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.plan-speed { color: var(--muted); margin: 2px 0 14px; }
.plan-speed strong { color: var(--primary); font-size: 1.1rem; }
.plan-card ul { list-style: none; margin-bottom: 12px; flex: 1; }
.plan-card li { padding: 6px 0 6px 24px; position: relative; border-bottom: 1px solid var(--violet-light); font-size: .9rem; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }
.plan-spec { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.plan-card .btn { text-align: center; }

.plan-card.featured { outline: 3px solid var(--violet); }
.plan-card.vip { background: linear-gradient(160deg, var(--primary), var(--primary-dark)); color: var(--white); }
.plan-card.vip h3, .plan-card.vip .plan-price, .plan-card.vip .plan-speed strong { color: var(--white); }
.plan-card.vip .plan-speed, .plan-card.vip .plan-price small, .plan-card.vip .plan-spec { color: var(--platinum); }
.plan-card.vip li { border-color: rgba(255,255,255,.1); }
.plan-card.vip li::before { color: #c99bff; }
.plan-card.vip .btn-outline { color: var(--white); border-color: var(--platinum); }
.plan-card.vip .btn-outline:hover { background: var(--white); color: var(--primary); }

.badge {
  position: absolute; top: -12px; right: 16px; z-index: 2;
  background: var(--stripes); color: var(--white);
  font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.vip .badge { background: linear-gradient(135deg, #f1f0f5, #a7a4b5); color: var(--primary); }
.fine-print { text-align: center; color: var(--muted); font-size: .8rem; margin: 30px auto 0; max-width: 760px; }

/* News & Promos */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-featured { grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
.news-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--violet-light);
}
.news-img { aspect-ratio: 16 / 10; background: var(--brand-gradient); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.news-img:hover img { transform: scale(1.04); }
.news-body { padding: 22px 24px 26px; flex: 1; }
.news-tag {
  display: inline-block; background: var(--violet-light); color: var(--violet);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 999px; margin-right: 8px;
}
.news-body time { font-size: .85rem; color: var(--muted); }
.news-body h3 { color: var(--primary); font-size: 1.15rem; line-height: 1.35; margin: 10px 0 10px; }
.news-body p { color: var(--muted); font-size: .92rem; }
.news-body p a { color: var(--violet); font-weight: 600; }

.schedule { list-style: none; display: grid; gap: 10px; }
.schedule li { border-left: 3px solid var(--magenta); padding: 2px 0 2px 12px; font-size: .88rem; }
.schedule strong { display: block; color: var(--primary); }
.schedule span { display: block; color: var(--muted); }

.promo-list { list-style: none; display: grid; gap: 10px; margin-bottom: 12px; }
.promo-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px;
  background: var(--violet-light); border-radius: 10px; padding: 10px 14px; font-size: .9rem;
}
.promo-list s { color: #d4202a; }
.promo-list strong { color: var(--violet); font-size: 1.2rem; }
.promo-list em { grid-column: 1 / -1; font-style: normal; font-size: .8rem; color: var(--muted); }
.news-fine { font-size: .75rem !important; }
.news-more { text-align: center; margin-top: 36px; color: var(--muted); }
.news-more a { color: var(--violet); font-weight: 600; }

/* Services */
.services { background: var(--violet-light); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  padding: 32px 26px; border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--brand-gradient);
  display: grid; place-items: center; margin-bottom: 18px;
}
.service-card .icon svg { width: 28px; height: 28px; fill: var(--white); }
.service-card h3 { color: var(--primary); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .95rem; }

/* Mobile App */
.app-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.app h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--primary); line-height: 1.25; margin-bottom: 24px; }
.app-reasons { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; counter-reset: r; }
.app-reasons li { position: relative; padding-left: 52px; color: var(--muted); }
.app-reasons li::before {
  counter-increment: r; content: counter(r);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-gradient); color: var(--white);
  display: grid; place-items: center; font-weight: 700;
}
.app-reasons strong { display: block; color: var(--primary); }
.app-download { background: var(--violet-light); border-radius: 12px; padding: 14px 18px; font-size: .92rem; }
.app-images { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.app-images img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* About */
.about { background: var(--brand-gradient); color: var(--white); }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.about .eyebrow { color: #ffd6fa; }
.about-text > p { opacity: .9; margin-bottom: 28px; }
.vision { border-left: 4px solid var(--white); padding: 6px 0 6px 20px; }
.vision h3 { margin-bottom: 6px; }
.vision p { font-style: italic; opacity: .92; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat strong { display: block; font-size: 2rem; }
.stat span { font-size: .9rem; opacity: .85; }

/* CTA */
.cta { background: var(--primary); color: var(--white); padding: 60px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: 2rem; }
.cta p { color: var(--platinum); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Locations */
.location-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.location-card { background: var(--violet-light); border-radius: var(--radius); padding: 34px; }
.location-card h3 { color: var(--primary); margin-bottom: 12px; }
.location-card p { margin-bottom: 12px; color: var(--muted); }
.location-card p a { color: var(--violet); }
.location-card .btn { margin-top: 8px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Support */
.support { background: var(--violet-light); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.support-card h3 { color: var(--primary); margin-bottom: 6px; }
.support-card p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.support-card a { display: block; color: var(--violet); font-weight: 600; margin-bottom: 4px; word-break: break-word; }

/* Footer */
.footer { background: var(--primary-dark); color: var(--platinum); padding-top: 60px; border-top: 4px solid transparent; border-image: var(--stripes) 1; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: var(--white); margin-bottom: 14px; }
.footer a { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer p { font-size: .9rem; margin-bottom: 10px; }
.logo-footer { display: inline-flex; margin-bottom: 14px; }
.logo-footer img { height: 56px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; text-align: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 5, 25, .9);
  display: grid; place-items: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: 0; color: var(--white);
  font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav a { font-size: .88rem; }
}
@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--violet-light); font-size: 1rem; }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}
@media (max-width: 860px) {
  .about-inner, .location-grid, .app-inner, .news-featured { grid-template-columns: 1fr; }
  .support-grid, .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .plan-grid, .news-grid, .service-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .section { padding: 64px 0; }
  .slide-btn { display: none; }
  .logo img { height: 40px; }
  .promo-strip { border-radius: 14px; }
  .topbar-contact { gap: 10px; font-size: .78rem; }
}
