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

/* Ensure no elements float to top */
.callout, .box-header, .form-group, .section-header, .proof-text {
    position: static !important;
    top: auto !important;
    transform: none !important;
}

/* Hide any elements that might be causing issues */
.callout-info {
    display: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    padding-top: 80px; /* Add padding to account for fixed header */
}

/* Ensure main content doesn't overlap with fixed header */
main {
    position: relative;
    z-index: 1;
    padding-top: 0;
    display: block;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 80px; /* Set explicit height for the header */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #667eea;
}

.header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.linkedin-link {
    color: #cbd5e1;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin-link:hover {
    color: #0077b5;
    background: rgba(0, 119, 181, 0.1);
    transform: translateY(-2px);
}

.linkedin-link svg {
    width: 24px;
    height: 24px;
}

.mega-menu-item {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: -100px;
    background: rgba(15, 15, 35, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mega-menu-api {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #cbd5e1;
}

.mega-menu-api:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    text-decoration: none;
}

.mega-menu-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.mega-menu-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 0;
    z-index: 1;
    min-height: calc(100vh - 80px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-button {
    background: transparent;
    color: #e2e8f0;
    padding: 12px 24px;
    border: 2px solid #475569;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    border-color: #667eea;
    color: #667eea;
}

.early-access-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    overflow: auto !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #f8fafc;
}

.api-categories-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.api-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 25px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 80px !important;
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    margin-bottom: 0 !important;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: auto;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f8fafc;
    transition: all 0.3s ease;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
}

.feature-card.highlighted {
    border-color: #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.6); }
    100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
}

.api-summary {
    text-align: center;
    margin-bottom: 40px;
    color: #94a3b8;
}

.api-counter {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.hover-hint {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
}

/* Code Example Section - Updated for Tabbed Interface */
.code-example {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    z-index: 1;
}

.section-header {
    position: relative !important;
    z-index: 100 !important;
    background: transparent !important;
    padding: 40px 0 60px 0 !important;
    margin-bottom: 120px !important; /* Increased even more */
    display: block !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    clear: both !important;
    overflow: visible !important;
    text-align: center !important;
}

.section-title {
    position: relative !important;
    z-index: 101 !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-bottom: 20px !important;
    clear: both !important;
}

.section-description {
    position: relative !important;
    z-index: 101 !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    clear: both !important;
}

/* Main Tabs Styling */
.main-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.main-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.main-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.main-tab:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
}

.main-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.main-tab .tab-icon {
    font-size: 1.1rem;
}

.main-tab .tab-text {
    font-weight: 600;
}

/* Main Tab Content */
.main-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.main-tab-content.active {
    display: block;
}

/* Performance Container */
.performance-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.performance-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.performance-text p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Performance Highlights */
.performance-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.highlight-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Performance Charts */
.performance-charts {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.performance-header {
    margin-bottom: 30px;
}

.performance-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.performance-tabs {
    display: flex;
    gap: 10px;
}

.perf-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.perf-tab:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
}

.perf-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border-color: transparent;
}

/* Performance Chart Containers */
.performance-chart {
    display: none;
}

.performance-chart.active {
    display: block;
    animation: slideInUp 0.4s ease-out;
}

.chart-container {
    padding: 20px 0;
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 25px;
    text-align: center;
}

/* Response Times Chart */
.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-label {
    min-width: 150px;
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: right;
}

.bar-container {
    flex: 1;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 15px;
    position: relative;
    animation: fillBar 1s ease-out;
}

.bar-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}

/* Throughput Stats */
.throughput-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Throughput Graph */
.throughput-graph {
    height: 120px;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.graph-line {
    position: relative;
    height: 100%;
}

.line-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: pulsePoint 2s infinite;
}

/* Availability Grid */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.availability-metric {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Uptime Visualization */
.uptime-visualization {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 20px;
}

.uptime-days {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 2px;
    margin-bottom: 15px;
}

.uptime-day {
    height: 20px;
    border-radius: 2px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.uptime-day:hover {
    transform: scale(1.2);
}

.uptime-day.good {
    background: #10b981;
}

.uptime-day.warning {
    background: #f59e0b;
}

.uptime-day.bad {
    background: #ef4444;
}

.uptime-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.good {
    background: #10b981;
}

.legend-color.warning {
    background: #f59e0b;
}

.legend-color.bad {
    background: #ef4444;
}

/* Animations */
@keyframes fillBar {
    from { width: 0; }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .performance-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .performance-highlights {
        grid-template-columns: 1fr;
    }
    
    .main-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .main-tab {
        justify-content: center;
    }
    
    .chart-bar {
        flex-direction: column;
        gap: 5px;
    }
    
    .bar-label {
        min-width: auto;
        text-align: left;
    }
    
    .throughput-stats,
    .availability-grid {
        grid-template-columns: 1fr;
    }
    
    .uptime-days {
        grid-template-columns: repeat(15, 1fr);
    }
}

/* Contact Form Section - Complete Restructure */
.contact-form-section {
    padding: 120px 0 100px; /* Increased padding */
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    clear: both;
    margin-top: 0;
    top: auto;
    overflow: visible;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Force section headers to be visible and properly positioned */
.section-header {
    position: relative !important;
    z-index: 100 !important;
    background: transparent !important;
    padding: 40px 0 !important;
    margin-bottom: 60px !important;
    display: block !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

.section-title {
    position: relative !important;
    z-index: 101 !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-bottom: 20px !important;
}

.section-description {
    position: relative !important;
    z-index: 101 !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* Ensure all grids and cards stay below headers */
.pricing-grid,
.use-case-grid,
.category-grid,
.feature-card,
.pricing-card,
.use-case-card {
    position: relative !important;
    z-index: 1 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-top: 0 !important;
}

/* Additional spacing for problematic sections */
.pricing .section-header {
    margin-bottom: 80px !important;
    padding-bottom: 40px !important;
}

.contact-form-section .section-header {
    margin-bottom: 60px !important;
    padding-bottom: 40px !important;
}

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

.contact-form-section .section-header {
    text-align: center;
    margin-bottom: 60px; /* Reduced margin */
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 0 0 40px 0; /* Reduced padding */
    display: block;
    width: 100%;
}

.contact-form-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    display: block;
    background: transparent;
}

.contact-form-section .section-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 20px auto 0;
    position: relative;
    z-index: 10;
    display: block;
    background: transparent;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f8fafc;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #e2e8f0;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.api-selection {
    margin-bottom: 20px;
}

.api-selection h4 {
    color: #f8fafc;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.api-steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 10px;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 120px;
    position: relative;
}

.step-indicator:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: calc(100% - 20px);
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.step-indicator.active::after {
    background: #667eea;
}

.step-indicator.completed::after {
    background: #22c55e;
}

.step-indicator:hover {
    background: rgba(255, 255, 255, 0.05);
}

.step-indicator.active {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.step-indicator.completed {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.step-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-indicator.active .step-icon {
    background: #667eea;
}

.step-indicator.completed .step-icon {
    background: #22c55e;
}

.step-text {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: center;
}

.step-indicator.active .step-text {
    color: #667eea;
}

.step-indicator.completed .step-text {
    color: #22c55e;
}

.api-steps-content {
    min-height: 300px;
    position: relative;
}

.api-step {
    display: none;
    animation: fadeInUp 0.3s ease-out;
}

.api-step.active {
    display: block;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 8px;
}

.step-description {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.step-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    accent-color: #667eea;
    transform: scale(1.2);
    margin-top: 2px;
}

.checkbox-item label {
    margin-bottom: 0;
    cursor: pointer;
    color: #cbd5e1;
    transition: color 0.3s ease;
    flex: 1;
}

.checkbox-item label strong {
    display: block;
    color: #f8fafc;
    font-weight: 600;
    margin-bottom: 4px;
}

.checkbox-desc {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: normal;
}

.checkbox-item input[type="checkbox"]:checked + label {
    color: #667eea;
}

.checkbox-item input[type="checkbox"]:checked + label strong {
    color: #667eea;
}

.api-step-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.step-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.step-btn:hover:not(:disabled) {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #667eea;
}

.step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-progress {
    font-size: 0.9rem;
    color: #94a3b8;
}

.current-step {
    color: #667eea;
    font-weight: 600;
}

.selected-apis-summary {
    margin-top: 20px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
}

.selected-apis-summary h6 {
    margin: 0 0 10px 0;
    color: #f8fafc;
    font-size: 0.9rem;
}

.selected-count {
    color: #667eea;
    font-weight: 600;
}

.selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-api-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Pricing Section */
.pricing {
    padding: 120px 0 100px; /* Increased padding */
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    position: relative;
    z-index: 2;
    clear: both;
    overflow: visible;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.pricing .section-header {
    text-align: center;
    margin-bottom: 80px; /* Reduced margin */
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 0 0 40px 0; /* Reduced padding */
    display: block;
    width: 100%;
}

.pricing .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    display: block;
    background: transparent;
}

.pricing .section-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 20px auto 0;
    position: relative;
    z-index: 10;
    display: block;
    background: transparent;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px; /* Add top margin to prevent overlap with section header */
    position: relative;
    z-index: 1;
    background: transparent;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1;
    margin: 0;
    margin-top: 15px; /* Add top margin to account for popular badge */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.pricing-card.popular {
    border-color: #667eea;
    transform: scale(1.05);
    margin-top: 0; /* Reset margin for popular card since badge is positioned absolutely */
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Add extra spacing to section headers to ensure they're above all content */
.pricing .section-header {
    margin-bottom: 100px !important; /* Increased margin */
    padding-bottom: 60px !important; /* Increased padding */
    position: relative !important;
    z-index: 100 !important;
}

.contact-form-section .section-header {
    margin-bottom: 80px !important; /* Increased margin */
    padding-bottom: 60px !important; /* Increased padding */
    position: relative !important;
    z-index: 100 !important;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 5;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.original-price {
    font-size: 2rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    opacity: 0.7;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 5px;
}

.price-period {
    color: #94a3b8;
    margin-bottom: 20px;
}

.discount-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    color: #cbd5e1;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.pricing-card .cta-button,
.pricing-card .secondary-button {
    width: 100%;
    margin-top: 20px;
}

.secondary-button {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .original-price {
        font-size: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f8fafc;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #667eea;
}

/* Code Container within Examples Tab */
.code-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.code-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.code-text p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.code-block {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    background: #0f172a;
    padding: 15px 20px;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #eab308; }
.code-dot.green { background: #22c55e; }

.code-title {
    color: #94a3b8;
    font-size: 14px;
    margin-left: 10px;
}

.code-tabs-container {
    position: relative;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.code-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    position: relative;
}

.code-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.code-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
    position: relative;
}

.code-tab.active {
    background: #1e293b;
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.code-tab:hover:not(.active) {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
}

/* Scroll indicators for tabs */
.code-tabs-container::before,
.code-tabs-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.code-tabs-container::before {
    left: 0;
    background: linear-gradient(to right, #0f172a, transparent);
}

.code-tabs-container::after {
    right: 0;
    background: linear-gradient(to left, #0f172a, transparent);
}

.code-tabs-container.scroll-left::before {
    opacity: 1;
}

.code-tabs-container.scroll-right::after {
    opacity: 1;
}

.scroll-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102, 126, 234, 0.8);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.scroll-nav-btn:hover {
    background: rgba(102, 126, 234, 1);
    transform: translateY(-50%) scale(1.1);
}

.scroll-nav-btn.left {
    left: 5px;
}

.scroll-nav-btn.right {
    right: 5px;
}

.code-tabs-container:hover .scroll-nav-btn.visible {
    opacity: 1;
}

.code-content {
    display: none;
}

.code-content.active {
    display: block;
}

pre {
    margin: 0 !important;
    padding: 20px !important;
    background: transparent !important;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .code-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .code-tabs {
        padding: 0 40px;
    }
    
    .scroll-nav-btn {
        opacity: 0.7;
    }
    
    .nav-links {
        display: none;
    }

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

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-text h3 {
        font-size: 2rem;
    }

    .showcase-tabs {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 5px;
    }

    .showcase-tab {
        flex: 1;
        min-width: 120px;
        padding: 12px 10px;
    }

    .tab-text {
        font-size: 0.8rem;
    }

    .performance-stats {
        justify-content: center;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .metric-label {
        min-width: 100px;
        font-size: 0.8rem;
    }

    .metric-time {
        min-width: 50px;
        font-size: 0.8rem;
    }

    .chart-bars {
        gap: 5px;
    }

    .bar-value {
        font-size: 0.7rem;
    }

    .bar-time {
        font-size: 0.65rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.popular {
        transform: none;
    }

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

    .api-selection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .api-category-section {
        padding: 15px;
    }

    .api-steps-nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0;
    }

    .step-indicator {
        max-width: none;
        flex: 1;
        min-width: 80px;
        padding: 10px 5px;
    }

    .step-indicator:not(:last-child)::after {
        display: none;
    }

    .step-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .step-text {
        font-size: 0.7rem;
    }

    .api-step-controls {
        flex-direction: column;
        gap: 15px;
    }

    .step-btn {
        width: 100%;
    }

    .selected-apis-summary {
        padding: 12px;
    }

    .step-checkboxes {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        min-height: 120px;
        padding: 15px;
    }

    .category-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .api-categories-row {
        flex-direction: column;
        gap: 40px;
    }
}

/* Security Container */
.security-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.security-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.security-text p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Security Certifications */
.security-certifications {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cert-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.cert-desc {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Security Features */
.security-features {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-header {
    margin-bottom: 30px;
}

.security-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.security-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sec-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sec-tab:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
}

.sec-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border-color: transparent;
}

/* Security Section Containers */
.security-section {
    display: none;
}

.security-section.active {
    display: block;
    animation: slideInUp 0.4s ease-out;
}

.security-content {
    padding: 20px 0;
}

.security-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 25px;
    text-align: center;
}

/* Security Features Grid */
.security-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.security-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon-sec {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

/* Code Example in Security */
.code-example-sec {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
}

.code-header-sec {
    background: #0f172a;
    padding: 15px 20px;
    border-bottom: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.code-example-sec pre {
    margin: 0 !important;
    padding: 20px !important;
    background: transparent !important;
}

/* Encryption Stats */
.encryption-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Compliance Grid */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.compliance-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.compliance-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.compliance-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
    flex-shrink: 0;
}

.compliance-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.compliance-info p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 10px;
    line-height: 1.4;
}

.compliance-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.compliance-status:contains("✅") {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.compliance-status:contains("🔄") {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* Compliance Benefits */
.compliance-benefits {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.compliance-benefits h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.compliance-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compliance-benefits li {
    padding: 5px 0;
    color: #94a3b8;
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.compliance-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Monitoring Dashboard */
.monitoring-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.monitoring-metric {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.metric-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.metric-desc {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Security Features List */
.security-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.feature-check {
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
}

/* Responsive Design for Security */
@media (max-width: 768px) {
    .security-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .security-certifications {
        gap: 15px;
    }
    
    .certification-item {
        padding: 15px;
    }
    
    .security-features-grid {
        grid-template-columns: 1fr;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .monitoring-dashboard {
        grid-template-columns: 1fr;
    }
    
    .encryption-stats {
        grid-template-columns: 1fr;
    }
    
    .security-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sec-tab {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }
}

/* Form Message Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message {
    animation: slideInDown 0.3s ease-out;
}

/* Hide the APIs textarea field since it's populated automatically */
.form-group.field-textarea.wrap-apis {
    display: none !important;
}

/* Form Row Layout */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Ensure form displays in single column */
.list-subscribe-form {
    display: block;
}

.list-subscribe-form .box-body {
    display: block;
}

.list-subscribe-form .form-group {
    display: block;
    margin-bottom: 20px;
}

.list-subscribe-form .api-selection {
    display: block;
    margin-top: 30px;
    clear: both;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
}

/* Subscribe button styling */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-flat {
    border-radius: 10px;
}

/* Make the subscribe button full width on mobile */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        padding: 18px 30px;
        font-size: 1.2rem;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    padding: 20px 0;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
}

/* Social Proof Section */
.social-proof {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.proof-content {
    text-align: center;
}

.proof-text {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.proof-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.proof-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.proof-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.proof-label {
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 500;
    text-align: center;
}

/* Use Cases Section */
.use-cases {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    z-index: 1;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.use-case-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.use-case-card p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.use-case-apis {
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.use-case-metric {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 16px;
    display: inline-block;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .proof-categories {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .use-case-card {
        padding: 20px;
    }
}

/* Accessibility and Focus Styles */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Logo link styling */
.logo a {
    color: inherit;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.8;
}

/* Improved heading hierarchy for SEO */
.section-header {
    text-align: center;
    margin-bottom: 100px; /* Large margin to ensure clear separation */
    position: relative;
    background: transparent;
    padding: 40px 0; /* More padding for breathing room */
}

.section-header .section-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Use case card heading adjustments */
.use-case-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Ensure proper contrast ratios */
.proof-label,
.hero-stats .stat-label {
    color: #cbd5e1; /* Improved contrast */
}

/* Focus styles for interactive elements */
.feature-card:focus,
.use-case-card:focus,
.pricing-card:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.mega-menu-api:focus {
    background: rgba(102, 126, 234, 0.2);
    outline: 2px solid #667eea;
    outline-offset: 1px;
}

/* Improve button accessibility */
.cta-button:focus,
.secondary-button:focus,
.btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Form accessibility improvements */
.form-group label {
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 1px;
    border-color: #667eea;
}

/* Section spacing and layout fixes */
section {
    position: relative;
    clear: both;
    overflow: visible;
    z-index: 1;
    margin-bottom: 0;
    display: block;
    width: 100%;
}

/* Hide form elements that might be appearing at top */
.box, .box-primary, .box-body, .list-subscribe-form {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    z-index: 1;
}

/* Hide problematic text elements that might float to top */
.callout, .callout-info, .box-header h3 {
    display: none !important;
}

/* Specific styling for pricing section header */
/* 
.pricing .section-header {
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    margin-bottom: 60px;
}

.pricing .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    display: block;
}

.pricing .section-description {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 20px auto 0;
    position: relative;
    z-index: 10;
    display: block;
}
*/

/* Ensure all content cards have lower z-index than headers */
.pricing-card, .use-case-card, .feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1;
    margin: 0;
}

.use-case-grid, .pricing-grid, .category-grid {
    position: relative;
    margin-top: 80px !important; /* Large top margin */
    z-index: 1 !important;
    clear: both !important;
}

/* Ensure all content below headers has proper spacing */
.pricing-grid,
.use-case-grid,
.category-grid,
.form-container {
    margin-top: 40px !important; /* Ensure minimum spacing from headers */
    position: relative !important;
    z-index: 1 !important;
}

/* Restore text styling for section headers */
.section-header {
    text-align: center !important;
}

.section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
}

.section-description {
    font-size: 1.2rem !important;
    color: #94a3b8 !important;
    max-width: 600px !important;
    margin: 20px auto 0 !important;
}

/* Fix overlap between section headers and content cards */
.section-header {
    margin-bottom: 80px !important;
}

.category-grid {
    margin-top: 40px !important;
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
}

.feature-card {
    position: relative !important;
    margin-top: 0 !important;
}

.use-cases .section-header {
    margin-bottom: 150px !important; /* Even larger margin for use-cases */
}

.use-case-grid {
    margin-top: 60px !important;
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
}

.use-case-card {
    position: relative !important;
    margin-top: 0 !important;
}

/* CACHE BUST - Updated at 10:40 AM - June 25, 2025 - Section Header Fix Applied */

/* DRASTIC FIX - EXTREME SPACING - CACHE BUST 10:42 AM */

/* NUCLEAR OPTION - Force massive spacing between headers and content */
.section-header {
    position: relative !important;
    z-index: 1000 !important;
    background: transparent !important;
    padding: 80px 0 100px 0 !important; /* MASSIVE padding */
    margin-bottom: 200px !important; /* EXTREME margin */
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    clear: both !important;
    overflow: visible !important;
    min-height: 300px !important; /* Force minimum height */
}

.section-title {
    position: relative !important;
    z-index: 1001 !important;
    margin-bottom: 40px !important;
    padding-bottom: 20px !important;
    display: block !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
}

.section-description {
    position: relative !important;
    z-index: 1001 !important;
    margin-bottom: 60px !important;
    padding-bottom: 40px !important;
    display: block !important;
    font-size: 1.2rem !important;
    color: #94a3b8 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Force all grids to be way below headers */
.pricing-grid,
.use-case-grid,
.category-grid {
    margin-top: 150px !important; /* EXTREME top margin */
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    padding-top: 50px !important; /* Extra padding */
}

/* Specific section overrides with even more extreme spacing */
.use-cases .section-header {
    margin-bottom: 300px !important; /* MASSIVE margin for use-cases */
    min-height: 400px !important;
}

.pricing .section-header {
    margin-bottom: 300px !important; /* MASSIVE margin for pricing */
    min-height: 400px !important;
}

.features .section-header {
    margin-bottom: 250px !important;
    min-height: 350px !important;
}

/* Force all cards to stay at bottom with no negative margins */
.pricing-card,
.use-case-card,
.feature-card {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    top: auto !important;
    transform: none !important;
}

/* Add visible borders for debugging - remove these later */
.section-header {
    border: 3px solid red !important; /* DEBUG BORDER */
    background: rgba(255, 0, 0, 0.1) !important; /* DEBUG BACKGROUND */
}

.pricing-grid,
.use-case-grid,
.category-grid {
    border: 3px solid blue !important; /* DEBUG BORDER */
    background: rgba(0, 0, 255, 0.1) !important; /* DEBUG BACKGROUND */
}

/* TIMESTAMP: 2025-06-25-10:42:00 - DRASTIC FIX APPLIED */

/* REFINED FIX - PROPER SPACING - CACHE BUST 10:44 AM */

/* Refined spacing between headers and content */
.section-header {
    position: relative !important;
    z-index: 1000 !important;
    background: transparent !important;
    padding: 60px 0 80px 0 !important; /* Reduced from extreme padding */
    margin-bottom: 120px !important; /* Reduced from 200px */
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    clear: both !important;
    overflow: visible !important;
    min-height: 200px !important; /* Reduced from 300px */
    /* Removed debug border and background */
}

.section-title {
    position: relative !important;
    z-index: 1001 !important;
    margin-bottom: 30px !important; /* Reduced from 40px */
    padding-bottom: 15px !important; /* Reduced from 20px */
    display: block !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
}

.section-description {
    position: relative !important;
    z-index: 1001 !important;
    margin-bottom: 40px !important; /* Reduced from 60px */
    padding-bottom: 20px !important; /* Reduced from 40px */
    display: block !important;
    font-size: 1.2rem !important;
    color: #94a3b8 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Reasonable spacing for grids */
.pricing-grid,
.use-case-grid,
.category-grid {
    margin-top: 80px !important; /* Reduced from 150px */
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    padding-top: 20px !important; /* Reduced from 50px */
    /* Removed debug border and background */
}

/* Specific section overrides with reasonable spacing */
.use-cases .section-header {
    margin-bottom: 150px !important; /* Reduced from 300px */
    min-height: 250px !important; /* Reduced from 400px */
}

.pricing .section-header {
    margin-bottom: 150px !important; /* Reduced from 300px */
    min-height: 250px !important; /* Reduced from 400px */
}

.features .section-header {
    margin-bottom: 120px !important; /* Reduced from 250px */
    min-height: 200px !important; /* Reduced from 350px */
}

/* Keep cards properly positioned */
.pricing-card,
.use-case-card,
.feature-card {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    top: auto !important;
    transform: none !important;
}

/* TIMESTAMP: 2025-06-25-10:44:00 - REFINED FIX APPLIED */

/* FINAL CLEANUP - REMOVE ALL DEBUG BORDERS - CACHE BUST 11:40 AM */

/* Remove all debug borders and backgrounds */
.section-header {
    border: none !important;
    background: transparent !important;
}

.pricing-grid,
.use-case-grid,
.category-grid {
    border: none !important;
    background: transparent !important;
}

/* TIMESTAMP: 2025-06-25-11:40:00 - DEBUG BORDERS REMOVED */

/* Hero form styling */
.hero-form {
    margin-top: 40px;
}

.hero-subscribe-form {
    position: relative;
}

.hero-form-fields {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-input {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-input::placeholder {
    color: #94a3b8;
}

.hero-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.hero-form-fields .cta-button {
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-form-fields {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-input {
        min-width: auto;
        width: 100%;
    }
    
    .hero-form-fields .cta-button {
        width: 100%;
    }
}

/* CACHE BUST - Updated at 10:44 AM - Hero Form Added */

/* Hero form submit button styling - matches cta-button */
.hero-submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
}

.hero-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* COMPREHENSIVE MOBILE & TABLET RESPONSIVE DESIGN */

/* Tablet Responsive Design (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 900px;
        padding: 0 30px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: calc(100vh - 80px);
    }
    
    .hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 600px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin: 40px 0;
    }
    
    .hero-form-fields {
        max-width: 500px;
        gap: 12px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .pricing-card.popular {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .mega-menu {
        min-width: 500px;
        left: -80px;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .code-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .performance-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .security-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile Responsive Design (up to 768px) */
@media (max-width: 768px) {
    /* Base Layout */
    .container {
        padding: 0 15px;
    }
    
    body {
        padding-top: 70px; /* Reduced header height on mobile */
    }
    
    /* Header & Navigation */
    header {
        padding: 15px 0;
        height: 70px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .nav-links {
        display: none; /* Hide navigation on mobile - could add hamburger menu later */
    }
    
    .header-right {
        display: flex; /* Keep LinkedIn icon visible on mobile */
    }
    
    .linkedin-link {
        padding: 6px;
    }
    
    .linkedin-link svg {
        width: 20px;
        height: 20px;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0 40px;
        min-height: calc(100vh - 70px);
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .early-access-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats .stat-item {
        text-align: center;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .hero-form-fields {
        flex-direction: column;
        max-width: 100%;
        gap: 15px;
        align-items: stretch;
    }
    
    .hero-input {
        min-width: auto;
        width: 100%;
    }
    
    .hero-submit-button {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }
    
    /* Social Proof */
    .proof-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .proof-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .proof-icon {
        font-size: 1.5rem;
    }
    
    .proof-label {
        font-size: 0.9rem;
    }
    
    /* Section Headers */
    .section-header {
        padding: 30px 0 40px 0 !important;
        margin-bottom: 40px !important;
    }
    
    .section-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 15px !important;
    }
    
    .section-description {
        font-size: 1rem !important;
        line-height: 1.6;
    }
    
    /* Features Section */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
        text-align: center;
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .category-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .api-categories-row {
        flex-direction: column;
        gap: 40px;
    }
}