:root {
    --primary-color: #0088cc;
    /* Electric Blue */
    --secondary-color: #00d2d3;
    /* Cyan/Teal Neon */
    --accent-color: #ff3366;
    /* Cyber Pink for contrast */
    --dark-bg: #050a14;
    /* Deep Tech Black/Blue */
    --dark-section: #0b1a2a;
    --glass-bg: rgba(16, 32, 50, 0.7);
    --glass-border: rgba(0, 210, 211, 0.2);
    --text-main: #e0e0e0;
    --text-muted: #8899a6;
    --white: #ffffff;
    --max-width: 1200px;
    --font-main: 'Inter', 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--dark-bg);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 210, 211, 0.4);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(0, 210, 211, 0.2);
    }

    to {
        box-shadow: 0 0 20px rgba(0, 210, 211, 0.6);
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 210, 211, 0.8);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(0, 210, 211, 0.1);
    box-shadow: 0 0 15px rgba(0, 210, 211, 0.3);
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

/* Header */
.header {
    height: 70px;
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.en-logo {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-left: 10px;
    opacity: 0.8;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--secondary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 86, 179, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 210, 211, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 650px;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(120deg, var(--white) 0%, #a0cfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.en-title {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
    display: block;
    margin-top: 15px;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.en-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 45px;
}

/* Hero Globe Animation */
.hero-visual {
    flex: 1;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tech-globe-container {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tech-globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 210, 211, 0.2), rgba(0, 0, 0, 0) 70%);
    box-shadow: inset 0 0 50px rgba(0, 210, 211, 0.1), 0 0 30px rgba(0, 210, 211, 0.2);
    position: absolute;
    animation: rotateGlobe 20s linear infinite;
    border: 1px solid rgba(0, 210, 211, 0.3);
}

/* Grid lines for globe */
.tech-globe::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 210, 211, 0.3);
    box-shadow: 0 0 10px var(--secondary-color);
}

.tech-globe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(0, 210, 211, 0.3);
}

.orbit-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px dashed rgba(0, 86, 179, 0.4);
    border-radius: 50%;
    top: -50px;
    left: -50px;
    animation: rotateRing 10s linear infinite reverse;
}

.orbit-ring.ring-2 {
    width: 350px;
    height: 350px;
    top: -25px;
    left: -25px;
    border: 1px solid rgba(0, 210, 211, 0.2);
    animation: rotateRing 15s linear infinite;
}

@keyframes rotateGlobe {
    to {
        transform: rotateY(360deg);
    }
}

@keyframes rotateRing {
    to {
        transform: rotate(360deg) rotateX(45deg);
    }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.en-sub {
    font-weight: 300;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-left: 10px;
    text-transform: none;
    letter-spacing: normal;
}

.line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 210, 211, 0.15);
    border-color: rgba(0, 210, 211, 0.5);
}

.about-card i {
    font-size: 3.5rem;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.about-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--white);
}

.en-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

/* Tech List */
.bg-darker {
    background: rgba(0, 0, 0, 0.2);
}

.tech-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.tech-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tech-row.reverse {
    flex-direction: row-reverse;
}

.tech-icon-box {
    flex: 0 0 140px;
    height: 140px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 210, 211, 0.3);
    color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 210, 211, 0.1);
    position: relative;
}

.glow-box::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 25px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--secondary-color));
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.tech-info h3 {
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.en-inline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.tech-list li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
    color: var(--text-main);
}

.tech-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-family: monospace;
    font-weight: bold;
}

.en-detail {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
    font-family: Consolas, monospace;
}

/* Solutions */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.solution-card {
    padding: 50px;
    position: relative;
    transition: 0.3s;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), transparent);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.solution-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.solution-card .tag {
    display: inline-block;
    background: rgba(0, 210, 211, 0.1);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 20px;
    border: 1px solid rgba(0, 210, 211, 0.2);
}

/* Platforms */
.platforms {
    padding: 50px;
    text-align: center;
}

.platforms h3 {
    margin-bottom: 40px;
}

.platform-icons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.p-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.p-item:hover {
    transform: scale(1.1);
}

.p-item i {
    font-size: 3rem;
    color: var(--white);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.p-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: -25px;
    z-index: 1;
    font-family: monospace;
}

.step h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
}

.step h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* Contact */
.contact {
    /* Background integration with existing dark theme */
    background: linear-gradient(to top, #000, #0b1a2a);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.c-item i {
    color: var(--secondary-color);
}

.contact-form {
    display: grid;
    gap: 25px;
    background: transparent;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: inherit;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 210, 211, 0.2);
}

/* Footer */
footer {
    background: #000;
    color: #444;
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
    border-top: 1px solid #111;
}

/* Animation Utilities */
.animate-up {
    animation: fadeInUp 0.8s ease backwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Achievements */
.achievements-section {
    padding: 60px 0;
    background: linear-gradient(90deg, rgba(5, 10, 20, 0) 0%, rgba(0, 210, 211, 0.05) 50%, rgba(5, 10, 20, 0) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.achievements-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.ach-item {
    flex: 1;
    min-width: 200px;
}

.ach-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    background: linear-gradient(to bottom, #fff 30%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 20px rgba(0, 210, 211, 0.3);
}

.ach-label {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

.en-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Polishes */
.en-title {
    opacity: 0.7;
    /* Dim English title */
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        height: 60px;
        background: rgba(5, 10, 20, 0.95);
    }

    .nav-list {
        display: none;
        /* Hidden by default on mobile, handled by JS toggle if implemented */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(5, 10, 20, 0.98);
        padding: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        gap: 20px;
        text-align: center;
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-visual {
        display: none;
        /* Hide 3D globe on mobile */
    }

    /* Section spacing */
    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Tech List */
    .tech-list li::before {
        left: 0;
        /* Reset position if needed */
    }

    .tech-row,
    .tech-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .tech-icon-box {
        margin: 0 auto;
        width: 100px;
        height: 100px;
        font-size: 3rem;
        flex: 0 0 100px;
    }

    .tech-list {
        text-align: left;
        display: inline-block;
    }

    /* Process Steps */
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step::after {
        /* Add a vertical connecting line for mobile if needed, or hide horizontal cues */
        display: none;
    }

    /* Grids */
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    /* Achievements */
    .achievements-section {
        padding: 40px 0;
    }

    .achievements-grid {
        flex-direction: column;
        gap: 40px;
    }

    .ach-number {
        font-size: 2.8rem;
    }

    /* Contact */
    .contact-box {
        padding: 30px 20px;
    }

    .contact-details {
        flex-direction: column;
        gap: 20px;
    }

    .c-item {
        justify-content: center;
    }
}