/* 
  Net Atelier vs Mattoboard Comparison Styles
  Design System: Warm Architectural Minimalism
*/

:root {
  --bg: #FAF8F5;
  --bg-alt: #F0EDE8;
  --bg-parchment: #E8E4DD;
  --surface: #FFFFFF;
  --primary: #1B3D2F;
  --primary-muted: #4A6358;
  --accent: #C67B5C;
  --accent-hover: #B36A4D;
  --text-headline: #2C2C2C;
  --text-body: #2C2C2C;
  --text-secondary: #6B6560;
  --text-muted: #9A9590;
  --border: #E8E4DD;
  --shadow-card: 0 2px 8px rgba(44,44,44,0.04), 0 8px 24px rgba(44,44,44,0.06);
  --shadow-hover: 0 4px 12px rgba(44,44,44,0.06), 0 16px 32px rgba(44,44,44,0.08);
  
  --max-width: 1200px;
  --section-padding-v: 160px;
  --card-padding: 32px;
  --card-radius: 2px;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-body);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .display {
  font-family: 'Playfair Display', serif;
  color: var(--text-headline);
  font-weight: 400;
}

h1 {
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -0.015em;
  font-weight: 300;
}

h2 {
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
}

h4 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
}

.body-lg {
  font-size: 18px;
  line-height: 28px;
}

.overline {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.text-center { text-align: center; }
.bg-main { background-color: var(--bg); }
.bg-alt { background-color: var(--bg-alt); }
.bg-alt-2 { background-color: #F0EDE8; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: var(--section-padding-v) 0;
}

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

.section-header.narrow {
  max-width: 800px;
  margin: 0 auto 64px auto;
}

.narrow-p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary, .btn-inverted-primary {
  display: inline-block;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg);
  padding: 16px 32px;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: #2A4F3F;
  border-color: #2A4F3F;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  padding: 16px 32px;
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--primary);
  padding: 0;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-tertiary:hover {
  color: var(--primary-muted);
}

.btn-inverted-primary {
  background-color: var(--bg);
  color: var(--primary);
  padding: 18px 40px;
  border: none;
}

.btn-inverted-primary:hover {
  background-color: var(--bg-alt);
}

/* Cards */
.card {
  background-color: var(--surface);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: transparent;
  z-index: 100;
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.site-nav.scrolled {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-headline);
}

.nav-links a.active {
  border-bottom: 1px solid var(--text-headline);
  padding-bottom: 2px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child { top: 8px; }
.mobile-menu-toggle span:last-child { bottom: 8px; }

.mobile-menu-toggle.active span:first-child {
  transform: rotate(45deg);
  top: 11px;
}

.mobile-menu-toggle.active span:last-child {
  transform: rotate(-45deg);
  bottom: 12px;
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--bg);
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 16px;
  color: var(--text-headline);
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #FAF8F5 0%, #F0EDE8 100%);
  padding-top: 208px; /* 80px nav + 128px */
  padding-bottom: 128px;
}

.hero-container {
  max-width: 800px;
  text-align: center;
}

.hero .overline {
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .subheadline {
  font-size: 19px;
  line-height: 30px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-bar {
  font-size: 13px;
  color: var(--text-muted);
}

/* Comparison Table */
.table-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: var(--surface);
}

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

.comparison-table th {
  background-color: var(--bg-parchment);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comparison-table th.highlight-col {
  background-color: var(--primary);
  color: var(--bg);
}

.comparison-table td {
  padding: 16px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

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

.comparison-table tr:nth-child(even) td {
  background-color: var(--bg);
}

.comparison-table td.highlight-cell {
  background-color: rgba(27,61,47,0.04);
  font-weight: 500;
}

.check { color: var(--primary); font-weight: bold; }
.cross { color: #C0392B; font-weight: bold; }

.table-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Core Difference */
.core-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.diff-card {
  padding: 40px;
}

.diff-card p {
  color: var(--text-secondary);
}

.diff-card.highlight-card {
  border: 2px solid var(--primary);
}

.com-gap-callout {
  background-color: var(--bg-alt);
  border-radius: var(--card-radius);
  padding: 28px 36px;
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
}

.com-gap-callout h4 {
  margin-bottom: 12px;
}

.com-gap-callout p {
  color: var(--text-secondary);
}

/* Cost Section */
.cost-section {
  padding: 128px 0;
}

.cost-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.cost-card {
  padding: 24px;
}

.cost-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.cost-title {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}

.cost-time {
  font-size: 14px;
  color: var(--accent);
}

.cost-summary {
  text-align: center;
  margin-top: 48px;
}

.summary-calc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.summary-big {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  color: var(--primary);
  line-height: 1.1;
}

.summary-label {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Right Choice */
.right-choice {
  padding: 96px 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.choice-card {
  padding: 24px;
  border-top: 2px solid var(--border);
}

.choice-title {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
}

.choice-card p {
  font-size: 15px;
  color: var(--text-secondary);
}

.choice-note {
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 28px auto 0;
}

/* Advantages */
.feature-blocks {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-mockup {
  flex: 1;
}

/* Mockups */
.mockup-board, .mockup-spec, .mockup-doc {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mockup-board {
  padding: 24px;
}

.board-header {
  font-weight: 500;
  margin-bottom: 16px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.board-item {
  background-color: var(--bg-alt);
  aspect-ratio: 4/3;
  border-radius: 2px;
}

.board-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.board-tag {
  display: inline-block;
  background: var(--bg-alt);
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 2px;
  color: var(--text-secondary);
}

.mockup-spec {
  padding: 0;
}

.spec-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-title {
  font-weight: 500;
}

.spec-badge {
  background: var(--bg-alt);
  padding: 4px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

.spec-row {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.spec-value {
  font-weight: 500;
  font-size: 14px;
}

.mockup-doc {
  padding: 32px;
}

.doc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.doc-logo {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 2px;
}

.doc-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}

.doc-table {
  margin-bottom: 24px;
}

.doc-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.doc-row.header {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border);
}

.doc-row span:last-child {
  text-align: right;
}

.doc-total {
  text-align: right;
  font-weight: 500;
  font-size: 16px;
}

/* Social Proof */
.testimonial-large {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.quote-mark {
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  z-index: 0;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  background-color: var(--bg-parchment);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 14px;
}

.attribution .name {
  font-weight: 500;
  font-size: 15px;
}

.attribution .title {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.attribution .badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--bg-parchment);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 2px;
  margin-top: 8px;
}

/* Migration Path */
.migration-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  padding: 40px;
  display: flex;
  align-items: center;
  text-align: center;
}

.step-content {
  font-weight: 500;
  font-size: 16px;
}

.migration-fineprint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Pricing Comparison */
.pricing-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px;
}

.mattoboard-card {
  border-top: 3px solid var(--border);
}

.netatelier-card {
  background-color: var(--primary);
  color: var(--bg);
}

.netatelier-card .overline {
  color: rgba(250,248,245,0.6);
}

.price-block {
  margin-bottom: 8px;
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 1;
}

.mattoboard-card .period {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.netatelier-card .period {
  font-size: 16px;
  color: rgba(250,248,245,0.7);
}

.annual-note {
  font-size: 14px;
  color: rgba(250,248,245,0.7);
  margin-bottom: 24px;
}

.pricing-note {
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-top: 24px;
}

.pricing-features li {
  font-size: 14px;
  color: rgba(250,248,245,0.85);
  margin-bottom: 12px;
}

/* FAQ Section */
.faq-layout {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-intro h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.faq-intro p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-left 0.3s ease;
  border-left: 2px solid transparent;
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-item.active {
  border-left-color: var(--primary);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--text-headline);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 18px;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}

.faq-answer p {
  padding-top: 12px;
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
}

/* Final CTA */
.final-cta {
  background-color: var(--primary);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.final-cta h2 {
  color: var(--bg);
  margin-bottom: 20px;
}

.final-cta p {
  color: rgba(250,248,245,0.7);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 40px auto;
}

.cta-meta {
  font-size: 13px;
  color: rgba(250,248,245,0.6);
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: var(--bg);
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(250,248,245,0.6);
  line-height: 22px;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--bg);
}

.footer-col a {
  display: block;
  color: rgba(250,248,245,0.65);
  text-decoration: none;
  font-size: 14px;
  line-height: 2.2;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(250,248,245,0.12);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(250,248,245,0.4);
}

.legal-links a {
  color: rgba(250,248,245,0.4);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--bg);
}

/* Responsive */
@media (max-width: 1024px) {
  .core-diff-grid, .feature-block, .feature-block.reverse, .faq-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 48px;
  }
  
  .cost-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-v: 64px;
  }
  
  h1 { font-size: 40px; line-height: 48px; }
  h2 { font-size: 36px; line-height: 44px; }
  h3 { font-size: 24px; line-height: 32px; }
  
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding-top: 140px;
  }
  
  .hero-cta-row {
    flex-direction: column;
  }
  
  .table-container {
    overflow-x: auto;
  }
  
  .comparison-table {
    min-width: 600px;
  }
  
  .cost-cards, .choice-grid, .migration-steps, .pricing-grid-2col {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
