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

html {
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: #e0e0e0;
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.logo-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: block;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-menu a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.navbar-menu a:hover {
    color: #00d4ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page sections for scroll snap */
.page-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: calc(80px + 2rem);
}

.hero-section {
    position: relative;
    text-align: center;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Homepage */
.homepage {
    text-align: center;
    padding: 3rem 0;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 255, 0.1));
    transform: translateY(-5px);
}

.feature-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #00d4ff;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #72e60d;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: #00d4ff;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    transform: scale(1.2);
    color: #00ffff;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #00d4ff;
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.arrow-down {
    font-size: 2rem;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* FAQ page styling */
.faq-section-page {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
}

.faq-container {
    max-width: 800px;
    width: 100%;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #00d4ff;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-width: 4px;
    transform: translateX(5px);
}

.faq-question {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.faq-answer {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.content-page h2 {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #d0d0d0;
}

.content-page ul, .content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.back-button {
    display: inline-block;
    margin-bottom: 2rem;
     margin-top: 5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.back-button:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
}

.video-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.whitepaper-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.whitepaper-subtitle {
    font-size: 1.2rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.whitepaper-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.protocol-table, .comparison-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.protocol-table th, .comparison-table th {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    font-weight: 600;
}

.protocol-table td, .comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: #d0d0d0;
}

.protocol-table tr:last-child td, .comparison-table tr:last-child td {
    border-bottom: none;
}

.protocol-table tr:hover, .comparison-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

.link {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.link:hover {
    color: #00ffff;
}