* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #0a0a0a;
    --text-primary: #0a0a0a;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --success: #10b981;
    --blue: #3b82f6;
    --purple: #8b5cf6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-nav {
    padding: 10px 20px;
    background: var(--text-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    padding: 180px 32px 120px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--text-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.visual-wrapper {
    position: relative;
}

.dashboard-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.card-actions {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--border);
    border-radius: 50%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.metric-trend {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.metric-trend.up {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.metric-trend.down {
    color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mini-chart {
    height: 40px;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

.chart-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.chart-legend {
    display: flex;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.green {
    background: var(--success);
}

.legend-dot.purple {
    background: var(--purple);
}

.bars-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    gap: 8px;
}

.bar-group {
    display: flex;
    gap: 4px;
    flex: 1;
    align-items: flex-end;
}

.bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar.green {
    background: var(--success);
}

.bar.purple {
    background: var(--purple);
}

.floating-card {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: -80px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -100px;
    animation-delay: 1s;
}

.floating-icon {
    font-size: 24px;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.floating-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Features Section */
.features {
    padding: 120px 32px;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Analytics Section */
.analytics {
    padding: 120px 32px;
    background: var(--bg-secondary);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.analytics-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.analytics-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 64px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
}

.analytics-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.analytics-list {
    list-style: none;
}

.analytics-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.analytics-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    padding: 120px 32px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-content {
    position: relative;
    z-index: 1;
}

.stats-header {
    text-align: center;
    margin-bottom: 64px;
}

.stats-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.stats-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    backdrop-filter: blur(12px);
}

.stat-value {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 16px;
}

.stat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--purple) 100%);
    border-radius: 2px;
    animation: fillBar 1.5s ease forwards;
}

/* Contact Section */
.contact {
    padding: 120px 32px;
    background: white;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
}

.contact-label {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.contact-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-label-small {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-value-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.contact-value-link:hover {
    text-decoration: underline;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--text-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    position: relative;
    padding: 80px 32px 32px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.footer-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-section {
    max-width: 380px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(2px);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #10b981;
}

.badge-dot-footer {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.footer-bottom {
    padding-top: 32px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copyright strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links .divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes fillBar {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-1, .card-2 {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 24px 80px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        padding: 40px 24px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}
