/* ========================================
   MetaFit SaaS - Stylesheet Professional
   ======================================== */

:root {
  /* Colors */
  --bg: #0b1020;
  --bg2: #0a0f1d;
  --card: #0f1730;
  --card2: #0c1327;
  --stroke: rgba(255, 255, 255, .10);
  --stroke2: rgba(255, 255, 255, .16);
  --text: #eaf0ff;
  --muted: rgba(234, 240, 255, .75);
  --muted2: rgba(234, 240, 255, .6);
  --accent: #7c5cff;
  --accent2: #00d1ff;
  --good: #28f0b2;
  --warn: #ffd166;
  --error: #ff4444;

  /* Layout */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .45);
  --shadow2: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, .55);
  --container: 1120px;
  
  /* Animations */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Base & Reset
   ======================================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: 
    radial-gradient(1400px 700px at 20% 10%, rgba(124, 92, 255, .28), transparent 60%),
    radial-gradient(1000px 600px at 80% 15%, rgba(0, 209, 255, .20), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.fineprint {
  color: var(--muted2);
  font-size: .92rem;
  margin: 14px 0 0;
}

.fineprint a {
  color: var(--accent2);
  text-decoration: underline;
}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.section--stats {
  padding: 50px 0;
}

.section--demo {
  background: radial-gradient(900px 450px at 50% 25%, rgba(124, 92, 255, .18), transparent 75%);
}

.section--integrations {
  background: radial-gradient(800px 400px at 50% 50%, rgba(0, 209, 255, .12), transparent 70%);
}

.section--cta {
  padding: 100px 0;
}

.section__head {
  display: grid;
  gap: 12px;
  margin-bottom: 48px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section__head h2 {
  margin: 0;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.sectionTag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124, 92, 255, .14);
  border: 1px solid rgba(124, 92, 255, .35);
  color: rgba(255, 255, 255, .95);
  font-weight: 800;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 auto 8px;
}

.section__foot {
  margin-top: 40px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   Components
   ======================================== */

/* Card */
.card {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--stroke2);
  background: rgba(255, 255, 255, .04);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 13px 20px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .08);
  border-color: var(--stroke2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 42px rgba(124, 92, 255, .30);
}

.btn--primary:hover {
  filter: saturate(1.1) brightness(1.05);
  box-shadow: 0 20px 50px rgba(124, 92, 255, .40);
}

.btn--ghost {
  background: rgba(255, 255, 255, .03);
}

.btn--lg {
  padding: 16px 24px;
  font-size: 1rem;
  border-radius: 16px;
}

.btn--sm {
  padding: 8px 14px;
  font-size: .88rem;
}

.btn--full {
  width: 100%;
}

/* Pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--good), var(--accent2));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* ========================================
   Header / Topbar
   ======================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(9, 13, 28, .75);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: 
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .40), transparent 50%),
    linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 28px rgba(124, 92, 255, .30);
}

.brand__name {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: .02em;
}

.brand__tag {
  font-size: .78rem;
  color: var(--muted2);
  margin-left: 8px;
  display: none;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav a,
.nav summary {
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 12px;
  transition: var(--transition);
}

.nav a:hover,
.nav summary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

/* Nav Dropdown */
.navDrop {
  position: relative;
}

.navDrop > summary {
  list-style: none;
  cursor: pointer;
}

.navDrop > summary::-webkit-details-marker {
  display: none;
}

.navDrop[open] > summary {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.navDrop__panel {
  position: absolute;
  top: 48px;
  left: 0;
  min-width: 240px;
  background: rgba(15, 23, 48, .98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--stroke2);
  border-radius: 16px;
  box-shadow: var(--shadow2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.navDrop__panel a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
}

.navDrop__panel a:hover {
  background: rgba(124, 92, 255, .12);
  color: var(--text);
}

.topbar__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Mobile Menu */
.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, .07);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 20px;
  background: rgba(255, 255, 255, .90);
  border-radius: 2px;
  transition: var(--transition);
}

.mobileMenu {
  border-top: 1px solid var(--stroke);
  background: rgba(7, 10, 22, .92);
  backdrop-filter: blur(20px);
}

.mobileMenu__inner {
  padding: 20px 0;
  display: grid;
  gap: 10px;
}

.mobileLink {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-weight: 700;
  transition: var(--transition);
}

.mobileLink:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  border-color: var(--stroke2);
}

.mobileMenu__actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 20px;
}

.grad {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .80), rgba(0, 209, 255, .98), rgba(124, 92, 255, .98));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.7;
}

.trustBar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.trustItem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(40, 240, 178, .08);
  border: 1px solid rgba(40, 240, 178, .28);
  color: rgba(255, 255, 255, .92);
  font-weight: 750;
  font-size: .88rem;
}

.trustItem svg {
  flex-shrink: 0;
  color: var(--good);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.metric {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
}

.metric__k {
  font-weight: 950;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric__v {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 4px;
  font-weight: 600;
}

.hero__visual {
  position: relative;
}

.mock {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
  box-shadow: var(--shadow);
  position: relative;
}

.mock--phone {
  position: absolute;
  right: -12px;
  bottom: -24px;
  width: 48%;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.glow {
  position: absolute;
  inset: -60px -40px -80px -60px;
  background: 
    radial-gradient(700px 380px at 45% 40%, rgba(124, 92, 255, .40), transparent 65%),
    radial-gradient(600px 320px at 70% 50%, rgba(0, 209, 255, .28), transparent 68%);
  filter: blur(40px);
  z-index: -1;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.logos {
  margin-top: 60px;
  text-align: center;
}

.logos__label {
  color: var(--muted2);
  margin: 0 0 16px;
  font-size: .95rem;
  font-weight: 600;
}

.logos__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.logoChip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-weight: 750;
  font-size: .9rem;
}

/* ========================================
   Stats Grid
   ======================================== */
.statsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.stat {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--stroke);
  transition: var(--transition);
}

.stat:hover {
  border-color: rgba(124, 92, 255, .4);
  background: rgba(124, 92, 255, .06);
  transform: translateY(-4px);
}

.statNumber {
  font-size: 3.2rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.statLabel {
  color: var(--muted);
  margin-top: 10px;
  font-weight: 600;
  font-size: .95rem;
}

/* ========================================
   Features
   ======================================== */
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .20), rgba(0, 209, 255, .15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature h3 {
  margin: 0;
  font-size: 1.25rem;
}

.feature p {
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   Demo Section
   ======================================== */
.demoBox {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demoTabs {
  display: flex;
  gap: 10px;
  padding: 20px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(0, 0, 0, .12);
}

.demoTab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
}

.demoTab:hover {
  background: rgba(255, 255, 255, .06);
  border-color: var(--stroke2);
}

.demoTab.active {
  background: rgba(124, 92, 255, .20);
  border-color: rgba(124, 92, 255, .45);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(124, 92, 255, .25);
}

.demoTab svg {
  width: 20px;
  height: 20px;
}

.demoPreview {
  padding: 32px;
  min-height: 520px;
  background: rgba(0, 0, 0, .15);
  position: relative;
}

.demoContent {
  display: none;
  animation: fadeInUp 0.5s ease-out;
}

.demoContent.active {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.demoText h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.demoText p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.demoFeatures {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.demoFeatures li {
  padding: 12px 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
}

.demoActions {
  padding: 24px 32px;
  border-top: 1px solid var(--stroke);
  background: rgba(0, 0, 0, .08);
  display: flex;
  gap: 14px;
  justify-content: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Resources Detailed
   ======================================== */
.resourcesDetailed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resourceCard {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resourceCard:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, .45);
  box-shadow: 0 24px 70px rgba(124, 92, 255, .25);
  background: rgba(124, 92, 255, .06);
}

.resourceIcon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 92, 255, .22), rgba(0, 209, 255, .18));
  border: 1px solid rgba(124, 92, 255, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(124, 92, 255, .20);
}

.resourceCard h3 {
  margin: 0;
  font-size: 1.3rem;
}

.resourceCard > p {
  color: var(--muted);
  line-height: 1.7;
  flex-grow: 1;
}

.resourceList {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.resourceList li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--muted);
  font-weight: 600;
}

.resourceList li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 900;
  font-size: 1.2rem;
}

.resourceLink {
  margin-top: auto;
  color: var(--accent2);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .95rem;
  transition: var(--transition);
}

.resourceLink:hover {
  gap: 10px;
  color: var(--accent);
}

/* ========================================
   Integrations
   ======================================== */
.integrationsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.integrationCard {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: var(--transition);
}

.integrationCard:hover {
  background: rgba(255, 255, 255, .06);
  border-color: var(--stroke2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}

.integrationLogo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  color: var(--accent2);
}

.integrationCard span {
  font-weight: 800;
  color: var(--text);
  font-size: .95rem;
}

.integrationCard p {
  font-size: .88rem;
  color: var(--muted2);
  margin: 0;
}

.apiCallout {
  margin-top: 48px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124, 92, 255, .12), rgba(0, 209, 255, .08));
  border: 1px solid rgba(124, 92, 255, .35);
  display: flex;
  align-items: center;
  gap: 24px;
}

.apiIcon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 16px 42px rgba(124, 92, 255, .35);
}

.apiIcon svg {
  color: white;
}

.apiCallout h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.apiCallout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ========================================
   Security
   ======================================== */
.securityGrid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.security {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security--banner {
  grid-column: span 12;
}

.securityIcon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(40, 240, 178, .15), rgba(0, 209, 255, .12));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security h3 {
  margin: 0;
  font-size: 1.2rem;
}

.security p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.securityBanner {
  display: flex;
  gap: 20px;
  align-items: start;
}

.securityBanner svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.securityBanner h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.securityBanner p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   Pricing
   ======================================== */
.toggleRow {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 20px 0 32px;
}

.toggle {
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-weight: 850;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
}

.toggle:hover {
  background: rgba(255, 255, 255, .06);
  border-color: var(--stroke2);
}

.toggle.active {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border-color: var(--stroke2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.save {
  margin-left: 10px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .95);
  background: rgba(40, 240, 178, .16);
  border: 1px solid rgba(40, 240, 178, .40);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 900;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.price:hover {
  transform: translateY(-4px);
}

.priceHeader {
  display: grid;
  gap: 6px;
}

.priceHeader h3 {
  margin: 0;
  font-size: 1.5rem;
}

.priceHeader .muted {
  font-size: .92rem;
}

.price__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0;
}

.currency {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 700;
}

.amount {
  font-weight: 950;
  font-size: 3rem;
  letter-spacing: -.04em;
  line-height: 1;
}

.per {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.priceNote {
  font-size: .88rem;
  color: var(--muted2);
  margin: 0;
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  display: grid;
  gap: 10px;
  flex-grow: 1;
}

.checks li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
  font-size: .95rem;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--good);
  font-weight: 900;
  font-size: 1.1rem;
}

.checks--compact li {
  padding-left: 0;
}

.price--featured {
  border-color: rgba(124, 92, 255, .45);
  background: linear-gradient(180deg, rgba(124, 92, 255, .16), rgba(255, 255, 255, .03));
  box-shadow: 0 26px 80px rgba(124, 92, 255, .22);
  position: relative;
  transform: scale(1.02);
}

.price--featured:hover {
  transform: scale(1.04);
}

.ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: .85rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .98);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 209, 255, .22);
  border: 1px solid rgba(0, 209, 255, .40);
  box-shadow: 0 8px 24px rgba(0, 209, 255, .30);
}

.pricingFooter {
  margin-top: 32px;
  text-align: center;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonialRating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.testimonialRating span:first-child {
  color: #ffd166;
}

.testimonial__quote {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-weight: 650;
  line-height: 1.7;
  font-size: 1.02rem;
  flex-grow: 1;
}

.testimonial__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: 
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .25), transparent 60%),
    linear-gradient(135deg, rgba(124, 92, 255, .75), rgba(0, 209, 255, .60));
  flex-shrink: 0;
}

.testimonial__who strong {
  display: block;
  font-size: .95rem;
  margin-bottom: 2px;
}

.testimonial__who .muted {
  font-size: .88rem;
}

.testimonialsCta {
  margin-top: 40px;
  text-align: center;
}

/* ========================================
   Blog Cards
   ======================================== */
.blogCard {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}

.blogCard:hover {
  transform: translateY(-4px);
}

.blogCard:hover .blogMore {
  gap: 10px;
}

.blogTag {
  align-self: flex-start;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--accent2);
  background: rgba(0, 209, 255, .08);
  font-weight: 800;
}

.blogCard h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.blogMore {
  margin-top: auto;
  color: var(--accent2);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq details {
  transition: var(--transition);
}

.faq details[open] {
  background: rgba(255, 255, 255, .05);
  border-color: var(--stroke2);
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.05rem;
  list-style: none;
  padding: 20px 24px;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform .2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  color: var(--muted);
  margin: 0;
  padding: 0 24px 20px;
  line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta__box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  background: 
    radial-gradient(1000px 420px at 30% 45%, rgba(124, 92, 255, .22), transparent 65%),
    radial-gradient(900px 360px at 75% 65%, rgba(0, 209, 255, .16), transparent 68%),
    rgba(255, 255, 255, .03);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.cta__text h2 {
  margin: 0 0 14px;
  font-size: 2.2rem;
}

.cta__text p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.cta__form {
  display: grid;
  gap: 14px;
}

.cta__form label {
  display: grid;
  gap: 8px;
}

.cta__form label span {
  color: var(--text);
  font-weight: 800;
  font-size: .92rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(9, 12, 24, .65);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  outline: none;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 209, 255, .50);
  box-shadow: 0 0 0 4px rgba(0, 209, 255, .12);
  background: rgba(9, 12, 24, .85);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted2);
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 68, 68, .5);
}

input:valid:not(:placeholder-shown),
select:valid:not(:placeholder-shown) {
  border-color: rgba(40, 240, 178, .5);
}

select {
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 60px 0 32px;
  background: rgba(6, 8, 18, .55);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(5, .7fr);
  gap: 32px;
  align-items: start;
}

.footer__col {
  display: grid;
  gap: 12px;
}

.footer__col strong {
  margin-bottom: 6px;
  font-size: .95rem;
  color: var(--text);
}

.footer__col a {
  color: var(--muted);
  font-weight: 650;
  font-size: .92rem;
  transition: var(--transition);
}

.footer__col a:hover {
  color: var(--text);
}

.brand--footer {
  min-width: auto;
  margin-bottom: 16px;
}

.socialLinks {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.socialLinks a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}

.socialLinks a:hover {
  background: rgba(124, 92, 255, .12);
  border-color: rgba(124, 92, 255, .40);
  color: var(--text);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.backTop {
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
  transition: var(--transition);
}

.backTop:hover {
  color: var(--text);
}

/* ========================================
   Accessibility
   ======================================== */
.skipLink {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skipLink:focus {
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--stroke2);
  border-radius: 14px;
  z-index: 9999;
  box-shadow: var(--shadow2);
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(0, 209, 255, .60);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 1024px) {
  .brand__tag {
    display: inline;
  }
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mock--phone {
    right: 8px;
    bottom: -20px;
    width: 52%;
  }
  
  .statsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .resourcesDetailed,
  .integrationsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing {
    grid-template-columns: 1fr;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .cta__box {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
  
  .security {
    grid-column: span 12;
  }
  
  .demoContent.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    padding-top: 50px;
  }
  
  .hero__metrics {
    grid-template-columns: 1fr;
  }
  
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .statsGrid {
    grid-template-columns: 1fr;
  }
  
  .resourcesDetailed,
  .integrationsGrid {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .demoTabs {
    flex-wrap: wrap;
  }
  
  .apiCallout {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Animations & Utilities
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  .topbar,
  .hero__actions,
  .cta,
  .footer {
    display: none;
  }
}