/* network.css - AXO Networks Network Access Page */
/* Dark theme matching index.css - Fully mobile responsive */

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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Full Page Background */
.full-page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffffff, #888888);
    transition: width 0.2s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    flex-shrink: 0;
}

.right-side {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 8px 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.nav-item:hover {
    opacity: 0.7;
}

.connect-btn {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    text-decoration: none;
    flex-shrink: 0;
}

.connect-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    padding: 70px 24px 24px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.open {
    display: block;
}

.close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.mobile-nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.mobile-connect-btn {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
}

/* Step Containers */
.step-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-container.active {
    display: block;
    opacity: 1;
}

/* Hero Section - Step 0 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 32px;
}

.email-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.email-input:focus {
    outline: none;
    border-color: #ffffff;
}

.email-input::placeholder {
    color: #888888;
}

.start-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-btn:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.error-message {
    color: #ff6666;
    font-size: 14px;
    margin-top: 16px;
}

/* Form Sections */
.form-section {
    padding: 120px 0 80px;
}

.form-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .form-card {
        padding: 30px 24px;
    }
}

.form-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.form-card > p {
    color: #cccccc;
    margin-bottom: 32px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-details label {
    font-size: 13px;
    font-weight: 500;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-details input {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.company-details input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.company-details input[readonly] {
    background: rgba(255, 255, 255, 0.03);
    color: #888888;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 32px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

/* Role Cards */
.role-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.role-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.role-card.selected {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

.role-card span {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.role-card small {
    font-size: 13px;
    color: #aaaaaa;
}

.continue-btn {
    width: 100%;
    margin-top: 24px;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 500px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.capability-card.selected {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

.capability-card span {
    font-size: 14px;
}

.custom-capability {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.custom-capability input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.add-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.custom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.custom-tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-tag:hover {
    background: rgba(255, 100, 100, 0.3);
    border-color: #ff6666;
}

.submit-btn {
    width: 100%;
}

/* Success Section */
.success-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
}

.success-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 550px;
    margin: 0 auto;
}

.success-card i {
    font-size: 64px;
    color: #4caf50;
    margin-bottom: 24px;
}

.success-card h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.success-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Error Section */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
}

.error-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 550px;
    margin: 0 auto;
}

.error-card i {
    font-size: 64px;
    color: #ff6666;
    margin-bottom: 24px;
}

.error-card h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.error-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0 16px;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-brand h3 {
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3px;
}

.footer-brand p {
    color: #6b7280;
    font-size: 9px;
    margin-bottom: 2px;
}

.footer-brand .copyright {
    color: #4b5563;
    font-size: 8px;
}

.footer-links-center {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links-center a {
    color: #6b7280;
    text-decoration: none;
    font-size: 10px;
    transition: color 0.2s;
}

.footer-links-center a:hover {
    color: #fff;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
    .mobile-sidebar,
    .sidebar-overlay {
        display: none !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .header {
        padding: 16px 0;
    }
    .right-side {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .logo {
        font-size: 20px;
    }
    .hero-section {
        padding: 100px 20px 60px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .email-form {
        flex-direction: column;
    }
    .start-btn {
        width: 100%;
    }
    .form-section {
        padding: 100px 0 60px;
    }
    .form-card {
        padding: 24px 20px;
    }
    .form-card h2 {
        font-size: 24px;
    }
    .form-actions {
        flex-direction: column;
    }
    .btn-secondary, .btn-primary {
        width: 100%;
        text-align: center;
    }
    .success-card, .error-card {
        padding: 40px 24px;
    }
    .success-card h2, .error-card h2 {
        font-size: 24px;
    }
    .footer .container {
        padding: 0 24px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-links-center {
        gap: 16px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 20px 16px;
    }
    .role-card span {
        font-size: 16px;
    }
    .role-card small {
        font-size: 12px;
    }
    .custom-capability {
        flex-direction: column;
    }
    .add-btn {
        width: 100%;
    }
}
