:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafafa;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.tool-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.tool-icon svg {
    width: 28px;
    height: 28px;
}

.featured-icon {
    width: 72px;
    height: 72px;
}

.featured-icon svg {
    width: 36px;
    height: 36px;
}

.tool-icon-sm {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.tool-icon-sm svg {
    width: 20px;
    height: 20px;
}

.small-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.tiny-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.tool-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

.featured-card {
    background: linear-gradient(135deg, #fff, #f8f9ff);
    border-radius: 20px;
}

.stat-card {
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.bg-primary-subtle {
    background-color: #e0e7ff;
    color: var(--primary);
}

.bg-success-subtle {
    background-color: #d1fae5;
    color: var(--success);
}

.bg-danger-subtle {
    background-color: #fee2e2;
    color: var(--danger);
}

.bg-warning-subtle {
    background-color: #fef3c7;
    color: var(--warning);
}

.revenue-split-visual {
    background: linear-gradient(135deg, #f8f9ff, #fff);
}

.split-diagram {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.split-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.split-bar {
    height: 24px;
    border-radius: 6px;
    min-width: 40px;
}

.owner-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.parent-bar {
    background: linear-gradient(90deg, var(--success), #34d399);
}

.founder-bar {
    background: linear-gradient(90deg, var(--warning), #fbbf24);
}

.split-label {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

.tip-card {
    background: linear-gradient(135deg, #ecfdf5, #fff);
    border: 2px solid #d1fae5 !important;
}

.tip-btn {
    min-width: 60px;
}

.tip-btn.active {
    background-color: var(--success);
    border-color: var(--success);
    color: white;
}

.navbar-brand svg {
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.demo-area {
    min-height: 200px;
}

footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.table th {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.table td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .featured-card .card-body {
        padding: 1.5rem !important;
    }
    
    .revenue-split-visual {
        margin-top: 2rem;
    }
}
