/* Exchequer Brand Guidelines CSS */

/* Import the required fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  /* Primary Colors */
  --aquamarine: #66DDAA;
  --teal: #008080;
  --violet: #A666FF;
  --purple: #522D80;
  --gold: #E8C447;
  --anthracite-grey: #E3E5E5;
  --bronze: #333033;
  --yellow: #CC8C1F;
  
  /* Functional Colors */
  --primary: var(--teal);
  --primary-light: var(--aquamarine);
  --secondary: var(--gold);
  --accent: var(--violet);
  --accent-dark: var(--purple);
  
  /* Background Colors */
  --background-light: var(--anthracite-grey);
  --background-dark: var(--bronze);
  --card-bg: rgba(51, 48, 51, 0.8);
  
  /* Text Colors */
  --text-light: #FFFFFF;
  --text-dark: var(--bronze);
  --text-dim: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  
  /* UI Elements */
  --border-light: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  /* Status Colors */
  --success: var(--aquamarine);
  --warning: var(--gold);
  --error: #EB5757;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--aquamarine) 0%, var(--teal) 100%);
  --gradient-secondary: linear-gradient(45deg, var(--violet) 0%, var(--purple) 100%);
  
  /* Award Colors */
  --award-gold: var(--gold);
  --award-silver: var(--anthracite-grey);
  --award-bronze: var(--yellow);
}

/* Typography */
body {
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 500;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}

p {
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  margin-bottom: 1rem;
}

.light-text {
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
}

blockquote {
  font-family: 'Public Sans', sans-serif;
  font-style: italic;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
}

.caption {
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-dim);
}

ul, ol {
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

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

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232, 196, 71, 0.3);
}

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

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(166, 102, 255, 0.3);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Card Styles */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Form Elements */
.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-light);
  font-family: 'Public Sans', sans-serif;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(102, 221, 170, 0.2);
}

/* Effects */
.pulse-effect {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 128, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 128, 128, 0);
  }
}

.glow-effect {
  box-shadow: 0 0 10px rgba(232, 196, 71, 0.5);
}

.glow-effect:hover {
  box-shadow: 0 0 20px rgba(232, 196, 71, 0.8);
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--background-dark);
  overflow: hidden;
}

.checkered-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, rgba(232, 196, 71, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(232, 196, 71, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(232, 196, 71, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(232, 196, 71, 0.05) 75%);
  background-size: 50px 50px;
  background-position: 0 0, 0 25px, 25px -25px, -25px 0px;
  animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0, 0 25px, 25px -25px, -25px 0px;
  }
  100% {
    background-position: 50px 50px, 50px 75px, 75px 25px, 25px 50px;
  }
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Public Sans', sans-serif;
}

.badge-success {
  background: var(--success);
  color: var(--text-dark);
}

.badge-warning {
  background: var(--warning);
  color: var(--text-dark);
}

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

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

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

.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

/* Navigation Styles */
.site-header {
  background: var(--background-dark);
  border-bottom: 1px solid var(--border-light);
}

.nav-link {
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  background: var(--gradient-primary);
}

.connect-wallet {
  background: var(--gradient-primary);
  color: var(--text-dark);
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
}

/* Note Card Specific Styles */
.note-card .status-badge.offering {
  background: var(--warning);
  color: var(--text-dark);
}

.note-card .status-badge.pre-offering {
  background: var(--primary);
  color: var(--text-light);
}

.note-card .status-badge.matured {
  background: var(--success);
  color: var(--text-dark);
}

.note-card .status-badge.sold {
  background: var(--error);
  color: var(--text-light);
}

.note-card .note-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
}

.note-card .note-issuer {
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
}

.note-card .detail-label {
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.note-card .detail-value {
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
}

/* Footer Styles */
.site-footer {
  background: var(--background-dark);
  border-top: 1px solid var(--border-light);
}

.footer-section h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
}

.footer-section a {
  font-family: 'Public Sans', sans-serif;
  font-weight: 400;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-bottom p {
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
} 