/* ==========================================================================
   CitedCorp Homepage Redesign Stylesheet
   Modern B2B Enterprise Software Aesthetic
   ========================================================================== */

:root {
  /* Extended Enterprise Color Palette */
  --color-brand-blue: #0c66dd;
  --color-brand-blue-hover: #0952b8;
  --color-brand-blue-active: #073e8c;
  --color-brand-blue-subtle: #eff6fd;
  --color-brand-blue-border: #bfdbfe;
  
  --color-navy-darkest: #070b14;
  --color-navy-hero: #0a1020;
  --color-navy-surface: #0f172a;
  --color-navy-surface-hover: #1e293b;
  --color-navy-card: #131c31;
  --color-navy-border: #1e2b45;
  --color-navy-border-subtle: rgba(255, 255, 255, 0.08);

  --color-surface-white: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-surface-card: #ffffff;
  --color-surface-muted: #f1f5f9;

  --color-text-main: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;
  --color-text-light: #f8fafc;
  --color-text-light-muted: #94a3b8;

  --color-border-subtle: #e2e8f0;
  --color-border-card: #e2e8f0;
  --color-border-card-hover: #cbd5e1;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-product: 0 20px 40px -15px rgba(12, 102, 221, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-product-dark: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-blue-glow: 0 0 35px rgba(12, 102, 221, 0.28);

  /* Spacing */
  --space-section: clamp(72px, 8vw, 112px);
  --space-section-inner: clamp(40px, 5vw, 64px);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-pill: 9999px;
}

/* --- Typographic Enhancements --- */
h1, h2, h3, h4, .section-heading, .hero-headline {
  text-wrap: balance;
  color: var(--color-text-main);
  letter-spacing: -0.025em;
  font-weight: 700;
}

p, .body-copy {
  text-wrap: pretty;
  line-height: 1.65;
}

/* Section Header Structure */
.section-header-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-section-inner);
}

.section-header-block.text-left {
  text-align: left;
  margin: 0 0 var(--space-section-inner);
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-blue);
  background-color: var(--color-brand-blue-subtle);
  border: 1px solid var(--color-brand-blue-border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-badge-pill.dark-theme {
  color: #60a5fa;
  background-color: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.25);
}

.section-heading-large {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subheading {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Enterprise Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-brand-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(12, 102, 221, 0.28);
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--color-brand-blue-hover);
  box-shadow: 0 6px 20px rgba(12, 102, 221, 0.38);
  transform: translateY(-1px);
}

.btn-primary:active {
  background-color: var(--color-brand-blue-active);
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-surface-white);
  color: var(--color-text-main) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue) !important;
  background-color: var(--color-brand-blue-subtle);
  transform: translateY(-1px);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-ghost-dark:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-icon-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon-arrow,
.btn-secondary:hover .btn-icon-arrow,
.btn-ghost-dark:hover .btn-icon-arrow,
.link-action-styled:hover .btn-icon-arrow {
  transform: translateX(3px);
}

/* --- Header Redesign Additions --- */
.header-cta-btn {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* --- Hero Section Redesign (Deep Navy Theme) --- */
.hero-enterprise {
  position: relative;
  background-color: var(--color-navy-hero);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(12, 102, 221, 0.28), transparent),
    radial-gradient(circle at 10% 30%, rgba(12, 102, 221, 0.08), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(0, 135, 90, 0.06), transparent 40%);
  padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 8vw, 112px);
  overflow: hidden;
  border-bottom: 1px solid var(--color-navy-border);
}

.hero-enterprise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    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);
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-subhead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: #cbd5e1;
  max-width: 720px;
  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;
}

/* --- Hero Showcase Window Chrome --- */
.hero-showcase-container {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  z-index: 2;
}

.hero-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-tab-btn:hover {
  color: #ffffff;
  background-color: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-tab-btn.active {
  color: #ffffff;
  background-color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 16px rgba(12, 102, 221, 0.4);
}

.tab-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.hero-window-mockup {
  background-color: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-product-dark);
  overflow: hidden;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #090f1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-traffic-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.mockup-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.mockup-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: #34d399;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.hero-preview-stage {
  position: relative;
  background-color: #060a14;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-preview-panel {
  display: none;
  width: 100%;
}

.hero-preview-panel.active {
  display: block;
}

.hero-preview-figure {
  margin: 0;
  position: relative;
}

.hero-preview-img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-preview-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: #0b1122;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #cbd5e1;
}

.caption-highlight {
  color: #60a5fa;
  font-weight: 600;
}

/* --- Section 3: Commercial Software Portfolio (Substantial Presentations) --- */
.portfolio-section {
  padding: var(--space-section) 0;
  background-color: var(--color-surface-white);
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 84px);
}

.product-feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 4vw, 52px);
  background-color: var(--color-surface-alt);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-2xl);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-feature-row:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.product-feature-row.reverse-layout {
  grid-template-columns: 1.15fr 1fr;
}

.product-feature-row.reverse-layout .product-text-col {
  order: 2;
}

.product-feature-row.reverse-layout .product-visual-col {
  order: 1;
}

.product-header-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.product-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.product-icon-box img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.product-category-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-blue);
}

.product-title-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.15;
}

.product-value-prop {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy-surface);
  line-height: 1.4;
  margin-bottom: 14px;
}

.product-description-copy {
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.65;
  margin-bottom: 22px;
}

.product-key-points {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-key-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.4;
}

.point-check-icon {
  width: 18px;
  height: 18px;
  color: var(--color-brand-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.product-visual-col {
  position: relative;
}

.product-screenshot-frame {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-product);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-screenshot-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--color-border-card);
}

.frame-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.product-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* --- Section 4: Capabilities (4 Areas of Expertise) --- */
.capabilities-section {
  padding: var(--space-section) 0;
  background-color: var(--color-surface-alt);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.capability-card {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.capability-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-blue-border);
  box-shadow: var(--shadow-md);
}

.capability-schematic {
  width: 100%;
  height: 90px;
  background-color: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.capability-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.capability-card-subtitle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-brand-blue);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.capability-card-desc {
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.capability-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-slate-dark);
  background-color: #f1f5f9;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid #e2e8f0;
}

/* --- Section 5: Open Source (Restrained Secondary Section) --- */
.open-source-restrained-section {
  padding: var(--space-section) 0;
  background-color: var(--color-surface-white);
}

.oss-overview-box {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.oss-overview-text {
  max-width: 760px;
  font-size: 16px;
  color: var(--color-text-body);
  line-height: 1.6;
}

.oss-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.oss-project-tile {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.oss-project-tile:hover {
  border-color: var(--color-brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.oss-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.oss-tile-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-main);
}

.oss-pill-badge {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-brand-green-hover);
  background-color: var(--color-brand-green-subtle);
  border: 1px solid rgba(0, 135, 90, 0.2);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.oss-tile-desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.oss-tile-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 13px;
  font-weight: 600;
}

.oss-learn-link {
  color: var(--color-brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.oss-learn-link:hover {
  text-decoration: underline;
}

.oss-github-icon-link {
  color: var(--color-slate-light);
  transition: color var(--transition-fast);
}

.oss-github-icon-link:hover {
  color: var(--color-navy);
}

/* --- Section 6: About CitedCorp (Corporate & Engineering Credibility) --- */
.about-corporate-section {
  padding: var(--space-section) 0;
  background-color: var(--color-navy-surface);
  color: #ffffff;
  border-top: 1px solid var(--color-navy-border);
}

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

.about-corporate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-corporate-prose p {
  font-size: 16.5px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-pillars-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-pillar-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: background-color var(--transition-fast);
}

.about-pillar-box:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.pillar-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-brand-blue);
}

.pillar-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

/* --- Section 7: Enterprise Footer --- */
.enterprise-footer {
  background-color: var(--color-navy-darkest);
  color: #94a3b8;
  padding: clamp(60px, 8vw, 84px) 0 36px;
  border-top: 1px solid var(--color-navy-border);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-brand-col .brand-logo {
  margin-bottom: 16px;
}

.footer-brand-col .brand-cited {
  color: #ffffff;
}

.footer-company-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  font-size: 14px;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link-list a:hover {
  color: #ffffff;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #94a3b8;
}

.contact-row-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.contact-row-entry a {
  color: #cbd5e1;
}

.contact-row-entry a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-divider-rule {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-icon {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-social-icon:hover {
  color: #ffffff;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1080px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 860px) {
  .product-feature-row,
  .product-feature-row.reverse-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-feature-row.reverse-layout .product-text-col {
    order: 1;
  }

  .product-feature-row.reverse-layout .product-visual-col {
    order: 2;
  }

  .about-corporate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oss-overview-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-enterprise {
    padding: 48px 0 60px;
  }

  .hero-preview-stage {
    min-height: 280px;
  }

  .mockup-url-pill {
    display: none;
  }

  .mockup-topbar {
    padding: 10px 14px;
  }

  .hero-preview-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
  }

  .oss-cards-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars-list {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-ghost-dark {
    width: 100%;
  }

  .product-header-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-container {
    padding: 0 16px;
  }
}

@media (max-width: 540px) {
  .header-cta-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-tab-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 420px) {
  .header-cta-btn {
    display: none;
  }
}

