/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Inter', 'Helvetica Neue', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e5e5;
}

.nav {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #000000;
}

.discord-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #5865f2;
    color: white !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.discord-link:hover {
    background: #4752c4;
    transform: translateY(-1px);
}

/* Main Content */
.main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 2rem 6rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 5rem;
    /* Account for fixed header */
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: #333333;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.25rem;
    color: #666666;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Dashboard Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    height: 750px;
    /* Increased from 650px */
}

.dashboard-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-tabs {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 1;
}

.tab {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab.active {
    background: white;
    color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
    flex-shrink: 0;
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.dashboard-content {
    padding: 1.5rem;
    position: relative;
}

.live-demo-section {
    margin-bottom: 2rem;
}

.live-demo-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-stat {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.events-feed,
.ai-insights {
    margin-bottom: 1.5rem;
}

.feed-header,
.insight-header {
    margin-bottom: 1rem;
}

.feed-header h4,
.insight-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.event-list,
.insight-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}

.event-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
    animation: slideIn 0.3s ease;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.insight-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    animation: slideIn 0.3s ease;
}

.event-item:hover {
    background: #f8f9fa;
}

.event-item:last-child,
.insight-item:last-child {
    border-bottom: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-time {
    color: #666666;
    font-size: 0.75rem;
    min-width: 60px;
}

.event-type {
    background: #000000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.event-details {
    color: #333333;
    flex: 1;
}

.insight-icon {
    font-size: 1.25rem;
}

.insight-text {
    color: #333333;
    flex: 1;
    line-height: 1.4;
}

.event-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.expand-icon {
    margin-left: auto;
    font-size: 0.7rem;
    color: #666666;
    transition: transform 0.2s ease;
}

.event-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.event-json {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e5e5;
    background: #f8f9fa;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.event-json pre {
    margin: 0;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1.4;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.event-json code {
    color: #333333;
    background: none;
}

/* CTA Section */
.cta-section {
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cta-button.primary {
    background: #000000;
    color: white;
}

.cta-button.primary:hover {
    background: #333333;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.cta-button.secondary:hover {
    background: #000000;
    color: white;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.waitlist-form {
    max-width: 400px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    background: white;
    color: #1a1a1a;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.email-input:focus {
    border-color: #000000;
}

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

.join-button {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: #000000;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.join-button:hover {
    background: #333333;
    transform: translateY(-2px);
}

.launch-note {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 500;
}

/* Stats Section */
.stats {
    padding: 4rem 2rem;
    background: #1a1a1a;
    color: white;
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.25rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* Capabilities Section */
.capabilities {
    padding: 6rem 2rem;
    background: white;
}

.capabilities-content {
    max-width: 1200px;
    margin: 0 auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.capability-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.capability-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    color: #333333;
}

.capability-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.capability-card p {
    color: #666666;
    line-height: 1.7;
}

/* Platform Benefits Section */
.platform-benefits {
    padding: 6rem 2rem;
    background: #f8f9fa;
}

.platform-content {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.benefit-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.benefit-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000000;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    padding: 0.75rem 0;
    color: #666666;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.benefit-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.benefit-list li:last-child {
    border-bottom: none;
}

/* Integration Section */
.integration {
    padding: 6rem 2rem;
    background: white;
}

.integration-content {
    max-width: 1200px;
    margin: 0 auto;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.platform-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.platform-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.platform-type {
    font-size: 0.875rem;
    color: #666666;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.platform-card p {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.platform-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.platform-link:hover {
    color: #333333;
}

/* CTA Footer Section */
.cta-footer {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    text-align: center;
}

.cta-footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-footer h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-footer p {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-footer-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-footer .cta-button.primary {
    background: white;
    color: #1a1a1a;
}

.cta-footer .cta-button.primary:hover {
    background: #f0f0f0;
}

.cta-footer .cta-button.secondary {
    border-color: white;
    color: white;
}

.cta-footer .cta-button.secondary:hover {
    background: white;
    color: #1a1a1a;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.footer-description {
    color: #cccccc;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .dashboard-mockup {
        max-width: 500px;
    }

    .demo-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .demo-stat {
        padding: 0.75rem;
    }

    .capabilities-grid,
    .platform-cards {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Hide header on mobile */
    .header {
        display: none;
    }

    /* Remove main content top padding since no fixed header */
    .main {
        padding-top: 0;
    }

    /* Adjust hero padding to move content higher */
    .hero {
        padding: 2rem 1rem 4rem 1rem;
        padding-top: 2rem;
    }

    .nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .dashboard-mockup {
        max-width: 100%;
        min-height: 400px;
    }

    .dashboard-header {
        padding: 0.75rem 1rem;
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-tabs {
        gap: 0.25rem;
        flex-shrink: 1;
    }

    .tab {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .dashboard-status {
        flex-shrink: 0;
        font-size: 0.75rem;
    }

    .demo-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .event-list,
    .insight-list {
        max-height: 120px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats,
    .capabilities,
    .platform-benefits,
    .integration,
    .cta-footer {
        padding: 4rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.125rem;
    }

    .cta-footer h2 {
        font-size: 2rem;
    }

    .cta-footer-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .discord-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.85rem;
    }

    .dashboard-mockup {
        min-height: 350px;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .live-demo-section h3 {
        font-size: 1.125rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .event-item,
    .insight-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .event-time {
        min-width: 50px;
        font-size: 0.7rem;
    }

    .event-type {
        min-width: 70px;
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }

    .capability-card,
    .benefit-section,
    .platform-card {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Event Detail Modal */
.event-detail-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
    border-radius: 0;
}

.modal-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #666666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    background: #e5e5e5;
    color: #1a1a1a;
}

.modal-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.event-summary-large {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #000000;
}

.event-type-large {
    display: inline-block;
    background: #000000;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-description-large {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.event-timestamp-large {
    display: block;
    font-size: 0.875rem;
    color: #666666;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.json-viewer {
    margin-top: 1.5rem;
}

.json-viewer h5 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.json-viewer pre {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

.json-viewer code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #333333;
    background: none;
}

/* Beta Invite Form */
.beta-invite-form {
    max-width: 500px;
    margin: 0 auto;
}

.beta-invite-form .form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.beta-invite-form .email-input {
    flex: 1;
    min-width: 280px;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: white;
}

.beta-invite-form .email-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.beta-invite-form .email-input::placeholder {
    color: #999999;
    font-weight: 400;
}

.beta-invite-form .cta-button {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 120px;
}

.beta-text {
    text-align: center;
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments for beta form */
@media (max-width: 768px) {
    .beta-invite-form .form-group {
        flex-direction: column;
        gap: 1rem;
    }

    .beta-invite-form .email-input {
        min-width: 100%;
    }

    .beta-invite-form .cta-button {
        min-width: 100%;
    }
}