/* style.css - Dynamic Thematic Variables & Layout */
:root {
  --artro-vital-bg: #f8fafc;
  --artro-flex-surface: #ffffff;
  --artro-motion-accent: #0d9488;
  --artro-motion-accent-hover: #0f766e;
  --artro-bone-muted: #64748b;
  --artro-muscle-ink: #0f172a;
  --artro-joint-gradient: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  --artro-soft-gradient: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  --artro-contrast-bg: #0f212e;
  --artro-shadow-raised: 0 10px 30px -10px rgba(13, 148, 136, 0.2);
  --artro-radius-soft: 16px;
  --artro-font-display: 'Montserrat', sans-serif;
  --artro-font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--artro-vital-bg);
  color: var(--artro-muscle-ink);
  font-family: var(--artro-font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--artro-font-display);
  font-weight: 700;
  line-height: 1.25;
}

/* Scroll-driven animations */
@keyframes progress-grow {
  to { width: 100%; }
}

.artro-progress-strip {
  position: fixed;
  top: 70px;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--artro-joint-gradient);
  z-index: 10000;
  animation: progress-grow linear;
  animation-timeline: scroll();
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: slide-up 0.6s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
}

/* Header & Navigation (CSS Hamburger Only) */
.artro-top-bar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 999;
  height: 70px;
}

.artro-inner-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 100%;
}

.artro-brand-space {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--artro-font-display);
  font-size: 1.25rem;
  color: var(--artro-muscle-ink);
  font-weight: 800;
}

.artro-brand-space svg {
  fill: var(--artro-motion-accent);
}

.artro-nav-switch {
  display: none;
}

.artro-burger-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.artro-burger-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--artro-muscle-ink);
  border-radius: 3px;
  transition: 0.3s;
}

.artro-bar-links {
  display: flex;
  gap: 32px;
}

.artro-bar-links a {
  text-decoration: none;
  color: var(--artro-muscle-ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.artro-bar-links a:hover {
  color: var(--artro-motion-accent);
}

/* Hero Section */
.artro-hero-stage {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 24px;
}

.artro-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 33, 46, 0.75);
  z-index: 1;
}

.artro-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.artro-hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  text-transform: none;
}

.artro-hero-para {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.artro-link-action {
  display: inline-block;
  padding: 16px 36px;
  background: var(--artro-joint-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--artro-radius-soft);
  font-weight: 700;
  font-family: var(--artro-font-display);
  box-shadow: var(--artro-shadow-raised);
  transition: transform 0.3s, box-shadow 0.3s;
}

.artro-link-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(13, 148, 136, 0.4);
}

/* Bento Grid Features (Preset I) */
.artro-bento-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6dvh 24px;
}

.artro-section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.artro-section-title {
  font-size: 2.25rem;
  color: var(--artro-muscle-ink);
  margin-bottom: 12px;
}

.artro-section-subtitle {
  color: var(--artro-bone-muted);
  font-size: 1.1rem;
}

.artro-bento-grid-outer {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.artro-bento-item {
  background: var(--artro-flex-surface);
  border-radius: var(--artro-radius-soft);
  padding: 2.5rem;
  box-shadow: var(--artro-shadow-raised);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artro-bento-item:hover {
  transform: scale(1.02);
}

.artro-bento-span-4 {
  grid-column: span 4;
  background: var(--artro-joint-gradient);
  color: #ffffff;
}

.artro-bento-span-4 .artro-bento-heading {
  color: #ffffff;
}

.artro-bento-span-4 .artro-bento-para {
  color: rgba(255, 255, 255, 0.9);
}

.artro-bento-span-2 {
  grid-column: span 2;
  text-align: center;
  background: var(--artro-soft-gradient);
}

.artro-bento-span-3 {
  grid-column: span 3;
}

.artro-bento-span-6 {
  grid-column: span 6;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.artro-bento-huge-num {
  font-size: 4rem;
  font-family: var(--artro-font-display);
  font-weight: 900;
  color: var(--artro-motion-accent);
  line-height: 1;
  margin-bottom: 12px;
}

.artro-bento-icon {
  margin-bottom: 20px;
}

.artro-bento-icon svg {
  width: 44px;
  height: 44px;
  fill: var(--artro-motion-accent);
}

.artro-bento-span-4 .artro-bento-icon svg {
  fill: #ffffff;
}

.artro-bento-heading {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--artro-muscle-ink);
}

.artro-bento-para {
  color: var(--artro-bone-muted);
  font-size: 0.95rem;
}

/* Content Section with Overlay (bg2) */
.artro-mid-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 10dvh 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artro-mid-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 33, 46, 0.82);
  z-index: 1;
}

.artro-mid-banner-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 48px;
  border-radius: var(--artro-radius-soft);
  max-width: 800px;
  color: #ffffff;
  text-align: center;
}

/* How It Works (3 Steps) */
.artro-process-block {
  padding: 10dvh 24px;
  background: var(--artro-vital-bg);
}

.artro-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.artro-process-card {
  position: relative;
  background-color: var(--artro-flex-surface);
  border-radius: var(--artro-radius-soft);
  padding: 40px;
  box-shadow: var(--artro-shadow-raised);
  overflow: hidden;
}

.artro-process-watermark {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--artro-font-display);
  color: var(--artro-motion-accent);
  opacity: 0.07;
  line-height: 1;
}

.artro-process-card-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--artro-muscle-ink);
  z-index: 2;
  position: relative;
}

.artro-process-card-para {
  color: var(--artro-bone-muted);
  z-index: 2;
  position: relative;
}

/* CTA Strip */
.artro-action-strip {
  background: var(--artro-joint-gradient);
  color: #ffffff;
  padding: 60px 24px;
  text-align: center;
}

.artro-action-strip-inner {
  max-width: 800px;
  margin: 0 auto;
}

.artro-action-strip-inner h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.artro-action-strip-inner p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.artro-action-strip-inner .artro-link-action {
  background: #ffffff;
  color: var(--artro-motion-accent);
}

/* Footer Section */
.artro-bottom-footer {
  background: var(--artro-contrast-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 24px 30px;
  font-size: 0.9rem;
}

.artro-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.artro-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.artro-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--artro-font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.artro-footer-logo svg {
  fill: var(--artro-motion-accent);
}

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

.artro-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s;
}

.artro-footer-links a:hover {
  color: #ffffff;
}

.artro-disclaimer {
  max-width: 1000px;
  line-height: 1.5;
  margin-bottom: 24px;
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.artro-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Cookie Banner */
.artro-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--artro-contrast-bg);
  color: #ffffff;
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.artro-cookie-banner p {
  font-size: 0.9rem;
  max-width: 800px;
}

.artro-cookie-actions {
  display: flex;
  gap: 12px;
}

.artro-cookie-btn {
  padding: 10px 20px;
  border-radius: var(--artro-radius-soft);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

#accept-cookie {
  background: var(--artro-motion-accent);
  color: #ffffff;
}

#decline-cookie {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.artro-cookie-btn:hover {
  opacity: 0.9;
}

/* Expert Page Layout */
.artro-expert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10dvh 24px;
}

.artro-expert-img-holder {
  border-radius: var(--artro-radius-soft);
  overflow: hidden;
  box-shadow: var(--artro-shadow-raised);
}

.artro-expert-img-holder img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.artro-expert-info {
  display: flex;
  flex-direction: column;
}

.artro-stats-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.artro-stat-mini-card {
  background: var(--artro-flex-surface);
  border-radius: var(--artro-radius-soft);
  padding: 24px;
  box-shadow: var(--artro-shadow-raised);
  text-align: center;
}

.artro-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--artro-motion-accent);
  font-family: var(--artro-font-display);
}

.artro-stat-label {
  font-size: 0.9rem;
  color: var(--artro-bone-muted);
}

/* Reserve Page Layout */
.artro-reserve-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10dvh 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.artro-reserve-side-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.artro-reserve-info-card {
  background: var(--artro-flex-surface);
  border-radius: var(--artro-radius-soft);
  padding: 32px;
  box-shadow: var(--artro-shadow-raised);
}

.artro-reserve-card-badge-list {
  list-style: none;
  margin-top: 16px;
}

.artro-reserve-card-badge-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.artro-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--artro-motion-accent);
  display: inline-block;
  flex-shrink: 0;
}

.artro-form-box {
  background: var(--artro-flex-surface);
  border-radius: var(--artro-radius-soft);
  padding: 40px;
  box-shadow: var(--artro-shadow-raised);
}

.artro-form-headline {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.artro-form-group {
  margin-bottom: 20px;
}

.artro-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.artro-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: inherit;
  font-size: 1rem;
}

.artro-input:focus {
  outline: none;
  border-color: var(--artro-motion-accent);
}

.artro-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--artro-bone-muted);
}

.artro-check-label input {
  margin-top: 3px;
}

.artro-form-btn {
  width: 100%;
  padding: 16px;
  background: var(--artro-joint-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--artro-radius-soft);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
}

.artro-form-btn:hover {
  transform: translateY(-2px);
}

.artro-mailto-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  color: var(--artro-motion-accent);
  text-decoration: none;
  font-weight: 600;
}

/* FAQ Accordion Section */
.artro-faq-section-wrap {
  max-width: 800px;
  margin: 60px auto 0;
}

.artro-faq-item-box {
  background: var(--artro-flex-surface);
  border-radius: var(--artro-radius-soft);
  margin-bottom: 16px;
  padding: 24px;
  box-shadow: var(--artro-shadow-raised);
}

.artro-faq-quest {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--artro-muscle-ink);
  margin-bottom: 12px;
}

.artro-faq-answ {
  color: var(--artro-bone-muted);
  font-size: 0.95rem;
}

/* Static Policy Pages */
.artro-static-document {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px;
}

.artro-static-document h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.artro-static-document h2 {
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.artro-static-document p {
  color: var(--artro-bone-muted);
  margin-bottom: 20px;
}

/* Thank You Page */
.artro-thank-holder {
  text-align: center;
  max-width: 600px;
  margin: 100px auto;
  padding: 40px 24px;
}

.artro-thank-holder h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--artro-motion-accent);
}

.artro-thank-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--artro-radius-soft);
  margin: 30px auto;
  display: block;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .artro-bento-grid-outer {
    grid-template-columns: 1fr;
  }
  .artro-bento-span-4,
  .artro-bento-span-2,
  .artro-bento-span-3,
  .artro-bento-span-6 {
    grid-column: span 6;
  }
  .artro-bento-span-6 {
    flex-direction: column;
    align-items: flex-start;
  }
  .artro-process-grid {
    grid-template-columns: 1fr;
  }
  .artro-expert-grid,
  .artro-reserve-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .artro-burger-icon {
    display: flex;
  }
  .artro-bar-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  }
  .artro-nav-switch:checked ~ .artro-bar-links {
    display: flex;
  }
  .artro-nav-switch:checked ~ .artro-burger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .artro-nav-switch:checked ~ .artro-burger-icon span:nth-child(2) {
    opacity: 0;
  }
  .artro-nav-switch:checked ~ .artro-burger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}