/* 
    Stride Nine - Visual Identity & Animations
    Palette: Deep Blue (#0A192F), Vibrant Orange (#FF4500), Pure White (#FFFFFF)
*/

:root {
    --color-bg: #0A192F;
    --color-primary: #FF4500;
    --color-text: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --font-main: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--color-primary);
}

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

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

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

.nav-cta {
    background: var(--color-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    opacity: 1 !important;
}

.nav-cta:hover {
    background: #e63e00;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle svg {
    width: 30px;
    height: 30px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to right, var(--color-bg) 30%, transparent 100%), url(https://images.unsplash.com/photo-1728532483490-708f6562b738?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMDQxMjk5fDB8MXxzZWFyY2h8MXx8YXRobGV0ZSUyMHNwcmludGluZyUyMG9yYW5nZSUyMGdlYXJ8ZW58MHwwfHx8MTc4NzU3NjMyMXww&ixlib=rb-4.1.0&q=80&w=1080);
    background-size: cover;
    background-position: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.highlight {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: #e63e00;
    transform: scale(1.05);
}

.btn-secondary {
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-primary svg, .btn-secondary svg {
    width: 20px;
    height: 20px;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Live Stats Card */
.stats-card {
    position: absolute;
    bottom: 5%;
    right: 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 280px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: slideInRight 1s ease-out forwards;
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    color: var(--color-text-muted);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text);
    display: block;
}

.stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 700;
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-text-delay {
    opacity: 0;
    transform: translateY(30px);
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* New Sections Styles */
.content-section {
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.dark-alt {
    background: rgba(255, 255, 255, 0.03);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, var(--color-bg));
}

.tech-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-visual img {
    width: 100%;
    border-radius: 20px;
}

.tech-list {
    list-style: none;
    margin-top: 2rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-list svg {
    width: 20px;
    color: var(--color-primary);
}

.shuffle-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.shuffle-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.shuffle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.shuffle-item:hover img {
    transform: scale(1.1);
}

.shuffle-item.wide {
    grid-column: span 2;
}

.shuffle-item.tall {
    grid-row: span 2;
}

.shuffle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.metric-box {
    text-align: left;
}

.metric-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.metric-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.metric-box p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.shuffle-cta {
    width: 100%;
}

@media (max-width: 1024px) {
    .shuffle-grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .shuffle-item.wide, .shuffle-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.full-bleed-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.full-bleed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-bleed-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.full-bleed-overlay h2 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.phil-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.phil-icon svg {
    width: 30px;
}

.video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.video-ph {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a2a4a, #0a192f);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-btn svg {
    width: 30px;
    margin-left: 5px;
}

.video-ph:hover .play-btn {
    transform: scale(1.2);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
}

.testimonial cite {
    display: block;
    margin-top: 2rem;
    font-style: normal;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

.footer-section {
    padding: 6rem 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    margin-bottom: 6rem;
}

.footer-content h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-content p {
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

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

.copy {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-bar { padding: 1.5rem 2rem; }
    .hero-section { padding: 0 2rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 2; margin-top: 4rem; }
    .hero-visual { order: 1; }
    .hero-content p { margin: 0 auto 2.5rem auto; }
    .hero-actions { justify-content: center; }
    .stats-card { right: 50%; transform: translateX(50%); bottom: -2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 3rem; }
}