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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.nav-brand {
    flex: 1;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

.logo-dot {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #1f2937;
}

.nav-link::after {
    content: '▼';
    font-size: 10px;
    margin-left: 4px;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}



/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background: #8b5cf6;
    color: white;
}

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

.btn-secondary {
    background: white;
    color: #1f2937;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-outline {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    color: #1f2937;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-badge {
    margin-top: 24px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #fff;
}

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

.section-badge {
    background: #f3f4f6;
    color: #8b5cf6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Dashboard Preview */
.dashboard-preview {
    padding: 80px 0;
    background: #f9fafb;
}

.dashboard-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 48px;
}

.dashboard-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.dashboard-header {
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.date-selector select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 14px;
}

.dashboard-content {
    padding: 32px;
}

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

.metric-card {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.metric-card h4 {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.metric-change {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
}

.chart-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
}

.chart-container {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
}

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

.chart-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.chart-period {
    font-size: 12px;
    color: #6b7280;
    background: #e5e7eb;
    padding: 4px 8px;
    border-radius: 4px;
}

.chart-wrapper {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
    padding-right: 8px;
}

.y-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.chart-area {
    flex: 1;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 200px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.chart-line-path {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 20px;
}

.x-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.chart-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.chatgpt {
    background: #8b5cf6;
}

.legend-dot.perplexity {
    background: #3b82f6;
}

.legend-dot.claude {
    background: #10b981;
}

.legend-value {
    color: #10b981;
    font-weight: 600;
    font-size: 12px;
}

/* Policy Pages */
.policy-page {
    background: #fff;
    color: #1f2937;
}

.policy-hero {
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
    padding: 80px 0;
    text-align: center;
}

.policy-badge {
    display: inline-block;
    background: rgba(67, 56, 202, 0.1);
    color: #4338ca;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.policy-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.policy-updated {
    font-size: 16px;
    color: #4c51bf;
    margin-bottom: 24px;
}

.policy-summary {
    font-size: 18px;
    color: #4b5563;
    max-width: 720px;
    margin: 0 auto;
}

.policy-content {
    padding: 64px 0;
}

.policy-section {
    margin-bottom: 48px;
}

.policy-section:last-of-type {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.policy-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #4338ca;
    margin-bottom: 8px;
}

.policy-section p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 16px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-list {
    margin: 8px 0 16px 24px;
    color: #4b5563;
    line-height: 1.7;
}

.policy-list li {
    margin-bottom: 8px;
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.policy-section a {
    color: #3b82f6;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.policy-subsection {
    margin-bottom: 24px;
}

.policy-subsection:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #1f2937;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

.cta-contact p {
    font-size: 18px;
    color: white;
    margin: 0;
}

.cta-contact strong {
    color: #8b5cf6;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1f2937;
}

.footer-brand .logo-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom p {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-menu {
        gap: 24px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-wrapper {
        flex-direction: column;
    }
    
    .chart-y-axis {
        flex-direction: row;
        height: auto;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .chart-legend {
        flex-direction: column;
        gap: 12px;
    }

    .policy-hero {
        padding: 64px 0;
    }

    .policy-title {
        font-size: 32px;
    }

    .policy-summary {
        font-size: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .dashboard-content {
        padding: 24px 16px;
    }

    .policy-hero {
        padding: 48px 0;
    }

    .policy-title {
        font-size: 28px;
    }
}
