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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.98);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #7b68ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: inherit;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a:focus {
    color: #00d4ff;
    outline: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    overflow: hidden;
}

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

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

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    50% { transform: translate(100px, -100px) scale(1.5); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    text-align: center;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(135deg, #00d4ff, #7b68ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #00d4ff, #7b68ee);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    outline: none;
}

.btn-secondary {
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover,
.btn-secondary:focus {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
    outline: none;
}

/* Technology Grid */
.tech-section {
    padding: 120px 5%;
    background: #0f0f17;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(123, 104, 238, 0.1);
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #7b68ee;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 104, 238, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #7b68ee);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.tech-link:hover,
.tech-link:focus {
    gap: 1rem;
    outline: none;
}

/* Technology in Action Section */
.tech-action {
    margin-top: 120px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.tech-action h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

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

.tech-action-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
}

.tech-action-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-action-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.tech-action-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.tech-action-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Video Showcase */
.showcase {
    padding: 120px 5%;
    background: #0a0a0f;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 80px auto 0;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 104, 238, 0.1));
}

.showcase-item.gradient-1 {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
}

.showcase-item.gradient-2 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.showcase-item.gradient-3 {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.showcase-item.gradient-4 {
    background: linear-gradient(135deg, #7c3aed, #f59e0b);
}

.showcase-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.showcase-item:hover .showcase-media {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.showcase-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.showcase-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Full-width Video Feature */
.video-feature {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.video-feature video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.video-feature-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 104, 238, 0.2));
}

.video-feature-inner {
    max-width: 900px;
}

.video-feature-inner h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.video-feature-inner p {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Solutions Section */
.solutions {
    padding: 120px 5%;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
}

.solutions-list {
    max-width: 1400px;
    margin: 80px auto 0;
    display: grid;
    gap: 4rem;
}

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

.solution-item:nth-child(even) {
    direction: rtl;
}

.solution-item:nth-child(even) > * {
    direction: ltr;
}

.solution-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.solution-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.solution-visual {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 104, 238, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-visual::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.solution-visual video,
.solution-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, #00d4ff, #7b68ee);
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-content .btn-primary {
    background: #fff;
    color: #0a0a0f;
}

.cta-content .btn-primary:hover,
.cta-content .btn-primary:focus {
    background: #f0f0f0;
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    background: #0a0a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #7b68ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #00d4ff;
    outline: none;
}

.footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .solution-item {
        grid-template-columns: 1fr;
    }

    .solution-item:nth-child(even) {
        direction: ltr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .tech-action-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
    }

    .video-feature {
        height: 50vh;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #00d4ff;
    color: #0a0a0f;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

