/*
Theme Name:   Astra Child - NexReviewz
Theme URI:    https://nexreviewz.com
Description:  NexReviewz Custom Child Theme for Astra
Author:       NexReviewz
Author URI:   https://nexreviewz.com
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  astra-child-nexreviewz
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   GLOBAL RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07091
2;
  --bg2: #0E1420;
  --bg3: #131D2E;
  --card: #111827;
  --card2: #172033;
  --accent: #38BDF8;
  --green: #34D399;
  --purple: #A78BFA;
  --yellow: #FBBF24;
  --border: rgba(255,255,255,0.07);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --dim: #4B5563;
  --nav-bg: #FFFFFF;
  --nav-text: #1E293B;
  --font: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font) !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  overflow-x: hidden;
}

/* ===========================
   WHITE NAVIGATION
=========================== */
#masthead,
.site-header,
.ast-primary-header-bar {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06) !important;
}

.ast-header-break-point .site-header,
.main-header-bar {
  background: #FFFFFF !important;
}

/* Logo */
.site-title a,
.site-title {
  color: #0F172A !important;
  font-family: var(--font) !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  letter-spacing: -0.5px !important;
}

/* Nav Links */
.main-header-menu .menu-item > a,
.ast-header-navigation .menu-item > a,
#site-navigation .menu-item > a,
.main-header-bar .main-header-menu li a {
  color: #475569 !important;
  font-family: var(--font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 7px !important;
  transition: all 0.15s !important;
}

.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a {
  color: #0EA5E9 !important;
  background: #E0F2FE !important;
}

/* ===========================
   HERO SECTION
=========================== */
.nex-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #07091

2 0%, #0E1428 50%, #0A0F1E 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
}

.nex-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nex-hero-glow1 {
  position: absolute;
  top: -100px; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.nex-hero-glow2 {
  position: absolute;
  bottom: -100px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.nex-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nex-hero-left { flex: 1; min-width: 0; }

.nex-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.3);
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

.nex-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34D399;
  animation: nexPulse 2s infinite;
}

@keyframes nexPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.nex-hero h1 {
  font-size: 52px !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -2px !important;
  color: #fff !important;
  margin-bottom: 18px !important;
}

.nex-grad {
  background: linear-gradient(120deg, #38BDF8, #A78BFA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nex-hero-desc {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 32px;
}

.nex-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.nex-btn-main {
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  color: #fff !important;
  font-size: 13px; font-weight: 700;
  padding: 13px 28px;
  border-radius: 9px; border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
  transition: transform 0.2s;
  text-decoration: none !important;
  display: inline-block;
}
.nex-btn-main:hover { transform: translateY(-1px); }

.nex-btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #F8FAFC !important;
  font-size: 13px; font-weight: 600;
  padding: 13px 24px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
  display: inline-block;
}
.nex-btn-ghost:hover { background: rgba(255,255,255,0.1); }

.nex-hero-stats { display: flex; gap: 0; }
.nex-hs {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.nex-hs:first-child { padding-left: 0; }
.nex-hs:last-child { border: none; }
.nex-hs-v { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.nex-hs-v span { color: #38BDF8; }
.nex-hs-l { font-size: 11px; color: #64748B; margin-top: 2px; }

/* 3D Floating Cards */
.nex-hero-right {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}

.nex-fc {
  background: rgba(17,24,39,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}
.nex-fc:nth-child(1) { transform: rotate(-1.5deg) translateX(-8px); animation: fc1 3s ease-in-out infinite; }
.nex-fc:nth-child(2) { transform: rotate(1deg) translateX(8px); animation: fc2 3s ease-in-out 1s infinite; }
.nex-fc:nth-child(3) { transform: rotate(-0.8deg) translateX(-4px); animation: fc3 3s ease-in-out 2s infinite; }
@keyframes fc1 { 0%,100%{transform:rotate(-1.5deg) translateX(-8px) translateY(0)}50%{transform:rotate(-1.5deg) translateX(-8px) translateY(-8px)} }
@keyframes fc2 { 0%,100%{transform:rotate(1deg) translateX(8px) translateY(0)}50%{transform:rotate(1deg) translateX(8px) translateY(-8px)} }
@keyframes fc3 { 0%,100%{transform:rotate(-0.8deg) translateX(-4px) translateY(0)}50%{transform:rotate(-0.8deg) translateX(-4px) translateY(-8px)} }

.nex-fc-tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #38BDF8; margin-bottom: 7px; }
.nex-fc-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.nex-fc-row { display: flex; align-items: center; justify-content: space-between; }
.nex-fc-stars { color: #FBBF24; font-size: 11px; }
.nex-pill { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.nex-pill-g { background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.3); color: #34D399; }
.nex-pill-b { background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.3); color: #38BDF8; }
.nex-pill-p { background: rgba(167,139,250,0.12); border: 1px solid rgba(167,139,250,0.3); color: #A78BFA; }

/* ===========================
   KEYWORD BAR
=========================== */
.nex-kbar {
  background: #0A0F1A;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 11px 60px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.nex-kbar-lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #334155; margin-right: 6px; white-space: nowrap; }
.nex-ktag {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: #64748B;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.nex-ktag:hover { color: #38BDF8; border-color: rgba(56,189,248,0.3); }

/* ===========================
   SECTIONS
=========================== */
.nex-section { padding: 56px 60px; }
.nex-section-dark { background: var(--bg2); }

.nex-sec-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.nex-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #38BDF8; margin-bottom: 8px; }
.nex-sec-h { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.8px; line-height: 1.2; }
.nex-sec-sub { font-size: 13px; color: #64748B; margin-top: 5px; }

.nex-btn-sm {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #64748B;
  font-size: 12px; font-weight: 600;
  padding: 8px 18px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.nex-btn-sm:hover { color: #fff; border-color: rgba(255,255,255,0.25); }

/* Category Grid */
.nex-cat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.nex-cat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 16px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  text-decoration: none;
  display: block;
}
.nex-cat:hover { border-color: rgba(56,189,248,0.35); background: var(--card2); transform: translateY(-4px) scale(1.02); }
.nex-cat-ic { font-size: 30px; margin-bottom: 10px; display: block; }
.nex-cat-nm { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.nex-cat-ct { font-size: 11px; color: #4B5563; }

/* Tool Cards */
.nex-tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.nex-tc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s;
}
.nex-tc:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.nex-tc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.nex-tc-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.nex-tc-rank { font-size: 10px; color: #4B5563; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.nex-tc-nm { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.nex-tc-type { font-size: 11px; color: #4B5563; margin-bottom: 13px; }
.nex-tc-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; margin-bottom: 8px; overflow: hidden; }
.nex-tc-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #38BDF8, #A78BFA); }
.nex-tc-foot { display: flex; justify-content: space-between; font-size: 11px; color: #4B5563; }
.nex-tc-sc { color: #34D399; font-weight: 700; }

/* ===========================
   FOOTER
=========================== */
.nex-footer {
  background: #050709 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 60px 28px;
}
.nex-footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.nex-fl-logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; cursor: pointer; display: block; text-decoration: none; }
.nex-fl-logo span { color: #38BDF8; }
.nex-fl-desc { font-size: 13px; color: #334155; line-height: 1.7; margin-bottom: 16px; }
.nex-fc-t { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #1E293B; margin-bottom: 14px; }
.nex-fl { display: block; font-size: 13px; color: #334155; margin-bottom: 10px; text-decoration: none; transition: color 0.2s; }
.nex-fl:hover { color: #38BDF8; }
.nex-fbot { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #1E293B; flex-wrap: wrap; gap: 10px; }
.nex-fbot a { font-size: 11px; color: #1E293B; text-decoration: none; margin-left: 18px; }
.nex-fbot a:hover { color: #38BDF8; }

/* ===========================
   LEGAL PAGES
=========================== */
.nex-legal { max-width: 800px; margin: 0 auto; padding: 56px 48px; }
.nex-legal h1 { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -0.8px; margin-bottom: 8px; }
.nex-legal-date { font-size: 12px; color: #334155; margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.nex-legal h2 { font-size: 18px; font-weight: 700; color: #fff; margin: 28px 0 10px; }
.nex-legal p { font-size: 14px; color: #64748B; line-height: 1.8; margin-bottom: 14px; }
.nex-legal ul { padding-left: 20px; margin-bottom: 14px; }
.nex-legal li { font-size: 14px; color: #64748B; line-height: 1.8; margin-bottom: 6px; }
.nex-legal a { color: #38BDF8; }
.nex-legal-chip { display: inline-block; background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.2); color: #38BDF8; font-size: 11px; font-weight: 600; padding: 5px 13px; border-radius: 20px; margin-bottom: 18px; }

/* ===========================
   CONTACT PAGE
=========================== */
.nex-contact-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.nex-contact-left { background: linear-gradient(135deg, #07091

2, #0D1525); padding: 52px 48px; border-right: 1px solid var(--border); }
.nex-contact-left h1 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.nex-contact-left p { font-size: 14px; color: #64748B; line-height: 1.7; margin-bottom: 28px; }
.nex-ci { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.nex-ci-icon { font-size: 20px; }
.nex-ci-label { font-size: 11px; color: #334155; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.nex-ci-val { font-size: 13px; color: #94A3B8; }
.nex-contact-right { padding: 48px; background: var(--bg); }
.nex-cf-label { font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; display: block; }
.nex-cf-in { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #fff; font-size: 13px; padding: 11px 14px; border-radius: 9px; outline: none; font-family: var(--font); margin-bottom: 16px; }
.nex-cf-in::placeholder { color: #334155; }
textarea.nex-cf-in { height: 110px; resize: none; }
.nex-cf-submit { background: linear-gradient(135deg, #0EA5E9, #6366F1); color: #fff; font-size: 13px; font-weight: 700; padding: 13px 28px; border-radius: 9px; border: none; cursor: pointer; font-family: var(--font); width: 100%; }

/* ===========================
   ABOUT PAGE
=========================== */
.nex-about-hero { background: linear-gradient(135deg, #07091

2, #0D1525); padding: 60px 60px; border-bottom: 1px solid var(--border); text-align: center; }
.nex-about-hero h1 { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 12px; }
.nex-about-hero p { font-size: 16px; color: #64748B; max-width: 580px; margin: 0 auto 32px; line-height: 1.7; }
.nex-about-stats { display: flex; justify-content: center; border-top: 1px solid var(--border); padding-top: 36px; }
.nex-ast { padding: 0 40px; border-right: 1px solid var(--border); text-align: center; }
.nex-ast:last-child { border: none; }
.nex-ast-v { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.nex-ast-v span { color: #38BDF8; }
.nex-ast-l { font-size: 12px; color: #4B5563; margin-top: 4px; }
.nex-team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 52px 60px; }
.nex-tm { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; transition: all 0.25s; }
.nex-tm:hover { border-color: rgba(56,189,248,0.3); transform: translateY(-3px); }
.nex-tm-av { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.nex-tm-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.nex-tm-role { font-size: 12px; color: #4B5563; margin-bottom: 12px; }
.nex-tm-desc { font-size: 12px; color: #64748B; line-height: 1.6; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .nex-hero-inner { flex-direction: column; padding: 40px 24px; }
  .nex-hero h1 { font-size: 34px !important; }
  .nex-hero-right { flex: none; width: 100%; }
  .nex-cat-grid { grid-template-columns: repeat(2,1fr); }
  .nex-tools-grid { grid-template-columns: repeat(2,1fr); }
  .nex-footer-grid { grid-template-columns: 1fr 1fr; }
  .nex-section { padding: 40px 24px; }
  .nex-contact-wrap { grid-template-columns: 1fr; }
  .nex-team-grid { grid-template-columns: 1fr; padding: 40px 24px; }
}
