/* Base Variables */
:root {
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.4);
    --secondary: #7000ff;
    --background: #050510;
    --background-light: #0f1025;
    --card-bg: rgba(20, 22, 45, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Background Noise/Grid */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 16, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.logo-text {
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 8rem 2rem 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 10s infinite alternate;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Elements - Enhanced 3D Globe */
.map-grid {
    position: absolute;
    width: 600px;
    height: 600px;
    background:
        radial-gradient(circle at center, transparent 30%, rgba(0, 242, 255, 0.05) 30%, transparent 31%),
        radial-gradient(circle at center, transparent 50%, rgba(0, 242, 255, 0.05) 50%, transparent 51%),
        radial-gradient(circle at center, transparent 70%, rgba(0, 242, 255, 0.05) 70%, transparent 71%),
        linear-gradient(0deg, transparent 49%, rgba(112, 0, 255, 0.1) 50%, transparent 51%),
        linear-gradient(90deg, transparent 49%, rgba(112, 0, 255, 0.1) 50%, transparent 51%);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: rotateGlobe 20s linear infinite;
    bottom: -100px;
    right: -100px;
    opacity: 0.6;
    z-index: 1;
}

.map-grid::before,
.map-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 255, 0.1);
}

.map-grid::before {
    transform: rotateX(60deg);
    animation: pulseGlobe 4s ease-in-out infinite alternate;
}

.map-grid::after {
    transform: rotateY(60deg);
    animation: pulseGlobe 4s ease-in-out infinite alternate-reverse;
}

@keyframes rotateGlobe {
    0% {
        transform: perspective(1000px) rotateY(0deg) rotateX(20deg);
    }

    100% {
        transform: perspective(1000px) rotateY(360deg) rotateX(20deg);
    }
}

@keyframes pulseGlobe {
    0% {
        transform: scale(0.95) rotateX(60deg);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.05) rotateX(60deg);
        opacity: 0.8;
    }
}

.floating-card {
    position: absolute;
    background: rgba(15, 16, 37, 0.8);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.c1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.c2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

/* Solutions Section */
.solutions-section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-list i {
    color: var(--secondary);
}

/* Stats Section */
.stats-section {
    background: var(--background-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

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

/* Tech Section */
.tech-section {
    text-align: center;
    padding: 3rem 0;
}

.tech-section h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    opacity: 0.8;
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.6;
}

.tech-logos span {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
}

.cta-card {
    background: radial-gradient(circle at center, #1a1b3a 0%, #0a0b1e 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    background: rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    background: #020205;
    padding-top: 5rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 28px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 20, 0.95);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        flex-direction: column;
        padding-top: 8rem;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 16, 37, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transform: translateX(120%);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    min-width: 320px;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.toast-content i {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.toast-message {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
}

.toast-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform-origin: left;
    transform: scaleX(0);
}

.toast.show .toast-progress {
    animation: progress 50s linear forwards;
}

@keyframes progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}