/*
Theme Name: NovaHub Studio
Theme URI: https://www.novahubstudio.com
Author: NovaHub Studio
Author URI: https://www.novahubstudio.com
Description: A futuristic, premium dark UI WordPress theme for NovaHub Studio, built for digital creative agencies, services, portfolio showcases, and lead generation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novahub-studio
Tags: custom-logo, custom-menu, portfolio, one-column, responsive-layout, block-styles
*/

:root {
  --ink: #050813;
  --panel: #0b1020;
  --panel-2: #11182b;
  --line: rgba(230, 236, 243, 0.16);
  --text: #f5f8ff;
  --muted: #a8b4c7;
  --soft: #e6ecf3;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #27d6a3;
  --paper: #f5f7fb;
  --paper-text: #111827;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(5, 8, 19, 0.84);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Poppins, Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span span {
  color: var(--cyan);
  margin-left: 3px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(245, 248, 255, 0.78);
  font-size: 0.89rem;
  font-weight: 600;
}

.main-nav .menu,
.footer-nav .menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav .menu {
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--cyan);
}

.header-cta,
.btn,
.price-card a,
.contact-form button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.header-cta {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  box-shadow: 0 14px 38px rgba(34, 211, 238, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 76px) 72px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-bg {
  z-index: -1;
}

.page-hero-inner {
  width: min(980px, 100%);
}

.page-hero-inner h1 {
  max-width: 960px;
}

.page-hero-inner p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(245, 248, 255, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 24%, rgba(139, 92, 246, 0.22), transparent 32%),
    radial-gradient(circle at 16% 34%, rgba(34, 211, 238, 0.18), transparent 30%),
    linear-gradient(135deg, #03050d 0%, #071021 48%, #11142a 100%);
  background-size: cover;
  background-position: center;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(230, 236, 243, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 236, 243, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: -11vw;
  top: 12vh;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(59, 130, 246, 0.12),
    0 0 120px rgba(139, 92, 246, 0.12);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: -1;
  background: linear-gradient(0deg, #050813, rgba(5, 8, 19, 0));
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(240px, 360px);
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.hero-wordmark {
  display: block;
  margin-bottom: 18px;
  font-family: Poppins, Montserrat, sans-serif;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  font-weight: 800;
  line-height: 0.86;
  color: #fff;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.hero-wordmark span {
  color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-wordmark small {
  display: block;
  margin-top: 18px;
  color: rgba(245, 248, 255, 0.84);
  font-size: clamp(1rem, 2.1vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.55em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Poppins, Montserrat, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 4.8vw, 5.2rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-text {
  max-width: 620px;
  color: rgba(245, 248, 255, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 46%, var(--violet));
  color: #fff;
  box-shadow: 0 16px 45px rgba(59, 130, 246, 0.32);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 16, 32, 0.62);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-mark {
  display: grid;
  place-items: center;
  min-height: 210px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 48%, rgba(34, 211, 238, 0.18), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.hero-mark img {
  width: min(190px, 74%);
  filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.42));
}

.metric {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.metric strong {
  font-family: Poppins, Montserrat, sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--cyan);
}

.metric span {
  color: rgba(245, 248, 255, 0.72);
  font-weight: 700;
}

.service-strip {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.service-strip span {
  flex: 1 0 max-content;
  min-width: 180px;
  padding: 18px 24px;
  background: #050813;
  color: rgba(245, 248, 255, 0.8);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 76px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 42px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
  background: var(--paper);
  color: var(--paper-text);
}

.intro .eyebrow,
.pricing .eyebrow {
  color: #116bd8;
}

.intro-grid {
  display: grid;
  gap: 26px;
  color: #374151;
  font-size: 1.03rem;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-stats div {
  min-height: 130px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #d9e0eb;
}

.mini-stats strong {
  display: block;
  color: #071021;
  font-family: Poppins, Montserrat, sans-serif;
  font-size: 1.35rem;
}

.mini-stats span {
  color: #5b6472;
  font-weight: 600;
}

.dark-band {
  background:
    radial-gradient(circle at 22% 18%, rgba(34, 211, 238, 0.16), transparent 30%),
    radial-gradient(circle at 82% 26%, rgba(139, 92, 246, 0.18), transparent 34%),
    #050813;
}

.cards {
  display: grid;
  gap: 18px;
}

.service-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.price-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  min-height: 258px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(139, 92, 246, 0.28));
  color: var(--cyan);
  font-weight: 900;
}

.card p,
.timeline p,
.price-card p,
.quote blockquote,
.contact-copy p {
  color: var(--muted);
}

.work {
  background: #0f1627;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.portfolio-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-feature,
.work-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 76% 20%, rgba(139, 92, 246, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.work-feature {
  grid-row: span 2;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(230, 236, 243, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 236, 243, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.75), transparent 70%);
}

.project-orbit {
  position: absolute;
  right: 34px;
  top: 36px;
  display: grid;
  place-items: center;
  width: min(36%, 260px);
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 50%;
  background: rgba(5, 8, 19, 0.36);
  box-shadow: inset 0 0 70px rgba(34, 211, 238, 0.12);
}

.project-orbit img {
  width: 68%;
  filter: drop-shadow(0 0 28px rgba(34, 211, 238, 0.48));
}

.project-copy,
.work-card span,
.work-card h3,
.work-card p,
.project-number {
  position: relative;
  z-index: 1;
}

.project-copy {
  width: min(620px, 68%);
  padding: 34px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.work-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(245, 248, 255, 0.08);
  font-family: Poppins, Montserrat, sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}

.work-feature span,
.work-card span,
.timeline span,
.price-card span {
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.work-feature h3,
.work-card h3 {
  max-width: 560px;
  margin: 6px 0 0;
  font-size: clamp(1.3rem, 2.8vw, 2.6rem);
}

.work-feature p,
.work-card p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
}

.process {
  background: var(--paper);
  color: var(--paper-text);
}

.process .eyebrow {
  color: #0f9f8b;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  min-height: 260px;
  padding: 24px;
  background: #fff;
  border-color: #d9e0eb;
}

.timeline h3 {
  margin: 18px 0 12px;
}

.timeline p {
  color: #566071;
}

.pricing {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 247, 251, 0.96)),
    var(--paper);
  color: var(--paper-text);
}

.pricing-cards {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border-color: #d9e0eb;
  color: #111827;
}

.price-card.featured {
  background: #071021;
  color: #fff;
  border-color: rgba(34, 211, 238, 0.46);
  box-shadow: 0 24px 70px rgba(7, 16, 33, 0.22);
}

.price-card h3 {
  margin: 10px 0 12px;
  font-size: 1.7rem;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: #4b5563;
  font-weight: 600;
}

.price-card.featured li,
.price-card.featured p {
  color: rgba(245, 248, 255, 0.76);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.price-card a {
  margin-top: auto;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #071021;
  color: #fff;
}

.price-card.featured a {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  background: #050813;
}

.quote {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  align-items: start;
}

.quote img {
  width: 92px;
}

.quote blockquote {
  margin: 0;
  font-family: Poppins, Montserrat, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2.3rem);
  line-height: 1.22;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-list span {
  min-height: 86px;
  display: grid;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(245, 248, 255, 0.82);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: 52px;
  align-items: start;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 18% 40%, rgba(34, 211, 238, 0.14), transparent 32%),
    linear-gradient(135deg, #071021, #151329 58%, #081225);
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 248, 255, 0.84);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(245, 248, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(230, 236, 243, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 8, 19, 0.76);
  color: var(--text);
  padding: 14px 16px;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.contact-form button {
  min-height: 52px;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  color: #fff;
}

.page-content {
  background: var(--paper);
  color: var(--paper-text);
}

.page-content > * {
  width: min(900px, 100%);
}

.page-content a {
  color: #116bd8;
  font-weight: 700;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 46px 20px;
  background: #03050d;
  color: rgba(245, 248, 255, 0.64);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 84px;
}

.site-footer strong {
  color: var(--text);
  font-family: Poppins, Montserrat, sans-serif;
  font-size: 1.3rem;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.footer-social,
.footer-widget {
  color: rgba(245, 248, 255, 0.72);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 77px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 8, 19, 0.96);
    backdrop-filter: blur(16px);
  }

  .main-nav .menu {
    display: grid;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
    border-radius: var(--radius);
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .header-cta {
    display: none;
  }

  .hero-content,
  .intro,
  .testimonials,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .pricing-cards,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-feature {
    grid-row: auto;
  }

  .project-copy {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span {
    max-width: 164px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding-top: 108px;
    padding-bottom: 28px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 3.9rem);
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
  }

  .btn,
  .contact-links a {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mini-stats,
  .service-cards,
  .pricing-cards,
  .timeline,
  .trust-list,
  .portfolio-list {
    grid-template-columns: 1fr;
  }

  .work-feature,
  .work-card {
    min-height: 260px;
  }

  .project-orbit {
    right: 18px;
    top: 18px;
    width: 144px;
    opacity: 0.48;
  }

  .project-copy {
    padding: 24px;
  }

  .quote {
    grid-template-columns: 1fr;
  }

  .quote img {
    width: 76px;
  }
}
