@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    scroll-behavior: smooth;
  }

  body {
    @apply bg-cds-bg text-cds-text font-sans antialiased;
  }

  h1, h2, h3, h4 {
    @apply text-cds-text font-semibold tracking-tight;
  }

  h1 {
    @apply text-4xl md:text-6xl leading-tight;
  }

  h2 {
    @apply text-3xl md:text-4xl leading-tight;
  }

  h3 {
    @apply text-xl md:text-2xl;
  }

  p {
    @apply text-cds-muted leading-7;
  }

  a {
    @apply text-cds-accent hover:text-cds-brandDark transition-colors;
  }
}

@layer components {
  .cds-container {
    @apply max-w-7xl mx-auto px-6 lg:px-8;
  }

  .cds-section {
    @apply py-20 md:py-28;
  }

  .cds-section-soft {
    @apply bg-cds-surface;
  }

  .cds-eyebrow {
    @apply text-sm font-semibold uppercase tracking-widest text-cds-oracle;
  }

  .cds-heading {
    @apply mt-3 text-cds-text;
  }

  .cds-lede {
    @apply mt-6 max-w-3xl text-lg md:text-xl text-cds-muted leading-8;
  }

  .cds-card {
    @apply rounded-cds bg-white border border-cds-border shadow-cds p-8 transition-all duration-200;
  }

  .cds-card-hover {
    @apply hover:-translate-y-1 hover:shadow-cds-hover;
  }

  .cds-button-primary {
    @apply inline-flex items-center justify-center rounded-[10px] bg-cds-brand px-6 py-3 text-sm font-semibold text-white shadow-sm transition-all hover:bg-cds-brandDark hover:text-white;
  }

  .cds-button-secondary {
    @apply inline-flex items-center justify-center rounded-[10px] border border-cds-brand bg-white px-6 py-3 text-sm font-semibold text-cds-brand transition-all hover:bg-cds-surface hover:text-cds-brandDark;
  }

  .cds-pill {
    @apply inline-flex items-center rounded-full border border-cds-border bg-white px-4 py-1.5 text-sm font-medium text-cds-muted;
  }

  .cds-oracle-rule {
    @apply h-1 w-16 rounded-full bg-cds-oracle;
  }

  .cds-grid-4 {
    @apply grid gap-6 md:grid-cols-2 lg:grid-cols-4;
  }

  .cds-grid-2 {
    @apply grid gap-8 lg:grid-cols-2;
  }

  .cds-project-card {
    @apply rounded-cds-lg border border-cds-border bg-white p-8 shadow-cds;
  }

  .cds-muted-box {
    @apply rounded-cds bg-cds-surfaceSoft border border-cds-border p-6;
  }
}
.cds-site-header {
    background: #ffffff;
    border-bottom: 1px solid #D9E2EC;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  .cds-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  
  .cds-logo {
    font-weight: 700;
    color: #243447;
    text-decoration: none;
  }
  
  .cds-nav-links {
    display: flex;
    gap: 28px;
  }
  
  .cds-nav-links a {
    color: #5F6C7B;
    font-weight: 500;
    text-decoration: none;
  }
  
  .cds-nav-links a:hover {
    color: #2F4F6F;
  }
  
  .cds-hero {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #F7FAFC 100%);
  }
  
  .cds-button-row {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .cds-mt-lg {
    margin-top: 48px;
  }
  
  .cds-footer {
    border-top: 1px solid #D9E2EC;
    padding: 32px 0;
    background: #F5F8FB;
  }
  
  .cds-footer p {
    margin: 0;
    color: #5F6C7B;
    font-size: 14px;
  }
  
  @media (max-width: 768px) {
    .cds-nav {
      align-items: flex-start;
      flex-direction: column;
      height: auto;
      padding-top: 20px;
      padding-bottom: 20px;
      gap: 14px;
    }
  
    .cds-nav-links {
      flex-wrap: wrap;
      gap: 16px;
    }
  
    .cds-hero {
      padding: 80px 0;
    }
  }