/* ===================================
   FLAREGUN AiR - MAIN STYLES
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #6592e6;
    --secondary-color: #40b0bf;
    --accent-color: #ff9966;
    --dark-color: #282828;
    --dark-purple: #3f3354;
    --light-color: #ffffff;
    --text-color: #232323;
    --text-light: #dbdbdb;
    --overlay-dark: rgba(0, 0, 0, 0.6);
    --overlay-purple: rgba(63, 51, 84, 0.6);
    
    --font-primary: 'Jost', sans-serif;
    
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --border-radius-large: 100px;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    background-color: #000000;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: transparent;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: var(--spacing-sm);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-large);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9966 0%, #8B0000 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 153, 102, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8855 0%, #6B0000 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 153, 102, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #1a2332;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.6rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background-color: transparent;
    transition: all var(--transition-speed) ease;
    padding: var(--spacing-sm) 0;
}

.navbar.scrolled {
    background-color: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand .brand-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar.scrolled .nav-brand .brand-link {
    opacity: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--light-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--light-color);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.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;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    mix-blend-mode: lighten;
    /* Enhanced video quality rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: opacity;
}

.hero-video.active {
    opacity: 1;
    visibility: visible;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(63, 51, 84, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.7);
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-title {
    font-size: clamp(4.5rem, 11vw, 8.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.3);
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-description {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 900px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 4px 24px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 1);
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-buttons {
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-quote {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-style: italic;
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* Section Styles */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    will-change: transform, opacity;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    will-change: transform, opacity;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* About Section */
.about-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(101, 146, 230, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text {
    color: var(--light-color);
}

.about-text .section-title {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 4vw, 3rem);
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.about-quote {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 600;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-md);
    margin: var(--spacing-md) 0;
    line-height: 1.6;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.about-image-grid img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-speed) ease;
}

.about-image-grid img:hover {
    transform: scale(1.05);
}

/* Advertising Intro Section */
.advertising-intro {
    background: #000000;
    position: relative;
    overflow: hidden;
}

.advertising-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left,
        rgba(101, 146, 230, 0.25) 0%,
        transparent 50%),
    radial-gradient(ellipse at bottom right,
        rgba(255, 153, 102, 0.2) 0%,
        transparent 50%);
    z-index: 0;
}

.advertising-intro .container {
    position: relative;
    z-index: 1;
}

.advertising-intro .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    font-weight: 800;
}

.advertising-intro .section-subtitle {
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* Features Grid Section */
.features-grid {
    background: #000000;
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
        rgba(101, 146, 230, 0.3) 0%,
        rgba(255, 153, 102, 0.2) 30%,
        rgba(64, 176, 191, 0.15) 50%,
        rgba(0, 0, 0, 0.95) 100%);
    z-index: 0;
}

.features-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%,
        rgba(101, 146, 230, 0.15) 0%,
        transparent 50%),
    radial-gradient(circle at 80% 80%,
        rgba(255, 153, 102, 0.15) 0%,
        transparent 50%);
    z-index: 1;
}

.features-grid .container {
    position: relative;
    z-index: 2;
}

.features-grid .section-header {
    position: relative;
    z-index: 2;
}

.features-grid .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

.features-grid .section-subtitle {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(135deg,
        rgba(20, 20, 20, 0.95) 0%,
        rgba(40, 40, 40, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease-out;
    border: 2px solid rgba(101, 146, 230, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg,
        rgba(30, 30, 30, 0.98) 0%,
        rgba(50, 50, 50, 0.95) 100%);
    border-color: rgba(101, 146, 230, 0.6);
    box-shadow: 0 20px 60px rgba(101, 146, 230, 0.3),
                0 0 40px rgba(255, 153, 102, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(101, 146, 230, 0.5));
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: var(--spacing-md);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    text-align: center;
}

.feature-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e8e8e8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Quote Section */
.quote-section {
    background: #000000;
    color: var(--light-color);
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(64, 176, 191, 0.3) 0%,
        rgba(101, 146, 230, 0.2) 40%,
        transparent 70%);
    z-index: 0;
}

.quote-section .container {
    position: relative;
    z-index: 1;
}

.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    font-style: italic;
    max-width: 1000px;
    margin: 0 auto;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    line-height: 1.6;
}

/* Technology Features */
.tech-features {
    background: #000000;
    position: relative;
    overflow: hidden;
}

.tech-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom center,
        rgba(255, 153, 102, 0.25) 0%,
        rgba(101, 146, 230, 0.15) 50%,
        transparent 100%);
    z-index: 0;
}

.tech-features .container {
    position: relative;
    z-index: 1;
}

.tech-features .section-title {
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.tech-features .section-subtitle {
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.tech-card {
    background: linear-gradient(135deg,
        rgba(20, 20, 20, 0.95) 0%,
        rgba(40, 40, 40, 0.9) 100%);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease-out;
    display: flex;
    will-change: transform;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid rgba(64, 176, 191, 0.3);
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(64, 176, 191, 0.6);
    box-shadow: 0 15px 50px rgba(64, 176, 191, 0.3),
                0 0 30px rgba(101, 146, 230, 0.2);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
    filter: drop-shadow(0 0 10px rgba(64, 176, 191, 0.5));
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-image {
    width: 100%;
    height: 180px;
    margin-bottom: var(--spacing-md);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.tech-card:hover .tech-image img {
    transform: scale(1.05);
}

.tech-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.tech-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e8e8e8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Video Showcase Section */
.video-showcase {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.video-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(101, 146, 230, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(64, 176, 191, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.video-showcase .container {
    position: relative;
    z-index: 1;
}

.video-showcase .section-title,
.video-showcase .section-subtitle {
    color: var(--light-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(101, 146, 230, 0.1) 0%, rgba(64, 176, 191, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(101, 146, 230, 0.3);
    border-color: rgba(101, 146, 230, 0.3);
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.video-card:hover .showcase-video {
    transform: scale(1.05);
}

.video-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: var(--spacing-md);
    transform: translateY(0);
    transition: all var(--transition-speed) ease;
}

.video-card:hover .video-card-overlay {
    background: linear-gradient(to top, rgba(101, 146, 230, 0.9) 0%, rgba(64, 176, 191, 0.6) 50%, transparent 100%);
}

.video-card-overlay h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.video-card-overlay p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--light-color);
    overflow: hidden;
    background: #000000;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
        rgba(101, 146, 230, 0.4) 0%,
        rgba(255, 153, 102, 0.3) 30%,
        rgba(64, 176, 191, 0.2) 60%,
        transparent 100%);
    z-index: 0;
}

.cta-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%,
        rgba(101, 146, 230, 0.2) 0%,
        transparent 50%),
    radial-gradient(circle at 70% 60%,
        rgba(255, 153, 102, 0.2) 0%,
        transparent 50%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
}

.cta-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: var(--spacing-lg);
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    color: var(--light-color);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all var(--transition-speed) ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

/* Tablet & Mobile Navigation */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-purple) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: var(--spacing-lg);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }

    .nav-buttons {
        margin-top: var(--spacing-md);
        flex-direction: column;
        width: 100%;
    }

    .nav-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Tablet Optimization */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    /* Hero Section - Tablet */
    .hero {
        min-height: 75vh;
        padding: var(--spacing-lg) 0;
    }

    .hero-title {
        font-size: clamp(3.5rem, 10vw, 6rem);
        line-height: 1.1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        padding: 1.1rem 2.2rem;
        font-size: 1.05rem;
    }

    /* About Section - Tablet */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-description {
        font-size: 1.15rem;
        line-height: 1.8;
    }

    .about-quote {
        font-size: 1.2rem;
        padding: var(--spacing-md);
    }

    /* Features & Tech - Tablet */
    .features-container,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .feature-card,
    .tech-card {
        padding: var(--spacing-lg);
        max-width: 600px;
        margin: 0 auto;
    }

    .feature-image,
    .tech-image {
        height: 240px;
    }

    .feature-title,
    .tech-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .feature-description,
    .tech-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Video Showcase - Tablet */
    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        width: 100%;
        max-width: 100%;
    }

    .video-card {
        height: 400px;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
    }

    /* Typography - Tablet */
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .quote-text {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        padding: 0 1rem;
        line-height: 1.6;
    }

    /* Footer - Tablet */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* MOBILE VIDEO FIX - MUST BE AT END OF THIS BLOCK */
    .video-background {
        background-color: #000000;
    }

    .hero-video {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        width: auto !important;
        height: 100vh !important;
        min-height: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        transform: translateX(-50%) !important;
        object-fit: none !important;
    }

    .hero-video.active {
        transform: translateX(-50%) !important;
    }
}

/* Mobile Optimization - Complete Redesign */
@media (max-width: 480px) {
    :root {
        --spacing-sm: 0.75rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }

    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Hero Section - Mobile */
    .hero {
        min-height: 100vh !important;
        padding: 0 !important;
        padding-top: 8vh !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .hero-content {
        padding: 0 1.5rem !important;
        position: relative !important;
        z-index: 2 !important;
        text-align: center !important;
        margin-top: 0 !important;
        display: block !important;
    }

    .hero-text {
        margin-top: 0;
        width: 100%;
    }

    .hero-video {
        will-change: auto !important;
        transform-style: flat !important;
        backface-visibility: visible !important;
        -webkit-backface-visibility: visible !important;
        mix-blend-mode: normal !important;
        image-rendering: auto !important;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
        margin-bottom: 1rem;
        font-weight: 800;
        color: var(--secondary-color);
        text-transform: uppercase;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.7);
    }

    .hero-title {
        font-size: clamp(3.2rem, 13vw, 5rem);
        line-height: 1.05;
        margin-bottom: 1.5rem;
        letter-spacing: -1.5px;
        font-weight: 900;
        color: #ffffff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
        -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.3);
    }

    .hero-description {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        line-height: 1.65;
        margin-bottom: 2rem;
        max-width: 100%;
        color: #ffffff;
        font-weight: 500;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 4px 24px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 1);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.85rem;
        width: 100%;
        margin-top: 4rem;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1.3rem;
        font-size: 0.9rem;
        max-width: 100%;
        font-weight: 600;
        letter-spacing: 0.5px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .btn-large {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-primary {
        background-color: #1a2332;
        border: none;
        color: #ffffff;
    }

    .btn-outline {
        background: transparent;
        border: 2px solid #ffffff;
        color: #ffffff;
    }



    /* Section Spacing - Mobile */
    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
        padding: 0;
    }

    .section-title {
        font-size: clamp(1.85rem, 8vw, 2.3rem);
        line-height: 1.15;
        margin-bottom: 1rem;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .section-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        opacity: 0.9;
        max-width: 100%;
    }

    /* Background Enhancements - Mobile */
    .about-section {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
        padding: 3.5rem 0;
    }

    .about-section::before {
        background: radial-gradient(circle at 50% 30%, rgba(101, 146, 230, 0.12) 0%, transparent 60%);
    }

    .advertising-intro {
        background: linear-gradient(135deg, #000000 0%, #0f0f0f 100%);
        padding: 3.5rem 0;
    }

    .advertising-intro::before {
        background: radial-gradient(circle at 70% 50%, rgba(255, 153, 102, 0.15) 0%, transparent 60%);
    }

    .advertising-intro .section-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .advertising-intro .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
        padding: 3.5rem 0;
    }

    .features-grid::before {
        opacity: 0.8;
    }

    .features-background {
        opacity: 0.15;
    }

    /* About Section - Mobile */
    .about-content {
        gap: 2rem;
    }

    .about-description {
        font-size: 1.05rem;
        line-height: 1.75;
        text-align: left;
        color: rgba(255, 255, 255, 0.9);
    }

    .about-quote {
        font-size: 1.15rem;
        line-height: 1.65;
        padding: 1.5rem;
        margin: 1.5rem 0;
        background: linear-gradient(135deg, rgba(101, 146, 230, 0.15) 0%, rgba(64, 176, 191, 0.1) 100%);
        border-left: 4px solid var(--primary-color);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    /* Feature Cards - Mobile */
    .features-container,
    .tech-grid {
        gap: 1.5rem;
    }

    .feature-card,
    .tech-card {
        padding: 0;
        border-radius: 20px;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(15, 15, 25, 0.98) 0%, rgba(25, 25, 40, 0.95) 100%);
        border: 1px solid rgba(101, 146, 230, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .feature-image,
    .tech-image {
        height: 200px;
        margin-bottom: 0;
        border-radius: 0;
        position: relative;
        overflow: hidden;
    }

    .feature-image::after,
    .tech-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to top, rgba(15, 15, 25, 1) 0%, transparent 100%);
        pointer-events: none;
    }

    .feature-title,
    .tech-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        padding: 0 1.25rem;
        padding-top: 1.25rem;
        color: var(--light-color);
        text-align: center;
    }

    .feature-description,
    .tech-description {
        font-size: 0.95rem;
        line-height: 1.65;
        padding: 0 1.25rem 1.25rem;
        color: rgba(255, 255, 255, 0.85);
    }

    /* Video Showcase - Mobile */
    .video-showcase {
        padding: 4rem 0;
        background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f3460 100%);
        position: relative;
        overflow: hidden;
    }

    .video-showcase::before {
        background: radial-gradient(circle at 30% 40%, rgba(101, 146, 230, 0.2) 0%, transparent 60%),
                    radial-gradient(circle at 70% 80%, rgba(64, 176, 191, 0.15) 0%, transparent 60%);
    }

    .video-grid {
        gap: 2rem;
        margin-top: var(--spacing-lg);
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .video-card {
        height: 280px;
        border-radius: 24px;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(101, 146, 230, 0.3);
        border: 2px solid rgba(101, 146, 230, 0.3);
        background: linear-gradient(135deg, rgba(15, 15, 25, 0.8) 0%, rgba(25, 25, 40, 0.6) 100%);
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .video-card:active {
        transform: scale(0.98);
    }

    .showcase-video {
        opacity: 0.95;
    }

    .video-card-overlay {
        padding: 1.5rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    }

    .video-card-overlay h3 {
        font-size: 1.25rem;
        padding: 0;
        margin-bottom: 0.5rem;
        font-weight: 800;
        letter-spacing: 0.5px;
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }

    .video-card-overlay p {
        font-size: 0.9rem;
        margin: 0;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.4;
    }

    /* Quote Section - Mobile */
    .quote-text {
        font-size: clamp(1.15rem, 5vw, 1.4rem);
        line-height: 1.6;
        padding: 0 1rem;
    }

    /* CTA Section - Mobile */
    .cta-section {
        padding: 4rem 0;
        background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    }

    .cta-background {
        opacity: 0.3;
    }

    .cta-content {
        position: relative;
        z-index: 2;
        padding: 2rem 1.5rem;
        background: linear-gradient(135deg, rgba(101, 146, 230, 0.1) 0%, rgba(64, 176, 191, 0.05) 100%);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }

    .cta-title {
        font-size: clamp(1.9rem, 8vw, 2.3rem);
        line-height: 1.15;
        margin-bottom: 1rem;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .cta-subtitle {
        font-size: 1.15rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

    /* Footer - Mobile */
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
        background: linear-gradient(to bottom, var(--dark-color) 0%, #1a1a1a 100%);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-brand {
        margin-bottom: var(--spacing-md);
    }

    .footer-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        color: var(--primary-color);
    }

    .footer-brand p {
        font-size: 0.95rem;
        line-height: 1.6;
        opacity: 0.9;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-column {
        padding: var(--spacing-md) 0;
    }

    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        color: var(--secondary-color);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-column ul li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        display: inline-block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .footer-column ul li a:hover,
    .footer-column ul li a:active {
        background-color: rgba(101, 146, 230, 0.1);
        color: var(--primary-color);
        transform: translateX(0);
        padding-left: 1rem;
    }

    .footer-bottom {
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-md);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
        opacity: 0.7;
        padding: 0 1rem;
    }

    /* Navigation - Mobile */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-brand .brand-link {
        font-size: 1.3rem;
    }

    /* Improve touch targets */
    .nav-link,
    .footer-link,
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
    }
}
