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

:root {
    --bg-primary: #0A1A2F;
    --bg-secondary: #0F1F3F;
    --primary: #0066FF;
    --success: #00C853;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F7FA;
    --primary: #0066FF;
    --success: #00C853;
    --text-primary: #1A1A1A;
    --text-secondary: rgba(26, 26, 26, 0.7);
    --border: rgba(0, 0, 0, 0.3); /* Darker border for light mode */
}

[data-theme="light"] .nav-links a {
    color: #FFFFFF; /* Keep navbar links white in light mode */
}

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

html {
    scroll-behavior: smooth;
}

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

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 26, 47, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
}

.btn-primary, .btn-secondary {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #0052CC;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

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

.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 102, 255, 0.2), transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(0, 200, 83, 0.2), transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-bottom: 32px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.dashboard-preview {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 4px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    border-radius: 12px 12px 0 0;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #FF5F56; }
.control.yellow { background: #FFBD2E; }
.control.green { background: #27C93F; }

.dashboard-title {
    font-size: 14px;
    color: var(--text-secondary);
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 0 0 12px 12px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.stat-card-primary {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), transparent);
    border-color: rgba(0, 102, 255, 0.3);
}

.stat-card-success {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), transparent);
    border-color: rgba(0, 200, 83, 0.3);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-value.profit {
    color: var(--success);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--success));
    border-radius: 2px;
    transition: all 0.3s;
}

.bot-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bot-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-status {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.bot-name {
    font-size: 12px;
    color: var(--text-secondary);
}

.stat-change {
    font-size: 14px;
    color: var(--success);
    font-weight: 600;
    margin-top: 12px;
}

.features {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-primary {
    background: rgba(0, 102, 255, 0.2);
    color: var(--primary);
}

.feature-icon-success {
    background: rgba(0, 200, 83, 0.2);
    color: var(--success);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-number.primary {
    color: var(--primary);
}

.stat-number.success {
    color: var(--success);
}

.stat-text {
    color: var(--text-secondary);
}

.bots {
    padding: 80px 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 102, 255, 0.05), transparent);
}

.bots-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.bot-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bot-tab {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    color: var(--text-primary);
}

.bot-tab:hover,
.bot-tab.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.3);
}

.bot-tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.bot-tab-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.bot-tab-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.bot-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
}

.bot-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.bot-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bot-info p {
    color: var(--text-secondary);
}

.bot-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.bot-logic h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.logic-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.logic-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.deploy-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--success));
}

.pricing {
    padding: 80px 0;
}

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

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-featured {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), transparent);
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--success);
    flex-shrink: 0;
}

.testimonials {
    padding: 80px 0;
}

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

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
}

.author-role {
    font-size: 14px;
    color: var(--text-secondary);
}

.final-cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2), transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

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

.cta-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--text-primary);
}

.main-content {
    padding-top: 64px;
    min-height: calc(100vh - 64px);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    /* background: rgba(255, 255, 255, 0.05); */
    background: rgba(120, 149, 200, 0.441);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.theme-icon {
    position: absolute;
    transition: all 0.3s;
}

.sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

.moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

.logo {
    text-decoration: none;
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

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

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

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

    .mobile-menu-btn span {
        transition: all 0.3s;
    }

    .bots-layout {
        grid-template-columns: 1fr;
    }

    .bot-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
