/* ===== TRON LEGACY INSPIRED DESIGN ===== */
/* Color Palette */
:root {
    --neon-blue: #00d9ff;
    --neon-cyan: #00ffff;
    --neon-orange: #ff6b00;
    --neon-red: #ff0040;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --grid-color: rgba(0, 217, 255, 0.1);
    --text-light: #ffffff;
    --text-gray: #8892b0;
    --white-bg: #ffffff;
    --light-gray: #f5f5f5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: var(--darker-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== BACKGROUND VIDEO ===== */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.dark-section #bg-video {
    opacity: 0.15;
}

/* ===== HERO SECTION (WHITE) ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--white-bg) 0%, var(--light-gray) 100%);
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    color: #4a4a4a;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #1a1a1a;
    color: var(--white-bg);
    border: 2px solid #1a1a1a;
}

.btn-primary:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a4a4a;
}

.arrow-down {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #1a1a1a);
    position: relative;
}

.arrow-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #1a1a1a;
}

/* ===== DARK SECTION WITH NEON EFFECTS ===== */
.dark-section {
    background: var(--darker-bg);
    position: relative;
    z-index: 2;
}

.neon-section {
    min-height: 100vh;
    padding: 8rem 2rem;
    position: relative;
    background: 
        linear-gradient(90deg, transparent 0%, var(--grid-color) 50%, transparent 100%) center/100% 2px no-repeat,
        linear-gradient(0deg, transparent 0%, var(--grid-color) 50%, transparent 100%) center/2px 100% no-repeat;
}

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

.neon-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    margin: 0 auto 3rem;
    box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    animation: pulse 2s ease-in-out infinite;
}

.neon-title {
    font-size: 3rem;
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 4rem;
    color: var(--neon-cyan);
    text-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 30px var(--neon-cyan),
        0 0 40px var(--neon-blue);
    font-weight: 700;
    text-transform: uppercase;
    animation: glowText 3s ease-in-out infinite;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.content-block {
    padding: 2rem;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--neon-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-block::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -5%;
    width: 110%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
    box-shadow: 0 0 20px var(--neon-red);
    animation: redSweepDown 15s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0) * 1s);
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.content-block:hover::before {
    opacity: 1;
    box-shadow: inset 0 0 20px rgba(0, 217, 255, 0.2);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.neon-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 20px var(--neon-blue);
    animation: rotate 10s linear infinite;
}

.content-block h3 {
    font-size: 1.8rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.content-block p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===== FLAGSHIP SECTION ===== */
.flagship-content {
    max-width: 900px;
    margin: 0 auto;
}

.feature-box {
    background: rgba(10, 14, 26, 0.8);
    border: 2px solid var(--neon-blue);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.feature-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 8s linear infinite;
}

.feature-box h3 {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    letter-spacing: 6px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.feature-box > p {
    color: var(--text-gray);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--text-light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bullet-glow {
    width: 10px;
    height: 10px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card::after {
    content: '';
    position: absolute;
    left: -5%;
    top: -100%;
    width: 2px;
    height: 110%;
    background: linear-gradient(180deg, transparent, var(--neon-red), transparent);
    box-shadow: 0 0 20px var(--neon-red);
    animation: redSweepSide 10s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0) * 1.5s);
}

.card-glow {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 50%);
    transition: all 0.5s ease;
}

.product-card:hover .card-glow {
    top: -50%;
    left: -50%;
}

.product-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    transform: translateY(-10px);
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.product-card p {
    color: var(--text-gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===== VISION SECTION ===== */
.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.vision-text {
    font-size: 1.4rem;
    line-height: 2;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== CONTACT FORM ===== */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow {
    width: 100%;
}

.btn-neon {
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--neon-cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-neon:hover {
    color: var(--darker-bg);
    box-shadow: 0 0 30px var(--neon-cyan);
}

.btn-neon:hover::before {
    width: 300%;
    height: 300%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(0, 217, 255, 0.3);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
    color: var(--text-gray);
    line-height: 2;
}

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

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--text-gray);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
    }
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan),
            0 0 30px var(--neon-cyan),
            0 0 40px var(--neon-blue);
    }
    50% {
        text-shadow: 
            0 0 20px var(--neon-cyan),
            0 0 30px var(--neon-cyan),
            0 0 40px var(--neon-cyan),
            0 0 50px var(--neon-blue),
            0 0 60px var(--neon-blue);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes redSweepDown {
    0% {
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    50% {
        top: 50%;
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        top: 200%;
        opacity: 0;
    }
}

@keyframes redSweepSide {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        left: 50%;
        opacity: 0.7;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}

@keyframes redSweepHorizontal {
    0% {
        right: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        right: 50%;
        opacity: 0.6;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        right: 200%;
        opacity: 0;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }
    
    .neon-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .neon-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .neon-section {
        padding: 4rem 1rem;
    }
    
    .vision-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .neon-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}