/* ==========================================================================
   Design System: Obsidian Sentinel (Teal-Dark Editorial Authority Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  /* Colors from DESIGN.md */
  --background: #111415;
  --surface: #111415;
  --surface-dim: #111415;
  --surface-bright: #373a3b;
  --surface-container-lowest: #0c0f10;
  --surface-container-low: #191c1d;
  --surface-container: #1d2021;
  --surface-container-high: #282a2b;
  --surface-container-highest: #323536;
  --on-surface: #e1e3e4;
  --on-surface-variant: #bfc9c6;
  --inverse-surface: #e1e3e4;
  --inverse-on-surface: #2e3132;
  --outline: #899390;
  --outline-variant: #3f4947;
  
  --primary: #95d2c7;
  --on-primary: #003731;
  --primary-container: #11554d;
  --on-primary-container: #8ac8bd;
  --inverse-primary: #2a6860;
  
  --secondary: #c3c7cd;
  --on-secondary: #2c3136;
  --secondary-container: #454a4f;
  --on-secondary-container: #b4b9bf;
  
  /* Spacing from DESIGN.md */
  --container-max: 1280px;
  --gutter: 32px;
  --margin-mobile: 20px;
  --stack-sm: 8px;
  --stack-md: 24px;
  --stack-lg: 64px;
  --stack-xl: 128px;

  /* Border Radius from DESIGN.md */
  --radius-sm: 0.125rem;       /* 2px */
  --radius-default: 0.25rem;  /* 4px - Soft rounding scale */
  --radius-md: 0.375rem;       /* 6px */
  --radius-lg: 0.5rem;         /* 8px */
  --radius-xl: 0.75rem;        /* 12px */
  --radius-full: 9999px;
}

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

body {
  background-color: #0A0A0A; /* Deeper black per guide */
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--on-primary-container);
}

/* Typography Scale */
.font-display-xl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.font-headline-lg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.16;
}

.font-headline-md {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
}

.font-body-lg {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.font-body-md {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
}

.font-label-caps {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.font-quote {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--margin-mobile);
  padding-right: var(--margin-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}

.grid {
  display: grid;
  gap: var(--gutter);
}

/* Progress Indicator */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background-color: var(--primary-container);
  width: 0%;
  z-index: 100;
  transition: width 0.1s ease-out;
}

/* 1. Advertorial Topbar */
.top-bar {
  width: 100%;
  background-color: var(--surface-container-lowest);
  padding: 8px 16px;
  border-bottom: 1px solid rgba(63, 73, 71, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--outline);
}

/* 2. Site Header */
.site-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.header-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-default);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary-container);
  color: var(--on-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
  background-color: var(--inverse-primary);
  color: #ffffff;
}

.btn-cta {
  padding: 14px 28px;
  font-size: 16px;
  gap: 8px;
}

/* 3. Hero Section */
.hero-section {
  padding: var(--stack-lg) 0 var(--stack-xl);
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  color: var(--on-surface);
  margin-bottom: var(--stack-md);
  margin-top: 0;
}

.hero-subtitle {
  color: var(--on-surface-variant);
  margin-bottom: var(--stack-lg);
  max-width: 720px;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-default);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 280px;
}

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

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.6), transparent);
  pointer-events: none;
}

/* Horizontal Rule Divider */
.divider {
  width: 100%;
  height: 1px;
  background-color: rgba(63, 73, 71, 0.15);
  margin-bottom: var(--stack-xl);
}

/* 4. Content Section & Asymmetrical Layout */
.content-section {
  padding-bottom: var(--stack-xl);
}

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

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .content-main {
    grid-column: span 8;
    order: 2;
  }
  
  .content-sidebar {
    grid-column: span 4;
    order: 1;
  }
}

/* Main Article Content */
.content-main h2.section-title {
  color: var(--on-surface);
  margin-top: var(--stack-lg);
  margin-bottom: var(--stack-md);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 32px);
}

.content-main h2.section-title:first-of-type {
  margin-top: 0;
}

.content-main p {
  color: var(--on-surface-variant);
  margin-bottom: var(--stack-md);
}

.article-bullet-list {
  margin-bottom: var(--stack-md);
  padding-left: 20px;
  list-style-type: square;
}

.article-bullet-list li {
  margin-bottom: var(--stack-sm);
  color: var(--on-surface-variant);
  padding-left: 4px;
}

.article-content-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-default);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: var(--stack-lg) 0;
}

/* Sidebar Elements */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}

.sidebar-card {
  background-color: var(--surface-container-low);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid var(--primary-container);
  border-radius: var(--radius-default);
  padding: 24px;
}

.sidebar-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 20px;
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-list li {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--on-surface-variant);
  font-size: 15px;
  line-height: 1.5;
}

.sidebar-list .material-symbols-outlined {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
}

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--on-surface);
  border-left: 2px solid var(--primary-container);
  padding-left: 20px;
  margin-top: var(--stack-sm);
}

/* 5. Features Section */
.features-section {
  padding: var(--stack-xl) 0;
  border-top: 1px solid rgba(63, 73, 71, 0.15);
}

.features-title {
  text-align: center;
  color: var(--on-surface);
  margin-bottom: var(--stack-lg);
}

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--surface-container);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-default);
  padding: var(--stack-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(149, 210, 199, 0.3);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--stack-md);
  color: var(--primary);
}

.feature-icon-wrapper .material-symbols-outlined {
  font-size: 28px;
}

.feature-card h3 {
  color: var(--on-surface);
  margin-bottom: var(--stack-sm);
  font-size: 18px;
}

.feature-card p {
  color: var(--on-surface-variant);
  font-size: 14px;
  line-height: 1.5;
}

/* 6. Process of Installation Section */
.installation-section {
  background-color: var(--surface-container-low);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid var(--primary-container);
  padding: var(--stack-lg) 24px;
  border-radius: var(--radius-default);
  margin-bottom: var(--stack-xl);
}

.installation-title {
  text-align: center;
  color: var(--on-surface);
  margin-bottom: var(--stack-lg);
}

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

@media (min-width: 768px) {
  .installation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.installation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.installation-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary-container);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--stack-sm);
}

.installation-item h3 {
  color: var(--on-surface);
  margin-bottom: var(--stack-sm);
  font-size: 18px;
  font-weight: 600;
}

.installation-item p {
  color: var(--on-surface-variant);
  font-size: 14px;
  max-width: 240px;
  line-height: 1.5;
}

/* 7. FAQs Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto var(--stack-xl);
}

.faq-title {
  text-align: center;
  color: var(--on-surface);
  margin-bottom: var(--stack-lg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--surface-container);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-default);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px;
  color: var(--on-surface);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: 'expand_more';
  font-family: 'Material Symbols Outlined';
  font-size: 24px;
  color: var(--outline);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 20px 20px 20px;
  color: var(--on-surface-variant);
  font-size: 15px;
  line-height: 1.6;
}

/* 8. Bottom CTA Section */
.bottom-cta-section {
  background: linear-gradient(180deg, #0e1615 0%, #060909 100%);
  border: 1px solid rgba(149, 210, 199, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--stack-lg) 32px;
  text-align: center;
  margin-bottom: var(--stack-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bottom-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(149, 210, 199, 0.15), transparent 70%);
  pointer-events: none;
}

.bottom-cta-card {
  position: relative;
  z-index: 10;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(25, 28, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 40px var(--gutter);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.bottom-cta-title {
  color: var(--on-surface);
  margin: 0;
  font-size: clamp(26px, 4.5vw, 36px);
  letter-spacing: -0.01em;
}

.bottom-cta-desc {
  color: var(--on-surface-variant);
  font-size: 16px;
  max-width: 520px;
  line-height: 1.5;
  margin-top: -12px;
}

.offer-logo-container {
  padding: 8px;
}

.offer-logo-link {
  display: inline-block;
  padding: 16px 36px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: 2px solid rgba(149, 210, 199, 0.3);
  outline-offset: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.offer-logo {
  max-width: 150px;
  height: auto;
  object-fit: contain;
  display: block;
}

.offer-logo-link:hover {
  outline-color: var(--primary);
  outline-offset: 12px;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(149, 210, 199, 0.25);
  filter: brightness(1.05);
}

/* 9. Disclaimer Section (Above Footer) */
.advertorial-disclaimer {
  background-color: var(--surface-container-lowest);
  border-top: 1px solid rgba(63, 73, 71, 0.15);
  padding: var(--stack-md) 0;
}

.disclaimer-container {
  max-width: 900px;
  margin: 0 auto;
}

.advertorial-disclaimer p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--outline);
  text-align: justify;
}

/* 10. Footer Section */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--stack-lg) 0;
  margin-top: auto;
}

.site-footer .footer-copyright,
.site-footer .footer-contact-info,
.site-footer .footer-contact-info span {
  color: #1a1c1d !important;
}

.site-footer .footer-links a {
  color: #1a1c1d !important;
}

.site-footer .footer-links a:hover {
  color: var(--primary-container) !important;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1.8fr;
  }
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  opacity: 0.95;
  filter: brightness(0.9);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-copyright {
  font-size: 13px;
  color: var(--outline);
  margin-bottom: 12px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-nav-col {
    align-items: flex-end;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--on-surface-variant);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.footer-contact-info {
  font-size: 13px;
  color: var(--outline);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer-contact-info {
    text-align: right;
  }
}

.footer-contact-info span {
  display: block;
  margin-bottom: 4px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero-section {
    padding: var(--stack-md) 0 var(--stack-lg);
  }
  
  .content-section {
    padding-bottom: var(--stack-lg);
  }
  
  .features-section {
    padding: var(--stack-lg) 0;
  }
  
  .installation-section {
    padding: var(--stack-md) 16px;
    margin-bottom: var(--stack-lg);
  }
  
  .bottom-cta-section {
    padding: var(--stack-md) 16px;
    margin-bottom: var(--stack-lg);
  }
  
  .site-footer {
    padding: var(--stack-md) 0;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
