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

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-border: #2a2a2a;
    --color-text: #e5e5e5;
    --color-text-muted: #a0a0a0;
    --color-primary: #c0c0c0;
    --color-primary-hover: #d0d0d0;
    --color-accent: #808080;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(192, 192, 192, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(128, 128, 128, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(160, 160, 160, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 15s ease-in-out infinite;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.nav-brand img {
    height: 40px;
    width: 40px;
}

.logo-spin {
    animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #c0c0c0, #808080, #a0a0a0, #c0c0c0);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.brand-text:hover {
    transform: scale(1.05);
}

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

.nav-link {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-top: 1px solid var(--color-border);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }
}

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

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    background-image: 
        linear-gradient(30deg, transparent 12%, rgba(192, 192, 192, 0.03) 12%, rgba(192, 192, 192, 0.03) 14%, transparent 14%),
        linear-gradient(150deg, transparent 12%, rgba(192, 192, 192, 0.03) 12%, rgba(192, 192, 192, 0.03) 14%, transparent 14%);
    background-size: 70px 70px;
    opacity: 0.9;
    overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.hero-bg::before {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.hero-bg::after {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #808080 0%, #606060 100%);
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #c0c0c0, #808080, #a0a0a0, #c0c0c0);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 4s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

.scroll-indicator .icon {
    width: 32px;
    height: 32px;
    color: var(--color-text-muted);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    right: -150px;
    animation: floatSlow 25s ease-in-out infinite;
    pointer-events: none;
}

.section-dark::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(128, 128, 128, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: -100px;
    animation: floatSlow 20s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #667eea;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: translateY(-10px) rotate(5deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.feature-card:hover .feature-icon svg {
    stroke: #f093fb;
    transform: scale(1.2) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.1);
}

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

.project-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-testnet { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.badge-gaming { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.badge-trading { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.badge-layer1 { background: rgba(251, 146, 60, 0.2); color: #fb923c; }
.badge-defi { background: rgba(236, 72, 153, 0.2); color: #f472b6; }

.project-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--color-surface);
    border: none;
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--color-bg);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Early Access Form */
.early-access-form {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.success-message {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 3rem 2rem;
    background: var(--color-bg);
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    text-align: center;
}

.success-message .icon {
    width: 64px;
    height: 64px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background: var(--color-surface);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 40px;
    width: 40px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-card, .project-card {
        opacity: 0;
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .feature-card:nth-child(1), .project-card:nth-child(1) { animation-delay: 0.1s; }
    .feature-card:nth-child(2), .project-card:nth-child(2) { animation-delay: 0.2s; }
    .feature-card:nth-child(3), .project-card:nth-child(3) { animation-delay: 0.3s; }
    .project-card:nth-child(4) { animation-delay: 0.4s; }
    .project-card:nth-child(5) { animation-delay: 0.5s; }
    .project-card:nth-child(6) { animation-delay: 0.6s; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

/* AI Trading Panel */
.trading-panel {
    max-width: 1000px;
    margin: 3rem auto 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.05) 0%, rgba(128, 128, 128, 0.05) 100%);
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.panel-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
}

.panel-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.stat-value.positive {
    color: #4ade80;
}

.stat-value.negative {
    color: #f87171;
}

.trades-container {
    padding: 1rem;
    max-height: 500px;
    overflow-y: auto;
}

.trades-container::-webkit-scrollbar {
    width: 8px;
}

.trades-container::-webkit-scrollbar-track {
    background: var(--color-surface);
}

.trades-container::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.trades-container::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

.trade-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    animation: slideIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.trade-item:hover {
    border-color: var(--color-primary);
    transform: translateX(5px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.trade-item.buy {
    border-left: 3px solid #4ade80;
}

.trade-item.sell {
    border-left: 3px solid #f87171;
}

.trade-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.trade-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    background: var(--color-surface);
    color: var(--color-text);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.trade-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trade-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trade-pair {
    font-weight: 600;
    font-size: 1rem;
}

.trade-type {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.trade-type.buy {
    color: #4ade80;
}

.trade-type.sell {
    color: #f87171;
}

.trade-metrics {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.trade-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.metric-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.trade-profit {
    font-weight: 700;
    font-size: 1.125rem;
    min-width: 80px;
    text-align: right;
}

.trade-profit.positive {
    color: #4ade80;
}

.trade-profit.negative {
    color: #f87171;
}

.trade-time {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .panel-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .trade-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .trade-metrics {
        width: 100%;
        justify-content: space-between;
    }
    
    .trade-metric {
        align-items: flex-start;
    }
    
    .trade-profit {
        text-align: left;
    }
}


/* Footer About Section */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
}

.footer-description {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-about {
        max-width: 100%;
        text-align: center;
    }
}


/* Team Section Styles */
.team-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.team-story {
    background: rgba(20, 20, 20, 0.5);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out;
}

.team-story p {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.team-story p:last-child {
    margin-bottom: 0;
}

.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: rgba(20, 20, 20, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    stroke: #667eea;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.value-card:hover .value-icon svg {
    stroke: #764ba2;
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.value-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-story {
        padding: 1.5rem;
    }
    
    .team-story p {
        font-size: 1rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
}

/* Legal Pages Styles */
.legal-section {
    padding-top: 120px;
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.5);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.legal-updated {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.legal-content p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.legal-nav {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-nav {
        flex-direction: column;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Additional Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animate cards on scroll */
.feature-card:nth-child(1) {
    animation: slideInLeft 0.8s ease-out;
}

.feature-card:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.feature-card:nth-child(3) {
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.project-card {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.3s ease;
}

.project-card:hover {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth hover effects for all interactive elements */
button, a, .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add glow effect to status indicator */
.status-indicator {
    animation: pulse 2s ease-in-out infinite;
}

/* Enhance scroll indicator animation */
.scroll-indicator {
    animation: bounce 2s infinite, pulse 3s ease-in-out infinite;
}
