/* Arch-Store Clean Architectural White & Green SEO System (Zero Blue/Gold AI Templates) */
:root {
  --bg-page: #F7FAF8;
  --bg-surface: #FFFFFF;
  --bg-soft: #EFF6F2;
  --bg-mint: #ECFDF3;
  --border-light: #DCE7E0;
  --border-green: #A7F3D0;
  --green-deep: #0F5132;
  --green-mid: #15803D;
  --green-bright: #16A34A;
  --green-wa: #1FAF54;
  --green-wa-hover: #179445;
  --text-main: #111827;
  --text-body: #334139;
  --text-muted: #5C6B62;
  --shadow-sm: 0 2px 8px rgba(15, 81, 50, 0.04);
  --shadow-md: 0 10px 28px rgba(15, 81, 50, 0.07);
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

img, svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, p, ul, ol {
  margin-top: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-deep);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.brand-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.3;
  display: block;
}

.brand-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-mid);
  display: block;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-body);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--bg-soft);
  color: var(--green-deep);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 11px;
  background: var(--green-deep);
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.18s ease;
}

.nav-cta:hover {
  background: var(--green-mid);
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--green-deep);
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 36px 0 44px;
}

.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--green-deep));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-mint);
  border: 1px solid var(--border-green);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.3;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero h1 .accent {
  color: var(--green-mid);
}

.hero-lead {
  font-size: clamp(16px, 2vw, 18.5px);
  color: var(--text-body);
  max-width: 850px;
  margin-bottom: 24px;
  font-weight: 500;
}

.team-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15.5px;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
  border: 1px solid transparent;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-wa {
  background: var(--green-wa);
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(31, 175, 84, 0.22);
}

.btn-wa:hover {
  background: var(--green-wa-hover);
}

.btn-deep {
  background: var(--green-deep);
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(15, 81, 50, 0.18);
}

.btn-deep:hover {
  background: var(--green-mid);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--green-deep) !important;
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-soft);
  border-color: var(--green-mid);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Mandatory Reassurance Badge for Telegram Stars */
.stars-trust-badge {
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--bg-mint);
  border: 1.5px solid #86EFAC;
  color: var(--green-deep);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.stars-trust-badge .badge-icon {
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Sections & Grids */
.section {
  padding: 28px 0 44px;
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 780px;
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-highlight {
  border: 1.5px solid #86EFAC;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FBF7 100%);
}

.card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.card p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  padding: 4px 11px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--green-deep);
  font-size: 12.5px;
  font-weight: 700;
}

.tag-en {
  direction: ltr;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.check-list li {
  position: relative;
  padding-right: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-body);
}

.check-list li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 1px;
  color: var(--green-bright);
  font-weight: 900;
}

/* Technical Spec Table */
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  margin-bottom: 22px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.spec-table th,
.spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  text-align: right;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 32%;
  background: var(--bg-soft);
  color: var(--green-deep);
  font-weight: 800;
}

.spec-table td {
  color: var(--text-main);
  font-weight: 600;
}

/* Portfolio Blueprint Anatomy Cards */
.anatomy-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.anatomy-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 0;
}

.blueprint-frame {
  background: #F3F8F5;
  border-left: 1px solid var(--border-light);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.blueprint-svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #C6DBD0;
  background: #FFFFFF;
}

.blueprint-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
  font-weight: 700;
}

.anatomy-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Smart Conversion Banner (Bundles -> Engineering Support) */
.conversion-banner {
  background: #FFFFFF;
  border: 2px solid var(--green-mid);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.conversion-banner h2,
.conversion-banner h3 {
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.faq-item h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.faq-item p {
  margin-bottom: 0;
  font-size: 14.5px;
  color: var(--text-body);
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 36px 0 28px;
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.footer-title {
  font-weight: 800;
  color: var(--text-main);
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 7px;
}

.footer-links a:hover {
  color: var(--green-deep);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

/* Bilingual SEO Directory Box */
.bilingual-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.en-list {
  direction: ltr;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: var(--text-body);
}

@media (max-width: 920px) {
  .grid-3, .grid-2, .anatomy-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blueprint-frame {
    border-left: none;
    border-bottom: 1px solid var(--border-light);
  }
  .hero-card {
    padding: 26px 20px;
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
