:root {
    --bg-color: #080B11;
    --card-bg: #0F1524;
    --card-border: rgba(255, 255, 255, 0.05);
    --primary: #00E5FF;
    --primary-glow: rgba(0, 229, 255, 0.15);
    --secondary: #00E676;
    --secondary-glow: rgba(0, 230, 118, 0.15);
    --accent: #D500F9;
    --accent-glow: rgba(213, 0, 249, 0.15);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --nav-bg: rgba(15, 21, 36, 0.8);
}

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

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

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

/* Ambient Glow Backgrounds */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(8, 11, 17, 0) 70%);
    top: -150px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.ambient-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(8, 11, 17, 0) 70%);
    bottom: 10%;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin-bottom: -62px;
}

.logo span {
    font-size: 1rem;
    background: var(--primary-glow);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 2px 8px;
    border-radius: 99px;
    letter-spacing: 0.05em;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-launch {
    background: linear-gradient(135deg, #00B0FF 0%, var(--primary) 100%);
    color: #080B11 !important;
    font-weight: 600 !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease !important;
}

.btn-launch:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #FFFFFF, #E2E8F0 50%, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #00B0FF 0%, var(--primary) 100%);
    color: #080B11;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Hero Visual/Dashboard Mockup */
.hero-visual {
    position: relative;
}

.mockup-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 229, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-dot.active {
    background: var(--primary);
}

.mockup-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    height: 250px;
}

.mockup-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-item {
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    width: 80%;
}

.mockup-item.active {
    background: var(--primary-glow);
    border-left: 3px solid var(--primary);
    width: 95%;
}

.mockup-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-map-placeholder {
    flex-grow: 1;
    background: #090E1A url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 Q25,30 50,50 T100,50 M50,0 Q30,25 50,50 T50,100" fill="none" stroke="rgba(0, 229, 255, 0.08)" stroke-width="1"/></svg>') repeat;
    border-radius: 8px;
    border: 1px dashed rgba(0, 229, 255, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-map-placeholder::after {
    content: "GIS Digital Twin Integration";
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--bg-color);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--primary-glow);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.mockup-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mockup-stat {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.75rem;
}

.mockup-stat-val {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 700;
}

/* Section Title Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.section-header span {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

/* Modules Section */
.modules-section {
    padding: 6rem 5%;
    position: relative;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.module-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 229, 255, 0.05);
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.module-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.module-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
}

.module-dept-count {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-main);
}

.module-glow-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Tech Stack Section */
.tech-section {
    padding: 6rem 5% 8rem;
    position: relative;
    background: radial-gradient(100% 50% at 50% 100%, rgba(0, 229, 255, 0.03) 0%, rgba(8, 11, 17, 0) 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.tech-card {
    background: rgba(15, 21, 36, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.tech-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: #060910;
    position: relative;
    z-index: 10;
}

footer p span {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 6rem 5% 3rem;
    }

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

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .mockup-body {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .mockup-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-right: 0;
        padding-bottom: 1rem;
        flex-direction: row;
        overflow-x: auto;
    }
    
    .mockup-map-placeholder {
        height: 200px;
    }
    
    .mockup-stat-grid {
        grid-template-columns: 1fr;
    }
}