:root {
    --primary-color: #1a1a1a;
    --secondary-color: #666666;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-dark: #0a0a0a;
    --border-color: #e5e5e5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo a {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 15px;
    transition: color 0.2s;
}

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

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
}

.btn-primary {
    background: var(--text-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 120px 0 80px;
    background: var(--bg-white);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-bottom: 80px;
}

.btn-download {
    background: var(--text-primary);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.btn-download:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

.hero-demo {
    margin-top: 60px;
}

.demo-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.demo-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Agent Section */
.agent-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.agent-content,
.tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.agent-text,
.tab-text {
    max-width: 500px;
}

.agent-text h2,
.tab-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.agent-description,
.tab-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.link-arrow {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

.link-arrow:hover {
    color: var(--text-secondary);
}

.agent-demo,
.tab-demo {
    display: flex;
    justify-content: center;
}

.agent-demo .demo-placeholder,
.tab-demo .demo-placeholder {
    max-width: 600px;
    width: 100%;
}

.demo-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
}

.demo-header {
    background: var(--bg-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.demo-dots span:nth-child(1) {
    background: #ff5f57;
}

.demo-dots span:nth-child(2) {
    background: #ffbd2e;
}

.demo-dots span:nth-child(3) {
    background: #28ca42;
}

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

.demo-content {
    padding: 24px;
    background: #1a1a1a;
    color: #e5e5e5;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.code-line {
    color: #e5e5e5;
}

.code-indent {
    padding-left: 20px;
    color: #999999;
}

.code-highlight {
    color: #4ade80;
    font-weight: 500;
}

.analysis-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.analysis-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.stock-ticker {
    font-weight: 600;
    color: #4ade80;
    min-width: 60px;
}

.analysis-text {
    flex: 1;
    color: #999999;
}

.auto-complete {
    color: #4ade80;
    font-weight: 500;
}

/* Tab Section */
.tab-section {
    padding: 120px 0;
    background: var(--bg-white);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-showcase {
    margin-bottom: 80px;
}

.showcase-item {
    max-width: 900px;
    margin: 0 auto;
}

.showcase-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.feature-demo-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.feature-demo-card img {
    width: 100%;
    height: auto;
    display: block;
}

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

.feature-card {
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-secondary);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.ecosystem-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.ecosystem-card {
    padding: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ecosystem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ecosystem-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ecosystem-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.ecosystem-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Capabilities Section */
.capabilities-section {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.capabilities-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.capability-item {
    padding: 32px;
}

.capability-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.capability-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-info strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.btn-download-large {
    background: var(--text-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.btn-download-large:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    color: white;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .agent-content,
    .tab-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .agent-text,
    .tab-text {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .section-header h2,
    .agent-text h2,
    .tab-text h2,
    .capabilities-header h2,
    .cta-content h2 {
        font-size: 36px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        margin-top: 8px;
    }
    
    .features-grid,
    .capabilities-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .agent-section,
    .tab-section,
    .features,
    .ecosystem-section,
    .capabilities-section,
    .testimonials-section,
    .cta {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-header h2,
    .agent-text h2,
    .tab-text h2,
    .capabilities-header h2,
    .cta-content h2 {
        font-size: 28px;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .btn-primary {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.capability-item,
.testimonial-item,
.ecosystem-card {
    animation: fadeInUp 0.6s ease-out;
}
