﻿@font-face {
    font-family: 'icomoon';
    src: url('/fonts/icomoon.eot?e09wy2');
    src: url('/fonts/icomoon.eot?e09wy2#iefix') format('embedded-opentype'), url('/fonts/icomoon.ttf?e09wy2') format('truetype'), url('/fonts/icomoon.woff?e09wy2') format('woff'), url('/fonts/icomoon.svg?e09wy2#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-Blue-Teams:before {
    content: "\e900";
}

.icon-Attack-Campaigns:before {
    content: "\e901";
}

.icon-Cyber-Warfighters:before {
    content: "\e902";
}

.icon-Elite-Red-Teams:before {
    content: "\e903";
}

.icon-Purple-Teams:before {
    content: "\e904";
}

.icon-Exploit-Chains:before {
    content: "\e905";
}

.icon-unsecured-Systems:before {
    content: "\e906";
}

.icon-Adversaries:before {
    content: "\e907";
}

@font-face {
    font-family: 'Rostex';
    src: url('fonts/Rostex-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Landing Page Styles */
.landing-wrapper {
    background: #0f1115;
    color: #f2f4f8;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.landing-nav {
    background: rgba(15, 17, 21, 0.95);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #66ff00;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #66ff00;
    text-shadow: 0 0 20px rgba(102, 255, 0, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

    .nav-links a {
        color: #f2f4f8;
        text-decoration: none;
        transition: all 0.3s;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        cursor: pointer;
    }

        .nav-links a:hover {
            color: #66ff00;
            background: rgba(102, 255, 0, 0.1);
        }

        .nav-links a.active {
            color: #66ff00;
            border-bottom: 2px solid #66ff00;
        }

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.landing-wrapper .btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.landing-wrapper .btn-primary {
    background: #66ff00;
    color: #0f1115;
    font-weight: bold;
}

    .landing-wrapper .btn-primary:hover {
        background: #52cc00;
        box-shadow: 0 0 20px rgba(102, 255, 0, 0.5);
        transform: translateY(-2px);
    }

.landing-wrapper .btn-secondary {
    background: transparent;
    color: #66ff00;
    border: 2px solid #66ff00;
}

    .landing-wrapper .btn-secondary:hover {
        background: rgba(102, 255, 0, 0.1);
        box-shadow: 0 0 20px rgba(102, 255, 0, 0.3);
    }

/* Page Container */
.landing-wrapper .page {
    display: none !important;
    animation: fadeIn 0.5s;
}

    .landing-wrapper .page.active {
        display: block !important;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, #66ff00, #32ffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.6;
    }

    .hero p {
        font-size: 1.3rem;
        color: #7a808a;
        max-width: 800px;
        margin: 0 auto 2rem;
    }

.highlight {
    color: #66ff00;
}

/* Features Grid - Responsive 3x3, 2x3, 1xN */
.features {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Large screens: 3 columns (3x2 = 6 cards) */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens: 1 column */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(242, 244, 248, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #7a808a;
    transition: all 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: #66ff00;
        box-shadow: 0 10px 30px rgba(102, 255, 0, 0.2);
    }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #66ff00;
    margin-bottom: 1rem;
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

    .content-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        color: #66ff00;
    }

    .content-section h3 {
        font-size: 1.8rem;
        margin: 2rem 0 1rem;
        color: #32ffff;
    }

    .content-section p {
        color: #f2f4f8;
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }

    .content-section ul {
        list-style-position: inside;
    }

/* Services Grid - Responsive 3x3, 2x3, 1xN */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Large screens: 3 columns */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens: 1 column */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: linear-gradient(135deg, rgba(102, 255, 0, 0.05), rgba(50, 255, 255, 0.05));
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #66ff00;
}

    .service-card h4 {
        color: #66ff00;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(242, 244, 248, 0.05);
    border-radius: 8px;
    border: 1px solid #7a808a;
}

    .contact-form .form-group {
        margin-bottom: 1.5rem;
    }

        .contact-form .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #66ff00;
        }

    .form-control-landing,
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        width: 100%;
        padding: 0.8rem;
        background: #0f1115;
        border: 1px solid #7a808a;
        border-radius: 4px;
        color: #f2f4f8;
        font-size: 1rem;
    }

        .form-control-landing:focus,
        .contact-form input:focus,
        .contact-form textarea:focus,
        .contact-form select:focus {
            outline: none;
            border-color: #66ff00;
            box-shadow: 0 0 10px rgba(102, 255, 0, 0.3);
        }

    .contact-form textarea {
        resize: vertical;
        min-height: 150px;
    }

    .contact-form .validation-message {
        color: #ff4444;
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

.alert-success {
    background: rgba(102, 255, 0, 0.1);
    border: 1px solid #66ff00;
    color: #66ff00;
    padding: 1rem;
    border-radius: 4px;
}

.alert-danger {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 1rem;
    border-radius: 4px;
}

/* Footer */
.landing-footer {
    background: #0f1115;
    border-top: 2px solid #66ff00;
    padding: 2rem;
    text-align: center;
    color: #7a808a;
    margin-top: 4rem;
}

/* Accent colors for variety */
.accent-cyan {
    color: #32ffff;
}

.accent-pink {
    color: #ff19d5;
}

.accent-orange {
    color: #ffa200;
}

/* Avatar Button */
.btn-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #66ff00, #32ffff);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: all 0.3s !important;
}

    .btn-avatar:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 0 20px rgba(102, 255, 0, 0.6);
    }

.avatar-initials {
    color: #0f1115;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Form button styling for logout */
.auth-buttons form button {
    margin: 0;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: #66ff00;
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(102, 255, 0, 0.3);
}

.hamburger-menu:hover .hamburger-line {
    background: #52cc00;
    box-shadow: 0 0 15px rgba(102, 255, 0, 0.5);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .mobile-menu.open {
        display: flex;
        opacity: 1;
        animation: slideDown 0.3s ease;
    }

:root {
    --bg: #242B32;
    --trace-dim: rgba(11,246,208,0.15);
    --trace-glow: #0BF6D0;
    --core-magenta: #D92F94;
    --packet: #F78D36;
    --node-bg: #1b2127;
    --text: #ffffff;
}

.container {
    position: relative;
    width: 1200px;
    height: 700px;
    margin: 40px auto;
}

.node {
    position: absolute;
    width: 200px;
    height: 90px;
    background: var(--node-bg);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 14px;
    gap: 4px;
}

    .node span {
        font-size: 48px;
    }
/* Left nodes - spread across height */
.left1 {
    left: 10px;
    top: 40px;
}

.left2 {
    left: 10px;
    top: 193px;
}

.left3 {
    left: 10px;
    top: 347px;
}

.left4 {
    left: 10px;
    top: 500px;
}

/* Right nodes */
.right1 {
    right: -10px;
    top: 40px;
}

.right2 {
    right: -10px;
    top: 193px;
}

.right3 {
    right: -10px;
    top: 347px;
}

.right4 {
    right: -10px;
    top: 500px;
}

.core {
    position: absolute;
    left: 50%;
    top: calc(50% - 35px);
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid var(--core-magenta);
    box-shadow: 0 0 25px var(--core-magenta);
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(36,43,50,1) 40%, rgba(36,43,50,0.9) 70%);
}

    .core img {
        width: 80%;
        height: auto;
        pointer-events: none;
        margin-left: -5px;
    }

    .core.pulse {
        box-shadow: 0 0 45px #61F229, 0 0 90px #61F229;
    }

.svganimation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.trace-dim {
    stroke: var(--trace-dim);
    stroke-width: 3;
    fill: none;
}

.trace-live {
    stroke: var(--trace-glow);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px var(--trace-glow));
}

.packet {
    fill: var(--packet);
    filter: drop-shadow(0 0 8px var(--packet));
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.mobile-menu .nav-link {
    color: #f2f4f8;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

    .mobile-menu .nav-link:hover {
        color: #66ff00;
        background: rgba(102, 255, 0, 0.1);
    }

    .mobile-menu .nav-link.active {
        color: #66ff00;
        background: rgba(102, 255, 0, 0.15);
        border: 2px solid #66ff00;
    }

.mobile-menu-divider {
    width: 80%;
    max-width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #66ff00, transparent);
    margin: 1rem 0;
}

.mobile-menu .btn {
    max-width: 300px;
}

/* Desktop Navigation - Hidden on Mobile */
.desktop-nav,
.desktop-auth {
    display: flex;
}

.logo img {
    height: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-container {
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Hide desktop navigation */
    .desktop-nav,
    .desktop-auth {
        display: none !important;
    }

    /* Adjust nav container for mobile */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

        /* Keep logo and hamburger on same line */
        .nav-container .logo {
            flex: 1;
        }

    .animation {
        display: none;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Animation for hamburger when menu is open */
.mobile-menu.open ~ .nav-container .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.open ~ .nav-container .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu.open ~ .nav-container .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* Range103 beginner-focused theme. All overrides are scoped so Range403 stays unchanged. */
.landing-wrapper.range103 {
    --range103-primary: #7c6cff;
    --range103-cyan: #43d9ff;
    --range103-pink: #b79cff;
    --range103-orange: #ffbf69;
    background: #10121c;
    color: #f4f3ff;
}

.range103 .landing-nav,
.range103 .landing-footer {
    border-color: rgba(124, 108, 255, 0.35);
}

.range103 .highlight,
.range103 .btn-primary {
    color: #fff;
}

.range103 .highlight {
    color: #b9afff;
}

.range103 .accent-cyan {
    color: var(--range103-cyan);
}

.range103 .accent-pink {
    color: var(--range103-pink);
}

.range103 .accent-orange {
    color: var(--range103-orange);
}

.range103 .btn-primary {
    background: linear-gradient(135deg, #6d5dfc, #8b70ff);
    border-color: #8b70ff;
}

    .range103 .btn-primary:hover {
        background: linear-gradient(135deg, #5b4ae8, #795cf4);
    }

.range103 .btn-secondary {
    border-color: rgba(183, 156, 255, 0.75);
}

    .range103 .btn-secondary:hover {
        border-color: var(--range103-cyan);
        color: var(--range103-cyan);
    }

.range103 .nav-link.active,
.range103 .nav-link:hover {
    color: #b9afff;
}

.range103 .feature-card,
.range103 .service-card {
    border-color: rgba(124, 108, 255, 0.24);
}

    .range103 .feature-card:hover,
    .range103 .service-card:hover {
        border-color: rgba(124, 108, 255, 0.8);
        box-shadow: 0 8px 28px rgba(70, 57, 180, 0.18);
    }

.range103 .range103-wordmark {
    display: inline-block;
    color: #f4f3ff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    text-decoration: none;
}

    .range103 .range103-wordmark span {
        color: #a99aff;
    }

.range103 .contact-form input:focus,
.range103 .contact-form select:focus,
.range103 .contact-form textarea:focus {
    border-color: #8b70ff;
    box-shadow: 0 0 0 2px rgba(124, 108, 255, 0.18);
}

.range103 .container.animation {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .range103 *, .range103 *::before, .range103 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}