/*
Theme Name: SteelTheme
Theme URI: https://steeltheme.com
Author: SteelThemes
Author URI: https://steeltheme.com
Description: A clean, modern WordPress theme for digital studios, theme shops, and SaaS businesses. Built for Gutenberg (Full Site Editing), no page builder required. Vibrant cyan-blue brand gradient, Plus Jakarta Sans + Inter typography, and full Easy Digital Downloads support. SEO-ready with built-in JSON-LD structured data.
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: steeltheme
Tags: full-site-editing, block-patterns, gutenberg, clean, modern, business, portfolio, edd, easy-digital-downloads, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Requires PHP: 7.4
Requires at least: 6.2
Tested up to: 6.9
*/

/* ===================================================================
   SteelTheme 2.0 — Global Design System
   Brand palette: cyan #00b4ff → blue #1d6aff
   Type: Plus Jakarta Sans (display) + Inter (body)
   =================================================================== */

:root {
  /* Brand */
  --brand-cyan:       #00b4ff;
  --brand-blue:       #1d6aff;
  --brand-deep:       #0c2a6b;
  --brand-grad:       linear-gradient(135deg, #00b4ff 0%, #1d6aff 100%);
  --brand-grad-soft:  linear-gradient(135deg, rgba(0,180,255,0.12) 0%, rgba(29,106,255,0.12) 100%);

  /* Surface */
  --bg:               #ffffff;
  --bg-alt:           #f6f8fc;
  --bg-dark:          #0b1020;
  --bg-dark-2:        #0f172d;
  --border:           #e6ebf2;
  --border-strong:    #d4dbe6;

  /* Text */
  --text:             #0b1020;
  --text-mute:        #5b6479;
  --text-light:       #8a93a8;
  --text-on-dark:     #e7ecf4;
  --text-on-dark-mute:#98a3bd;

  /* Sizing */
  --container:        1240px;
  --radius-sm:        8px;
  --radius:           14px;
  --radius-lg:        22px;
  --radius-full:      999px;
  --shadow-sm:        0 2px 8px rgba(13, 31, 67, 0.06);
  --shadow:           0 12px 36px rgba(13, 31, 67, 0.10);
  --shadow-lg:        0 30px 80px rgba(13, 31, 67, 0.18);

  /* Type */
  --font-heading:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:        'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale (kept for back-compat with template inline styles) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Back-compat color aliases (so old inline style="color:var(--color-mid)" still works) */
  --color-charcoal:     #0b1020;
  --color-dark:         #0b1020;
  --color-mid:          #5b6479;
  --color-muted:        #8a93a8;
  --color-border:       #e6ebf2;
  --color-accent:       #1d6aff;
  --color-accent-dark:  #0c2a6b;
  --color-accent-light: #cfe1ff;
  --color-cream:        #f6f8fc;
  --color-warm-white:   #ffffff;

  --duration:      .25s;
  --duration-slow: .6s;
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--brand-cyan); }

ul, ol { list-style: none; }

button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
h5 { font-size: 1rem;    font-weight: 700; }
h6 { font-size: .9rem;   font-weight: 700; }

p { color: var(--text-mute); }

strong, b { font-weight: 600; color: var(--text); }
em { font-style: italic; }
.padding_top_0{
  padding-top: 0!important;
}
/* ---------- Layout containers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; position: relative; }
.section--sm { padding: 70px 0; }
.section--lg { padding: 140px 0; }

.section-head,
.section-header--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.section-head p,
.section-header--center .section-header__body,
.section-header--center p { margin-top: 14px; font-size: 1.05rem; }

.section-header { margin-bottom: 64px; }
.section-header__eyebrow { margin-bottom: 16px; }
.section-header__title   { margin-bottom: 14px; }
.section-header__body    { color: var(--text-mute); font-size: 1.05rem; }

/* ---------- Utilities ---------- */
.text-gradient {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-center { text-align: center; }
.text-right  { text-align: right; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.bg-cream    { background: var(--bg-alt); }
.bg-dark     { background: var(--bg-dark); }
.bg-charcoal { background: var(--bg-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  padding: 8px 16px;
  background: var(--brand-grad-soft);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-grad);
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--brand-grad);
  margin: 24px 0;
  border-radius: 2px;
}
.divider--center { margin-inline: auto; }

/* ===================================================================
   TOP BAR (above main header)
   =================================================================== */
.site-topbar {
  position: relative;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: linear-gradient(135deg, #0b1020 0%, #1a234a 100%);
  color: var(--text-on-dark);
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.site-topbar__news {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}
.site-topbar__news-label {
  display: inline-flex;
  align-items: center;
  background: var(--brand-grad);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.site-topbar__news-text {
  color: var(--text-on-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.site-topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.site-topbar__links li { margin: 0; }
.site-topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-on-dark-mute);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  transition: color .2s;
}
.site-topbar__links a:hover { color: var(--brand-cyan); }
.site-topbar__links svg { opacity: 0.7; }

/* When topbar is present, push main header down (uses body class, no :has dep) */ 
body.has-topbar .hero        { padding-top: 100px; }
body.has-topbar .page-header,
body.has-topbar .page-hero   { padding-top: 100px; }

@media (max-width: 768px) {
  .site-topbar { display: none; } /* hide on small screens */ 
  body.has-topbar .hero        { padding-top: 100px; }
  body.has-topbar .page-header,
  body.has-topbar .page-hero   { padding-top: 100px; }
}

/* ===================================================================
   BASE
   =================================================================== */

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary,
.btn--primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 106, 255, 0.35);
}
.btn-primary:hover,
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(29, 106, 255, 0.45);
  color: #fff;
}
.btn-outline,
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover,
.btn--outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}
.btn--accent {
  background: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 180, 255, 0.3);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 180, 255, 0.4);
  color: #fff;
}
.btn--ghost,
.btn-ghost {
  background: transparent;
  color: var(--text-mute);
  padding-inline: 12px;
  box-shadow: none;
}
.btn--ghost:hover,
.btn-ghost:hover { color: var(--brand-blue); }
.btn--white,
.btn-white {
  background: #fff;
  color: var(--text);
}
.btn--white:hover,
.btn-white:hover {
  background: var(--bg-alt);
  color: var(--text);
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--sm,
.btn-sm  { padding: 10px 18px; font-size: 13px; }

.btn .arrow,
.btn svg {
  width: 18px; height: 18px;
  transition: transform .25s ease;
}
.btn:hover .arrow,
.btn:hover svg:last-child { transform: translateX(4px); }

/* ===================================================================
   HEADER / NAVIGATION
   =================================================================== */
.site-header {
  position: relative;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  position: fixed;
  border-bottom-color: var(--border);
  box-shadow: 0 2px 14px rgba(13,31,67,0.04);
  background: rgba(255,255,255,0.95);
}

.site-header__inner,
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}

.site-logo,
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img,
.brand img,
.custom-logo {
  height: 32px;
  width: auto;
}
.site-logo__wordmark {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.site-logo__wordmark span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Primary nav (links from WP menu) */
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav ul,
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.primary-nav a,
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
.primary-nav a:hover,
.nav-links a:hover { color: var(--brand-blue); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a,
.nav-links a.active {
  color: var(--brand-blue);
}
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand-grad);
  border-radius: 2px;
}

/* ============================================================
   DROPDOWN MENU STYLES
============================================================ */
.primary-nav li.has-children {
  position: relative;
}

.primary-nav li.has-children > ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  min-width: 220px;
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  pointer-events: none;
  z-index: 100;
  align-items: flex-start;
}

.primary-nav li.has-children:hover > ul,
.primary-nav li.has-children.is-open > ul {
  opacity: 1;
  visibility: visible; 
  pointer-events: auto;
}

.primary-nav li.has-children ul li { 
  padding: 0;    display: block;
    width: 100%;
}

.primary-nav li.has-children ul a {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  transition: all .2s ease;
  display: block;
  width: 100%;
}

.primary-nav li.has-children ul a:hover {
  background: var(--bg-alt);
  color: var(--brand-blue);
}

.primary-nav li.has-children ul .current-menu-item > a,
.primary-nav li.has-children ul .current_page_item > a {
  background: var(--bg-alt);
  color: var(--brand-blue);
}

.primary-nav li.has-children ul .current-menu-item > a::after,
.primary-nav li.has-children ul .current_page_item > a::after {
  display: none;
}

.dropdown-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  color: var(--text);
  transition: all .2s ease;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  flex-shrink: 0;
}

.dropdown-toggle:hover {
  color: var(--brand-blue);
}

.dropdown-toggle svg {
  display: block;
  transition: transform .2s ease;
}

.dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.header-cta,
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.cart-count {
  background: var(--brand-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all .25s ease;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav,
  .header-cta .btn--outline,
  .nav-cta .btn-outline { display: none; }

  .primary-nav.is-open,
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0; right: 0;
    background: #fff;
    padding: 30px 24px;
    gap: 18px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-items: flex-start;
    z-index: 999;
  }
  
  .primary-nav.is-open ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 18px;
  }
  
  .primary-nav.is-open a {
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 600;
  }

  /* Mobile dropdown styles */
  .dropdown-toggle {
    display: flex;
  }

  .primary-nav li.has-children > ul {
    position: static;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin: 0;
    border: none;
    box-shadow: none;
    background: var(--bg-alt);
    border-radius: 0;
    padding: 0;
    transform: none;
    transition: all .3s ease;
  }

  .primary-nav li.has-children.is-open > ul {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 12px 0;
    margin-top: 12px;
  }

  .primary-nav li.has-children ul li {
    padding: 0;
    margin-left: 20px;
  }

  .primary-nav li.has-children ul a {
    padding: 10px 0;
    font-size: 16px;
  }

  .primary-nav.is-open li.has-children ul a {
    font-size: 16px;
  }
}

/* ===================================================================
   HERO (Front Page)
   =================================================================== */
.hero {
  position: relative;
  padding: 180px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(0,180,255,0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(29,106,255,0.15), transparent 60%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  display: block;
  min-height: 0;
  grid-template-columns: none;
  padding-top: 180px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,106,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,106,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__inner,
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__content,
.hero-text {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.hero__title,
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero__title em,
.hero h1 em {
  color: var(--brand-blue);
  font-style: italic;
}
.hero h1 .highlight {
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  height: 14px;
  background: var(--brand-grad);
  opacity: 0.18;
  border-radius: 4px;
  z-index: -1;
}

.hero__body,
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-mute);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero__actions,
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats,
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat .num,
.hero__stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stat .lbl,
.hero__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Visual cards on right */
.hero__visual,
.hero-visual {
  position: relative;
  height: 540px;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.6);
}
.float-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fc-1 {
  top: 0; right: 0;
  width: 78%; height: 64%;
  transform: rotate(2deg);
  animation: float-1 8s ease-in-out infinite;
}
.fc-2 {
  bottom: 0; left: 0;
  width: 60%; height: 50%;
  transform: rotate(-3deg);
  animation: float-2 9s ease-in-out infinite;
  z-index: 2;
}
.fc-3 {
  top: 20%; left: -8%;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
  line-height: 1.3;
  box-shadow: 0 20px 50px rgba(29,106,255,0.4);
  animation: float-3 10s ease-in-out infinite;
  z-index: 3;
}
.fc-3 span,
.fc-3 strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 4px;
}

@keyframes float-1 {
  0%,100% { transform: rotate(2deg) translateY(0); }
  50%     { transform: rotate(2deg) translateY(-14px); }
}
@keyframes float-2 {
  0%,100% { transform: rotate(-3deg) translateY(0); }
  50%     { transform: rotate(-3deg) translateY(12px); }
}
@keyframes float-3 {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-10px) rotate(-6deg); }
}

@media (max-width: 960px) {
  .hero { padding: 140px 0 80px; }
  .hero__inner,
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual,
  .hero-visual { height: 420px; }
  .hero__stats,
  .hero-stats { gap: 28px; }
}

/* ===================================================================
   TRUST BAR
   =================================================================== */
.trust {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
}
.trust-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.trust-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-light);
  opacity: .6;
  transition: opacity .25s, color .25s;
}
.trust-item:hover { opacity: 1; color: var(--brand-blue); }

/* ===================================================================
   FEATURES / SERVICES GRID
   =================================================================== */
.features-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card,
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.feature-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-card:hover::before,
.service-card:hover::before { transform: scaleX(1); }

.feature-icon,
.service-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--brand-grad-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--brand-blue);
  position: static;
}
.feature-icon svg,
.service-card__icon svg { width: 28px; height: 28px; }

.feature-card h3,
.service-card__title { margin-bottom: 12px; }
.feature-card p,
.service-card__body { font-size: 0.97rem; color: var(--text-mute); margin: 0; }

.service-card__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--border);
  position: absolute;
  top: 22px;
  right: 28px;
  line-height: 1;
  transition: color .3s ease;
}
.service-card:hover .service-card__number {
  color: var(--brand-cyan);
}

@media (max-width: 900px) {
  .features-grid,
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features-grid,
  .services-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   PRODUCTS / DOWNLOADS GRID
   =================================================================== */
.products-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}
.filter-btn {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-mute);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-btn:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.filter-btn.active {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-thumb,
.product-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-alt);
  display: block;
}
.product-thumb img,
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-thumb img,
.product-card:hover .product-card__media img { transform: scale(1.05); }

.product-badge,
.product-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11,16,32,0.85);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.product-card__badge--bestseller,
.product-badge--bestseller {
  background: var(--brand-grad);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,16,32,0.85) 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  gap: 10px;
  transition: opacity .3s ease;
}
.product-card:hover .product-overlay { opacity: 1; }
.overlay-btn {
  background: #fff;
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  transition: transform .2s, background .2s, color .2s;
}
.overlay-btn:hover {
  background: var(--brand-grad);
  color: #fff;
  transform: translateY(-2px);
}

.product-body,
.product-card__body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat,
.product-card__category {
  font-size: 12px;
  color: var(--brand-blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-title,
.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.35;
}
.product-card__title a {
  color: var(--text);
}
.product-card__title a:hover {
  color: var(--brand-blue);
}
.product-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-mute);
  margin-bottom: 16px;
  line-height: 1.6;
}
.product-meta,
.product-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.product-price,
.product-card__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.product-sales {
  font-size: 13px;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.product-sales svg { width: 14px; height: 14px; color: #f5a623; }

.product-card__actions { display: flex; gap: 8px; }

@media (max-width: 980px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   STATS ROW
   =================================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: transparent;
}
.stat-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================================
   ABOUT SPLIT
   =================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-split__media,
.about-image {
  position: relative;
}
.about-split__image-main , .why-image img ,
.about-image .img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--brand-grad);
  position: relative;
  box-shadow: var(--shadow-lg);  object-fit: cover;
  width: 100%;
}
.about-split__image-main::after,
.about-image .img-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.15), transparent 50%);
}
.about-split__badge,
.about-image .badge-float,
.badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  text-align: left;
}
.about-split__badge-num,
.badge-float .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;

}
.about-split__badge-text,
.badge-float .lbl {
  font-size: 13px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.about-split__content .eyebrow,
.about-content .eyebrow { margin-bottom: 18px; }
.about-split__title,
.about-content h2 { margin-bottom: 22px; }
.about-split__body,
.about-content p { margin-bottom: 18px; font-size: 1.02rem; }

.value-list {
  list-style: none;
  margin-top: 24px;
}
.value-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.value-list .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.value-list .tick svg { width: 14px; height: 14px; }
.value-list strong { color: var(--text); font-weight: 600; }

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}
.signature__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.signature__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.signature__role {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 50px; }
  .about-split__media,
  .about-image { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ===================================================================
   VALUES GRID (About page)
   =================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-item {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.value-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-grad-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}
.value-item__icon svg { width: 24px; height: 24px; }
.value-item__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.value-item__body {
  font-size: 0.95rem;
  color: var(--text-mute);
  margin: 0;
}

@media (max-width: 700px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   TEAM GRID
   =================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.team-avatar,
.team-card__avatar {
  width: 110px; height: 110px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  object-fit: cover;
  aspect-ratio: 1;
}
img.team-card__avatar { background: var(--bg-alt); }

.team-card h4,
.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-card .role,
.team-card__role {
  font-size: 13px;
  color: var(--brand-blue);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
  margin-bottom: 14px;
}
.testimonial-card__quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  position: absolute;
  top: 30px;
  right: 24px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.6;
  display: block;
  margin-bottom: 14px;
}
.testimonial-card__body {
  font-size: 0.98rem;
  color: var(--text-mute);
  line-height: 1.7;
  margin-bottom: 22px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.testimonial-card__meta {
  font-size: 12px;
  color: var(--text-mute);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   PROCESS STEPS
   =================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.process-step__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(29,106,255,0.3);
}
.process-step__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step__body {
  font-size: 0.93rem;
  color: var(--text-mute);
  margin: 0;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ===================================================================
   CTA BANNER (Dark)
   =================================================================== */
.cta-banner {
  background:
    radial-gradient(circle at 20% 30%, rgba(0,180,255,0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(29,106,255,0.3), transparent 50%),
    linear-gradient(135deg, #0b1020 0%, #1a234a 100%);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .eyebrow {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cta-banner .eyebrow::before { background: #fff; }
.cta-banner h2,
.cta-banner__title {
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner p,
.cta-banner__body {
  color: var(--text-on-dark-mute);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 32px;
}
.cta-banner__content {
  text-align: center;
}
.cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.cta-banner .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}
@media (max-width: 700px) { .cta-banner { padding: 60px 28px; } }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 80px 0 30px;
  position: relative;
}
.site-footer__grid,
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand__logo,
.footer-brand img,
.footer-brand .custom-logo {
  display: block;
  margin-bottom: 18px;
  height: 38px;
  width: auto; 
}
.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  filter: none;
  height: auto;
  letter-spacing: -0.02em;
}
.footer-brand__logo span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand__tagline,
.footer-brand p {
  color: var(--text-on-dark-mute);
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s, transform .2s;
  border: none;
  font-size: 0.85rem;
}
.footer-social a:hover {
  background: var(--brand-grad);
  transform: translateY(-3px);
  color: #fff;
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4,
.footer-col__heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0;
  text-transform: none;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { margin: 0; }
.footer-col a {
  color: var(--text-on-dark-mute);
  font-size: 0.93rem;
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover { color: var(--brand-cyan); padding-left: 4px; }

/* Newsletter */
.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-top: 14px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  min-width: 0;
}
.newsletter-form input::placeholder { color: var(--text-on-dark-mute); }
.newsletter-form button {
  background: var(--brand-grad);
  border: none;
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform .2s;
}
.newsletter-form button:hover { transform: scale(1.04); }

.site-footer__bottom,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 24px 0;
  color: var(--text-on-dark-mute);
  font-size: 0.88rem;
  max-width: var(--container);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a,
.footer-credits a {
  color: var(--text-on-dark-mute);
}
.footer-bottom-links a:hover,
.footer-credits a:hover { color: var(--brand-cyan); }

@media (max-width: 900px) {
  .site-footer__grid,
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer__grid,
  .footer-top { grid-template-columns: 1fr; }
  .site-footer__bottom,
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ===================================================================
   PAGE HEADER (Inner pages)
   =================================================================== */
.page-header,
.page-hero {
  padding: 170px 0 90px;
  background:
    radial-gradient(600px 300px at 80% 30%, rgba(0,180,255,0.16), transparent 60%),
    radial-gradient(500px 300px at 10% 70%, rgba(29,106,255,0.14), transparent 60%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,106,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,106,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-header .container,
.page-hero .container { position: relative; z-index: 1; }

.page-header h1,
.page-hero__title { margin-bottom: 14px; }
.page-header p,
.page-hero__body {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-mute);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-mute);
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb a { color: var(--brand-blue); }
.breadcrumb a:hover { color: var(--brand-cyan); }
.breadcrumb .sep,
.breadcrumb-sep,
.breadcrumb__sep { opacity: 0.5; }

/* ===================================================================
   BLOG
   =================================================================== */
.blog-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card,
.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover,
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-thumb,
.post-card__media,
.blog-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  display: block;
}
.blog-thumb img,
.post-card__media img,
.blog-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-card__image img,
.post-card:hover .post-card__media img,
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

/* Gradient art placeholders (matches design's blog page) */
.blog-thumb-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}
.blog-thumb-art.g1 { background: linear-gradient(135deg, #00b4ff 0%, #1d6aff 100%); }
.blog-thumb-art.g2 { background: linear-gradient(135deg, #1d6aff 0%, #6a3dff 100%); }
.blog-thumb-art.g3 { background: linear-gradient(135deg, #0b1020 0%, #1d6aff 100%); }
.blog-thumb-art.g4 { background: linear-gradient(135deg, #00b4ff 0%, #00d4a8 100%); }
.blog-thumb-art.g5 { background: linear-gradient(135deg, #ff7a59 0%, #1d6aff 100%); }
.blog-thumb-art.g6 { background: linear-gradient(135deg, #6a3dff 0%, #00b4ff 100%); }

/* Category overlay on image */
.blog-tag,
.blog-card__image .blog-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 2;
}
/* Category inline (inside meta row) */
.blog-card__meta .blog-card__cat,
.blog-card__cat:not(.blog-card__image *) {
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-card__cat a { color: inherit; }
.blog-card__cat a:hover { color: var(--brand-cyan); }

.blog-body,
.blog-card__body,
.post-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card__body .btn.btn-ghost{
  padding-left: unset!important;
}
/* Defensive: if a .post-card has no __body wrapper, pad direct text children */
.post-card > .post-card__meta,
.post-card > .post-card__title,
.post-card > .post-card__excerpt,
.post-card > .post-card__readmore {
  padding-left: 24px;
  padding-right: 24px;
}
.post-card > .post-card__meta { padding-top: 22px; }
.post-card > .post-card__readmore { padding-bottom: 24px; margin-top: auto; }
.blog-meta,
.blog-card__meta,
.post-card__meta {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-meta .dot,
.post-card__meta-dot {
  width: 3px; height: 3px;
  background: var(--border-strong);
  border-radius: 50%;
  display: inline-block;
}
.blog-card h2,
.blog-card h3,
.post-card__title,
.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}
.blog-card h2 a,
.blog-card h3 a,
.post-card__title a,
.blog-card__title a {
  color: var(--text);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s ease, color .2s ease;
}
.blog-card h2 a:hover,
.blog-card h3 a:hover,
.post-card__title a:hover,
.blog-card__title a:hover {
  background-size: 100% 1px;
  color: var(--brand-blue);
}
.blog-card p,
.blog-card__excerpt,
.post-card__excerpt {
  color: var(--text-mute);
  font-size: 0.95rem;
  margin: 0 0 18px;
  flex-grow: 1;
}
.blog-readmore,
.post-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap .25s;
}
.blog-readmore svg,
.post-card__readmore svg { width: 14px; height: 14px; transition: transform .25s ease; }
.blog-readmore:hover svg,
.post-card__readmore:hover svg { transform: translateX(4px); }
.post-card__readmore:hover { gap: 10px; }

/* Featured (first) blog card spanning two columns */
.blog-grid .blog-card.featured { grid-column: span 2; }
.blog-grid .blog-card.featured .blog-thumb { aspect-ratio: 16 / 8; }
.blog-grid .blog-card.featured h2,
.blog-grid .blog-card.featured h3 { font-size: 1.5rem; }

@media (max-width: 960px) {
  .blog-grid,
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid .blog-card.featured { grid-column: span 2; }
}
@media (max-width: 620px) {
  .blog-grid,
  .posts-grid { grid-template-columns: 1fr; }
  .blog-grid .blog-card.featured { grid-column: span 1; }
  .blog-grid .blog-card.featured h2,
  .blog-grid .blog-card.featured h3 { font-size: 1.25rem; }
}

/* ===================================================================
   PAGINATION
   =================================================================== */
.pagination,
.nav-links,
.page-numbers-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
  align-items: center;
  flex-wrap: wrap;
}
.pagination a,
.pagination span,
.page-numbers,
.nav-links a {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  background: #fff;
  transition: all .2s ease;
}
.pagination a:hover,
.page-numbers:hover,
.nav-links a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.pagination .current,
.page-numbers.current {
  background: var(--brand-grad);
  color: #fff;
  border-color: transparent;
}
.pagination .nav-arrow,
.page-numbers.prev,
.page-numbers.next { width: auto; padding: 0 16px; gap: 6px; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid,
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
}
.contact-info {
  background:
    radial-gradient(circle at 20% 20%, rgba(0,180,255,0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(29,106,255,0.3), transparent 50%),
    linear-gradient(135deg, #0b1020 0%, #1a234a 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-info h3,
.contact-info__title { color: #fff; margin-bottom: 14px; font-size: 1.5rem; }
.contact-info > p,
.contact-info__body { color: var(--text-on-dark-mute); margin-bottom: 32px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
  padding: 0;
  border: none;
}
.contact-info-item:last-child { border: none; }
.contact-info-item .ic,
.contact-info-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  border: none;
}
.contact-info-item .ic svg,
.contact-info-item__icon svg { width: 18px; height: 18px; }
.contact-info-item h5,
.contact-info-item__label {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-info-item p,
.contact-info-item__value {
  color: var(--text-on-dark-mute);
  font-size: 0.94rem;
  margin: 0;
}
.contact-info-item__value a {
  color: #fff;
  font-weight: 500;
}
.contact-info-item__value a:hover {
  color: var(--brand-cyan);
}

.contact-form {
  background: #fff;
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 28px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label,
.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0;
  text-transform: none;
}
.form-group input,
.form-group select,
.form-group textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29,106,255,0.08);
}
.form-group textarea,
.contact-form textarea { resize: vertical; min-height: 140px; }

/* Contact map */
.contact-map {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
  aspect-ratio: 21 / 9;
  position: relative;
}
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 700px) {
  .contact-map { aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  .contact-grid,
  .contact-section { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===================================================================
   SINGLE DOWNLOAD (EDD)
   =================================================================== */
.download-single {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
}
.download-single__media {
  position: sticky;
  top: 100px;
}
.download-single__screenshots {
  display: grid;
  gap: 12px;
}
.download-single__main-img,
#main-screenshot {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.download-single__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.download-single__thumb {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s, border-color .2s;
  width: 100%;
}
.download-single__thumb.active,
.download-single__thumb:hover {
  opacity: 1;
  border-color: var(--brand-blue);
}
.download-single__info__title { margin-bottom: 14px; }
.download-single__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.download-single__stars {
  color: #f5a623;
  display: flex;
  gap: 1px;
}
.download-single__price-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.download-single__price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.download-single__price-label {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.feature-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--brand-grad-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6aff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 65%;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 980px) {
  .download-single { grid-template-columns: 1fr; }
  .download-single__media { position: static; }
}

/* ===================================================================
   EASY DIGITAL DOWNLOADS — Default forms
   =================================================================== */
#edd_purchase_form,
.edd-purchase-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.edd-purchase-form .edd_price_options { margin-bottom: 20px; }
.edd-purchase-form .edd_price_option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.edd-purchase-form .edd_price_option:last-child { border-bottom: none; }
.edd-purchase-form input[type="radio"],
.edd-purchase-form input[type="checkbox"] {
  accent-color: var(--brand-blue);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.edd-purchase-form .edd-price-option-name { font-weight: 500; color: var(--text); }

.edd_purchase_submit input[type="submit"],
.edd-submit.button,
#edd_purchase_submit input[type="submit"],
.edd_download_purchase_form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px;
  background: var(--brand-grad);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 10px 24px rgba(29, 106, 255, 0.35);
}
.edd_purchase_submit input[type="submit"]:hover,
.edd-submit.button:hover,
#edd_purchase_submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(29, 106, 255, 0.45);
}

.edd-downloads-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.edd_download {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.edd_download:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.edd_download .edd_download_image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}
.edd_download .edd_download_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.edd_download:hover .edd_download_image img { transform: scale(1.04); }
.edd_download_inner { padding: 22px 24px; }
.edd_download .edd_download_title,
.edd_download h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.edd_download .edd_price {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.widget_edd_cart_widget .cart_item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.edd-alert {
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.94rem;
}
.edd-alert-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.edd-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */
.reveal,
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in,
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* If JS is disabled OR doesn't run, show everything anyway */
.no-js .reveal,
.no-js [data-animate] {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-delay-1,
[data-animate-delay="1"] { transition-delay: 0.1s; }
.reveal-delay-2,
[data-animate-delay="2"] { transition-delay: 0.2s; }
.reveal-delay-3,
[data-animate-delay="3"] { transition-delay: 0.3s; }
.reveal-delay-4,
[data-animate-delay="4"] { transition-delay: 0.4s; }
.reveal-delay-5,
[data-animate-delay="5"] { transition-delay: 0.5s; }

/* ===================================================================
   ENTRY CONTENT / PROSE (single post & page bodies)
   =================================================================== */
.entry-content,
.prose,
.page-content-inner {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
.entry-content > * { color: var(--text); }
.entry-content p,
.prose p,
.page-content-inner p {
  margin-bottom: 22px;
  color: var(--text);
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.prose h2,
.prose h3,
.prose h4 {
  margin-top: 48px;
  margin-bottom: 18px;
}
.entry-content h2:first-child,
.prose h2:first-child { margin-top: 0; }
.entry-content a,
.prose a { color: var(--brand-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover,
.prose a:hover { color: var(--brand-cyan); }

.entry-content blockquote,
.wp-block-quote {
  border-left: 3px solid var(--brand-blue);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text);
}
.entry-content ul,
.entry-content ol,
.prose ul,
.prose ol {
  margin: 0 0 22px 22px;
  padding-left: 16px;
}
.entry-content ul li,
.entry-content ol li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text);
}
.entry-content ol li { list-style: decimal; }

.entry-content img,
.wp-block-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: 32px;
}
.entry-content pre,
.wp-block-code,
.wp-block-preformatted {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 22px 26px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 0.9rem;
  margin: 32px 0;
}
.entry-content code,
code {
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--brand-deep);
}
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td,
.wp-block-table th { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.wp-block-table th { background: var(--bg-alt); font-weight: 600; }

.alignleft  { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide  { margin-inline: -32px; }
.alignfull  { margin-inline: calc(50% - 50vw); width: 100vw; }

/* ===================================================================
   COMMENTS
   =================================================================== */
.comments-area {
  max-width: 760px;
  margin: 60px auto 0;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.comments-title { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.88rem; color: var(--text-mute); }
.comment-meta img { width: 40px; height: 40px; border-radius: 50%; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea  ,
.search-field{
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--brand-blue); background: #fff; }
.comment-form .submit , .search-submit {
  background: var(--brand-grad);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(29, 106, 255, 0.35);
  transition: transform .25s;
}
.comment-form .submit:hover { transform: translateY(-2px); }

/* ===================================================================
   SIDEBAR / WIDGETS
   =================================================================== */
.widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}
.widget ul { list-style: none; padding: 0; }
.widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.widget li:last-child { border-bottom: none; }
.widget a { color: var(--text); transition: color .2s; }
.widget a:hover { color: var(--brand-blue); }
.widget input[type="search"],
.widget input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}
.widget input[type="search"]:focus { border-color: var(--brand-blue); background: #fff; }

/* ===================================================================
   FAQ DETAILS
   =================================================================== */
details[open] summary span:last-child { transform: rotate(45deg); }
summary { transition: background .2s; }
summary:hover { background: var(--bg-alt); }
details[open] summary { background: var(--bg-alt); }

/* ===================================================================
   404
   =================================================================== */
.error-404 {
  text-align: center;
  padding: 200px 24px 140px;
  max-width: 600px;
  margin: 0 auto;
}
.error-404 h1 {
  font-size: clamp(5rem, 14vw, 9rem);
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1;
}
.error-404 p {
  font-size: 1.1rem;
  color: var(--text-mute);
  margin-bottom: 32px;
}

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  outline: none;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item[open] summary { background: var(--bg-alt); color: var(--brand-blue); }

.faq-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-grad-soft);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--brand-grad);
  color: #fff;
}

.faq-item__body {
  padding: 4px 26px 24px;
  color: var(--text-mute);
  font-size: 0.98rem;
  line-height: 1.7;
}
.faq-item__body p { margin: 0; color: inherit; }
.faq-item__body p + p { margin-top: 12px; }

/* ===================================================================
   RESPONSIVE BASE
   =================================================================== */
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .section-head,
  .section-header--center { margin-bottom: 50px; }
  .hero { padding: 130px 0 70px; }
  .page-header,
  .page-hero { padding: 140px 0 70px; }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .float-card { animation: none; }
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-charcoal);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(28, 28, 30, 0.15);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(200, 169, 126, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }
}

/* ===================================================================
   Floating Widgets: WhatsApp & Contact Form
   =================================================================== */

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 998;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.floating-whatsapp:hover {
    transform: scale(1.12) translateY(-5px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 110px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(29, 106, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 997;
    border: none;
    cursor: pointer;
    padding: 0;
}

.floating-contact:hover {
    transform: scale(1.12) translateY(-5px);
    box-shadow: 0 12px 32px rgba(29, 106, 255, 0.6);
}

.floating-contact:active {
    transform: scale(0.95);
}

.floating-contact svg {
    width: 28px;
    height: 28px;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
}

.contact-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 16, 32, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.contact-modal__content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 700px;
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal__content .contact-form {
  background: unset!important;
  padding:unset!important;
  border-radius: unset!important;
  border:unset!important;
}

.contact-modal__content  .form-row {
  margin-bottom: 0!important;
}

.contact-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.contact-modal__close:hover {
    color: var(--text);
}

.contact-modal__wrapper {
    padding: 48px 40px;
}

.contact-modal__header {
    margin-bottom: 32px;
    text-align: center;
}

.contact-modal__header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.contact-modal__header p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: all 0.2s;
    background: white;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(29, 106, 255, 0.1);
    background: white;
}

.form-group select {
    cursor: pointer;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6479' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: white;
    padding-right: 35px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Form Validation Errors */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ff3b30;
    background-color: rgba(255, 59, 48, 0.02);
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
    border-color: #ff3b30;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.1);
}

.form-error {
    display: block;
    font-size: 13px;
    color: #ff3b30;
    margin-top: 4px;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn--primary {
    padding: 14px 28px;
    background: var(--brand-grad);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(29, 106, 255, 0.3);
    margin-top: 8px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 106, 255, 0.4);
}

.btn--primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn--primary .arrow {
    transition: transform 0.3s;
}

.btn--primary:hover:not(:disabled) .arrow {
    transform: translateX(3px);
}

.form-message {
    font-size: 14px;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .floating-whatsapp,
    .floating-contact {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .floating-contact {
        bottom: 90px;
    }

    .floating-whatsapp svg,
    .floating-contact svg {
        width: 24px;
        height: 24px;
    }

    .contact-modal {
        padding: 12px;
    }

    .contact-modal__content {
        max-width: 100%;
    }

    .contact-modal__wrapper {
        padding: 32px 24px;
    }

    .contact-modal__close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .contact-modal__header h2 {
        font-size: 24px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 12px 14px;
    }

    .contact-form__submit {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-modal__wrapper {
        padding: 28px 20px;
    }

    .contact-modal__header h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .contact-modal__header p {
        font-size: 14px;
    }

    .contact-form {
        gap: 16px;
    }
}