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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-brand i {
    color: #3b82f6;
    font-size: 1.8rem;
}

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

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #3b82f6;
}

.nav-mobile {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #333333;
}

.btn-secondary:hover {
    background: #333333;
    border-color: #3b82f6;
}

.btn-primary.large, .btn-secondary.large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Email Modal */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(42, 42, 42, 0.9) 50%,
        rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(40px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.email-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

/* Modal Glow Effect */
.modal-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.3) 0%,
        rgba(139, 92, 246, 0.3) 25%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(236, 72, 153, 0.3) 75%,
        rgba(59, 130, 246, 0.3) 100%);
    border-radius: 24px;
    opacity: 0;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.6; }
}

/* Modal Header */
.modal-header {
    text-align: center;
    padding: 40px 40px 20px;
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    animation: iconFloat 3s ease-in-out infinite;
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.modal-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px;
    font-weight: 500;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

/* Modal Body */
.modal-body {
    padding: 20px 40px 30px;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
}

/* Enhanced Email Form */
.modal-body .email-signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    color: rgba(59, 130, 246, 0.7);
    font-size: 1.1rem;
    z-index: 1;
}

.modal-body .email-input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-body .email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-body .email-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Beautiful Submit Button */
.btn-modal-primary {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 30px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-modal-primary:active {
    transform: translateY(0);
}

.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-modal-primary.loading .btn-text {
    opacity: 0;
}

.btn-modal-primary.loading .btn-loading {
    opacity: 1;
}

/* Modal Footer */
.modal-footer {
    padding: 0 40px 40px;
    text-align: center;
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.privacy-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Form Error States */
.modal-body .email-signup-form.error .email-input {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    animation: inputShake 0.5s ease-in-out;
}

.modal-body .email-signup-form.error .input-icon {
    color: #ef4444;
}

@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Modal Success State */
.modal-success {
    text-align: center;
    padding: 60px 40px;
    animation: successFadeIn 0.6s ease-out;
}

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

.success-animation {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto;
    animation: successPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 
        0 20px 40px rgba(34, 197, 94, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 2;
    position: relative;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
}

.ring-2 {
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    animation-delay: 0.3s;
}

.ring-3 {
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
    animation-delay: 0.6s;
}

@keyframes ringExpand {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.modal-success h3 {
    font-size: 2rem;
    color: #22c55e;
    margin-bottom: 15px;
    font-weight: 700;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.modal-success p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
    animation: slideInUp 0.8s ease-out 0.5s both;
}

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

.success-buttons {
    animation: slideInUp 0.8s ease-out 0.7s both;
}

.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 32px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px rgba(34, 197, 94, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.9);
}

.video-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    max-height: 600px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container iframe {
    border-radius: 20px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Mobile responsive video modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        height: 80%;
        max-height: none;
    }
    
    .video-modal-close {
        top: -40px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.stat-label {
    font-size: 0.9rem;
    color: #999999;
}

/* AI Consensus Room */
.ai-consensus-room {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
    position: relative;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.room-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3b82f6;
}

.room-status {
    font-size: 0.8rem;
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Conference Table */
.conference-table {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto 20px;
}

.table-surface {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    border-radius: 50%;
    border: 2px solid #555555;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* AI Agents */
.ai-agent {
    position: absolute;
    width: 70px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-agent:hover {
    transform: scale(1.1);
}

.ai-agent:hover .agent-name {
    color: #3b82f6;
}

/* Position agents around the table with more space */
.agent-1 { top: 5px; left: 50%; transform: translateX(-50%); }
.agent-2 { top: 20%; right: 5px; }
.agent-3 { bottom: 20%; right: 5px; }
.agent-4 { bottom: 5px; left: 50%; transform: translateX(-50%); }
.agent-5 { bottom: 20%; left: 5px; }
.agent-6 { top: 20%; left: 5px; }

/* Agent Body (GPU-like) */
.agent-body {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    border-radius: 8px;
    border: 2px solid #555555;
    position: relative;
    margin: 0 auto;
    animation: agentIdle 3s ease-in-out infinite;
}

@keyframes agentIdle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* GPU Core (center processing unit) */
.gpu-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    border-radius: 3px;
    animation: gpuPulse 2s ease-in-out infinite;
}

@keyframes gpuPulse {
    0%, 100% { 
        opacity: 0.8;
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    }
}

/* GPU Fans */
.gpu-fans {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    display: flex;
    justify-content: space-between;
}

.fan {
    width: 8px;
    height: 8px;
    border: 1px solid #666666;
    border-radius: 50%;
    border-top-color: #3b82f6;
    animation: fanSpin 1s linear infinite;
}

@keyframes fanSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Agent Eyes */
.agent-eyes {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.eye {
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    animation: eyeBlink 4s ease-in-out infinite;
}

@keyframes eyeBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

/* Agent Names */
.agent-name {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: #999999;
    text-align: center;
    white-space: nowrap;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Vote Bubbles */
.vote-bubble {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    animation: voteReveal 6s ease-in-out infinite;
}

@keyframes voteReveal {
    0%, 20% { opacity: 0; transform: translateX(-50%) translateY(10px); }
     25%, 75% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80%, 100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* Stagger the vote animations */
.agent-1 .vote-bubble { animation-delay: 0s; }
.agent-2 .vote-bubble { animation-delay: 0.5s; }
.agent-3 .vote-bubble { animation-delay: 1s; }
.agent-4 .vote-bubble { animation-delay: 1.5s; }
.agent-5 .vote-bubble { animation-delay: 2s; }
.agent-6 .vote-bubble { animation-delay: 2.5s; }

/* Vote text colors */
.vote-bubble:has(.vote-text:contains("BUY")) {
    border: 1px solid #00ff88;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.vote-bubble:has(.vote-text:contains("SELL")) {
    border: 1px solid #ff5555;
    background: rgba(255, 85, 85, 0.1);
    color: #ff5555;
}

.vote-bubble:has(.vote-text:contains("HOLD")) {
    border: 1px solid #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}

/* Manual styling for vote types since CSS :has() has limited support */
.agent-1 .vote-bubble, .agent-3 .vote-bubble, .agent-4 .vote-bubble, .agent-6 .vote-bubble {
    border: 1px solid #00ff88;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.agent-2 .vote-bubble {
    border: 1px solid #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}

.agent-5 .vote-bubble {
    border: 1px solid #ff5555;
    background: rgba(255, 85, 85, 0.1);
    color: #ff5555;
}

/* Center Display */
.center-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.consensus-result-display {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #3b82f6;
    animation: resultPulse 3s ease-in-out infinite;
}

@keyframes resultPulse {
    0%, 100% { 
        border-color: #3b82f6;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    50% { 
        border-color: #00ff88;
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
}

.consensus-result-display .symbol {
    font-size: 0.7rem;
    color: #cccccc;
    margin-bottom: 2px;
}

.consensus-result-display .final-vote {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 2px;
}

.consensus-result-display .confidence {
    font-size: 0.6rem;
    color: #999999;
}

/* Vote Tally */
.vote-tally {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.tally-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 50px;
}

.tally-label {
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tally-count {
    font-size: 1.2rem;
    font-weight: 700;
}

.tally-item.buy .tally-label,
.tally-item.buy .tally-count {
    color: #00ff88;
}

.tally-item.hold .tally-label,
.tally-item.hold .tally-count {
    color: #ffaa00;
}

.tally-item.sell .tally-label,
.tally-item.sell .tally-count {
    color: #ff5555;
}

.tally-item.buy {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.1);
}

.tally-item.hold {
    border-color: rgba(255, 170, 0, 0.3);
    background: rgba(255, 170, 0, 0.1);
}

.tally-item.sell {
    border-color: rgba(255, 85, 85, 0.3);
    background: rgba(255, 85, 85, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #cccccc;
}

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

.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.feature-card.main-feature {
    grid-column: span 2;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #cccccc;
    margin-bottom: 20px;
}

.feature-demo {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.consensus-preview {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #333333;
}

.consensus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.consensus-symbol {
    font-weight: 600;
    color: #3b82f6;
}

.consensus-time {
    font-size: 0.9rem;
    color: #999999;
}

.consensus-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.consensus-result.bullish {
    color: #3b82f6;
}

.confidence {
    margin-left: auto;
    font-size: 0.9rem;
    color: #cccccc;
}

.news-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid #333333;
}

.news-sentiment {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 50px;
}

.news-item.positive .news-sentiment {
    color: #3b82f6;
}

.news-item.negative .news-sentiment {
    color: #ff5555;
}

.news-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.news-content p {
    font-size: 0.8rem;
    color: #999999;
}

/* Coming Soon Section */
.coming-soon {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

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

.roadmap-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.roadmap-item:hover::before {
    opacity: 1;
}

.roadmap-item:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.roadmap-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.roadmap-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.roadmap-content p {
    color: #cccccc;
    margin-bottom: 20px;
}

.roadmap-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.development {
    background: rgba(255, 170, 0, 0.2);
    color: #ffaa00;
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.status-badge.planned {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.eta {
    font-size: 0.9rem;
    color: #999999;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

.cta-content {
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

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

.cta .btn-primary {
    background: #ffffff;
    color: #3b82f6;
}

.cta .btn-primary:hover {
    background: #f3f4f6;
}

.cta .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand i {
    color: #3b82f6;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #3b82f6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

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

.footer-section a:hover {
    color: #3b82f6;
}

/* Disabled footer links styling */
.footer-section .disabled-link {
    color: #666666;
    cursor: default;
    opacity: 0.6;
}

.footer-links .disabled-link {
    color: #666666;
    text-decoration: none;
    cursor: default;
    opacity: 0.6;
    transition: none;
}

.footer-links {
    display: flex;
    gap: 30px;
}

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

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #999999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    /* Navigation mobile fixes */
    .nav {
        padding: 0 15px;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.main-feature {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Modal mobile styles */
    .modal-content {
        width: 95%;
        margin: 20px;
        max-height: calc(100vh - 40px);
        border-radius: 20px;
    }
    
    /* Ensure all content stays within viewport */
    * {
        max-width: 100%;
        word-wrap: break-word;
    }
    
    /* Fix any potential overflow issues */
    .hero-visual, .ai-consensus-room {
        width: 100%;
        overflow: hidden;
    }
    
    /* Mobile-specific text adjustments */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Button improvements for mobile */
    .btn-primary, .btn-secondary {
        min-height: 44px; /* iOS touch target minimum */
        touch-action: manipulation; /* Prevent zoom on tap */
    }
    
    .modal-header {
        padding: 30px 25px 15px;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.6rem;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .modal-body {
        padding: 15px 25px 25px;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .modal-body .email-input {
        padding: 16px 18px 16px 50px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn-modal-primary {
        padding: 16px 25px;
        font-size: 1rem;
    }
    
    .modal-footer {
        padding: 0 25px 30px;
    }
    
    .privacy-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .privacy-note {
        font-size: 0.8rem;
    }
    
    /* Success state mobile */
    .modal-success {
        padding: 40px 25px;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .modal-success h3 {
        font-size: 1.6rem;
    }
    
    .modal-success p {
        font-size: 1rem;
    }
    
    .btn-success {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .ring-1, .ring-2, .ring-3 {
        width: 100px;
        height: 100px;
        margin: -50px 0 0 -50px;
    }
    
    .ring-2 {
        width: 120px;
        height: 120px;
        margin: -60px 0 0 -60px;
    }
    
    .ring-3 {
        width: 140px;
        height: 140px;
        margin: -70px 0 0 -70px;
    }
}

/* Small mobile devices (iPhone SE, iPhone 12, Samsung S24 FE) */
@media (max-width: 480px) {
    /* Fix overall container width issues */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Hero section fixes */
    .hero {
        padding: 80px 0 30px;
        min-height: auto;
    }
    
    .hero-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }
    
    /* Button responsiveness */
    .hero-buttons {
        gap: 15px;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.9rem;
        padding: 12px 20px;
        width: 100%;
        max-width: 280px;
    }
    
    .btn-primary.large, .btn-secondary.large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Stats responsiveness */
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Section headers */
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* Features section */
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* AI Consensus Room */
    .ai-consensus-room {
        padding: 15px;
    }
    
    .room-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .room-title {
        font-size: 1rem;
    }
    
    .vote-item {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    /* CTA section */
    .cta {
        padding: 60px 0;
    }
    
    .cta h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .cta p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .cta-buttons {
        gap: 15px;
        width: 100%;
    }
    
    /* Footer responsiveness */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    /* Modal responsiveness */
    .modal-content {
        width: 98%;
        margin: 10px;
        max-height: calc(100vh - 20px);
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 20px 20px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 15px 20px 20px;
    }
    
    .modal-footer {
        padding: 15px 20px 20px;
    }
    
    .email-input {
        font-size: 1rem;
        padding: 14px 18px;
    }
    
    .btn-modal-primary {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    /* Video modal */
    .video-modal-content {
        width: 98%;
        height: auto;
        aspect-ratio: 16/9;
        max-height: 70vh;
    }
    
    .video-modal-close {
        top: -35px;
        right: 5px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Extra small devices (iPhone SE, very small phones) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.85rem;
        padding: 11px 18px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .cta h2 {
        font-size: 1.6rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
} 