/* =========================================
   Ettheba Future Communications PLC
   Hyper-Modern Design (100% Attractive)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-deep: #020205;
    --bg-surface: #0a0a12;
    --primary: #00f2ff;
    /* Cyan */
    --secondary: #ff0055;
    /* Neon Pink */
    --accent: #7000ff;
    /* Electric Purple */
    --text-main: #ffffff;
    --text-muted: #8b9bb4;

    --glass-low: rgba(255, 255, 255, 0.03);
    --glass-high: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);

    --glow-primary: 0 0 20px rgba(0, 242, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 0, 85, 0.5);

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* --- ANIMATED BACKGROUND --- */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 255, 0.15), transparent 25%);
    animation: pulse-bg 10s infinite alternate;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    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;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

@keyframes pulse-bg {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 50%, var(--secondary) 100%);
    background: linear-gradient(to right, #fff, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
    box-shadow: var(--glow-primary);
}

/* --- BUTTONS --- */
.btn-cyber {
    position: relative;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s;
    border-radius: 4px;
    display: inline-block;
}

.btn-cyber:hover {
    color: #ffffff;
    background: rgba(0, 242, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.8);
}

/* --- GLASS CARDS (TILT READY) --- */
.tilt-card {
    background: rgba(10, 10, 18, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.tilt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: 0.3s;
}

.tilt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.tilt-card:hover::before {
    opacity: 1;
}

.icon-glow {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: white;
    /* Fallback */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 2, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links a {
    margin-left: 30px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--text-muted);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    animation: rotate-glow 20s infinite linear;
}

/* --- BENTO GRID LAYOUT --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 50px;
    max-width: 1600px;
    margin: 0 auto;
}

/* --- ROADMAP --- */
.roadmap-wrap {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 50px 0;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.roadmap-node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.roadmap-node:nth-child(even) {
    flex-direction: row-reverse;
}

.node-content {
    width: 45%;
}

.node-date {
    background: var(--bg-surface);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-heading);
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: var(--glow-primary);
}

.node-point {
    width: 20px;
    height: 20px;
    background: var(--bg-deep);
    border: 4px solid var(--secondary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 15px var(--secondary);
}

/* --- TEAM (HEXAGONS) --- */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 50px;
}

.team-card {
    text-align: center;
    width: 300px;
}

.hex-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #1a1a2e, #000);
    margin: 0 auto 30px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    transition: 0.3s;
}

.team-card:hover .hex-avatar {
    background: var(--primary);
    color: black;
    transform: rotate(30deg);
}

.team-card:hover .hex-avatar span {
    transform: rotate(-30deg);
    display: block;
}

/* --- LOGIN SPECIFIC --- */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-box {
    width: 100%;
    max-width: 450px;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 242, 255, 0.1);
    position: relative;
    z-index: 10;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.cyber-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #333;
    padding: 10px 0;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-body);
    outline: none;
    transition: 0.3s;
}

.cyber-input:focus {
    border-color: var(--primary);
}

.input-label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s;
}

.cyber-input:focus+.input-label,
.cyber-input:not(:placeholder-shown)+.input-label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--primary);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .roadmap-line {
        left: 20px;
    }

    .roadmap-node {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 50px;
    }

    .node-content {
        width: 100%;
    }

    .node-point {
        left: 20px;
    }
}