/*
Theme Name:  Creative Solutions Agency Theme
Theme URI:   https://creative-designs.ro
Author:      Creative Solutions
Description: Dark glassmorphism agency theme. Orange + Cyan + Deep Space palette. Canvas-driven animated background. Neumorphic interactive elements.
Version:     4.0
License:     GNU General Public License v2 or later
Text Domain: creative-solutions
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Base */
  --base: #080a0f;
  --surface: #0e1118;
  --surface2: #141820;

  /* Glass */
  --glass-bg: rgba(14, 17, 24, 0.45);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hi: rgba(255, 255, 255, 0.06);
  /* top-edge light catch */
  --glass-blur: blur(22px) saturate(160%);

  /* Accents */
  --orange: #ff5e3a;
  --orange-mid: #ff7a5a;
  --orange-glow: rgba(255, 94, 58, 0.25);
  --violet: #7c3aed;
  --violet-glow: rgba(124, 58, 237, 0.18);

  /* Text */
  --text: #ffffff;
  --muted: #aab4c8;
  --quiet: #4a5263;

  /* Typography */
  --font-h: 'Outfit', sans-serif;
  --font-b: 'Inter', sans-serif;

  /* Neumorphic shadows (dark) */
  --neu-d: #060809;
  --neu-l: #181e2a;
  --neu-out: 5px 5px 12px var(--neu-d), -5px -5px 12px var(--neu-l);
  --neu-in: inset 4px 4px 8px var(--neu-d), inset -4px -4px 8px var(--neu-l);

  /* Layout */
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 18px;
  /* border-radius default */
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-b);
  background: var(--base);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-h);
  line-height: 1.1;
  letter-spacing: -.025em;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.container--sm {
  max-width: 820px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

/* ============================================================
   CANVAS (behind everything)
   ============================================================ */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  will-change: auto;
}

.navbar,
.site-main,
footer,
.wpadminbar {
  position: relative;
  z-index: 1;
}

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 20px 2px rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}

.glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent, rgba(255, 255, 255, 0.15));
  pointer-events: none;
}

.glass:hover {
  transform: scale(1.025);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 20px 2px rgba(255, 255, 255, 0.05);
}

/* Glass variant — stronger tint (for hero cards) */
.glass--light {
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================
   NEUMORPHIC SHELL (FAQ, icon badges)
   ============================================================ */
.neu {
  background: var(--surface);
  box-shadow: var(--neu-out);
  border-radius: var(--r);
  transition: box-shadow .25s ease;
}

.neu:active {
  box-shadow: var(--neu-in);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-orange:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(255, 94, 58, .5);
}

.btn-violet {
  background: rgba(124, 58, 237, 0.1);
  color: var(--violet);
  border: 1px solid rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(8px);
}

.btn-violet:hover {
  background: rgba(124, 58, 237, 0.18);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
}

/* ============================================================
   BADGES & LABELS
   ============================================================ */
.badge {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge--orange {
  background: rgba(255, 94, 58, .08);
  border: 1px solid rgba(255, 94, 58, .25);
  color: var(--orange);
}

.badge--violet {
  background: rgba(124, 58, 237, .08);
  border: 1px solid rgba(124, 58, 237, .2);
  color: var(--violet);
}

/* Accent text colors */
.t-orange {
  color: var(--orange);
}

.t-violet {
  color: var(--violet);
}

.t-muted {
  color: var(--muted);
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.grad-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 100;
  transition: all .4s var(--ease);
}

.navbar.scrolled {
  height: 64px;
  background: rgba(8, 10, 15, 0.75);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}

.navbar.scrolled .logo img,
.navbar.scrolled .logo svg,
.navbar.scrolled .logo .custom-logo {
  height: 40px;
}

.logo img,
.logo svg {
  height: 50px;
  width: auto;
  transition: height .3s var(--ease);
}

.logo .custom-logo {
  height: 50px;
  width: auto;
  transition: height .3s var(--ease);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-h);
  font-weight: 500;
  font-size: .9rem;
  color: var(--muted);
  transition: color .25s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-cta {
  position: relative;
}

.nav-links .nav-cta::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

.nav-links .nav-cta:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav-links .nav-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

/* ============================================================
   WORD CAROUSEL
   ============================================================ */
.word-carousel {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  text-align: left;
  min-width: 8em;
}

.word-carousel span {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

.word-carousel span.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  transition-delay: .1s;
}

[data-delay="2"] {
  transition-delay: .2s;
}

[data-delay="3"] {
  transition-delay: .3s;
}

[data-delay="4"] {
  transition-delay: .4s;
}

/* ============================================================
   SECTION RHYTHM
   ============================================================ */
.section {
  padding: 7rem 0;
}

.section--sm {
  padding: 4rem 0;
}

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  gap: 5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--violet);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.hero-stat-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stat-num span {
  color: var(--orange);
}

.hero-stat-label {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .3rem;
}

/* Hero Visual — stacked glass panels */
.hero-visual {
  position: relative;
  height: 500px;
}

.hv-panel {
  position: absolute;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.hv-p1 {
  width: 290px;
  height: 200px;
  top: 0;
  right: 0;
}

.hv-p2 {
  width: 260px;
  height: 210px;
  top: 44%;
  left: 0;
}

.hv-p3 {
  width: 230px;
  height: 170px;
  bottom: 0;
  right: 8%;
}

.hv-title {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-h);
  letter-spacing: 2px;
}

.hv-value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.hv-bar {
  height: 6px;
  border-radius: 4px;
  background: var(--glass-border);
  margin-top: .5rem;
}

.hv-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--violet));
}

.hv-dot-row {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.hv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hv-dot--on {
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}

.hv-dot--off {
  background: var(--quiet);
}

.hv-tag {
  font-size: .7rem;
  color: var(--muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--surface2);
  box-shadow: var(--neu-out);
}

.svc-card {
  padding: 2.5rem;
}

.svc-card h3 {
  font-size: 1.2rem;
  margin-bottom: .75rem;
}

.svc-card p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.65;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 1.25rem;
  transition: gap .25s;
}

.svc-link:hover {
  gap: .7rem;
}

/* ============================================================
   ECOMMERCE FEATURE BLOCK (full-width statement)
   ============================================================ */
.feature-block {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.feature-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-block-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.feature-block-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.feature-block-text a {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, .3);
}

.feature-block-text a:hover {
  text-decoration-color: var(--violet);
}

.feature-block-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-pill {
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-pill-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-pill-text strong {
  display: block;
  font-family: var(--font-h);
  font-size: 1.1rem;
}

.stat-pill-text span {
  font-size: .85rem;
  color: var(--muted);
}

/* ============================================================
   MODULES SECTION
   ============================================================ */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.module-card {
  padding: 2.5rem;
}

.module-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.module-card p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust-band {
  padding: 5rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  padding: 2rem;
}

.trust-num {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.trust-label {
  font-size: .9rem;
  color: var(--muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  cursor: pointer;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--muted);
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.open .faq-icon::before {
  background: var(--orange);
}

.faq-item.open .faq-q {
  color: var(--orange);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  padding: 0 1.75rem 1.5rem;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACT CTA SECTION
   ============================================================ */
.contact-cta {
  padding: 8rem 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.contact-cta p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 0 6rem;
  text-align: center;
}

footer p {
  font-size: .8rem;
  color: var(--quiet);
}

/* ============================================================
   BLOG — index / archive
   ============================================================ */
.page-banner {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
}

.page-banner h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.post-card {
  overflow: hidden;
}

.post-thumb {
  height: 210px;
  overflow: hidden;
  border-radius: var(--r) var(--r) 0 0;
  background: var(--surface2);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.06);
}

.post-body {
  padding: 1.75rem 2rem 2rem;
}

.post-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}

.post-title {
  font-size: 1.3rem;
  margin-bottom: .75rem;
  line-height: 1.25;
}

.post-title a:hover {
  color: var(--orange);
}

.post-excerpt {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.read-more {
  font-size: .88rem;
  font-weight: 700;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.read-more:hover {
  color: var(--orange);
}

.read-more svg {
  transition: transform .25s;
}

.read-more:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-banner {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
}

.single-banner h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.single-feat-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--r);
  margin: 3rem 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}

.single-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 6rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}

.single-body h2,
.single-body h3 {
  color: var(--text);
  margin: 2.5rem 0 1rem;
}

.single-body p {
  margin-bottom: 1.4rem;
}

.single-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.single-body a {
  color: var(--violet);
  text-decoration: underline;
}

.single-body strong {
  color: var(--text);
}

/* ============================================================
   DEFAULT PAGE
   ============================================================ */
.page-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   FLOATING PILL
   ============================================================ */
.floating-pill {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  /* Relying on .glass for background/blur, overriding shadow/border locally if needed */
}

.floating-pill.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pill-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding-left: 0.5rem;
}

.pill-nav a {
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.pill-nav a:hover {
  color: var(--text);
}

.pill-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

#btn-back-to-top {
  background: none;
  border: none;
  color: var(--violet);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 50%;
  transition: transform 0.25s, color 0.25s;
}

#btn-back-to-top:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.form-control::placeholder {
  color: var(--quiet);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-wrapper {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-checkbox-wrapper input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--violet);
  width: 16px;
  height: 16px;
}

.form-checkbox-label {
  color: var(--quiet);
  font-size: 0.85rem;
  line-height: 1.6;
  cursor: pointer;
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.form-alert--success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.grid-contact {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 4rem;
}

/* Custom Select */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.custom-select-trigger .custom-select-text {
  color: var(--text);
}

.custom-select-trigger.empty .custom-select-text {
  color: var(--quiet);
}

.custom-select-icon {
  transition: transform 0.3s ease;
  color: var(--muted);
}

.custom-select-wrapper.open .custom-select-icon {
  transform: rotate(180deg);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s var(--ease);
  padding: 0.5rem;
  border-radius: 12px;
  max-height: 250px;
  overflow-y: auto;
  background: rgba(8, 10, 15, 0.95) !important;
  backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 0.8rem 1rem;
  cursor: pointer;
  border-radius: 8px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.custom-option:hover,
.custom-option.selected {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* ============================================================
   BLOG & EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 600px;
}

.empty-state-icon {
  margin-bottom: 1.5rem;
  color: var(--quiet);
  display: inline-flex;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
}

.empty-state h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* WordPress Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 4rem 0;
}

.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}

.pagination a:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.pagination .current {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-contact {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .feature-block-inner,
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .services-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-links {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(8, 10, 15, 0.75);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    gap: 1.2rem;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-right: -0.5rem;
  }

  .floating-pill {
    padding: 0.4rem 0.6rem;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .floating-pill.has-nav {
    width: calc(100vw - 2rem);
  }

  .pill-nav {
    gap: 0.8rem;
    padding-left: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pill-nav::-webkit-scrollbar {
    display: none;
  }

  .pill-nav a {
    font-size: 0.75rem;
  }
}