:root {
  --color-primary: #1a1a2e;
  --color-secondary: #16213e;
  --color-accent: #ff6b6b;
  --color-accent-hover: #ff5252;
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --color-bg: #f8f9fa;
  --color-white: #ffffff;
  --color-border: #dfe6e9;
  --color-success: #00b894;
  --color-warning: #fdcb6e;
  --color-error: #d63031;

  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 12px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-light);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

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

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

.btn-accent {
  background: var(--color-accent);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-light {
  color: var(--color-text-light);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-grid {
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.info-item p {
  margin: 0;
  color: var(--color-text-light);
}

.hours-grid {
  margin-top: 1rem;
}

.hours-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.hours-item:last-child {
  border-bottom: none;
}

.enterprise-note {
  padding: 1rem;
  background: rgba(255, 107, 107, 0.1);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--border-radius-sm);
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icons .social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--color-bg);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.social-icons .social-link:hover {
  background: var(--color-accent);
  color: white;
  transform: translateX(5px);
}

.social-icons .icon {
  font-size: 1.25rem;
  font-weight: 700;
}

.code-block {
  background: var(--color-primary);
  color: #f8f8f2;
  padding: 1rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 1rem 0;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
}

.code-example pre {
  margin: 0;
}

.code-example code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
}

.endpoint-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.endpoint-method {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-success);
  color: white;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.endpoint-path {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.endpoint-card h3 {
  margin-bottom: 0.5rem;
}

.quickstart-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.step-card {
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.timeline-wrapper {
  max-width: 800px;
  margin: 2rem auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.timeline-year {
  width: 100px;
  padding: 0.75rem;
  background: var(--color-accent);
  color: white;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.team-member {
  padding: 2rem;
}

.member-avatar {
  width: 100px;
  height: 100px;
  background: var(--color-bg);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.member-title {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.member-bio {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.logo-placeholder {
  padding: 2rem;
  background: var(--color-bg);
  border-radius: var(--border-radius);
  font-weight: 600;
  color: var(--color-text-light);
}

.security-note {
  padding: 1rem;
  background: rgba(253, 203, 110, 0.2);
  border-left: 3px solid var(--color-warning);
  border-radius: var(--border-radius-sm);
}
