* {
    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: transparent;
    padding: 20px 0;
}

.header.hidden {
    transform: translateY(-100%);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

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

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

@media (min-width: 768px) {
    .logo {
        font-size: 24px;
    }
}

.right-side {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

@media (min-width: 768px) {
    .right-side {
        gap: 40px;
    }
}

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

@media (min-width: 768px) {
    .nav {
        gap: 40px;
    }
}

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

@media (min-width: 768px) {
    .nav-item {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

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

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

@media (min-width: 768px) {
    .connect-btn {
        padding: 8px 24px;
        font-size: 13px;
    }
}

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

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

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    max-width: 80%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    padding: 60px 20px 20px;
    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: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.mobile-nav-item:active {
    padding-left: 8px;
    opacity: 0.7;
}

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

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

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

/* Mobile - Show mobile menu, hide desktop nav */
@media (max-width: 768px) {
    .right-side {
        display: none !important;
    }
    .mobile-menu-btn {
        display: block !important;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.hero-left {
    text-align: center;
}

@media (min-width: 968px) {
    .hero-left {
        text-align: left;
    }
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 56px;
    }
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 28px;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 18px;
        margin-bottom: 32px;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 968px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.join-network-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .join-network-btn {
        padding: 14px 32px;
        font-size: 14px;
    }
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .btn-secondary {
        padding: 14px 32px;
        font-size: 14px;
    }
}

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

.hero-image-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Capabilities Section */
.capabilities-section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .capabilities-section {
        padding: 80px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 60px;
    }
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 42px;
        margin-bottom: 16px;
    }
}

.section-header p {
    font-size: 14px;
    color: #aaaaaa;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 18px;
    }
}

.capability-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

@media (min-width: 968px) {
    .capability-row {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        margin-bottom: 80px;
    }
    .capability-row.reverse {
        direction: rtl;
    }
    .capability-row.reverse .capability-info {
        direction: ltr;
    }
}

.capability-image {
    text-align: center;
}

.capability-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .capability-img {
        max-width: 400px;
    }
}

.capability-info {
    text-align: center;
}

@media (min-width: 968px) {
    .capability-info {
        text-align: left;
    }
}

.capability-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .capability-info h3 {
        font-size: 32px;
        margin-bottom: 16px;
    }
}

.capability-info p {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .capability-info p {
        font-size: 16px;
        margin-bottom: 24px;
    }
}

.capability-info ul {
    list-style: none;
}

.capability-info li {
    padding: 6px 0;
    font-size: 14px;
    color: #dddddd;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

@media (min-width: 968px) {
    .capability-info li {
        justify-content: flex-start;
    }
}

.capability-info li i {
    font-size: 12px;
    color: #ffffff;
}

/* Roles Section */
.roles-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .roles-section {
        padding: 80px 0;
    }
}

.roles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .roles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.role-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .role-card {
        padding: 32px;
    }
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.role-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .role-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }
}

.role-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .role-card h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.role-card ul {
    list-style: none;
}

.role-card li {
    padding: 6px 0;
    font-size: 13px;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .role-card li {
        font-size: 14px;
        gap: 10px;
    }
}

.role-card li i {
    font-size: 11px;
    color: #4ade80;
    width: 16px;
}

/* Workflow Section - Arrows point RIGHT on both mobile and desktop */
.workflow-section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .workflow-section {
        padding: 80px 0;
    }
}

.workflow-container {
    overflow-x: auto;
    padding: 20px 0;
}

.workflow-steps {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 280px;
}

@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.step-item {
    text-align: center;
    min-width: 70px;
}

@media (min-width: 768px) {
    .step-item {
        min-width: 80px;
    }
}

.step-num {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

@media (min-width: 768px) {
    .step-num {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin: 0 auto 12px;
    }
}

.step-item span {
    font-size: 11px;
    font-weight: 500;
    color: #cccccc;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .step-item span {
        font-size: 14px;
    }
}

/* Arrow always points RIGHT - never downwards */
.step-arrow {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.5;
    transform: rotate(0deg);
    margin: 0 4px;
}

@media (min-width: 768px) {
    .step-arrow {
        font-size: 24px;
        margin: 0 8px;
    }
}

.workflow-note {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #aaaaaa;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .workflow-note {
        margin-top: 40px;
        font-size: 16px;
    }
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .features-section {
        padding: 80px 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .feature-item {
        padding: 20px;
        font-size: 16px;
    }
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 18px;
    color: #4ade80;
}

/* Final CTA Section */
.final-cta {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .final-cta {
        padding: 80px 0;
    }
}

.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cta-card {
        padding: 60px;
        border-radius: 32px;
    }
}

.cta-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .cta-card h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }
}

.cta-card p {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .cta-card p {
        font-size: 18px;
        margin-bottom: 32px;
    }
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .btn-primary {
        padding: 14px 32px;
        font-size: 14px;
    }
}

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

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

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

@media (min-width: 768px) {
    .footer .container {
        padding: 0 48px;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        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;
    line-height: 1.3;
}

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

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

@media (min-width: 768px) {
    .footer-links-center {
        gap: 24px;
    }
}

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

@media (min-width: 768px) {
    .footer-links-center a {
        font-size: 10px;
    }
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }
.delay-6 { transition-delay: 600ms; }
.delay-7 { transition-delay: 700ms; }
.delay-8 { transition-delay: 800ms; }

.pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Mobile touch optimizations */
@media (max-width: 768px) {
    button, 
    .nav-item, 
    .connect-btn,
    .join-network-btn,
    .btn-secondary,
    .btn-primary,
    .mobile-nav-item,
    .mobile-connect-btn {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    button:active, 
    .nav-item:active, 
    .connect-btn:active,
    .join-network-btn:active,
    .btn-secondary:active,
    .btn-primary:active,
    .mobile-nav-item:active,
    .mobile-connect-btn:active {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

/* Workflow Section - Horizontal scrolling on mobile */
.workflow-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 -20px;
    padding: 20px 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.workflow-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    min-width: min-content;
    width: max-content;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 70px;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.workflow-step span {
    font-size: 12px;
    font-weight: 500;
    color: #cccccc;
    white-space: nowrap;
}

.workflow-arrow {
    font-size: 20px;
    color: #ffffff;
    opacity: 0.5;
    flex-shrink: 0;
}

.workflow-note {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #aaaaaa;
}

@media (min-width: 768px) {
    .workflow-wrapper {
        overflow-x: visible;
        margin: 0;
        padding: 20px 0;
    }
    
    .workflow-track {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .workflow-step span {
        font-size: 14px;
    }
    
    .workflow-arrow {
        font-size: 24px;
    }
    
    .workflow-note {
        font-size: 16px;
        margin-top: 40px;
    }
}
