  /* ===================================
   KYC2020 Static HTML/CSS Stylesheet
   ================================== */

/* CSS Variables - Design System */
:root {
  /* Colors - Light Mode (HSL format) */
  --background: 0 0% 100%;
  --foreground: 220 13% 13%;
  --card: 0 0% 100%;
  --card-foreground: 220 13% 13%;
  --primary: 174 65% 41%;
  --primary-foreground: 0 0% 100%;
  --primary-dark: 174 65% 25%;
  --primary-light: 174 60% 95%;
  --secondary: 174 60% 95%;
  --secondary-foreground: 174 65% 25%;
  --muted: 220 13% 95%;
  --muted-foreground: 220 9% 46%;
  --accent: 39 100% 57%;
  --accent-foreground: 220 13% 13%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 174 65% 41%;
  --radius: 0.5rem;
}

/* Dark Mode Colors */
.dark {
  --background: 220 13% 13%;
  --foreground: 0 0% 95%;
  --card: 220 13% 18%;
  --card-foreground: 0 0% 95%;
  --primary: 174 65% 41%;
  --primary-foreground: 0 0% 100%;
  --primary-dark: 174 65% 25%;
  --primary-light: 174 30% 20%;
  --secondary: 220 13% 25%;
  --secondary-foreground: 0 0% 95%;
  --muted: 220 13% 25%;
  --muted-foreground: 220 9% 65%;
  --accent: 39 100% 57%;
  --accent-foreground: 220 13% 13%;
  --destructive: 0 62.8% 45%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 25%;
  --input: 220 13% 25%;
  --ring: 174 65% 41%;
}

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



/* Utility Classes */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 1280px;
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

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

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

/* Text Utilities */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
  font-size: 1.17em

}

.font-bold {
  font-weight: 700;
}

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

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

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

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

.text-primary-foreground, .text-primary-foreground span {
  color: hsl(var(--primary-foreground)) !important;
}

.text-destructive {
  color: hsl(var(--destructive));
}

.text-green-500 {
  color: #22c55e;
}

/* Spacing Utilities */
.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Width & Height */
.w-full {
  width: 100%;
}

.w-4 {
  width: 1rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.h-4 {
  height: 1rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-lg {
  max-width: 32rem;
}

/* Border & Radius */
.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-border {
  border-color: hsl(var(--border));
}

/* Background Utilities */
.bg-background {
  background-color: hsl(var(--background));
}

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

.bg-primary-dark {
  background-color: hsl(var(--primary-dark));
}

.bg-primary-light {
  background-color: hsl(var(--primary-light));
}

.bg-secondary {
  background-color: hsl(var(--secondary));
}

.bg-muted {
  background-color: hsl(var(--muted));
}

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

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

.bg-destructive {
  background-color: hsl(var(--destructive));
}

.bg-green-500 {
  background-color: #22c55e;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--background)) 100%);
}

/* Opacity */
.opacity-10 {
  opacity: 0.1;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-90 {
  opacity: 0.9;
}

/* Component Styles */

/* Header */
header {
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
}

header .header-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  text-decoration: none;
}

header nav {
  display: none;
}

@media (min-width: 768px) {
  header nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  height: 2.5rem;
}

.btn-default:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.5rem 1rem;
  height: 2.5rem;
}

.btn-secondary:hover {
  background-color: hsl(var(--secondary) / 0.8);
}

.btn-outline {
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 0.5rem 1rem;
  height: 2.5rem;
}

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

.btn-ghost {
  color: hsl(var(--foreground));
  padding: 0.5rem 1rem;
  height: 2.5rem;
}

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

.btn-accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  padding: 0.5rem 1rem;
  height: 2.5rem;
}

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

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
  font-size: 1rem;
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.card-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.card-content {
  padding: 1.5rem;
}

/* Form Elements */
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.form-input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring));
}

.form-input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.form-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.form-textarea {
  min-height: 5rem;
  resize: vertical;
}

.form-select {
  height: 2.5rem;
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring));
}

.form-checkbox {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid hsl(var(--primary));
  cursor: pointer;
}

.form-checkbox:checked {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.form-error {
  font-size: 0.875rem;
  color: hsl(var(--destructive));
  margin-top: 0.25rem;
}

/* Password Field */
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  padding: 0;
  display: flex;
  align-items: center;
}

.password-toggle:hover {
  color: hsl(var(--foreground));
}

/* Icons */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

/* Gradients */
.gradient-hero {
  background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--background)) 100%);
}

/* Grid Utilities */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Flex Utilities */
.flex-shrink-0 {
  flex-shrink: 0;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }
  
  .lg\:w-1\/2 {
    width: 50%;
  }
  
  .lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  
  .lg\:p-16 {
    padding: 4rem;
  }
  
  .lg\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* Aspect Ratio */
.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* SVG Icons Styling */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* Utility for Read-only inputs */
.read-only {
  background-color: hsl(var(--muted));
  cursor: not-allowed;
}

/* Success State */
.success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background-color: rgba(34, 197, 94, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Error State */
.error-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: hsl(var(--destructive) / 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Two Column Layout */
.two-col-layout {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem);
}

@media (min-width: 1024px) {
  .two-col-layout {
    flex-direction: row;
  }
}