:root {
    --bg-base: #050505;
    --bg-surface: #111111;
    --bg-surface-elevated: #1a1a1a;
    --accent-primary: #ff6b00;
    --accent-secondary: #ff9d00;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.highlight:hover {
    text-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-secondary), -2px 0 0px #00f0ff, 2px 0 0px #ff003c;
    animation: textGlitch 0.2s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes textGlitch {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-primary);
    font-weight: 300;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-primary);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border: 1px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 107, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    margin-top: 4rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, rgba(255, 157, 0, 0.1) 30%, rgba(5, 5, 5, 0) 70%);
    z-index: 1;
    filter: blur(60px);
    border-radius: 50%;
    pointer-events: none;
    transition: top 0.2s ease-out, left 0.2s ease-out;
}

@keyframes pulsate {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* Sections Common */
section {
    padding: 6rem 2%;
    max-width: 1600px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease, border-color 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: perspective(1000px) translateY(-15px) rotateX(4deg) rotateY(-4deg) scale(1.02);
    box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 107, 0, 0.2);
    border-color: rgba(255, 107, 0, 0.5);
    z-index: 10;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
}

.icon-img {
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.3));
}

.service-card:hover .card-icon {
    transform: scale(1.1) translateY(-5px);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-list li {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.features-list li:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 107, 0, 0.4);
    z-index: 2;
    position: relative;
}

.features-list strong {
    display: block;
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.features-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.earth-container {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-15deg);
    animation: containerFloat 8s ease-in-out infinite alternate;
}

@keyframes containerFloat {
    0% {
        transform: translateY(-10px) rotateX(15deg) rotateY(-15deg);
    }

    100% {
        transform: translateY(10px) rotateX(5deg) rotateY(15deg);
    }
}

.earth {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #222 0%, #000 100%);
    box-shadow:
        inset -40px -20px 60px rgba(0, 0, 0, 0.95),
        inset 10px 10px 40px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(255, 107, 0, 0.6);
    border: 1px solid rgba(255, 107, 0, 0.3);
    transform-style: preserve-3d;
}

.planet-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(155px);
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    line-height: 1;
    text-shadow: 0 0 20px var(--accent-primary);
}

.planet-text span {
    color: var(--accent-primary);
}



.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.orbit-1 {
    width: 520px;
    height: 520px;
    margin-top: -260px;
    margin-left: -260px;
    transform: rotateX(70deg) rotateY(15deg);
    animation: orbitSpinTilt 8s linear infinite;
}

.orbit-2 {
    width: 440px;
    height: 440px;
    margin-top: -220px;
    margin-left: -220px;
    animation: orbitSpin 14s linear infinite;
}

.orbit-3 {
    width: 380px;
    height: 380px;
    margin-top: -190px;
    margin-left: -190px;
    transform: rotateX(-45deg) rotateY(45deg);
    animation: orbitSpinTiltRev 10s linear infinite;
}

@keyframes orbitSpin {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

@keyframes orbitSpinTilt {
    from {
        transform: rotateX(60deg) rotateY(20deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(60deg) rotateY(20deg) rotateZ(360deg);
    }
}

@keyframes orbitSpinTiltRev {
    from {
        transform: rotateX(-45deg) rotateY(45deg) rotateZ(360deg);
    }

    to {
        transform: rotateX(-45deg) rotateY(45deg) rotateZ(0deg);
    }
}

.device {
    position: absolute;
    top: -25px;
    left: 50%;
    margin-left: -25px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
    border: 1px solid rgba(255, 107, 0, 0.5);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.device:hover {
    transform: scale(1.2) !important;
    background: rgba(20, 20, 20, 0.9);
    z-index: 100;
}

.device-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Counter-rotate devices so they stay upright */
.orbit-1 .device {
    animation: counterOrbitTilt 8s linear infinite reverse;
}

.orbit-2 .device {
    animation: counterOrbit 14s linear infinite reverse;
}

.orbit-3 .device {
    animation: counterOrbitTiltRev 10s linear infinite reverse;
}

@keyframes counterOrbit {
    from {
        transform: rotateZ(0deg) rotateX(-15deg) rotateY(15deg);
    }

    to {
        transform: rotateZ(360deg) rotateX(-15deg) rotateY(15deg);
    }
}

@keyframes counterOrbitTilt {
    from {
        transform: rotateZ(0deg) rotateX(-70deg) rotateY(-15deg);
    }

    to {
        transform: rotateZ(360deg) rotateX(-70deg) rotateY(-15deg);
    }
}

@keyframes counterOrbitTiltRev {
    from {
        transform: rotateZ(360deg) rotateX(45deg) rotateY(-45deg);
    }

    to {
        transform: rotateZ(0deg) rotateX(45deg) rotateY(-45deg);
    }
}

/* Contact Section */
.contact-section {
    background: var(--bg-surface);
    margin-top: 4rem;
    position: relative;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.contact-box h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-info-block {
    margin-bottom: 2rem;
    padding: 1.2rem;
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 16px;
}

.contact-info-block p {
    color: var(--text-primary) !important;
    margin-bottom: 0.8rem !important;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info-block p:last-child {
    margin-bottom: 0 !important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1);
}

.contact-form .btn-primary {
    margin-top: 1rem;
    width: 100%;
}

/* Footer */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--border-color);
    background: var(--bg-base);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content .logo {
    margin-bottom: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 4rem 5%;
    }

    nav {
        display: none;
    }

    .contact-box {
        padding: 2rem 1.5rem;
    }

    .about-visual {
        transform: scale(0.6);
        height: 350px;
    }
}