/*
 * VECTRYS API — Landing Page Styles
 * Aligned with Divine Luminance graphic charter.
 */

:root {
    --v-gold: #d4a853;
    --v-gold-gradient: linear-gradient(135deg, #d4a853, #fcd34d, #b8860b);
    --v-void: #05080d;
    --v-obsidian: #0d1220;
    --v-surface: #121828;
    --v-text-primary: #f1f5f9;
    --v-text-secondary: #94a3b8;
    --v-glass-border: rgba(255, 255, 255, 0.055);
    --v-glass-bg: rgba(15, 23, 42, 0.9);
}

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

body {
    font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
    color: var(--v-text-primary);
    background-color: var(--v-void);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

nav {
    height: 64px;
    background: rgba(5, 8, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--v-glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-content {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.nav-logo {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--v-gold);
}

.nav-links a {
    text-decoration: none;
    color: var(--v-text-secondary);
    font-size: 13px;
    font-weight: 500;
    margin-left: 32px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--v-gold);
}

header {
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background glow */
header::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.hero-title {
    font-size: clamp(48px, 10vw, 84px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: var(--v-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(20px, 4vw, 24px);
    color: var(--v-text-secondary);
    font-weight: 400;
    max-width: 760px;
    margin: 0 auto 48px;
}

.cta-button {
    display: inline-block;
    background: var(--v-gold-gradient);
    color: var(--v-void);
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
}

.section {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.card {
    background: var(--v-surface);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--v-glass-border);
    transition: transform 0.3s cubic-bezier(0, 0, 0.5, 1), border-color 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 83, 0.3);
}

.card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--v-gold);
}

.card p {
    color: var(--v-text-secondary);
    font-size: 17px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.card a {
    color: var(--v-gold);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
}

.card a:hover {
    text-decoration: underline;
}

.code-block {
    background: #000000;
    border-radius: 16px;
    padding: 32px;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 14px;
    overflow-x: auto;
    margin: 48px auto;
    max-width: 800px;
    text-align: left;
    border: 1px solid var(--v-glass-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.code-keyword {
    color: #f472b6;
}

.code-string {
    color: #34d399;
}

.code-comment {
    color: #64748b;
}

footer {
    padding: 80px 24px;
    border-top: 1px solid var(--v-glass-border);
    color: var(--v-text-secondary);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    header {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}