/* Shared "pop" layer for edu.html + apps.html: readability, colour, navigation */
html { scroll-padding-top: 76px; }
body::before { background-image: radial-gradient(ellipse 90% 60% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 65%) !important; }

/* NAV */
nav { padding-top: .9rem; padding-bottom: .9rem; }
.nav-links a { font-size: .86rem; font-weight: 600; color: rgba(255,255,255,.78); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { font-size: .9rem !important; padding: .6rem 1.3rem !important; box-shadow: 0 4px 22px color-mix(in srgb, var(--accent) 45%, transparent); color: #0b0b12 !important; }
.nav-back { color: rgba(255,255,255,.7); }

/* HERO */
.hero { background: radial-gradient(ellipse 55% 75% at 88% 40%, color-mix(in srgb, var(--accent) 24%, transparent) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 10% 90%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 70%); }
.hero h1 { font-size: clamp(3rem, 6.6vw, 6.4rem); }
.hero h1 .accent { text-shadow: 0 0 46px color-mix(in srgb, var(--accent) 55%, transparent); }
.hero-eyebrow span { font-size: .85rem; font-weight: 700; }
.hero-sub { font-size: 1.25rem; color: rgba(255,255,255,.85); font-weight: 400; max-width: 54ch; }
.btn-primary { font-size: 1.05rem; padding: 1rem 2.1rem; color: #0b0b12; font-weight: 700; box-shadow: 0 8px 32px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-ghost { font-size: 1.05rem; padding: 1rem 2.1rem; border-color: rgba(255,255,255,.35); }
.hero-flag { color: rgba(255,255,255,.65); font-size: .78rem; }
.hero-who { display: flex; flex-wrap: wrap; gap: .6rem; margin: -0.8rem 0 2rem; }
.hero-who a { font-weight: 600; font-size: .95rem; color: #fff; text-decoration: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .5rem 1rem; border-radius: 30px; transition: .2s; }
.hero-who a:hover { background: var(--accent); color: #0b0b12; border-color: var(--accent); transform: translateY(-2px); }

/* Quick-launch card (hero, right side) */
.hero-launch { position: absolute; right: 4rem; top: 50%; transform: translateY(-46%); width: 340px; background: rgba(255,255,255,.06); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 14px; padding: 1.4rem; backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 60px color-mix(in srgb, var(--accent) 18%, transparent); z-index: 3; }
.hero-launch h3 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.hero-launch a { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; margin-bottom: .55rem; border-radius: 10px; text-decoration: none; color: #fff; font-weight: 600; background: rgba(255,255,255,.07); transition: .2s; }
.hero-launch a:hover { background: var(--accent); color: #0b0b12; transform: translateX(4px); }
.hero-launch a span.ic { font-size: 1.5rem; }
.hero-launch a small { display: block; font-weight: 400; font-size: .78rem; opacity: .75; }
.hero-launch a.go::after { content: '→'; margin-left: auto; font-weight: 700; }
@media (max-width: 1150px) { .hero-launch { position: static; transform: none; width: 100%; max-width: 440px; margin-top: 2.2rem; order: 20; } }

/* STATS */
.stats-bar { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.stat-num { font-size: 3.3rem; text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 50%, transparent); }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.75); font-weight: 600; }

/* SECTIONS */
.section-label { font-size: .85rem; font-weight: 700; }
.section-title { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.section-sub { font-size: 1.12rem; color: rgba(255,255,255,.78); font-weight: 400; }

/* CARDS: per-card colour */
.product-card, .service-card { --c: var(--accent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); border-top: 4px solid var(--c); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, var(--surface)) 0%, var(--surface) 55%); box-shadow: 0 6px 30px rgba(0,0,0,.25); }
.product-card:nth-child(5n+1), .service-card:nth-child(5n+1) { --c: var(--accent); }
.product-card:nth-child(5n+2), .service-card:nth-child(5n+2) { --c: #38bdf8; }
.product-card:nth-child(5n+3), .service-card:nth-child(5n+3) { --c: #fbbf24; }
.product-card:nth-child(5n+4), .service-card:nth-child(5n+4) { --c: #f472b6; }
.product-card:nth-child(5n+5), .service-card:nth-child(5n+5) { --c: #34d399; }
.product-card.featured { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, var(--surface)) 0%, var(--surface) 70%); }
.product-card:hover, .service-card:hover { border-color: var(--c); box-shadow: 0 14px 44px color-mix(in srgb, var(--c) 30%, transparent); transform: translateY(-5px); }
.product-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 14px; background: color-mix(in srgb, var(--c) 22%, transparent); }
.product-name { font-size: 1.4rem; }
.product-desc, .service-desc { font-size: 1rem; color: rgba(255,255,255,.8); font-weight: 400; line-height: 1.65; }
.service-name { font-size: 1.2rem; }
.service-num { color: var(--c); font-size: .9rem; }
.pill { font-size: .74rem; color: rgba(255,255,255,.9); background: color-mix(in srgb, var(--c) 14%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); padding: .3rem .65rem; }
.product-link { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; font-size: .95rem; font-weight: 700; color: #0b0b12; background: var(--c); padding: .7rem 1.2rem; border-radius: 8px; margin-top: .4rem; }
.product-link:hover { opacity: 1; filter: brightness(1.12); transform: translateY(-1px); }
.tag-live { font-size: .72rem; }

/* CONTACT */
.contact-card { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.contact-value { font-size: 1rem; font-weight: 600; }
.contact-label { color: rgba(255,255,255,.7); font-size: .72rem; }
.contact-icon { font-size: 1.8rem; }
.footer-legal, .footer-legal a { color: rgba(255,255,255,.65) !important; }

/* Floating WhatsApp (desktop) + mobile bottom bar */
.wa-float { position: fixed; right: 70px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: .55rem; background: #25d366; color: #052e16; font-weight: 700; font-size: .95rem; padding: .8rem 1.2rem; border-radius: 40px; text-decoration: none; box-shadow: 0 8px 28px rgba(37,211,102,.45); }
.wa-float:hover { filter: brightness(1.08); transform: translateY(-2px); }
.mbar { display: none; }
@media (max-width: 900px) {
  .wa-float { display: none; }
  body { padding-bottom: 64px; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(10,10,18,.96); backdrop-filter: blur(14px); border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem 0 .65rem; color: rgba(255,255,255,.85); text-decoration: none; font-size: .72rem; font-weight: 600; }
  .mbar a b { font-size: 1.3rem; font-weight: 400; }
  .mbar a.wa { color: #25d366; }
  #a3pal { bottom: 74px !important; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .hero-sub { font-size: 1.1rem; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; text-align: center; }
}

/* Brief: small text floor (>= 12px, better contrast) + 4-card services grid */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; }
.nav-back { font-size: .8rem; }
.nav-badge { font-size: .75rem; color: #fff; }
.hero-flag { font-size: .8rem; }
.footer-switch { font-size: .78rem !important; }
.footer-legal { font-size: .8rem; }
.contact-label, .stat-label, .pill, .tag-live, .product-tag { font-size: max(.75rem, 12px); }
.service-num { font-size: .8rem; }
.btn-book { font-size: .9rem; color: var(--accent); border-color: var(--accent); }
.footer-logo span[style] { font-size: .8rem !important; color: rgba(255,255,255,.7) !important; }
