/* ============================================================================
   PivotalReseller — Spatial Tech Website & Application CSS
   ----------------------------------------------------------------------------
   Heavy tech appeal, business professional, award-winning dark spatial design
   ============================================================================ */

/* CSS Reset & Global Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--pv-neutral, #080c16);
  color: var(--pv-primary, #f8fafc);
  overflow-x: hidden;
  position: relative;
}

/* Ambient Cybernetic Grid Background */
.bg-spatial-grid {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--pv-primary, #f8fafc);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--pv-secondary, #94a3b8);
  line-height: 1.65;
}

a {
  color: var(--pv-tertiary, #22d3ee);
  text-decoration: none;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}
a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #22d3ee 80%, #00F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 20%, #facc15 80%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted { color: var(--pv-secondary, #94a3b8) !important; }
.text-cyan { color: var(--pv-tertiary, #22d3ee) !important; }
.text-profit { color: var(--pv-success, #10b981) !important; }
.text-danger { color: var(--pv-danger, #ef4444) !important; }
.text-mono { font-family: var(--font-mono); }

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 860px;
}
.container-wide {
  max-width: 1440px;
}

/* Glass HUD Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 22, 0.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.2s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #00F2FE 0%, #0284C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #030712;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.05em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-tagline {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pv-tertiary, #22d3ee);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--pv-secondary, #94a3b8);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: #ffffff;
  background: color-mix(in srgb, var(--pv-tertiary, #22d3ee) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--pv-tertiary, #22d3ee) 30%, transparent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head.text-left {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pv-tertiary, #22d3ee);
  background: color-mix(in srgb, var(--pv-tertiary, #22d3ee) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pv-tertiary, #22d3ee) 25%, transparent);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--pv-secondary, #94a3b8);
}

/* Hero Section */
.hero-section {
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 21, 38, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pv-success, #10b981);
  box-shadow: 0 0 8px #10b981;
}

.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: #94a3b8;
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Interactive App Simulation Preview Mockup */
.mockup-container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}

.mockup-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.desktop-mockup-frame {
  position: relative;
  z-index: 1;
  background: #0e1526;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(34, 211, 238, 0.15);
  overflow: hidden;
}

.mockup-titlebar {
  height: 42px;
  background: #090e1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mockup-window-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot-red { background: #ef4444; }
.mockup-dot-yellow { background: #f59e0b; }
.mockup-dot-green { background: #10b981; }

.mockup-titlebar-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-body {
  padding: 20px;
  background: radial-gradient(circle at 50% 0%, #111a2f 0%, #0a0f1c 100%);
}

.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mockup-kpi-card {
  background: rgba(14, 21, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
}

.mockup-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.mockup-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  font-family: var(--font-mono);
}

.mockup-kpi-delta {
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(14, 21, 38, 0.8) 0%, rgba(8, 12, 22, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(34, 211, 238, 0.12);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pv-tertiary, #22d3ee);
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

.feature-metrics-strip {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-metric-chip {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--pv-tertiary, #22d3ee);
  background: rgba(34, 211, 238, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Alpha Signup Forms & Cards */
.alpha-form-card {
  background: linear-gradient(180deg, #0e1526 0%, #080c16 100%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(34, 211, 238, 0.15);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-hint {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 5px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.checkbox-pill-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 21, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.checkbox-pill-label:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
  color: #fff;
}

.checkbox-pill-label input:checked + span {
  color: var(--pv-tertiary, #22d3ee);
  font-weight: 700;
}

.checkbox-pill-label:has(input:checked) {
  background: rgba(34, 211, 238, 0.15);
  border-color: var(--pv-tertiary, #22d3ee);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

/* Classic Forum / Discussions */
.forum-board-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #0e1526;
  margin-bottom: 32px;
}

.forum-board-table th {
  background: #090e1c;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.forum-board-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.forum-category-row:last-child td {
  border-bottom: none;
}

.forum-cat-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.forum-cat-desc {
  font-size: 12.5px;
  color: #94a3b8;
}

.forum-stat-count {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  font-family: var(--font-mono);
}

.forum-stat-sub {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
}

.forum-last-post {
  font-size: 12.5px;
}
.forum-last-post a {
  color: #f8fafc;
  font-weight: 600;
}
.forum-last-post a:hover {
  color: var(--pv-tertiary, #22d3ee);
}
.forum-last-post-meta {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Classic Forum Thread View (Left Profile Column, Right Content Body) */
.forum-thread-post {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: #0e1526;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.forum-user-col {
  background: #090e1c;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.forum-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 2px solid rgba(34, 211, 238, 0.4);
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #22d3ee;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.forum-username {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.forum-user-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.forum-user-meta {
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
}

.forum-content-col {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.forum-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
  margin-bottom: 14px;
  font-size: 11.5px;
  color: #64748b;
}

.forum-post-body {
  font-size: 14px;
  line-height: 1.7;
  color: #e2e8f0;
  flex: 1;
}

.forum-post-footer {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* App Updates & Download Center */
.release-channel-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.os-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.os-card {
  background: linear-gradient(180deg, #0e1526 0%, #090e1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}

.os-card.recommended {
  border-color: var(--pv-tertiary, #22d3ee);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.18);
}

.os-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.os-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.os-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 18px;
}

/* Blog Styles */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: linear-gradient(180deg, #0e1526 0%, #080c16 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-featured-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.blog-card {
  background: #0e1526;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  background: #111a2f;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

/* Single Blog Post Reader */
.post-article {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5e1;
}

.post-article h2 {
  margin: 36px 0 16px;
  color: #fff;
}
.post-article h3 {
  margin: 28px 0 12px;
  color: #fff;
}
.post-article p {
  margin-bottom: 20px;
}
.post-article ul, .post-article ol {
  margin: 0 0 24px 24px;
}
.post-article li {
  margin-bottom: 8px;
}
.post-article blockquote {
  border-left: 3px solid var(--pv-tertiary, #22d3ee);
  padding: 12px 20px;
  background: rgba(34, 211, 238, 0.05);
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #e2e8f0;
}
.post-article pre {
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 24px 0;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: #060911;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 13.5px;
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #64748b;
}

/* Modal System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #0e1526;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(34, 211, 238, 0.15);
  padding: 28px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
}
.modal-close-btn:hover { color: #fff; }

/* Alert / Toast Messages */
.alert {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.alert-error, .alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.alert-info {
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #22d3ee;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .features-grid, .blog-grid, .os-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .mockup-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-secondary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .features-grid, .blog-grid, .os-cards-grid {
    grid-template-columns: 1fr;
  }
  .checkbox-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .forum-thread-post {
    grid-template-columns: 1fr;
  }
  .forum-user-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
