/* 
    Modern Corporate Design System 
    Font: Euclid Circular A
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-cyan: #00ffff;
    --primary-glow: rgba(0, 255, 255, 0.4);
    --bg-dark: #05080a;
    --card-bg: rgba(15, 20, 25, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --font-main: 'Euclid Circular A', 'Inter', sans-serif;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.bg-orchestrator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0a1218 0%, #05080a 100%);
}

.bg-blur-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.15;
    animation: floating 20s infinite ease-in-out;
}

@keyframes floating {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(100px, 50px);
    }
}

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

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

.home-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s var(--transition);
    cursor: pointer;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

.home-btn ion-icon {
    font-size: 1.2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-cyan);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin-right: auto;
    margin-left: 40px;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: none;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #00ff00;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #00ff00;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #00ff00;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Custom Dropdown Styling */
.portal-selector-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    width: 320px;
    position: relative;
    z-index: 1000;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    text-align: center;
}

.select-selected:hover,
.select-selected.active {
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.select-selected::after {
    content: '\25BC';
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s;
    position: absolute;
    right: 25px;
}

.select-selected.active::after {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background: rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 99;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.select-items.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-items div {
    color: white;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-cyan);
    padding-left: 30px;
}

/* Neon Border Animation */
.neon-frame {
    position: relative;
    overflow: hidden;
}

.neon-frame::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(transparent, transparent, transparent, var(--primary-cyan));
    animation: rotate-neon 8s linear infinite;
    top: -25%;
    left: -25%;
    z-index: 0;
}

.neon-frame::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--card-bg);
    border-radius: inherit;
    z-index: 1;
}

.neon-frame * {
    position: relative;
    z-index: 2;
}

@keyframes rotate-neon {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    text-align: center;
    background: url('assets/hero-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-dark) 5%, transparent 50%, var(--bg-dark) 95%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(90deg, #fff, var(--primary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Light Streaks Animation */
.light-streaks {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.streak {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    height: 1px;
    width: 200px;
    opacity: 0.4;
    filter: blur(2px);
    box-shadow: 0 0 20px var(--primary-cyan);
    animation: streak-flow 6s linear infinite;
}

.streak-1 {
    top: 20%;
    left: -200px;
    transform: rotate(15deg);
}

.streak-2 {
    top: 40%;
    left: -200px;
    transform: rotate(-10deg);
    animation-delay: 2s;
}

.streak-3 {
    top: 70%;
    left: -200px;
    transform: rotate(5deg);
    animation-delay: 4.5s;
}

@keyframes streak-flow {
    0% {
        left: -200px;
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-cyan);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

/* Grid Sections */
.features {
    padding: 100px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
    opacity: 1;
}

.card icon {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }
}