/* ===== CSS Variables ===== */
:root {
    --primary-blue: #00A0FF;
    --primary-dark: #003E9C;
    --bg-dark: #10192A;
    --bg-darker: #0a0f1a;
    --bg-card: #131c2e;
    --text-white: #ffffff;
    --text-light: #a8b2c1;
    --text-gray: #6b7280;
    --gradient-primary: linear-gradient(135deg, #00A0FF 0%, #003E9C 100%);
    --gradient-blue-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 160, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 8px 30px rgba(0, 160, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 160, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(10, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0f1a 0%, #10192A 50%, #1a2540 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 160, 255, 0.08) 0%, transparent 60%);
    z-index: 1;
}

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

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

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 160, 255, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    background: var(--bg-darker);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 160, 255, 0.3), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

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

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 28px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-text .btn {
    margin-top: 12px;
}

/* ===== Stats Section ===== */
.stats {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 160, 255, 0.3);
}

.stat-icon img {
    width: 44px;
    height: 44px;
    filter: brightness(0) invert(1);
}

.stat-info h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== Apps Carousel ===== */
.apps-carousel {
    padding: 80px 0;
    background: var(--bg-darker);
    overflow: hidden;
}

.carousel-track {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.carousel-items {
    display: flex;
    gap: 24px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.carousel-items:hover {
    animation-play-state: paused;
}

.app-icon {
    flex-shrink: 0;
}

.app-icon img {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    object-fit: cover;
}

.app-icon img:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 160, 255, 0.3);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Elevate Section ===== */
.elevate {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}

.elevate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.elevate-text h2 {
    font-size: 2.8rem;
    margin-bottom: 28px;
    font-weight: 700;
}

.elevate-text p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.85;
}

.elevate-text .btn {
    margin-top: 12px;
}

.elevate-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.elevate-image img:hover {
    transform: scale(1.02);
}

/* ===== Innovation Section ===== */
.innovation {
    padding: 120px 0;
    background: var(--bg-darker);
    position: relative;
}

.innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 160, 255, 0.3), transparent);
}

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

.innovation-header h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.innovation-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.innovation-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
}

.innovation-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 160, 255, 0.25);
    box-shadow: var(--shadow-glow);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-content {
    padding: 32px;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.75;
}

/* ===== Careers Section ===== */
.careers {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.careers-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.careers-image img:hover {
    transform: scale(1.02);
}

.careers-text h2 {
    font-size: 2.8rem;
    margin-bottom: 28px;
    font-weight: 700;
}

.careers-text p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.85;
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 160, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-content p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    padding: 70px 0 35px;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    height: 45px;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 100px;
    justify-content: flex-end;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-white);
    font-weight: 600;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 35px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        gap: 50px;
    }

    .innovation-grid {
        gap: 24px;
    }

    .stats-grid {
        gap: 60px;
    }

    .about-content,
    .elevate-content,
    .careers-content {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 26, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 30px;
        gap: 28px;
        transform: translateX(100%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-content,
    .about-content,
    .elevate-content,
    .careers-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p,
    .about-text p,
    .elevate-text p,
    .careers-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
    }

    .about-image,
    .careers-image {
        order: -1;
    }

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

    .stats-grid {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
        gap: 60px;
    }

    .about-text h2,
    .elevate-text h2,
    .careers-text h2,
    .innovation-header h2,
    .contact-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .about-text h2,
    .elevate-text h2,
    .careers-text h2,
    .innovation-header h2,
    .contact-content h2 {
        font-size: 1.9rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .stat-info h3 {
        font-size: 2.2rem;
    }

    .card-content {
        padding: 24px;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }
}

/* ===== About Hero Section ===== */
.about-hero {
    padding: 150px 0 100px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.about-hero .hero-bg,
.apps-page .hero-bg,
.contact-page .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.about-hero .hero-bg-image,
.apps-page .hero-bg-image,
.contact-page .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.about-hero .container,
.apps-page .container,
.contact-page .container {
    position: relative;
    z-index: 1;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 160, 255, 0.3), transparent);
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 120px 0 60px;
    }

    .about-hero-content h1 {
        font-size: 2.2rem;
    }
}

/* ===== Animation Classes ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
