@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. CSS VARIABLES & THEME SETUP
   ========================================================================== */
:root {
  --bg: #0a0a0a;
  --fg: #fafafa;
  --muted: #a3a3a3;
  --card: #101010;
  --secondary: #1f1f1f;
  --border: #292929;
  --radius: 16px;
}

/* Light Theme Variables */
html.light {
  --bg: #f7f7f8;
  --fg: #111111;
  --muted: #666666;
  --card: #ffffff;
  --secondary: #eeeeef;
  --border: #e2e2e4;
}

/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  background: none;
}

/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: min(1152px, calc(100% - 48px));
  margin: auto;
}

.section-pad {
  padding: 96px 24px 0;
}

.content-section {
  padding: 112px 0;
}

/* ==========================================================================
   4. NAVIGATION & HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1152px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

html.light .site-header {
  background: rgba(255, 255, 255, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
}

.brand-icon {
  font-size: 24px;
}

.site-header nav {
  display: flex;
  gap: 32px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a:hover,
.site-footer a:hover {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.login {
  font-weight: 500;
}

/* Common Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.button-dark {
  background: var(--fg);
  color: #111;
}

.button-dark:hover {
  opacity: 0.85;
}

.button-outline {
  border: 1px solid var(--border);
}

.button-outline:hover {
  background: var(--secondary);
}

/* ==========================================================================
   5. HERO SECTION & ARCHITECTURAL CALLOUTS
   ========================================================================== */
.hero {
  height: 280vh;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-stage>.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

/* Dark overlay for contrast on Hero text */
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.55);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.1s linear;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  box-sizing: border-box;
  will-change: opacity, transform;
}


/* Callout Detail Cards (Các khung ảnh kiến trúc - phóng to, chữ trắng) */
.callout-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.callout-card {
  position: absolute;
  width: min(280px, 26vw);
  background: rgba(14, 14, 14, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

html.light .callout-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.callout-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
}

html.light .callout-card:hover {
  border-color: rgba(0, 0, 0, 0.4);
}

.callout-card-img {
  width: 100%;
  height: 150px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}

.callout-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.callout-card-info {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Tên mã và tiêu đề bản vẽ hiển thị MÀU TRẮNG */
.callout-code {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.callout-card-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

html.light .callout-code {
  color: #111111;
}

html.light .callout-card-info h4 {
  color: #111111;
}

/* ==========================================================================
   VỊ TRÍ 5 KHUNG ẢNH KIẾN TRÚC (CALLOUT CARDS POSITIONS)
   Bạn có thể tùy chỉnh các giá trị top, bottom, left, right ở đây để dời vị trí ảnh
   ========================================================================== */
/* 1. Ảnh Mặt bằng mái (Roof Plan) */
.callout-card-top {
  top: 6%;
  left: 7%;
}

/* 2. Ảnh Mặt cắt bên trái (Section Left) */
.callout-card-section-left {
  top: 36%;
  left: 3%;
}

/* 3. Ảnh Mặt sau (Rear Elevation) */
.callout-card-back {
  bottom: 6%;
  left: 10%;
}

/* 4. Ảnh Góc nhìn sàn lên trần (Floor-to-Ceiling) */
.callout-card-ceiling {
  top: 60%;
  right: 10%;
}

/* 5. Ảnh Mặt đứng chính diện (Front Elevation) */
.callout-card-front {
  top: 15%;
  right: 3%;
}

/* Lightbox Modal for Full View */
.drawing-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawing-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.drawing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.drawing-modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawing-modal.active .drawing-modal-content {
  transform: scale(1);
}

.drawing-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #111;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.drawing-modal-close:hover {
  background: rgba(0, 0, 0, 0.16);
}

.drawing-modal-content img {
  max-width: 78vw;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}

.modal-caption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  font-family: 'DM Mono', monospace;
}

@media (max-width: 850px) {
  .callout-card {
    width: 140px;
    padding: 6px;
  }

  .callout-card-img {
    height: 75px;
  }

  .callout-card-info h4 {
    font-size: 11px;
  }

  .callout-code {
    font-size: 9px;
  }

  /* ==========================================================================
     A. VỊ TRÍ 5 KHUNG ẢNH TRÊN ĐIỆN THOẠI / TABLET (CALLOUT CARDS ON MOBILE)
     ========================================================================== */
  .callout-card-top {
    left: 30%;
    top: 10%;
  }

  .callout-card-section-left {
    left: 2%;
    top: 32%;
  }

  .callout-card-back {
    left: 4%;
    bottom: 28%;
  }

  .callout-card-ceiling {
    right: 4%;
    top: 70%;
  }

  .callout-card-front {
    right: 2%;
    top: 38%;
  }

  /* Tùy chỉnh khối Features trên điện thoại / tablet */
  .features-scroll-section {
    height: 190vh;
  }

  .features-sticky-wrap {
    padding: 60px 12px 20px;
  }

  .features-heading h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .features-container {
    width: calc(100% - 24px);
    max-width: 100%;
  }

  .features-image-wrap {
    width: 100%;
    aspect-ratio: 2752 / 1536;
    height: auto;
    max-height: 52vh;
  }

  .feature-tag-box {
    font-size: 10px;
    padding: 6px 10px;
    gap: 6px;
    white-space: normal;
    max-width: 165px;
    line-height: 1.25;
    border-radius: 8px;
  }

  .feature-tag-icon {
    font-size: 9px;
  }
}

.proof {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-subtitle {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  transition: text-align 0.2s ease;
}

.hero-subtitle span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 6px;
  border-radius: 4px;
  line-height: 1.8;
  transition: all 0.2s ease;
}

/* Preset font classes applied via JS */
.hero-subtitle span.sans {
  font-family: 'DM Sans', sans-serif;
  text-transform: none;
}

.hero-subtitle span.display {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-subtitle span.mono {
  font-family: 'DM Mono', monospace;
  letter-spacing: -0.02em;
}

.hero-subtitle span.serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}

.hero-subtitle span.upper {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

/* ==========================================================================
   6. INTERACTIVE FORMATTING TOOLBAR
   ========================================================================== */
.toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.toolbar i {
  height: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

.tool {
  min-width: 28px;
  padding: 5px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.73);
  transition: background 0.15s ease, color 0.15s ease;
}

.tool:hover,
.tool.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Style Dropdown Picker */
.style-picker {
  position: relative;
}

.style-button {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.style-button span:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.style-button b {
  font-size: 10px;
}

.style-button small {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
}

.style-menu {
  position: absolute;
  bottom: 42px;
  left: 0;
  width: 160px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.95);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 20;
}

.style-menu button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  font-size: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}

.style-menu button small {
  display: block;
  font-size: 10px;
  opacity: 0.7;
}

.style-menu button:hover,
.style-menu button.selected {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ==========================================================================
   7. TRUST BAR SECTION
   ========================================================================== */
.trust-bar {
  border-bottom: 1px solid var(--border);
  padding: 24px;
}

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================================================
   8. HEADINGS & SHARED COMPONENTS
   ========================================================================== */
.section-heading {
  margin-bottom: 48px;
}

.section-heading h2,
.center-heading h2,
.feature-title,
.cta-card h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-heading p,
.center-heading p,
.feature-intro {
  max-width: 520px;
  color: var(--muted);
  margin: 16px 0 0;
}

.badge {
  display: inline-block;
  background: var(--secondary);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--muted);
  font-size: 12px;
}

/* Shared Card Wrapper Styling */
.features-card,
.feature-card,
.platform-card,
.price-card,
.cta-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ==========================================================================
   10. FEATURES SCROLL SHOWCASE (INTERACTIVE ARCHITECTURAL DIAGRAM)
   ========================================================================== */
.features-scroll-section {
  position: relative;
  height: 230vh;
  margin: 0;
  padding: 0;
  background: transparent;
}

.features-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 30px 16px 20px;
}

.features-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: min(1152px, calc(100% - 32px));
  max-width: 1152px;
  margin: 0 auto;
}

.features-heading {
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.features-heading h2 {
  font-size: clamp(20px, 2.6vw, 32px);
  margin: 0;
  letter-spacing: -0.02em;
}

.features-showcase {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-image-wrap {
  position: relative;
  width: min(1152px, calc(100% - 32px));
  max-width: 1152px;
  aspect-ratio: 2752 / 1536;
  max-height: calc(100vh - 130px);
  border-radius: 16px;
  overflow: hidden;
  background: #fbf8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

html.light .features-image-wrap {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.features-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Overlay chứa các khung chữ tính năng đè lên ảnh */
.features-tags-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

/* Từng khung chữ hiển thị tính năng */
.feature-tag-box {
  position: absolute;
  pointer-events: auto;
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-family: 'DM Mono', monospace, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: default;
  opacity: 0;
  transform: translate(var(--tx, 0%), calc(var(--ty, 0%) + 18px)) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: opacity, transform;
}

html.light .feature-tag-box {
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.feature-tag-box.active {
  opacity: 1;
  transform: translate(var(--tx, 0%), var(--ty, 0%)) scale(1);
}

.feature-tag-box:hover {
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  transform: translate(var(--tx, 0%), var(--ty, 0%)) scale(1.03) !important;
}

html.light .feature-tag-box:hover {
  border-color: rgba(0, 0, 0, 0.4);
}

.feature-tag-icon {
  color: #ffffff;
  font-size: 11px;
  opacity: 0.9;
  flex-shrink: 0;
}

html.light .feature-tag-icon {
  color: #111111;
}

.feature-tag-title {
  display: inline-block;
  line-height: 1.25;
}

/* ==========================================================================
   11. PRICING SECTION
   ========================================================================== */
.pricing-container {
  max-width: 1000px;
}

.center-heading {
  text-align: center;
  margin-bottom: 64px;
}

.center-heading small {
  color: var(--muted);
  letter-spacing: 0.2em;
}

.center-heading p {
  margin-left: auto;
  margin-right: auto;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.price-card.featured {
  background: var(--fg);
  color: #111;
  transform: scaleY(1.04);
}

.price-card>em {
  align-self: center;
  background: #222;
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.price-card p {
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.featured p,
.featured span {
  color: #666;
}

.price-card strong {
  font-size: 42px;
  letter-spacing: -0.04em;
  margin-top: 8px;
}

.price-card strong small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.price-card span {
  color: var(--muted);
  font-size: 14px;
}

.price-card hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.price-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.price-card li:before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 10px;
}

.price-card a {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.price-card a:hover {
  background: var(--fg);
  color: var(--bg);
}

.featured a {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ==========================================================================
   12. PRODUCTS & ECOSYSTEM SECTION (4-COLUMN HORIZONTAL LIST)
   ========================================================================== */
.feature-title {
  max-width: 620px;
  margin: 16px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

html.light .product-card:hover {
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.product-card-img {
  width: 100%;
  height: 160px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

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

.product-badge {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--fg);
}

.product-card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ==========================================================================
   13. CTA SECTION
   ========================================================================== */
.cta-card {
  position: relative;
  text-align: center;
  padding: 64px 32px;
  background: var(--secondary);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cta-card p {
  max-width: 500px;
  margin: 16px auto 0;
  color: var(--muted);
}

.cta-card>div {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}

.footer-grid>div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid .brand {
  margin-bottom: 4px;
}

.footer-grid h4 {
  margin: 0;
  font-size: 14px;
}

.footer-grid a:not(.brand) {
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* ==========================================================================
   15. SCROLL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-top {
  opacity: 0;
  transform: translate(-50%, -20px);
}

.reveal-top.visible {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   16. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 760px) {
  .site-header {
    padding: 10px 14px;
  }

  .site-header nav,
  .login {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .section-pad {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-panel {
    min-height: 590px;
  }

  .hero-content {
    padding: 56px 16px 160px;
  }

  .toolbar {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 18px;
  }

  .features-grid,
  .platform-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

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

  .price-card.featured {
    transform: none;
  }

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

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }


  .cta-card>div {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   17. ACCESSIBILITY PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}