:root {
    --bg-color: #010205;
    --text-color: #ffffff;
    --primary-blue: #007bff;
    --accent-blue: #00f0ff;
    --card-bg: rgba(10, 20, 40, 0.6);
    --card-border: rgba(0, 240, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    /* Increased from 40px */
    width: auto;
    object-fit: contain;
    max-width: 250px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a1428;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--accent-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-link.dropdown-toggle::after {
    content: " ▼";
    font-size: 0.7em;
    vertical-align: middle;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent-blue);
}

.btn {
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #0052cc, #007bff);
    color: white;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.8);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/hero-bg.png') center/cover no-repeat;
    padding-top: 80px;
    /* Space for fixed header */
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(1, 2, 5, 0.6) 0%, rgba(1, 2, 5, 0.9) 100%);
    z-index: 1;
}

.hero-container-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    /* Adjusted for better fit */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.highlight-blue {
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.hero-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.monitor-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* "Normal" width */
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.2);
    overflow: hidden;
}

.monitor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Simulated GIF/Animation effects */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* Thin scan line */
    background: rgba(0, 240, 255, 0.8);
    box-shadow: 0 0 10px var(--accent-blue);
    animation: scan 3s linear infinite;
    opacity: 0.7;
}

.pulse-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.3;
    }
}

/* Responsive updates for new hero */
@media (max-width: 900px) {
    .hero-container-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        margin: 0 auto 30px auto;
    }
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
}

.section-title.centered {
    text-align: center;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: #a0a0b0;
    margin-bottom: 60px;
    margin-top: -20px;
    font-size: 1.1rem;
}

/* Advantage Section */
.advantage {
    background-color: #f7f9fc;
    color: #1a1a2e;
    /* Light theme for this block as per image roughly, or maybe off-white */
    /* Looking at image, it's actually white background */
    background: white;
    padding: 60px 0;
}

.advantage .section-title {
    color: #111;
    text-align: center;
    margin-bottom: 50px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.advantage-text h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #000;
    font-weight: 700;
}

.advantage-text p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/* TIP Section */
.tip-section {
    background: #050a14;
    position: relative;
    overflow: hidden;
}

.tip-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tip-content {
    flex: 1;
    max-width: 500px;
}

.tip-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.tip-integrations-text {
    font-family: monospace;
    color: var(--accent-blue);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.tip-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tip-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.2));
}

/* IAM Section */
.iam-section {
    background: #02040a;
    /* Back to dark */
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: linear-gradient(180deg, rgba(20, 30, 50, 0.5) 0%, rgba(10, 20, 30, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-image img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.card-content p {
    font-size: 0.95rem;
    color: #aaa;
}

/* Ecosystem Section */
.ecosystem-section {
    background: #010205;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.eco-card {
    background: rgba(10, 20, 40, 0.4);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.05) inset;
}

.eco-card:hover {
    background: rgba(10, 20, 60, 0.6);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.1) inset, 0 0 20px rgba(0, 150, 255, 0.1);
}

.eco-icon svg {
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.eco-card h3 {
    font-size: 1.2rem;
    color: #e0e0ff;
}

/* Footer */
.footer {
    background: #000;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
/* Responsive Header & Mobile Menu */
@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        /* Allow wrapping */
        padding: 0 20px;
    }

    .logo {
        z-index: 101;
        /* Keep logo above menu */
    }

    .nav {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #000;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        z-index: 100;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        min-width: 100%;
        display: none;
        /* Hide default, show on click/hover if simplified */
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
        /* Show hamburger */
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero-container-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 60px;
    }

    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        margin: 0 auto 30px auto;
    }

    .advantage-grid,
    .cards-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .tip-container {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 901px) {
    .mobile-menu-btn {
        display: none;
    }
}