:root {
    --bg-dark: #0b162a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --cyan: #00aeef;
    --orange: #f39200;
    --green: #8ec63f;
    --magenta: #e61e6c;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --gradient: linear-gradient(135deg, var(--cyan), var(--green));
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

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

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

.text-highlight { color: var(--cyan); }
.text-cyan { color: var(--cyan); }

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 2000;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--cyan), var(--green), var(--orange));
    box-shadow: 0 0 10px var(--cyan);
}

/* Mouse Follower Glow */
.mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: width 0.3s ease, height 0.3s ease;
}

/* Glow Effects */
.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 174, 239, 0.05) 0%, transparent 80%);
    pointer-events: none;
    z-index: -2;
}

/* Header & Lang Switcher */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 22, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

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

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.logo-dots {
    display: flex;
    gap: 12px;
    margin-left: 2px;
    margin-bottom: -5px;
}

.logo-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot-orange { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.dot-green { background: var(--green); box-shadow: 0 0 10px var(--green); }

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.85rem;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 2px 5px;
}

.lang-switcher a.active { color: var(--cyan); }
.lang-switcher a:hover { color: var(--text-light); }
.lang-switcher .sep { color: rgba(255,255,255,0.2); }

.btn-back {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-back:hover { background: var(--text-light); color: var(--bg-dark); }

/* Google Translate Hide Banner */
.goog-te-banner-frame, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 50%, transparent);
}

.hero-tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    z-index: -1;
    perspective: 1000px;
    transform: perspective(1000px) rotateX(20deg) scale(1.5);
    transform-origin: center top;
    opacity: 0.3;
    animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
    from { background-position: center 0; }
    to { background-position: center 1000px; }
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.mission-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-primary:hover { transform: translateY(-5px); }

.btn-sm {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.alpesoft-actions {
    margin-top: 30px;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover { background: white; color: var(--bg-dark); }

/* Section Styles */
section { padding: 100px 0; }
.section-title { font-size: 2.8rem; margin: 40px 0 60px; text-align: center; }

/* CIT Grid */
.cit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cit-card {
    background: var(--bg-card);
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    text-align: center;
    position: relative;
}

.cit-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 35%,
        rgba(255,255,255,0.1) 45%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.1) 55%,
        transparent 65%
    );
    transform: rotate(-45deg) translateX(-100%);
    transition: none;
    pointer-events: none;
}

.cit-card:hover::after {
    transform: rotate(-45deg) translateX(100%);
    transition: transform 0.6s ease-in-out;
}

.dept-img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.8s ease; }
.cit-card:hover .dept-img { transform: scale(1.1); }
.cit-card h3 { margin: 20px 0 10px; font-size: 1.5rem; }
.cit-card p { padding: 0 30px 30px; color: var(--text-muted); font-size: 0.95rem; }

.cit-card:hover { transform: translateY(-10px); border-color: rgba(255, 255, 255, 0.2); }
.communication h3 { color: var(--orange); }
.image h3 { color: var(--magenta); }
.technology h3 { color: var(--cyan); }

/* Alpesoft Items */
.section-header-centered { text-align: center; margin-bottom: 60px; }
.alpesoft-main-logo { height: 60px; margin-bottom: 20px; }

.alpesoft-item { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.alpesoft-item.reverse { flex-direction: row-reverse; }

.alpesoft-text { flex: 1; }
.alpesoft-image { flex: 1.2; position: relative; }

.glass-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.alpesoft-text h3 { font-size: 2.5rem; margin-bottom: 20px; }
.alpesoft-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }

.feature-list { list-style: none; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Partners */
.partners-section { text-align: center; padding: 60px 0; background: rgba(0,0,0,0.2); }
.partners-section h3 { margin-bottom: 40px; font-size: 1.2rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
.partners-row-img { max-width: 100%; opacity: 0.8; filter: grayscale(1); transition: all 0.5s ease; }
.partners-row-img:hover { opacity: 1; filter: grayscale(0); }

/* History */
.history-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255,255,255,0.02);
    padding: 30px;
    border-radius: 20px;
}

.win31-logo { height: 60px; }
.history-intro p { font-size: 1.1rem; }

.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 50px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item { position: relative; margin-bottom: 60px; }
.timeline-dot {
    position: absolute;
    left: -54px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 20px var(--green);
}

.timeline-dot.blue { background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.timeline-dot.orange { background: var(--orange); box-shadow: 0 0 20px var(--orange); }

.timeline-content h4 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text-light); }
.timeline-content p { color: var(--text-muted); }

/* Footer */
footer { padding: 80px 0 40px; background: #050a14; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }

.footer-brand p { margin-top: 20px; color: var(--text-muted); font-size: 0.95rem; }
footer h4 { font-size: 1.1rem; margin-bottom: 25px; color: var(--cyan); }

.footer-info p, .footer-legal p { margin-bottom: 12px; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.footer-info i { color: var(--cyan); width: 14px; }
.footer-info a { color: inherit; text-decoration: none; }
.footer-info a:hover { color: var(--cyan); }

.footer-links-row { margin-top: 20px; font-size: 0.8rem; }
.footer-links-row a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-links-row a:hover { color: var(--cyan); }

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

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); }
.animate-on-scroll.active { opacity: 1; transform: translateY(0); }

/* Staggered Children Delay */
.cit-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.cit-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.cit-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.3s; }
.timeline-item:nth-child(3) { transition-delay: 0.5s; }

/* Responsive */
@media (max-width: 991px) {
    h1 { font-size: 3rem; }
    .cit-grid { grid-template-columns: 1fr; }
    .promo-banner-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .alpesoft-item, .alpesoft-item.reverse { flex-direction: column; text-align: center; }
    .feature-list li { justify-content: center; }
    .hero-section { height: auto; padding: 150px 0 100px; }
    .promo-pricing-grid { flex-direction: column; }
}
