/* ===========================
   ALMG Website Styles
   bradleyshields.com
   =========================== */

/* CSS Variables - OMEGA LUXURY EDITION */
:root {
    /* Orange: Used sparingly, maximum impact */
    --signature-orange: #FF6B35;
    --orange-glow: rgba(255, 107, 53, 0.15);
    
    /* Blacks & Grays: Precision hierarchy */
    --pure-black: #000000;
    --deep-black: #050505;
    --charcoal: #0a0a0a;
    --smoke: #121212;
    --slate: #1a1a1a;
    --ash: #252525;
    
    /* Text: Platinum precision */
    --text-primary: #ffffff;
    --text-platinum: #b8b8b8;
    --text-silver: #888888;
    --text-ghost: #555555;
    --text-whisper: #333333;
    
    /* Borders: Barely visible, surgical */
    --border-subtle: rgba(255, 255, 255, 0.03);
    --border-visible: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 107, 53, 0.15);
    
    /* Typography: Refined hierarchy */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing: Luxury = breathing room */
    --space-xs: 0.75rem;
    --space-sm: 1.5rem;
    --space-md: 3rem;
    --space-lg: 6rem;
    --space-xl: 9rem;
    --space-xxl: 12rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--pure-black);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Subtle Background - Barely Perceptible */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 40%, rgba(255, 107, 53, 0.02) 0%, transparent 60%),
        radial-gradient(circle at 85% 70%, rgba(255, 107, 53, 0.015) 0%, transparent 60%);
    pointer-events: none;
    animation: subtlePulse 30s ease-in-out infinite;
    z-index: 0;
    opacity: 0.6;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

/* Navigation - Precision Luxury */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--signature-orange);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-silver);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--signature-orange);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section - Omega Luxury */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12rem 4rem 8rem;
    z-index: 1;
}

.hero-content {
    max-width: 1100px;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: var(--font-display);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-platinum);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.6;
}

.hero-tagline {
    margin: 4rem 0;
}

.hero-tagline p {
    font-size: 1.15rem;
    color: var(--text-silver);
    margin: 1rem 0;
    font-weight: 400;
}

.hero-tagline .emphasis {
    font-size: 1.3rem;
    color: var(--signature-orange);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Coordinate Visualization - Subtle Elegance */
.coordinate-visual {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: 280px;
    opacity: 0.15;
}

.axis-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.axis {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-ghost);
    letter-spacing: 0.05em;
}

.x-axis {
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--signature-orange);
}

.y-axis {
    left: 0;
    top: 0;
    height: 100%;
    border-left: 1px solid var(--signature-orange);
}

.z-axis {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 70%;
    border-top: 1px dashed var(--signature-orange);
    opacity: 0.5;
}

.axis-label {
    font-weight: 600;
    color: var(--signature-orange);
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
}

.coordinate-point {
    position: absolute;
    top: 40%;
    left: 60%;
    width: 8px;
    height: 8px;
    background: var(--signature-orange);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

/* Buttons - Precision Luxury */
.cta-buttons,
.cta-buttons-center {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.02em;
}

/* Primary: The ONLY orange button per page */
.btn-primary {
    background: var(--signature-orange);
    color: var(--pure-black);
    border: 1px solid var(--signature-orange);
    font-weight: 600;
}

.btn-primary:hover {
    background: transparent;
    color: var(--signature-orange);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px var(--signature-orange);
}

/* Secondary: Subtle ghost button */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-visible);
}

.btn-secondary:hover {
    background: var(--smoke);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

/* Outline: Most subtle */
.btn-outline {
    background: transparent;
    color: var(--text-silver);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--border-visible);
}

.btn-primary-large,
.btn-secondary-large {
    padding: 1.3rem 3.5rem;
    font-size: 1rem;
}

/* Content Container - More Space */
.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Sections - Luxury Spacing */
section {
    position: relative;
    padding: var(--space-xl) 0;
    z-index: 1;
}

section h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.section-intro,
.section-outro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-platinum);
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    font-weight: 300;
}

.section-outro {
    margin-top: 4rem;
    margin-bottom: 0;
}

/* Demo Section */
.demo-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.video-container iframe {
    display: block;
}

.video-container-small {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.video-caption {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Pointer Section */
.pointer-section {
    background: var(--bg-elevated);
}

.pointer-explanation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.pointer-col h3 {
    font-size: 1.8rem;
    color: var(--signature-orange);
    margin-bottom: 1rem;
}

.pointer-col p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.code-example {
    background: var(--bg-black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.code-example pre {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Innovation Grid - Refined Luxury */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.innovation-card {
    background: var(--slate);
    border: 1px solid var(--border-subtle);
    border-radius: 0;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.innovation-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-visible);
    background: var(--ash);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.innovation-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.innovation-card p {
    color: var(--text-platinum);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Scrolls Preview */
.scrolls-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.scroll-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.scroll-card:hover {
    transform: translateY(-5px);
    border-color: var(--signature-orange);
}

.scroll-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--signature-orange);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.scroll-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.scroll-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.scroll-link {
    color: var(--signature-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.scroll-link:hover {
    text-decoration: underline;
}

/* Findings Section */
.findings-section {
    background: var(--bg-dark);
}

.findings-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.finding-item {
    text-align: center;
}

.finding-stat {
    font-size: 4rem;
    font-weight: 800;
    color: var(--signature-orange);
    line-height: 1;
    margin-bottom: 1rem;
}

.finding-text h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.finding-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.app-card:hover {
    border-color: var(--signature-orange);
    transform: translateY(-3px);
}

.app-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.app-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.credentials {
    color: var(--signature-orange);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.expertise-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.expertise-item:last-child {
    border-bottom: none;
}

.expertise-icon {
    font-size: 1.5rem;
}

.expertise-item span:last-child {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-black) 100%);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.target-orgs {
    margin-top: 2rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Footer - Refined Luxury */
.main-footer {
    background: var(--deep-black);
    border-top: 1px solid var(--border-subtle);
    padding: 6rem 0 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-section p {
    color: var(--text-ghost);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-silver);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-quote {
    font-style: italic;
    color: var(--text-silver);
    line-height: 1.7;
    font-weight: 300;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .pointer-explanation {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coordinate-visual {
        display: none;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .innovation-grid,
    .scrolls-preview,
    .findings-list,
    .applications-grid {
        grid-template-columns: 1fr;
    }
}