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

:root {
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --accent-blue: #1a3a5c;
    --accent-blue-dark: #0d2847;
    --accent-orange: #ff6b35;
    --accent-orange-bright: #ff8c5a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-light: #d4d4d4;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

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

.nav-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--glass-border);
}

.nav-links {
    display: flex;
    gap: 0;
    padding: 0 0.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.2s ease;
    opacity: 0.8;
    font-family: 'Sora', sans-serif;
}

.nav-link.active {
    opacity: 1;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-orange);
    opacity: 1;
}

.contact-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 400;
    font-family: 'Sora', sans-serif;
}

.contact-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

.logo-container-left {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
    font-family: 'Sora', sans-serif;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.open {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 700px;
    height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
    animation: slideIn 0.4s ease-out;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    transition: color 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-purple);
}

.modal-body {
    padding: 3rem 2.5rem;
}

.modal-body h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    color: #000;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 0.5px solid #E4E4E4;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #000;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    resize: none;
    font-family: inherit;
}

.submit-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.submit-btn:hover {
    background: var(--accent-orange);
}

.modal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E4E4E4;
}

.modal-footer p {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0;
}

.modal-footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal-footer a:hover {
    color: var(--accent-orange);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: blur(3px) brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    max-width: 2000px;
    margin: 0 auto;
    width: 100%;
}

.hero-top-content {
    padding-top: 6rem;
}

.hero-bottom-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 2rem;
}

.hero-text-block {
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.highlight {
    color: var(--accent-orange);
    text-shadow: 0 0 60px rgba(255, 107, 53, 0.6);
}

.scroll-indicator {
    display: none;
}

/* Show on larger screens */
@media (min-width: 1024px) {
    .scroll-indicator {
        display: flex;
        align-items: flex-end;
    }
    
    .scroll-indicator img {
        width: 48px;
        height: 48px;
        opacity: 0.7;
        animation: bounce 2s ease-in-out infinite;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section Container */
.section-container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

/* Tagline Section with Color Change */
.tagline-section {
    padding: 8rem 0 4rem;
    background: var(--primary-bg);
}

.tagline-words {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.tagline-word {
    color: var(--text-primary);
    transition: color 0.4s ease;
}

.tagline-word.highlight {
    color: var(--accent-orange);
}

/* Introduction Text Section */
.intro-text-section {
    padding: 8rem 0 6rem;
    background: #000000;
}

.intro-content {
    max-width: 33.33%;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--text-light);
    font-weight: 400;
}

/* Collaborating Section */
.collaborating-section {
    padding: 3rem 0 4rem;
    background: var(--primary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.collaborating-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.partner-logo img {
    max-width: 100%;
    width: 200px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    filter: none;
    transition: all 0.4s ease;
    display: block;
}

.partner-logo:hover {
    transform: translateY(-10px);
}

.partner-logo:hover img {
    filter: drop-shadow(0 10px 20px rgba(255, 107, 53, 0.3));
}

/* Product Introduction Section */
.product-intro-section {
    padding: 6rem 0 6rem;
    background: #000000;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-title-large {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    /* This class is not needed anymore since gradient is on parent */
}

.section-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 500px;
}

/* 3D Drone Render */
.drone-3d-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
}

.drone-render {
    width: 100%;
    max-width: 850px;
    height: auto;
    opacity: 0;
    transform: translateX(100px);
    filter: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.drone-render.visible {
    animation: slideInDrone 1.2s ease-out forwards;
}

@keyframes slideInDrone {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatDrone {
    0%, 100% {
        transform: translateY(0px) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(0);
    }
}

/* Countdown Section */
.countdown-section {
    padding-bottom: 2rem;
    background: var(--primary-bg);
}

.countdown-label {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.countdown-timer {
    text-align: center;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 10px;
    color: var(--accent-orange);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
}

/* Capabilities Title */
.capabilities-title-section {
    padding: 8rem 0 4rem;
    background: #000000;
}

.mega-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Video Scroll Sections */
.video-scroll-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.video-scroll-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-scroll-container {
    position: relative;
    width: 85%;
    height: 85vh;
    border-radius: 50px;
    overflow: hidden;
    transform-origin: center;
    will-change: transform, opacity;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    margin: 0 auto;
}

.capability-video-bg {
    position: absolute;
    inset: 0;
}

.capability-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
}

.capability-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    z-index: 2;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.video-scroll-section.active .capability-content {
    transform: translateY(0);
    opacity: 1;
}

.capability-subtitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.capability-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.capability-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

/* Mission Statement Sections */
.mission-title-section {
    padding: 8rem 0 4rem;
    background: var(--primary-bg);
}

.mission-description-section {
    padding: 0 0 8rem;
    background: var(--primary-bg);
}

.mission-description-wrapper {
    max-width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mission-description {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 0 0 8rem;
    background: var(--primary-bg);
}

.cta-card {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.cta-video-bg {
    position: absolute;
    inset: 0;
}

.cta-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 600px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #000;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateX(5px);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(3px);
}

/* Footer */
.footer {
    background: #F2F2F2;
    padding: 4rem 0 3rem;
}

.footer-container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 4rem;
    max-width: 185px;
}

.footer-links a {
    font-size: 1.75rem;
    font-weight: 500;
    color: #969696;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #E4E4E4;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-social a {
    font-size: 0.875rem;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-orange);
}

.footer-copyright {
    font-size: 0.875rem;
    color: #000;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-bright));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title-large {
        font-size: 4rem;
    }
    
    .mega-title {
        font-size: 4.5rem;
    }
    
    .intro-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .header-container,
    .section-container {
        padding: 0 2rem;
    }
    
    .split-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .intro-content {
        max-width: 70%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .tagline-words {
        font-size: 4rem;
    }
    
    .mega-title {
        font-size: 3.5rem;
    }
    
    .capability-subtitle {
        font-size: 0.875rem;
        letter-spacing: 2px;
    }
    
    .capability-title {
        font-size: 2.5rem;
    }
    
    .mission-description-wrapper {
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .nav-glass {
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 0;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .contact-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .hero-content-wrapper {
        padding: 2rem;
    }
    
    .hero-top-content {
        padding-top: 4rem;
    }
    
    .hero-bottom-right {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .tagline-words {
        font-size: 2.5rem;
        gap: 0.75rem 1rem;
    }
    
    .intro-content {
        max-width: 100%;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .partner-logos {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .partner-logo img {
        max-height: 140px;
    }
    
    .section-title-large {
        font-size: 2.5rem;
    }
    
    .mega-title {
        font-size: 2.5rem;
    }
    
    .capability-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .capability-title {
        font-size: 2rem;
    }
    
    .capability-description {
        font-size: 1rem;
    }
    
    .capability-content {
        padding: 2rem;
    }
    
    .mission-description-wrapper {
        max-width: 100%;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .modal-content {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Selection */
::selection {
    background: var(--accent-orange);
    color: white;
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
