/* Data Wallet Demos - Sales/Demo Site Stylesheet */

:root {
  /* Grey color palette */
  --grey-900: #1a1a1a;
  --grey-800: #2d2d2d;
  --grey-700: #404040;
  --grey-600: #525252;
  --grey-500: #737373;
  --grey-400: #a3a3a3;
  --grey-300: #d4d4d4;
  --grey-200: #e5e5e5;
  --grey-100: #f5f5f5;
  --grey-50: #fafafa;

  /* Green highlights */
  --green-primary: #22c55e;
  --green-hover: #16a34a;
  --green-light: #dcfce7;
  --green-dark: #15803d;

  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-system);
  line-height: 1.6;
  color: var(--grey-800);
  background-color: var(--grey-50);
  font-size: 16px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Headers */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--grey-900);
  margin: 2rem 0 1rem 0;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--grey-800);
  margin: 1.5rem 0 0.75rem 0;
}

/* Paragraphs and text */
p {
  margin-bottom: 1rem;
  color: var(--grey-700);
}

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

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

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

thead {
  background-color: var(--grey-800);
  color: white;
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--grey-200);
}

tbody tr:hover {
  background-color: var(--green-light);
}

/* Code elements */
code {
  font-family: var(--font-mono);
  background-color: var(--grey-200);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--grey-800);
}

/* Horizontal rule */
hr {
  border: none;
  border-top: 2px solid var(--grey-300);
  margin: 3rem 0;
}

/* Demo links styling - specifically for URLs in table cells */
table a[href*="thirdparty.company"] {
  font-weight: 500;
  padding: 0.5rem 1rem;
  background-color: var(--green-light);
  border-radius: 6px;
  display: inline-block;
  transition: all 0.2s ease;
  border: 1px solid var(--green-primary);
}

table a[href*="thirdparty.company"]:hover {
  background-color: var(--green-primary);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

/* Header section */
.header {
  background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-800) 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.header h1 {
  color: white;
  margin-bottom: 1rem;
}

.header p {
  color: var(--grey-300);
  font-size: 1.125rem;
  max-width: 600px;
}

/* Content sections */
.content {
  padding: 0 2rem 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Feature highlights */
.highlight {
  background-color: var(--green-light);
  border-left: 4px solid var(--green-primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}

/* Language badges */
.language-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--grey-700);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  background-color: var(--grey-800);
  color: var(--grey-300);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .container, .content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header {
    padding: 2rem 0;
  }

  table {
    font-size: 0.875rem;
  }

  th, td {
    padding: 0.75rem;
  }
}

/* Utility classes */
.text-center { text-align: center; }
.text-green { color: var(--green-primary); }
.bg-green { background-color: var(--green-primary); color: white; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }