/* =====================================================
   EIGEN EXCHANGE - Main Styles
   Anduril Design System
   ===================================================== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A0A;
    color: #E8E8E8;
}

/* Typography utility classes for Tailwind */
.text-display { @apply text-[64px] leading-[1.1] tracking-tight font-bold; }
.text-h1 { @apply text-[48px] leading-[1.15] tracking-tight font-semibold; }
.text-h2 { @apply text-[36px] leading-[1.2] tracking-tighter font-semibold; }
.text-h3 { @apply text-[24px] leading-[1.3] tracking-tighter font-semibold; }
.text-h4 { @apply text-[20px] leading-[1.4] font-medium; }
.text-body-large { @apply text-[18px] leading-[1.6]; }
.text-body { @apply text-[16px] leading-[1.6]; }
.text-body-small { @apply text-[14px] leading-[1.5]; }
.text-caption { @apply text-[12px] leading-[1.4]; }
.text-mono { @apply text-[14px] leading-[1.5] font-mono; }

/* Typography Scale */
.text-display {
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.text-h1 {
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.text-h2 {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.text-h3 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.text-h4 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
}

.text-body-large {
    font-size: 18px;
    line-height: 1.6;
}

.text-body {
    font-size: 16px;
    line-height: 1.6;
}

.text-body-small {
    font-size: 14px;
    line-height: 1.5;
}

.text-caption {
    font-size: 12px;
    line-height: 1.4;
}

.text-mono {
    font-size: 14px;
    line-height: 1.5;
    font-family: 'JetBrains Mono', monospace;
}

/* Grid Pattern (Subtle) */
.grid-pattern {
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Card/Panel Component */
.card {
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 4px;
    padding: 24px;
    transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    background: #222222;
    border-color: #333333;
}

/* Typography Scale - Direct CSS (for when Tailwind classes aren't available) */
.text-display {
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.text-h1 {
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.text-h2 {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.text-h3 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.text-h4 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
}

.text-body-large {
    font-size: 18px;
    line-height: 1.6;
}

.text-body {
    font-size: 16px;
    line-height: 1.6;
}

.text-body-small {
    font-size: 14px;
    line-height: 1.5;
}

.text-caption {
    font-size: 12px;
    line-height: 1.4;
}

.text-mono {
    font-size: 14px;
    line-height: 1.5;
    font-family: 'JetBrains Mono', monospace;
}

.card-large {
    padding: 32px;
}

/* Button Components */
.btn-primary {
    background: #4A9EFF;
    color: #0A0A0A;
    border: none;
    border-radius: 2px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-secondary {
    background: transparent;
    color: #E8E8E8;
    border: 1px solid #2A2A2A;
    border-radius: 2px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #1A1A1A;
    border-color: #333333;
}

.btn-tertiary {
    background: transparent;
    color: #4A9EFF;
    border: none;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: text-decoration 200ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-tertiary:hover {
    text-decoration: underline;
}

/* Link Styles */
a {
    color: #4A9EFF;
    text-decoration: none;
    transition: text-decoration 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    text-decoration: underline;
}

/* Divider */
.divider {
    height: 1px;
    background: #2A2A2A;
    border: none;
}

/* =====================================================
   ANIMATIONS - Tactical & Controlled
   ===================================================== */

/* Ticker Scroll */
.ticker-scroll {
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Subtle Pulse (for status indicators) */
@keyframes pulse-subtle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.pulse-subtle {
    animation: pulse-subtle 2s ease-in-out infinite;
}

/* Standard Transition */
.transition-tactical {
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
