/* ============================================================
   UWEBBZ TECHNOLOGY – Main Stylesheet
   ============================================================ */

:root {
  --bg: #050A14;
  --surface: #0C1627;
  --surface2: #111E36;
  --accent: #00C8FF;
  --accent2: #0066FF;
  --gold: #F5A623;
  --text: #E8EDF5;
  --muted: #7B90B2;
  --border: rgba(0,200,255,0.12);
  --glow: 0 0 40px rgba(0,200,255,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  position: relative;
  z-index: 100;
}
.topbar a { color: var(--accent); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-socials { display: flex; gap: 14px; }
.topbar-socials a {
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.7rem;
  transition: all .25s;
  text-decoration: none;
}
.topbar-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ── NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5,10,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}
.site-logo span { color: var(--accent); }
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}

/* WP nav menu */
#primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
#primary-menu li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all .2s;
  display: block;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item > a {
  color: var(--text);
  background: var(--surface2);
}
#primary-menu li.current-menu-item > a { color: var(--accent); }

.nav-enquire { display: flex; align-items: center; }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff !important;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .2s, box-shadow .2s;
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,102,255,0.4);
  color: #fff !important;
}
.btn-outline {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 10px 22px;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg) !important;
  transform: translateY(-2px);
}

/* ── SECTION SHARED ── */
section { position: relative; z-index: 1; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

h2.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.8;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 5%;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(0,102,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,200,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(0,200,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text);
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent), #7EB8FF, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(44%, 520px);
  animation: fadeIn 1s 0.4s ease both;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.stat-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: var(--muted); }
.uptime-bar {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.uptime-label { font-size: 0.85rem; color: var(--muted); }
.uptime-value { font-family: 'Syne', sans-serif; font-weight: 700; color: #39E98E; font-size: 1.1rem; white-space: nowrap; }
.uptime-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.uptime-fill {
  height: 100%; width: 99.9%;
  background: linear-gradient(90deg, #0FBA74, #39E98E);
  border-radius: 99px;
  animation: growBar 1.5s 1s ease both;
}
@keyframes growBar { from { width: 0; } }

/* ── ABOUT ── */
.about {
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-img-bg {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.about-img-inner {
  width: 100%; height: 100%;
  background: radial-gradient(ellipse 60% 60% at 40% 60%, rgba(0,102,255,0.2) 0%, transparent 70%),
    linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; opacity: 0.6;
}
.about-img-inner img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.9;
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,102,255,0.3);
}
.about-badge-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800; color: #fff; line-height: 1;
}
.about-badge-label { font-size: 0.75rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

.checklist { list-style: none; margin: 28px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: var(--muted);
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(0,200,255,0.12);
  border: 1px solid rgba(0,200,255,0.3);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--accent); font-weight: 700;
  margin-top: 2px;
}

/* ── SERVICES ── */
.services {
  padding: 100px 5%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-head { text-align: center; margin-bottom: 64px; }
.services-head .section-label { justify-content: center; }
.services-head .section-sub { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { border-color: rgba(0,200,255,0.3); transform: translateY(-4px); box-shadow: var(--glow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-card:nth-child(1) .service-icon { background: rgba(0,102,255,0.12); }
.service-card:nth-child(2) .service-icon { background: rgba(0,200,255,0.1); }
.service-card:nth-child(3) .service-icon { background: rgba(57,233,142,0.1); }
.service-card:nth-child(4) .service-icon { background: rgba(245,166,35,0.1); }
.service-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem;
  margin-bottom: 10px; color: var(--text);
}
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.service-link {
  font-size: 0.85rem; color: var(--accent); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: gap .2s;
}
.service-link:hover { gap: 10px; color: var(--accent); }

/* ── WHY CHOOSE ── */
.why {
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 24px; }
.why-feature {
  display: flex; gap: 20px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; transition: all .25s;
}
.why-feature:hover { border-color: rgba(0,200,255,0.25); transform: translateX(6px); }
.why-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.why-feature h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--text); }
.why-feature p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.why-sub-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.why-sub-list li { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.why-sub-list li::before { content: '→'; color: var(--accent); font-size: 0.75rem; }

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 5%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.testimonials-head { margin-bottom: 60px; }
.testimonials-head .section-label { justify-content: center; }
.testimonials-head .section-sub { margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testi-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; text-align: left; position: relative;
}
.testi-card::before {
  content: '"'; position: absolute; top: 20px; right: 24px;
  font-family: 'Syne', sans-serif; font-size: 4rem; color: var(--border); line-height: 1;
}
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text); }
.testi-role { font-size: 0.8rem; color: var(--muted); }

/* ── NEWSLETTER ── */
.newsletter { padding: 80px 5%; text-align: center; position: relative; overflow: hidden; }
.newsletter::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,102,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-inner { position: relative; max-width: 520px; margin: 0 auto; }
.newsletter h2 {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  margin-bottom: 12px; letter-spacing: -0.5px; color: var(--text);
}
.newsletter p { color: var(--muted); margin-bottom: 32px; font-size: 0.95rem; }
.newsletter-form {
  display: flex; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 6px 6px 6px 20px;
}
.newsletter-form input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: var(--muted); }

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 5% 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; max-width: 280px; }
.footer-brand-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-brand-socials a {
  width: 36px; height: 36px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem; text-decoration: none; transition: all .2s;
}
.footer-brand-socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 18px; color: var(--text);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.footer-col ul li a {
  font-size: 0.88rem; color: var(--muted); text-decoration: none;
  transition: color .2s; display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col ul li a::before { content: '↗'; font-size: 0.7rem; opacity: 0.5; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-icon {
  width: 28px; height: 28px;
  background: rgba(0,200,255,0.1); border: 1px solid rgba(0,200,255,0.2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 2px;
}
.footer-contact-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.footer-contact-item a { color: var(--accent); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── INNER PAGES ── */
.page-content-wrap {
  padding: 80px 5%;
  max-width: 900px;
  margin: 0 auto;
}
.page-content-wrap h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem; font-weight: 800; margin-bottom: 24px;
  color: var(--text); letter-spacing: -1px;
}
.page-content-wrap p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.page-content-wrap a { color: var(--accent); }

/* ── WP CORE OVERRIDES ── */
img { max-width: 100%; height: auto; }
a { transition: color .2s; }
p { margin-bottom: 0; }
.wp-block-image img { border-radius: 12px; }
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
}
input:focus, textarea:focus { border-color: var(--accent); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
}
@media (max-width: 600px) {
  .site-header { padding: 0 4%; }
  #primary-menu { display: none; }
  .hero { padding: 60px 4%; min-height: auto; }
  .about, .services, .why, .testimonials, .newsletter { padding: 60px 4%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
