/* ========================================================
   GYLP Core Design System (Centralized)
   Shared tokens, typography, colors, and components.
   Used by root + deploy/ staging copies. Page <style> blocks
   contain only page-specific overrides.
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap');

:root {
    --power-orange: #EF821E;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
}

.heading-font {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* Color System */
.dark-bg { background-color: #0D0D0D; }
.section-bg { background-color: #161616; }
.card-bg { background-color: #1A1A1A; }

.text-primary { color: #FFFFFF; }
.text-secondary { color: #B8B8B8; }
.text-tertiary { color: #888888; }

.accent-orange { color: #EF821E; }
.bg-accent-orange { background-color: #EF821E; }
.border-subtle { border-color: #2A2A2A; }

/* Navigation */
.nav-link { transition: color 0.2s ease; }
.nav-link:hover { color: #EF821E; }

.nav-scrolled {
    background-color: rgba(13,13,13,0.95);
    backdrop-filter: blur(12px);
}

/* Buttons - Critical hover states */
.btn-primary {
    background-color: #EF821E;
    color: #0D0D0D;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background-color: #D97706;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2);
}

.btn-secondary {
    background-color: #0D0D0D;
    color: #FFFFFF;
    border: 2px solid #2A2A2A;
    transition: all 0.2s ease;
}
.btn-secondary:hover {
    background-color: #161616;
    border-color: #EF821E;
    color: #EF821E;
}

/* Common Layout */
.section { padding-top: 5rem; padding-bottom: 5rem; }

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(13,13,13,0.35) 0%,
        rgba(13,13,13,0.75) 65%,
        rgba(13,13,13,0.95) 100%
    );
}

.product-card {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
                box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px -15px rgb(0 0 0 / 0.5);
}

/* ========================================
   Custom refinements for GYLP premium dark theme - Phase 1
   ======================================== */

/* Additional focus states for accessibility */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid #EF821E;
    outline-offset: 3px;
}

/* Subtle animation for trust bar numbers */
.stat-number {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

section:hover .stat-number {
    transform: translateY(-1px);
}

/* Better table-like technical text */
.technical-text {
    font-variant-numeric: tabular-nums;
}

/* Video placeholder styling for future use */
.video-placeholder {
    background: #111;
    position: relative;
}

.video-placeholder::after {
    content: "VIDEO PLACEHOLDER — See prompts/VIDEOS.md";
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #555;
    background: rgba(0,0,0,0.6);
    padding: 2px 8px;
    border-radius: 2px;
}

/* Ensure excellent contrast on all states */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #EF821E;
}

/* Print styles (rarely used but good practice) */
@media print {
    .dark-bg, .section-bg, .card-bg {
        background: white !important;
        color: black !important;
    }
}

/* ========================================
   Recommended type scale conventions (GYLP dark technical B2B)
   Use these to avoid arbitrary px values and role collisions on text sizing.
   Core tokens live here; page styles only for true overrides (e.g. .lse-table th).
   Added post UI/UX review for consistency on large-format-lse-cells.html (and future pages).
   ======================================== */
/*
   - Eyebrow / label (sections, cards, table groups): uppercase text-xs tracking-[2px] text-[#EF821E] font-medium
   - Caption / source / table note / disclaimer: text-xs text-tertiary
   - Body / card body / list item / tile desc: text-sm text-secondary (add leading-relaxed for dense copy)
   - Subhead (h3, table titles): text-xl font-semibold tracking-tight
   - Lead / prominent body: text-xl text-secondary (or text-lg in constrained columns)
   - Data cells (spec tables): text-xs text-secondary
   - Avoid text-[15px] and text-[10px] except for extreme micro (logo est., gen badges in narrow th) and addresses.
*/

 /* ========================================
   Contact / Lead Capture Form Styles
   Dark theme, high-contrast, aerospace B2B
   ======================================== */

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #B8B8B8;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: #161616;
    border: 1px solid #2A2A2A;
    color: #FFFFFF;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #EF821E;
    box-shadow: 0 0 0 3px rgba(239, 130, 30, 0.15);
    background-color: #1A1A1A;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.1em;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-checkbox {
    accent-color: #EF821E;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.form-error {
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

/* Success state panel */
.form-success {
    background-color: #111;
    border: 1px solid #2A2A2A;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.form-success-icon {
    width: 56px;
    height: 56px;
    background: #052e16;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.form-success-icon svg {
    width: 32px;
    height: 32px;
    color: #4ade80;
}

/* Fieldset / section divider for form */
.form-section-title {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #EF821E;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2A2A2A;
}
