:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --accent-1: #00FFB2;
    --accent-2: #9D00FF;
    --font-heading: 'Outfit', 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;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
}

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

.text-gradient {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 12, 0.9);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-1);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), #00cc8e);
    color: #000;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 255, 178, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 178, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.15) 0%, rgba(10, 10, 12, 0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    padding: 40px 5% 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeUp 1s ease forwards;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 255, 178, 0.1);
    color: var(--accent-1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 255, 178, 0.2);
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    display: inline-block;
}

.stat-item .plus {
    color: var(--accent-1);
}

.stat-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    animation: fadeLeft 1s ease 0.3s forwards;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 178, 0.2) 0%, rgba(10, 10, 12, 0) 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero-image {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    
    /* Small padded outer frame */
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-badge {
    position: absolute;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

.floating-badge span {
    font-weight: 600;
    font-size: 14px;
}

.badge-1 {
    top: -20px;
    right: -20px;
}

.badge-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

/* Infrastructure Section */
.infrastructure-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/world.png');
    background-size: cover;
    background-position: center;
    margin-top: 40px;
    overflow: hidden;
}

.infrastructure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--bg-dark) 0%,
        rgba(10, 10, 12, 0.6) 50%,
        var(--bg-dark) 100%
    );
    z-index: 1;
}

/* Live Map Points */
.map-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--accent-1);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-1), 0 0 20px var(--accent-1);
    animation: blink 2s infinite ease-in-out;
}

.map-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: rgba(0, 255, 178, 0.4);
    border-radius: 50%;
    animation: ripple 2s infinite ease-in-out;
}

/* Approximate positions on a center-aligned world map */
.point-1 { top: 35%; left: 22%; animation-delay: 0.1s; } /* North America */
.point-2 { top: 45%; left: 75%; animation-delay: 0.5s; } /* Asia */
.point-3 { top: 60%; left: 48%; animation-delay: 1.2s; } /* Africa */
.point-4 { top: 28%; left: 52%; animation-delay: 0.8s; } /* Europe */
.point-5 { top: 75%; left: 82%; animation-delay: 1.5s; } /* Australia */
.point-6 { top: 65%; left: 30%; animation-delay: 0.3s; } /* South America */

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes ripple {
    0% { width: 8px; height: 8px; opacity: 1; }
    100% { width: 48px; height: 48px; opacity: 0; }
}

.infrastructure-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
}

.infrastructure-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Marquee */
.marquee-section {
    padding: 30px 0;
    background: var(--accent-1);
    color: #000;
    overflow: hidden;
    position: relative;
    transform: rotate(-2deg) scale(1.05);
    margin: 60px 0;
    box-shadow: 0 0 40px rgba(0, 255, 178, 0.2);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    padding: 0 20px;
}

.dot {
    color: rgba(0, 0, 0, 0.3);
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--accent-1);
    margin: 0 auto;
    border-radius: 2px;
}

.glass-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-1) 0%, rgba(0, 255, 178, 0.1) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

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

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-1);
    box-shadow: 0 0 10px var(--accent-1);
    z-index: 2;
}

.timeline-content {
    padding: 30px;
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.timeline-content h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 500;
}

.experience-details {
    list-style-type: none;
    text-align: left;
}

.experience-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.experience-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-size: 18px;
    line-height: 1.5;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 178, 0.1);
    border-color: rgba(0, 255, 178, 0.3);
}

.skill-category h3 {
    font-size: 22px;
    margin-bottom: 25px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.skill-tags span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-tags span:hover {
    background: rgba(0, 255, 178, 0.1);
    border-color: var(--accent-1);
    color: var(--accent-1);
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav {
        display: none;
    }

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

    .hero-title {
        font-size: 40px;
    }
    
    .stats {
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .glass-container {
        padding: 30px 20px;
    }
}
