/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    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;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu a:hover {
    background: var(--light-gray);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(30px); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    animation: slideDown 0.8s ease-out;
}

.badge-icon {
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-stats {
    display: flex;
    gap: 64px;
    justify-content: center;
    padding-top: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Problem Section */
.problem-section {
    background: var(--light-gray);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.problem-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card > p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 16px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 14px;
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.benefits-section .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.benefits-section .section-header h2 {
    color: white;
}

.benefits-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.benefit-number {
    font-size: 56px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Demo Section */
.demo-section {
    background: var(--light-gray);
}

.demo-preview {
    margin-bottom: 64px;
}

.demo-window {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.window-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-title {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.window-content {
    padding: 40px;
}

.dashboard-preview {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.preview-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.tile {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.tile.red {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
}

.tile.amber {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--warning);
}

.tile.green {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
}

.tile-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tile-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
}

.provider-table {
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table-row.header {
    background: white;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    text-transform: uppercase;
}

.table-row:last-child {
    border-bottom: none;
}

.risk-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.risk-badge.green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.risk-badge.amber {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.risk-badge.red {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.demo-feature {
    text-align: center;
}

.demo-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.demo-feature h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.demo-feature p {
    color: var(--gray);
}

/* Testimonials */
.testimonials-section {
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.quote-icon {
    font-size: 64px;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    padding-top: 16px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-content > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-section .btn-secondary {
    background: white;
    color: var(--primary);
        border: none;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-logo span {
    font-weight: 700;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .table-row {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* Smooth Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
