/* 
 * Pawn X Ventures | Space - Immersive Stylesheet 
 * Premium, Full-Bleed, Glassmorphism aesthetic.
 */

 :root {
    --bg-dark: #050505;
    --text-white: #ffffff;
    --text-muted: #a0a0a5;
    --accent-cyan: #00ffcc;
    --accent-cyan-glow: rgba(0, 255, 204, 0.4);
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.accent {
    color: var(--accent-cyan);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

.relative { position: relative; }
.z-10 { z-index: 10; }

/* Typography */
.lead {
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: #000;
    border: 1px solid var(--accent-cyan);
}

.btn-primary:hover {
    background-color: rgba(0,255,204,0.1);
    color: var(--accent-cyan);
    box-shadow: 0 0 30px var(--accent-cyan-glow);
}

.btn-outline {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

.btn-block {
    width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background-color: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-cyan);
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Immersive Sections (The TeamLab Vibe) */
.immersive-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ambient-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.media-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.1) 100%);
    z-index: 2;
}

.media-overlay.darken {
    background: rgba(0,0,0,0.6);
}

.media-overlay.gradient-right {
    background: linear-gradient(270deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.1) 100%);
}

.content-layer {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Section Specifics */
.hero-title {
    font-size: 5.5rem;
    letter-spacing: -2px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.right-align .content-layer {
    display: flex;
    justify-content: flex-end;
}

/* Standard Section */
.standard-section {
    padding: 10rem 0;
    background: var(--bg-dark);
}

.section-header h2 {
    font-size: 4rem;
    letter-spacing: -1px;
}

/* Grids */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
}

.stat-box .stat-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* Experience titles are h2 for SEO but keep the original h3 sizing */
.glass-panel h2 {
    font-size: 1.17em;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ddd;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Forms */
.custom-form {
    background: rgba(10,10,12,0.8);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-white);
    font-family: var(--font-main);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0,0,0,0.6);
}

/* Footer */
.site-footer {
    background: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 30px;
    height: 2px;
    background-color: var(--text-white);
    transition: 0.3s;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 992px) {
    .grid-2-col { grid-template-columns: 1fr; }
    .hero-title { font-size: 3.5rem; }
    .glass-panel { padding: 2.5rem; max-width: 100%; }
    .right-align .content-layer { justify-content: flex-start; }
    .media-overlay.gradient-right { background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 100%); }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5,5,5,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links.active { display: flex; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-header h2 { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
    .stat-box .stat-number { font-size: 3rem; }
    .glass-panel { padding: 1.5rem; }
    .contact-info h2 { font-size: 2.5rem !important; }
    .custom-form { padding: 1.5rem; }
}

/* Stat citations */
.stat-box p {
    font-size: 0.95rem;
}

.stat-source {
    display: block;
    margin-top: 1rem;
    font-size: 0.7rem;
    line-height: 1.4;
    color: var(--text-muted);
    opacity: 0.7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.stat-source:hover {
    color: var(--accent-cyan);
    opacity: 1;
}
