/* CurisTrials - Clinical Trial Management Platform Styles */

:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary: #6B7280;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --purple: #8B5CF6;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: var(--primary-dark); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo:hover { color: var(--gray-900); }

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: #fff;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-buttons {
    display: flex;
    gap: 12px;
}

.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(--gray-700);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: 3.25rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Dashboard Preview */
.dashboard-preview {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

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

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

.dashboard-dots span:first-child { background: #EF4444; }
.dashboard-dots span:nth-child(2) { background: #F59E0B; }
.dashboard-dots span:last-child { background: #10B981; }

.dashboard-title {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.dashboard-content {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dash-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
}

.dash-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.25rem;
}

.dash-icon.green { background: #D1FAE5; color: #059669; }
.dash-icon.blue { background: #DBEAFE; color: #2563EB; }
.dash-icon.purple { background: #EDE9FE; color: #7C3AED; }

.dash-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.dash-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.dash-progress {
    grid-column: 1 / -1;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
}

.progress-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--purple));
    border-radius: 4px;
    transition: width 1s ease-out;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 8px;
    text-align: right;
}

/* Trusted By */
.trusted-by {
    padding: 48px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trusted-by p {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-placeholder {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-400);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Features Section */
.features {
    padding: 100px 0;
}

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

.feature-card {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 16px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.section-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-pattern {
    position: absolute;
    opacity: 0.6;
}

.bg-pattern-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation: rotate 60s linear infinite;
}

.bg-pattern-2 {
    width: 250px;
    height: 250px;
    bottom: -30px;
    left: -30px;
    animation: rotate 50s linear infinite reverse;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    position: relative;
    text-align: center;
}

.step::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: var(--gray-300);
}

.step:last-child::after { display: none; }

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

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

.benefits-text h2 {
    margin-bottom: 40px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
}

.benefits-list strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.benefits-list p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9375rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    padding: 40px;
    border-radius: 16px;
    color: #fff;
}

.quote {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 32px;
    font-style: italic;
}

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

.author-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.author-title {
    opacity: 0.8;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-shape {
    position: absolute;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: rotate 80s linear infinite;
}

.cta-shape-2 {
    width: 350px;
    height: 350px;
    bottom: -80px;
    right: -80px;
    animation: rotate 70s linear infinite reverse;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-glow-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.08;
    top: -50px;
    right: 10%;
    animation: glowPulse 8s ease-in-out infinite;
}

.cta-glow-2 {
    width: 250px;
    height: 250px;
    background: var(--purple);
    opacity: 0.06;
    bottom: -50px;
    left: 15%;
    animation: glowPulse 10s ease-in-out infinite 2s;
}

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

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.demo-form {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.demo-form input,
.demo-form select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: border-color 0.2s;
}

.demo-form input:focus,
.demo-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.demo-form .btn {
    width: 100%;
    margin-top: 8px;
}

.form-note {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--gray-800);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin: 16px 0 24px;
    font-size: 0.9375rem;
}

.footer-brand .logo {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-700);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step::after {
        display: none;
    }

    .benefits-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links,
    .nav-buttons {
        display: none;
    }

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

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat {
        flex: 1;
        min-width: 100px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    /* SVG responsive adjustments */
    .blob-1 {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -150px;
    }

    .blob-2 {
        width: 350px;
        height: 350px;
        bottom: -100px;
        left: -150px;
    }

    .blob-3 {
        display: none;
    }

    .floating-circle {
        display: none;
    }

    .hero-illustration {
        max-width: 100%;
    }

    .wave-divider svg {
        height: 40px;
    }

    .bg-pattern-1,
    .bg-pattern-2 {
        width: 200px;
        height: 200px;
    }

    .cta-shape-1,
    .cta-shape-2 {
        width: 250px;
        height: 250px;
    }

    .cta-glow-1,
    .cta-glow-2 {
        width: 150px;
        height: 150px;
    }
}

/* SVG Definitions (hidden) */
.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Hero Background Shapes */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    opacity: 0.8;
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.blob-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.blob-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 30s ease-in-out infinite;
}

/* Floating Circles */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    opacity: 0.1;
}

.circle-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation: floatCircle 8s ease-in-out infinite;
}

.circle-2 {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 15%;
    animation: floatCircle 10s ease-in-out infinite 1s;
}

.circle-3 {
    width: 25px;
    height: 25px;
    top: 40%;
    left: 5%;
    animation: floatCircle 12s ease-in-out infinite 2s;
}

.circle-4 {
    width: 12px;
    height: 12px;
    bottom: 30%;
    right: 10%;
    animation: floatCircle 9s ease-in-out infinite 0.5s;
}

/* Hero Illustration */
.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    transition: transform 0.3s ease-out;
}

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

/* DNA Helix Animation */
.dna-strand {
    animation: dnaFloat 4s ease-in-out infinite;
}

.dna-strand-2 {
    animation-delay: 2s;
}

.dna-rung {
    animation: dnaRung 2s ease-in-out infinite;
}

.dna-rung:nth-child(odd) {
    animation-delay: 0.3s;
}

/* Dashboard Card in Hero */
.dashboard-card {
    animation: cardFloat 6s ease-in-out infinite;
}

.stat-card {
    animation: statPop 0.5s ease-out forwards;
    opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.3s; }
.stat-card:nth-child(2) { animation-delay: 0.5s; }
.stat-card:nth-child(3) { animation-delay: 0.7s; }

.progress-bar-fill {
    animation: progressFill 2s ease-out 1s forwards;
    width: 0 !important;
}

.mini-chart {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 2s ease-out 1.5s forwards;
}

.chart-dot {
    animation: pulse 2s ease-in-out infinite;
}

/* Data Nodes Animation */
.node {
    animation: nodeFloat 4s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 1.3s; }
.node-3 { animation-delay: 2.6s; }

/* Pulse Rings */
.pulse-ring {
    animation: pulseRing 3s ease-out infinite;
    transform-origin: center;
}

.pulse-ring-2 {
    animation-delay: 1.5s;
}

/* Connection Lines */
.connection-line {
    stroke-dasharray: 100;
    animation: dashMove 3s linear infinite;
}

/* Wave Dividers */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}

.wave-divider-1 {
    background: linear-gradient(180deg, var(--primary-light) 0%, transparent 100%);
}

.wave-divider-2 {
    background: #fff;
}

.wave-divider-3 {
    background: var(--gray-50);
}

.wave-divider-4 {
    background: #fff;
}

/* Feature Icon Animations */
.feature-icon {
    position: relative;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.pulse-icon {
    animation: pulseOpacity 2s ease-in-out infinite;
}

.rotate-icon {
    animation: rotate 20s linear infinite;
    transform-origin: center;
}

.pulse-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPulse 3s ease-in-out infinite;
}

.data-stream {
    animation: streamPulse 1.5s ease-in-out infinite;
}

.data-stream:last-of-type {
    animation-delay: 0.75s;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(0, -30px) rotate(0deg); }
    75% { transform: translate(-20px, -10px) rotate(-5deg); }
}

@keyframes floatCircle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.1; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.2; }
}

@keyframes dnaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes statPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes progressFill {
    to { width: 180px !important; }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes dashMove {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

@keyframes pulseOpacity {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes drawPulse {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

@keyframes streamPulse {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.08; transform: scale(1); }
    50% { opacity: 0.12; transform: scale(1.1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-content,
.hero-visual,
.feature-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

/* Feature card hover effects */
.feature-card:hover .pulse-icon {
    animation: pulseOpacity 0.5s ease-in-out infinite;
}

.feature-card:hover .rotate-icon {
    animation: rotate 5s linear infinite;
}

.feature-card:hover .pulse-line {
    animation: drawPulse 1s ease-in-out infinite;
}
