/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Live Ticker */
.live-ticker {
    background: linear-gradient(90deg, #1e293b, #0f172a);
    color: white;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.ticker-label {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

.ticker-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    animation: tickerSlide 20s linear infinite;
}

.ticker-item.increase { color: #ef4444; font-weight: 600; }
.ticker-item.critical { color: #f87171; font-weight: 700; }
.ticker-item.warning { color: #fbbf24; }
.ticker-item.stable { color: #34d399; }

.ticker-time {
    font-size: 0.8rem;
    opacity: 0.8;
}

@keyframes tickerSlide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    text-decoration: none;
}

.logo i {
    color: #6366f1;
    font-size: 2rem;
}

.logo .beta {
    background: #6366f1;
    color: white;
    font-size: 0.6rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #6366f1;
}

.btn-login {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4b5563;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    opacity: 0.03;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.highlight {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary .btn-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.btn-secondary {
    background: white;
    color: #6366f1;
    border: 2px solid #e0e7ff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: #6366f1;
    background: #f8fafc;
}

.btn-video {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.btn-video:hover {
    border-color: #94a3b8;
    color: #475569;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #475569;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.badge i {
    color: #6366f1;
}

.hero-image {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.preview-tabs {
    display: flex;
    gap: 1rem;
}

.preview-tabs span {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
}

.preview-tabs span.active {
    background: #6366f1;
    color: white;
}

.preview-time {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
}

.preview-chart {
    height: 150px;
    background: linear-gradient(90deg, #f0f9ff, #e0f2fe);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.preview-chart:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.1) 25%, 
        rgba(99, 102, 241, 0.2) 50%, 
        rgba(99, 102, 241, 0.1) 75%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.preview-alerts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.preview-alert i {
    font-size: 1rem;
}

.preview-alert.critical {
    background: #fef2f2;
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

.preview-alert.warning {
    background: #fffbeb;
    color: #d97706;
    border-left: 4px solid #f59e0b;
}

.preview-alert.stable {
    background: #f0fdf4;
    color: #059669;
    border-left: 4px solid #10b981;
}

.preview-alert small {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Recommendations */
.recommendations {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 800;
}

.section-title i {
    color: #6366f1;
    margin-right: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.stack-input {
    max-width: 800px;
    margin: 2rem auto 3rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    gap: 1rem;
}

.input-with-icon i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.input-with-icon input {
    flex: 1;
    padding: 1.25rem 1.25rem 1.25rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-analyze {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.btn-analyze:hover {
    transform: translateY(-2px);
}

.stack-examples {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stack-examples small {
    color: #94a3b8;
}

.stack-examples span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.stack-examples span:hover {
    background: #bae6fd;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Calculator */
.calculator {
    padding: 5rem 0;
    background: white;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-inputs {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: #6366f1;
}

.input-with-slider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
}

.slider-container {
    position: relative;
    padding: 1rem 0;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 6px;
    background: #d1d5db;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #6366f1;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.input-hint {
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.slider-with-value {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-with-value .slider {
    flex: 1;
    height: 6px;
    background: #d1d5db;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.slider-with-value .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #6366f1;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
    min-width: 60px;
}

.increase-presets {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.preset-btn:hover {
    border-color: #9ca3af;
}

.preset-btn.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.btn-calculate {
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: transform 0.2s;
    margin-top: 1rem;
}

.btn-calculate:hover {
    transform: translateY(-2px);
}

.calculator-tip {
    background: #fef3c7;
    color: #92400e;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.calculator-results {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
}

.calculator-results h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.results-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row:last-child {
    border-bottom: none;
}

.result-row.highlight {
    background: rgba(99, 102, 241, 0.1);
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.result-value {
    font-weight: 700;
    font-size: 1.25rem;
}

.result-value.increase {
    color: #f87171;
}

.savings-calculator {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.savings-calculator h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #34d399;
}

.savings-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(52, 211, 153, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.savings-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 0.5rem;
}

.savings-amount span {
    font-size: 1rem;
    opacity: 0.8;
}

.savings-breakdown {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Wizard Section */
.wizard-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.wizard {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 3rem auto 0;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
}

.wizard-steps:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.step.active .step-number {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.step-content p {
    font-size: 0.9rem;
    color: #64748b;
}

.api-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.api-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.api-option:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
}

.api-option.selected {
    background: #e0e7ff;
    border-color: #6366f1;
    color: #4f46e5;
}

.api-option i {
    font-size: 2rem;
}

.wizard-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    justify-content: center;
}

.btn-wizard-prev,
.btn-wizard-next {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.btn-wizard-prev {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.btn-wizard-next {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
}

.btn-wizard-skip {
    background: transparent;
    color: #64748b;
    border: none;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

/* APIs Section */
.apis-section {
    padding: 5rem 0;
    background: white;
}

.api-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-radius: 15px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item .stat-number.critical {
    color: #dc2626;
}

.stat-item .stat-number.warning {
    color: #d97706;
}

.stat-item .stat-number.stable {
    color: #059669;
}

.api-filters {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: #6366f1;
}

.btn-search {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #6366f1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: #94a3b8;
}

.filter-btn.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.filter-btn.critical {
    color: #dc2626;
    border-color: #fecaca;
}

.filter-btn.warning {
    color: #d97706;
    border-color: #fef3c7;
}

.filter-btn.stable {
    color: #059669;
    border-color: #d1fae5;
}

.filter-buttons select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-buttons select:focus {
    outline: none;
    border-color: #6366f1;
}

.apis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* API Card */
.api-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.api-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.api-card.critical {
    border-left: 5px solid #dc2626;
}

.api-card.warning {
    border-left: 5px solid #f59e0b;
}

.api-card.stable {
    border-left: 5px solid #10b981;
}

.api-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.api-header h3 {
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
}

.api-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.badge-critical {
    background: #fee2e2;
    color: #dc2626;
}

.badge-warning {
    background: #fef3c7;
    color: #d97706;
}

.badge-stable {
    background: #d1fae5;
    color: #059669;
}

.api-price {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.api-category {
    display: inline-block;
    background: #e0e7ff;
    color: #4f46e5;
    padding: 0.3rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.api-meta {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.api-alert {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.api-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-track {
    flex: 1;
    background: #6366f1;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-history {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.watch-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.watch-btn:hover {
    color: #6366f1;
}

.api-card.watched .watch-btn {
    color: #dc2626;
}

.api-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
}

.page-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.page-number.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.page-info {
    margin-left: auto;
    color: #6b7280;
}

.bulk-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-bulk {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-bulk:hover {
    border-color: #6366f1;
    color: #6366f1;
}

/* Community Section */
.community-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-header p {
    color: #6b7280;
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-left: auto;
    color: #fbbf24;
}

.testimonial-text {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-stats {
    display: flex;
    gap: 1.5rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.insight-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.insight-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
}

.insight-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.insight-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.insight-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.insight-tags span {
    background: #e0e7ff;
    color: #4f46e5;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.insight-meta {
    display: flex;
    gap: 1.5rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.integration-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.integration-header {
    margin-bottom: 1.5rem;
}

.integration-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
}

.integration-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.integration-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #475569;
}

.integration-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* Pricing */
.pricing-section {
    padding: 5rem 0;
    background: white;
}

.pricing-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-switch span {
    font-weight: 600;
    color: #4b5563;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: .4s;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

.switch input:checked + .slider {
    background-color: #6366f1;
}

.switch input:checked + .slider:before {
    transform: translateX(26px);
}

.switch .slider.round {
    border-radius: 34px;
}

.switch .slider.round:before {
    border-radius: 50%;
}

.discount-badge {
    background: #10b981;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 2px solid #e2e8f0;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border-color: #6366f1;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.pricing-header h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 1rem 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: normal;
}

.price-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

.features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
}

.features .fa-check {
    color: #10b981;
}

.features .fa-times {
    color: #9ca3af;
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    border: 2px solid #6366f1;
    background: transparent;
    color: #6366f1;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-pricing.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.btn-pricing:hover {
    background: #6366f1;
    color: white;
}

.pricing-note {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.pricing-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
}

.guarantee, .enterprise {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.guarantee i, .enterprise i {
    font-size: 2rem;
    color: #6366f1;
    margin-top: 0.5rem;
}

.guarantee h4, .enterprise h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.guarantee p, .enterprise p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.enterprise-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Demo Section */
.demo-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
}

.demo-section .section-title,
.demo-section .section-subtitle {
    color: white;
}

.demo-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.demo-tab {
    background: transparent;
    color: #94a3b8;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.demo-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.demo-tab.active {
    background: rgba(99, 102, 241, 0.2);
    color: white;
}

.demo-screen {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    min-height: 400px;
    margin-bottom: 2rem;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.demo-header h3 {
    font-size: 1.5rem;
}

.demo-time {
    color: #94a3b8;
    font-size: 0.9rem;
}

.demo-chart-container {
    height: 200px;
    margin-bottom: 2rem;
}

.demo-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-stat {
    text-align: center;
}

.demo-stat .stat-label {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.demo-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.demo-stat .stat-value.critical {
    color: #f87171;
}

.demo-alerts-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid;
}

.demo-alert.new {
    border-left-color: #3b82f6;
}

.demo-alert.critical {
    border-left-color: #ef4444;
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-content {
    flex: 1;
}

.alert-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.alert-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.alert-content small {
    color: #94a3b8;
    font-size: 0.85rem;
}

.alert-action {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-try-demo {
    display: block;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, #f6e05e, #d69e2e);
    color: #1e293b;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.btn-try-demo:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: #6366f1;
}

.footer-newsletter {
    display: flex;
    margin-top: 1rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px 0 0 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-newsletter input::placeholder {
    color: #94a3b8;
}

.footer-newsletter button {
    background: #6366f1;
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.footer-note {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-copyright {
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .api-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}