/* ==========================================================================
   GstarBIM Premium Stylesheet - Blended CAD & BIM Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root {
  /* Brand Color Palette - Deep Corporate Blue, Metallic Gray, Tech Navy, and Hot Orange */
  --brand-primary: #2563eb;      /* Tech Corporate Blue */
  --brand-primary-rgb: 37, 99, 235;
  --brand-secondary: #0f172a;    /* Deep Tech Navy */
  --brand-accent: #f97316;       /* Hot Accent Orange */
  --brand-accent-hover: #ea580c;  /* Darker Orange */
  
  /* Neutral Color Palette (Metallic Grays) */
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --text-main: #0f172a;          /* Slate Dark */
  --text-secondary: #475569;     /* Slate Medium */
  --text-muted: #64748b;         /* Slate Muted */
  --text-light: #94a3b8;         /* Light Gray Slate */
  
  /* Border Colors */
  --border-color: #cbd5e1;       /* Gray-300 */
  --border-subtle: #f1f5f9;      /* Gray-100 */
  --border-glass: rgba(226, 232, 240, 0.8);
  
  /* Soft & Precise CAD Radius Variables */
  --radius-sm: 4px;              /* Buttons, Tags */
  --radius-md: 8px;              /* Cards, Standard containers */
  --radius-lg: 12px;             /* Gallery items, Mockups */
  
  /* Soft, Layered Premium Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px 0 rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 0 40px -10px rgba(37, 99, 235, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(37, 99, 235, 0.12), 0 0 50px -4px rgba(249, 115, 22, 0.06);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: var(--brand-primary);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--brand-secondary);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

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

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Buttons - Precise & Soft Cornered */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.925rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, var(--brand-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.btn-orange {
  background: linear-gradient(135deg, var(--brand-accent) 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.btn-orange:hover {
  background: linear-gradient(135deg, #ea580c 0%, var(--brand-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline:hover {
  background-color: rgba(37, 99, 235, 0.04);
  transform: translateY(-2px);
}

/* Header Navigation - Premium Sticky Glass */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px; /* Overrides the default 1200px container width for a wider header */
}

.logo {
  flex-shrink: 0;
  margin-right: 0.75rem; /* Creates horizontal spacing between logo and menu */
}

.logo img {
  height: 50px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
}

.nav-links a:hover {
  color: var(--brand-primary);
  background-color: rgba(37, 99, 235, 0.05);
}

.nav-links a.active {
  color: var(--brand-primary);
  background-color: rgba(37, 99, 235, 0.08);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.75rem; /* Creates horizontal spacing between menu and CTA button */
}

@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }
}

/* CAD Technical Grid Backdrop & Glowing Masks */
.grid-bg-container {
  position: relative;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.grid-bg-container::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.05) 0%, rgba(8, 145, 178, 0.015) 50%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.grid-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    radial-gradient(circle at 1px 1px, #e2e8f0 1.2px, transparent 0),
    linear-gradient(to right, rgba(226, 232, 240, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.3) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px, 30px 30px;
  background-position: center top;
  z-index: 1;
  pointer-events: none;
}

/* Page Section Styles */
section {
  padding: 6rem 0;
  position: relative;
  z-index: 3;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.section-title h2 {
  margin-bottom: 0.85rem;
  font-weight: 800;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  padding: 9.5rem 0 5.5rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

@media (max-width: 1024px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
}

.hero-content {
  flex: 1.2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(29, 78, 216, 0.12);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

@media (max-width: 1024px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-visual {
  flex: 1.5;
  position: relative;
  width: 100%;
}

/* Technical Cards & Guidelines */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--brand-primary), var(--brand-secondary));
  transition: var(--transition-normal);
}

.card:hover::before {
  height: 100%;
}

.card:hover {
  border-color: rgba(29, 78, 216, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrapper {
  width: 44px;
  height: 44px;
  background: rgba(29, 78, 216, 0.04);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--brand-primary);
  transition: var(--transition-fast);
}

.card:hover .card-icon-wrapper {
  background-color: var(--brand-primary);
  color: #ffffff;
}

.card-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* CAD Corner Markings for Technical Precision */
.cad-corner-marker {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(29, 78, 216, 0.25);
  border-style: solid;
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none;
}

.cad-corner-marker.top-left { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.cad-corner-marker.top-right { top: 8px; right: 8px; border-width: 1.5px 1.5px 0 0; }
.cad-corner-marker.bottom-left { bottom: 8px; left: 8px; border-width: 0 0 1.5px 1.5px; }
.cad-corner-marker.bottom-right { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }

.card:hover .cad-corner-marker {
  opacity: 1;
  transform: scale(1.05);
}

/* Image + Text Columns Block */
.img-text-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5.5rem;
}

.img-text-block:last-child {
  margin-bottom: 0;
}

.img-text-block:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  .img-text-block, .img-text-block:nth-child(even) {
    flex-direction: column;
    gap: 2.25rem;
    margin-bottom: 3.5rem;
  }
}

.img-text-content {
  flex: 1.1;
}

.img-text-content h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 800;
}

.img-text-content p {
  margin-bottom: 1.25rem;
}

.img-text-content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
  list-style: none;
}

@media (max-width: 640px) {
  .img-text-content ul {
    grid-template-columns: 1fr;
  }
}

.img-text-content li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
}

.img-text-content li svg {
  color: var(--brand-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.img-text-visual {
  flex: 1.4;
  width: 100%;
}

/* Windows-Style Software Card Container */
.software-mockup {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  width: 100%;
}

.software-mockup:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-2px);
}

.mockup-header {
  display: none !important; /* Hiding macOS styled header window controls completely */
}

.mockup-body {
  background: #ffffff;
  padding: 0;
  display: block;
}

.mockup-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* Format Compatibility Band */
.format-band {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 1.75rem 0;
}

.format-band-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0.65;
}

.format-band-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.format-item {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
}

/* Tab System - features.html */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 3.5rem;
  background: rgba(241, 245, 249, 0.7);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 5px;
  transition: var(--transition-fast);
  text-transform: uppercase;
  flex-grow: 1;
  text-align: center;
}

.tab-btn:hover {
  color: var(--brand-primary);
}

.tab-btn.active {
  background-color: #ffffff;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
  animation: tabFadeIn 0.35s ease;
}

.tab-content.active {
  display: block;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  margin-bottom: 5.5rem;
  align-items: center;
}

.features-grid:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.feature-item-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.feature-item-list li {
  display: flex;
  gap: 0.85rem;
}

.feature-item-list li svg {
  color: var(--brand-primary);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.feature-item-list h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.feature-item-list p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.spec-list {
  margin-top: 0.35rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.825rem;
  list-style-type: square;
}

.spec-list li {
  margin-bottom: 0.15rem;
  display: list-item !important;
}

/* What's New Section - whatsnew.html */
.whats-new-section {
  margin-bottom: 5rem;
}

.whats-new-category {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--brand-primary);
  letter-spacing: 0.05em;
  background-color: var(--bg-subtle);
  color: var(--brand-primary);
  border-radius: 2px;
}

.whats-new-category.interior {
  border-left-color: var(--brand-secondary);
  color: var(--brand-secondary);
}

.whats-new-category.ui {
  border-left-color: var(--brand-accent);
  color: var(--brand-accent);
}

.whats-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 640px) {
  .whats-new-grid {
    grid-template-columns: 1fr;
  }
}

.whats-new-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.whats-new-card:hover {
  border-color: rgba(29, 78, 216, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.whats-new-card-media {
  position: relative;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  aspect-ratio: 16/10;
  overflow: hidden;
}

.whats-new-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.whats-new-card:hover .whats-new-card-media img {
  transform: scale(1.03);
}

.whats-new-card-content {
  padding: 1.75rem;
  flex-grow: 1;
}

.whats-new-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1.5px solid var(--border-subtle);
  padding-bottom: 0.4rem;
}

.whats-new-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.whats-new-card-content ul {
  margin-top: 0.85rem;
  padding-left: 1.1rem;
  list-style-type: circle;
  color: var(--text-muted);
  font-size: 0.825rem;
}

.whats-new-card-content li {
  margin-bottom: 0.2rem;
}

/* Compare Matrix - compare.html */
.filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  gap: 0.85rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--border-color);
  transition: .35s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .35s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--brand-primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.toggle-label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.compare-container {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.925rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table th {
  background-color: var(--bg-subtle);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.925rem;
  text-transform: uppercase;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
  width: 44%;
}

.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-table tr:hover td {
  background-color: rgba(29, 78, 216, 0.015);
}

/* Compare Page Pro Row Glow */
.compare-table td:nth-child(3) {
  border-left: 1.5px solid rgba(29, 78, 216, 0.15) !important;
  border-right: 1.5px solid rgba(29, 78, 216, 0.15) !important;
  background-color: rgba(29, 78, 216, 0.01);
}

.compare-table tr:hover td:nth-child(3) {
  background-color: rgba(29, 78, 216, 0.025);
}

.compare-table th:nth-child(3) {
  border-left: 1.5px solid rgba(29, 78, 216, 0.15) !important;
  border-right: 1.5px solid rgba(29, 78, 216, 0.15) !important;
  background-color: rgba(29, 78, 216, 0.02) !important;
}

.pro-badge-header {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #ffffff !important;
  padding: 0.2rem 0.65rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
  margin-top: 0.35rem;
}

.check-icon, .dash-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check-icon { color: var(--brand-primary); }
.dash-icon { color: var(--text-light); }

.check-icon svg, .dash-icon svg {
  width: 20px;
  height: 20px;
}

.hidden {
  display: none !important;
}

/* Karsilastirma Detay Kartlari */
.edition-details {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

@media (max-width: 768px) {
  .edition-details {
    grid-template-columns: 1fr;
  }
}

.edition-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.edition-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.edition-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  color: var(--brand-primary);
}

.edition-card ul {
  list-style: square;
  padding-left: 1.1rem;
  margin-top: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.edition-card li {
  margin-bottom: 0.4rem;
}

/* D5 Render Spotlight Section */
.d5-section {
  background-color: #0f172a;
  color: #ffffff;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.d5-section h2, .d5-section h3 {
  color: #ffffff;
}

.d5-section p {
  color: #94a3b8;
}

.d5-badge {
  background-color: rgba(8, 145, 178, 0.12);
  border: 1px solid var(--brand-secondary);
  color: #22d3ee;
}

.d5-btn {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, #0e7490 100%);
  color: #ffffff;
  border-color: var(--brand-secondary);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
}

.d5-btn:hover {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
  box-shadow: 0 6px 18px rgba(8, 145, 178, 0.35);
  transform: translateY(-2px);
}

/* Call To Action (CTA) Section */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1e40af 100%);
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 0.85rem;
  font-weight: 800;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.cta-btn-white {
  background-color: #ffffff;
  color: var(--brand-primary);
  border-color: #ffffff;
}

.cta-btn-white:hover {
  background-color: var(--bg-subtle);
  border-color: var(--bg-subtle);
  transform: translateY(-2px);
}

.cta-btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2.25px solid #ffffff;
}

.cta-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Footer Section */
footer {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
}

.footer-col a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1.1rem;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 600;
}

.footer-socials a:hover {
  color: var(--brand-primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   New GstarBIM Custom Styles (Comparison, Testimonials, Newsletter, etc.)
   ========================================================================== */

/* Hero Canvas Container */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 400px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(37, 99, 235, 0.2);
  overflow: hidden;
}

/* Home Comparison Section */
.home-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.home-compare-table th, 
.home-compare-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.home-compare-table th {
  background-color: var(--bg-subtle);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.home-compare-table td:first-child {
  font-weight: 600;
  color: var(--text-main);
  width: 40%;
}

.home-compare-table td:not(:first-child) {
  text-align: center;
  width: 30%;
}

.home-compare-table tr:last-child td {
  border-bottom: none;
}

.home-compare-table tr:hover td {
  background-color: rgba(37, 99, 235, 0.01);
}

/* Highlight GstarBIM Column */
.home-compare-table td.highlight, 
.home-compare-table th.highlight {
  background-color: rgba(37, 99, 235, 0.02);
  border-left: 1.5px solid rgba(37, 99, 235, 0.15);
  border-right: 1.5px solid rgba(37, 99, 235, 0.15);
}

.home-compare-table tr:hover td.highlight {
  background-color: rgba(37, 99, 235, 0.04);
}

.home-compare-table .check-circle {
  color: #10b981; /* Green check */
  font-size: 1.25rem;
  font-weight: bold;
}

.home-compare-table .cross-circle {
  color: #ef4444; /* Red cross */
  font-size: 1.25rem;
  font-weight: bold;
}

.compare-note-box {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background-color: rgba(37, 99, 235, 0.03);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.compare-note-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Social Proof & Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(37, 99, 235, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card .stars {
  color: #f59e0b; /* Yellow stars */
  font-size: 1.1rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gray-metal-200);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.testimonial-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Partner Logos Band */
.partners-band {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  text-align: center;
}

.partners-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
  opacity: 0.55;
}

.partner-logo {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

/* Newsletter Section Inside Footer or Standalone */
.newsletter-section {
  background-color: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 5rem 0;
  color: #ffffff;
}

.newsletter-wrapper {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-wrapper h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.newsletter-wrapper p {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
}

.newsletter-form input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.925rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #64748b;
}

.newsletter-form button {
  background-color: var(--brand-primary);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: #1d4ed8;
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.75rem;
  }
  
  .newsletter-form input {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #334155;
    border-radius: var(--radius-sm);
  }
}

/* Mobile Menu Navigation Drawer */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}
@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }
  
  /* Mobile links drawer */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 1.25rem;
    padding: 6rem 2rem 2rem;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    border: none;
    border-radius: 0;
  }
  
  .nav-links.active {
    display: flex !important;
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.05rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  /* Hamburger open transforms */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Hide header CTA only on small mobile views to keep header clean */
@media (max-width: 640px) {
  .nav-actions {
    display: none;
  }
}

/* Styling for mobile CTA inside drawer */
.nav-mobile-cta {
  display: none !important;
}

@media (max-width: 1200px) {
  .nav-mobile-cta {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    background: var(--brand-primary) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .nav-mobile-cta:hover {
    background: var(--brand-secondary) !important;
  }
}

/* Navigation Hover Dropdown styles */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger svg {
  transition: transform 0.3s ease;
}

.nav-dropdown-wrapper:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.nav-dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-md);
  min-width: 220px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
  z-index: 1000;
  padding: 0.6rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-dropdown-menu a {
  display: block !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.875rem !important;
  text-transform: none !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  border-bottom: none !important;
  border-radius: var(--radius-sm) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
  transition: all 0.2s ease !important;
}

.nav-dropdown-menu a:hover {
  color: var(--brand-primary) !important;
  background-color: rgba(37, 99, 235, 0.05) !important;
  transform: translateX(3px) !important;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Mobile responsive nested submenu navigation drawer styles */
@media (max-width: 1200px) {
  .nav-dropdown-wrapper {
    display: block;
    width: 100%;
  }
  .nav-dropdown-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0.25rem 0 0 1.25rem !important;
    margin-top: 0 !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .nav-dropdown-menu a {
    font-size: 0.95rem !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    text-transform: uppercase;
    color: var(--text-secondary) !important;
  }
  .nav-dropdown-menu a:last-child {
    border-bottom: none !important;
  }
}

/* ==========================================================================
   Modern Premium Visual Touch-ups (v0.3.1)
   ========================================================================== */

/* 1. Custom Text Selection Color */
::selection {
  background-color: rgba(37, 99, 235, 0.9);
  color: #ffffff;
}

/* 2. Premium Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-subtle);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
  border: 1px solid var(--bg-subtle);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 3. Subtle Heading Color Gradient Overlay */
.hero-content h1,
.section-title h2,
.img-text-content h3 {
  background: linear-gradient(135deg, var(--text-main) 60%, var(--brand-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 4. Page Load Smooth Animations */
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual {
  animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-badge {
  animation: fadeUpIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 5. Button Shimmer Light Shifting Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(100%);
}

/* 6. Form Field Interactions */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
  transform: translateY(-1px);
}

/* 7. Hover scale for mockups & cards */
.software-mockup,
.card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.software-mockup:hover {
  transform: translateY(-3px) scale(1.005) !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12) !important;
}

/* 8. Active navigation link indicator */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--brand-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

/* ==========================================================================
   UI/UX Geliştirmeleri (v0.9.5)
   ========================================================================== */

/* 1. Responsive Image Comparison Slider */
.comparison-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.comparison-slider {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  user-select: none;
  background-color: #f1f5f9;
}

.image-before, .image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-before img, .image-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.image-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%); /* initial split */
}

.image-before {
  z-index: 1;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%; /* initial split */
  width: 4px;
  height: 100%;
  background: var(--brand-primary);
  cursor: ew-resize;
  z-index: 5;
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--brand-primary);
  border: 3.5px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  z-index: 6;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-handle:hover .slider-handle-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--brand-accent);
}

.label-badge {
  position: absolute;
  bottom: 1.25rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  border-radius: var(--radius-sm);
  z-index: 10;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.before-badge {
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.after-badge {
  left: 1.25rem;
  background: rgba(37, 99, 235, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 2. Timeline / Flow Steps Styling */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
}

.flow-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.flow-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}

.flow-step-number {
  position: absolute;
  top: -1.25rem;
  left: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  border: 3px solid white;
}

.flow-step-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.flow-step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 3. Specs Table Styling */
.specs-table-wrapper {
  margin: 3rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  background: #ffffff;
}

.specs-table th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background: rgba(37, 99, 235, 0.02);
  color: var(--text-primary);
}

.spec-feature {
  font-weight: 700;
  color: var(--text-primary);
}

.spec-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.725rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-primary);
  border-radius: 4px;
}


