:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.4);
    --secondary: #3a7bd5;
    --accent: #8e2de2;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo span {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 210, 255, 0.1);
    transform: scale(1.05);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.glow-effect {
    box-shadow: 0 0 20px var(--primary-glow);
    animation: pulse 2s infinite;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(5, 5, 5, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo img {
    height: 40px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-layer.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(5,5,5,1) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffffff, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.6));
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* About Grid */
.auto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-image .glass-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
}

/* Motivation Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.timeline-item.flex-reverse {
    flex-direction: row-reverse;
}

.timeline-content, .timeline-media {
    width: 45%;
}

.timeline-card .card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.timeline-card p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.highlight-quote {
    margin-top: 1.5rem;
    font-style: italic;
    font-weight: 600;
    color: var(--accent) !important;
}

.highlight-card {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}

.img-wrapper {
    overflow: hidden;
    position: relative;
}

.img-wrapper.rounded {
    border-radius: 20px;
}

.img-wrapper.circular {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 2px solid var(--primary);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-item:hover .img-wrapper img {
    transform: scale(1.05);
}

.logo-bounce {
    animation: float 4s ease-in-out infinite;
}

/* What's New Video Grid */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(142, 45, 226, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.08), transparent 25%);
}

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

.video-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Trust Strip & Media Section */
.trust-strip {
    padding: 3rem 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(5,5,5,0.8);
}

.trust-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-3px);
}

.trust-logo img {
    height: 40px;
    object-fit: contain;
}

/* Typographic Logos */
.logo-cbc {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
    color: #fff;
}
.logo-cbc-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.8rem;
    color: #fff;
}
.logo-tedx {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #e62b1e;
    letter-spacing: -1px;
}
.logo-tedx span {
    font-weight: 800;
    font-size: 1.2rem;
    vertical-align: top;
}

/* Media & Press Section */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.press-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-left: 4px solid var(--accent);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.press-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
}

.press-logo {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.press-headline {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #fff;
}

.press-snippet {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.press-cta {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.press-cta span {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.press-card:hover .press-cta span {
    transform: translateX(8px);
}

@media (max-width: 992px) {
    .media-grid { grid-template-columns: 1fr; }
    .trust-logos { gap: 2rem; }
}

/* Partners */
.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 15px;
    width: 200px;
    transition: var(--transition);
}

.partner-logo img {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%);
    transition: var(--transition);
}

.partner-logo span {
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.partner-logo:hover img {
    filter: none;
}

.partner-logo:hover span {
    color: var(--text-color);
}

/* Pilot CTA */
.cta-section {
    position: relative;
    padding: 8rem 0;
    background: url('../imgs/bg_galaxy.jpg') center/cover fixed;
}

.cta-overlay {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    padding: 6rem 0;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-title span {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    background: #020202;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 15px rgba(0, 210, 255, 0.4); }
    50% { box-shadow: 0 0 30px rgba(0, 210, 255, 0.7); }
    100% { box-shadow: 0 0 15px rgba(0, 210, 255, 0.4); }
}

/* Base modern transition enhancements */
.glass-card, .btn-primary, .btn-secondary, a {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Animated Waves */
.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    line-height: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 150px;
    margin-bottom: -7px; /* Fix for Safari gap */
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .timeline::before { left: 40px; }
    .timeline-item, .timeline-item.flex-reverse {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }
    .timeline-content, .timeline-media { width: 100%; }
    .timeline-media { margin-top: 2rem; }
    .img-wrapper.circular { margin: 0; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5,5,5,0.95);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    
    .hero-title { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    
    .auto-grid { grid-template-columns: 1fr; }
    
    .section { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
    
    .footer-content { flex-direction: column; text-align: center; }
}

/* Form Styles */
.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: inherit;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
}
.checkbox-label input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}
@media (max-width: 768px) {
    .form-grid, .checkbox-grid { grid-template-columns: 1fr !important; }
}
