/* ==========================================================================
   Soulform Design System — CSS Custom Properties
   Derived from src/theme/ (colors.ts, typography.ts, spacing.ts, index.ts)
   
   This file mirrors the React Native design system for web use.
   When app theme values change, update these CSS variables accordingly.
   ========================================================================== */

/* ---------- Custom Properties (Design Tokens) ---------- */
:root {
  /* Core UI Colors — from src/theme/colors.ts (palette) */
  --color-primary: #5f5bae; /* coolIndigo — buttons, links, icons */
  --color-secondary: #2d6a7a; /* blueTeal — headers, dividers */
  --color-background: #faf9f6; /* pearlWhite — default background */
  --color-surface: #ffffff; /* pureWhite — cards, elevated surfaces */
  --color-text-primary: #1a1a1a; /* darkCharcoal */
  --color-text-secondary: #2b2d42; /* charcoalNavy */
  --color-text-tertiary: #9ca3af; /* gray-400 */
  --color-warning: #ff6b6b; /* serenityCoral */
  --color-accent: #a7bca1; /* sageGreen */
  --color-error: #ef4444;
  --color-border: #e5e7eb; /* gray-200 */
  --color-button-text: #ffffff;

  /* Spiritual Stage Colors — from src/theme/colors.ts (palette) */
  --stage-magenta: #9a4c84;
  --stage-red: #d1695e;
  --stage-amber: #e09752;
  --stage-orange: #ebae47;
  --stage-green: #6cbf68;
  --stage-teal: #5c9ba6;
  --stage-violet: #8571c1;

  /* Stage Light Tints */
  --stage-magenta-light: #e5d4e0;
  --stage-red-light: #f5e3e1;
  --stage-amber-light: #f8ebe0;
  --stage-orange-light: #fcf3dd;
  --stage-green-light: #b5e5b3;
  --stage-teal-light: #d9eef2;
  --stage-violet-light: #e8e3f0;

  /* Typography — from src/theme/typography.ts */
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:
    "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px; /* body */
  --text-lg: 18px;
  --text-xl: 20px; /* scripture */
  --text-2xl: 24px;
  --text-3xl: 32px; /* heading */
  --text-4xl: 40px;
  --text-5xl: 48px;

  /* Spacing — from src/theme/spacing.ts */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;

  /* Border Radius — from src/theme/index.ts (shape) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
  --nav-height: 64px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-secondary);
}

h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
}
h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}
h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}
h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

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

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

/* ---------- Layout Containers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.content-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
}

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

.section-alt {
  padding: var(--space-xxl) 0;
  background-color: var(--color-surface);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo-icon {
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.nav-logo:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 5px 0;
  transition: transform 0.3s ease;
}

/* ---------- Hero Section ---------- */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-xxl));
  padding-bottom: var(--space-xxl);
  text-align: center;
}

.hero h1 {
  font-size: var(--text-5xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-tertiary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-button-text);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: #4e4a9a;
  color: var(--color-button-text);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-button-text);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-button-text);
}

.btn-secondary:hover {
  background-color: #245a68;
  color: var(--color-button-text);
  text-decoration: none;
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  line-height: 1.6;
}

/* ---------- Stage Colors Bar ---------- */
.stage-bar {
  display: flex;
  height: 6px;
  border-radius: var(--radius-round);
  overflow: hidden;
  margin: var(--space-lg) 0;
}

.stage-bar span {
  flex: 1;
}

/* ---------- Pricing Section ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  align-items: start;
}

.pricing-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-button-text);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-round);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: var(--space-md) 0 var(--space-xs);
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-md);
}

.pricing-savings {
  display: inline-block;
  background-color: var(--stage-green-light);
  color: #3b7138;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-round);
  margin-bottom: var(--space-md);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: var(--space-lg) 0;
}

.pricing-features li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: "✓";
  color: var(--stage-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- How It Works ---------- */
.steps {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  counter-reset: step;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-button-text);
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.step h3 {
  font-family: var(--font-ui);
  font-weight: 600;
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* ---------- Testimonials / Trust ---------- */
.trust-section {
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.trust-badge-icon {
  font-size: 32px;
}

.trust-badge-text {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-text-secondary);
  color: var(--color-background);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--color-background);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo-icon {
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(250, 249, 246, 0.7);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-background);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(250, 249, 246, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-background);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 249, 246, 0.15);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(250, 249, 246, 0.5);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: rgba(250, 249, 246, 0.5);
}

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

/* ---------- Legal Pages ---------- */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xxl);
}

.legal-page h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.legal-meta {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.legal-page h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.legal-page h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-lg);
}

.legal-page ul,
.legal-page ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-page li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  font-size: var(--text-sm);
}

.legal-page th,
.legal-page td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.legal-page th {
  font-family: var(--font-ui);
  font-weight: 600;
  background-color: var(--color-background);
  color: var(--color-text-secondary);
}

.legal-toc {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.legal-toc h2 {
  font-size: var(--text-lg);
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-toc ol {
  margin-bottom: 0;
}

.legal-toc li {
  margin-bottom: var(--space-xs);
}

.legal-toc a {
  font-size: var(--text-sm);
}

/* ---------- 404 Page ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}

.error-page h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.error-page p {
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-xl);
}

/* ---------- Responsive Design ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-card.featured {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .steps {
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 calc(50% - var(--space-lg));
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --text-5xl: 36px;
    --text-4xl: 30px;
    --text-3xl: 26px;
    --text-2xl: 22px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section,
  .section-alt {
    padding: var(--space-xl) 0;
  }

  /* Preserve hero top padding to clear fixed nav */
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
  }

  /* Mobile navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--color-surface);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: var(--space-sm);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: var(--space-sm) var(--space-md);
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    max-width: 100%;
  }

  .steps {
    flex-direction: column;
  }

  .step {
    flex: none;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-page table {
    display: block;
    overflow-x: auto;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  /* Hide non-content elements */
  .nav,
  .nav-toggle,
  .hero-cta,
  .footer,
  .btn,
  .stage-bar,
  .legal-toc a::after {
    display: none !important;
  }

  /* Reset page layout */
  body {
    background: white;
    color: black;
    font-size: 11pt;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }

  /* Remove page padding that was clearing fixed nav */
  .legal-page {
    padding-top: 0;
  }

  /* Optimize headings for print */
  h1 {
    font-size: 20pt;
    margin-bottom: 6pt;
    color: black;
  }

  h2 {
    font-size: 16pt;
    margin-top: 18pt;
    margin-bottom: 8pt;
    color: black;
    border-top: 1px solid #ccc;
    padding-top: 8pt;
    page-break-after: avoid;
  }

  h3 {
    font-size: 13pt;
    margin-top: 12pt;
    color: black;
    page-break-after: avoid;
  }

  /* Legal metadata */
  .legal-meta {
    font-size: 9pt;
    color: #444;
    border-bottom: 1px solid #ccc;
    margin-bottom: 12pt;
    padding-bottom: 8pt;
  }

  /* Table of contents */
  .legal-toc {
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 12pt;
    margin-bottom: 16pt;
    page-break-inside: avoid;
  }

  /* Links: show URL after link text */
  a {
    color: black;
    text-decoration: underline;
  }

  a[href^="http"]::after,
  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
    word-break: break-all;
  }

  /* Don't show URL for internal anchor links */
  a[href^="#"]::after {
    content: none;
  }

  /* Tables */
  .legal-page table {
    width: 100%;
    border-collapse: collapse;
    font-size: 9pt;
    page-break-inside: avoid;
  }

  .legal-page th,
  .legal-page td {
    border: 1px solid #ccc;
    padding: 4pt 6pt;
  }

  .legal-page th {
    background: #eee;
    font-weight: bold;
  }

  /* Lists */
  .legal-page ul,
  .legal-page ol {
    padding-left: 20pt;
  }

  .legal-page li {
    font-size: 10pt;
    margin-bottom: 3pt;
  }

  /* Paragraphs */
  p {
    font-size: 10pt;
    orphans: 3;
    widows: 3;
  }

  /* Page breaks */
  section {
    page-break-inside: avoid;
  }

  /* Container width */
  .container {
    max-width: 100%;
    padding: 0;
  }

  /* Images */
  img {
    max-width: 100%;
    page-break-inside: avoid;
  }

  /* Print header for legal documents */
  .legal-page h1::before {
    content: "Soulform LLC — ";
    font-size: 12pt;
    font-weight: normal;
    color: #666;
    display: block;
    margin-bottom: 2pt;
  }
}

/* ---------- Utility Classes ---------- */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mt-sm {
  margin-top: var(--space-sm);
}
.mt-md {
  margin-top: var(--space-md);
}
.mt-lg {
  margin-top: var(--space-lg);
}
.mt-xl {
  margin-top: var(--space-xl);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
