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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099ff;
    --dark-bg: #0a1f3f;
    --darker-bg: #051428;
    --text-light: #e0e0e0;
    --text-dark: #1a1a2e;
    --accent-color: #ff6600;
    --success-color: #00ff00;
    --border-color: #00d4ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1f3f 0%, #051428 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

/* Header Navigation */
.header {
    background: linear-gradient(180deg, rgba(10, 31, 63, 0.95) 0%, rgba(5, 20, 40, 0.95) 100%);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.2);
}

/* Hero Section */
.hero {
    padding: 80px 20px;
    text-align: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero > .container > .hero-content > p:nth-of-type(1) {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.game-preview {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
}

.plane-icon {
    font-size: 80px;
    animation: float 3s ease-in-out infinite;
}

.rock-icon {
    position: absolute;
    font-size: 50px;
    animation: fall 3s ease-in infinite;
    top: 20px;
    left: 30%;
}

.laser-icon {
    position: absolute;
    font-size: 40px;
    animation: pulse 1s ease-in-out infinite;
    right: 20%;
    top: 40%;
}

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

@keyframes fall {
    0% { transform: translateY(-50px); opacity: 1; }
    100% { transform: translateY(250px); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: rgba(0, 212, 255, 0.02);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 80px 20px;
}

.stats h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.stat-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 255, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 255, 0.1));
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(5, 20, 40, 0.95) 0%, rgba(10, 31, 63, 0.95) 100%);
    border-top: 2px solid var(--primary-color);
    color: var(--text-light);
    margin-top: auto;
}

.footer .container {
    padding: 60px 20px 20px;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    font-size: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    font-size: 12px;
    color: rgba(224, 224, 224, 0.7);
}

/* Content Pages */
.page-header {
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

.page-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.page-header p {
    font-size: 16px;
    color: var(--text-light);
}

.page-content {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-content ul,
.page-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-content strong {
    color: var(--primary-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Company Info */
.company-info {
    font-size: 12px;
    color: rgba(224, 224, 224, 0.8);
    line-height: 1.8;
    margin-top: 15px;
}

.company-info p {
    margin: 5px 0;
}

.company-info strong {
    color: rgba(0, 212, 255, 0.9);
    font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Game Embed */
.game-container-full {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    background: linear-gradient(180deg, #0a1f3f 0%, #0d2d5f 50%, #0a1f3f 100%);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    overflow: hidden;
}

.game-container-full iframe,
.game-container-full canvas {
    width: 100%;
    height: 600px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero > .container > .hero-content > p:nth-of-type(1) {
        font-size: 20px;
    }

    .nav {
        gap: 15px;
        font-size: 14px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .features h2,
    .stats h2,
    .cta h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .game-container-full iframe,
    .game-container-full canvas {
        height: 500px;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero > .container > .hero-content > p:nth-of-type(1) {
        font-size: 18px;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }

    .nav {
        gap: 10px;
        font-size: 12px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .features h2,
    .stats h2,
    .cta h2 {
        font-size: 24px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .game-container-full iframe,
    .game-container-full canvas {
        height: 400px;
    }
}

/* ===== ENHANCED ANIMATIONS ===== */

/* Floating animation for plane */
@keyframes float-plane {
    0%, 100% {
        transform: translateY(0px) rotateZ(-5deg);
    }
    50% {
        transform: translateY(-30px) rotateZ(5deg);
    }
}

/* Flying plane from left */
@keyframes fly-plane-left {
    0% {
        transform: translateX(-200px) translateY(50px) rotateZ(-15deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(200px) translateY(-50px) rotateZ(15deg);
        opacity: 0;
    }
}

/* Flying plane from right */
@keyframes fly-plane-right {
    0% {
        transform: translateX(200px) translateY(100px) rotateZ(15deg) scaleX(-1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-200px) translateY(-100px) rotateZ(-15deg) scaleX(-1);
        opacity: 0;
    }
}

/* Falling animation for rocks */
@keyframes fall-rock {
    0% {
        transform: translateY(-100px) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(300px) rotateZ(360deg);
        opacity: 0.3;
    }
}

/* Pulsing laser animation */
@keyframes pulse-laser {
    0%, 100% {
        opacity: 0.6;
        filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.9));
    }
}

/* Rotating lightning bolt */
@keyframes rotate-lightning {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

/* Glow animation */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    }
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Fade in animation */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide in animation */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale in animation */
@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animated plane in hero */
.hero-plane {
    animation: float-plane 3s ease-in-out infinite;
}

/* Flying planes from different directions */
.hero-plane-2 {
    animation: fly-plane-left 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.hero-plane-3 {
    animation: fly-plane-right 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* Animated rocks in hero */
.hero-rock {
    animation: fall-rock 4s ease-in infinite;
}

.hero-rock:nth-child(4) { animation-delay: 0s; }
.hero-rock:nth-child(5) { animation-delay: 1s; }

/* Animated laser in hero */
.hero-laser {
    animation: pulse-laser 1.5s ease-in-out infinite;
}

/* Animated laser in hero - removed extra animation */
.hero-lightning {
    display: none;
}

/* Feature cards animation - removed */
.feature-card {
    opacity: 1;
}

/* Hover animation for buttons */
.btn:hover {
    animation: bounce 0.6s ease-in-out;
}

/* Stats card animation - removed */
.stat-box {
    opacity: 1;
}

/* Page header animation - removed */
.page-header h1 {
    opacity: 1;
}

.page-header p {
    opacity: 1;
}

/* CTA section animation - removed */
.cta h2 {
    opacity: 1;
}

.cta p {
    opacity: 1;
}

.cta .btn {
    opacity: 1;
}

/* Responsive animations */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .feature-card {
        animation: fade-in 0.5s ease-out;
    }
    
    .stat-box {
        animation: scale-in 0.5s ease-out;
    }
}
