/* Custom CSS for SecureInsights Website */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: white !important;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-dark {
    background: white !important;
}

.navbar-dark .navbar-brand {
    color: var(--dark-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--secondary-color) !important;
}

.navbar-dark .navbar-toggler {
    border-color: var(--secondary-color);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2868, 68, 68, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: white;
    color: var(--dark-color);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section.bg-white {
    background: white !important;
}

/* Override any gradient backgrounds */
#home.hero-section {
    background-color: white !important;
    background-image: none !important;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin-right: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.hero-buttons .btn-outline-light {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background: #667eea;
    color: white;
}

.hero-stats {
    opacity: 0.8;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.hero-image {
    position: relative;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    color: var(--dark-color);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-card i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.price {
    margin-bottom: 2rem;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--secondary-color);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.price .period {
    font-size: 1rem;
    color: var(--secondary-color);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--success-color);
    font-size: 0.9rem;
}

/* Documentation Cards */
.doc-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.doc-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.doc-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Contact Section */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.contact-info {
    text-align: center;
    padding: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.25rem;
}

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 0.5rem;
    transition: background 0.3s ease;
}

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

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.footer-copyright,
.footer-text {
    opacity: 0.7;
    margin: 0;
}

/* Form Styling */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .floating-card {
        position: static;
        margin-top: 2rem;
        justify-content: center;
    }
}

/* Solution Section Styles */
.solution-visual {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.solution-benefits h3 {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    flex-shrink: 0;
    margin-right: 1rem;
}

.benefit-icon i {
    font-size: 1.5rem;
}

.benefit-content h5 {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #6c757d;
    margin: 0;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* API Documentation Styles */
.api-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.api-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.api-hero .hero-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.api-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.api-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.api-docs-container {
    padding-top: 2rem;
    background: var(--light-color);
    min-height: calc(100vh - 80px);
}

#api-sidebar {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding-right: 1rem;
}

.sidebar-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.sidebar-heading {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#api-sidebar .nav-link {
    color: var(--secondary-color);
    padding: 0.5rem 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#api-sidebar .nav-link:hover,
#api-sidebar .nav-link.active {
    color: var(--primary-color);
    transform: translateX(5px);
}

.api-section {
    padding: 0 1rem;
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.endpoint-def {
    display: inline-block;
    margin-bottom: 1rem;
}

.endpoint-def code.highlight {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: monospace;
}

.parameter-list {
    list-style: none;
    padding-left: 0;
}

.parameter-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.parameter-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.code-example {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.code-example pre {
    background: #212529;
    color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-example code {
    font-family: 'Courier New', Courier, monospace;
}

@media (max-width: 768px) {
    .api-hero {
        padding: 100px 0 60px;
    }

    .api-hero .hero-title {
        font-size: 2.5rem;
    }

    .api-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    #api-sidebar {
        position: relative;
        top: 0;
        height: auto;
        margin-bottom: 2rem;
    }

    .content-card {
        padding: 1.5rem;
    }
}

/* New Design Elements for Marketing Website */

/* Gradient Stat Cards */
.stat-card {
    background: #667eea !important;
    padding: 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.stat-card h2,
.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-card small {
    font-size: 0.85rem;
    opacity: 0.8;
    color: white;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gradient-primary {
    background: #667eea;
}

.gradient-danger {
    background: #667eea;
}

.gradient-success {
    background: #667eea;
}

.gradient-info {
    background: #667eea;
}

/* Problem Cards */
.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
    height: 100%;
}

.problem-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.problem-card h4 {
    color: #dc3545;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.problem-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Feature Icons with Gradients */
.feature-icon.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-icon.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-icon.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-icon.gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Sharding Diagram - Improved Design */
.sharding-diagram {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    margin: 2rem 0;
}

.model-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.model-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 1rem;
    text-align: center;
}

.model-layers {
    display: flex;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.layer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.layer-segment:hover {
    transform: scale(1.05);
    z-index: 1;
}

.gpu-layer {
    width: 90%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.vulkan-layer {
    width: 8%;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.cpu-layer {
    width: 2%;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.layer-label {
    font-size: 0.85rem;
    opacity: 0.95;
}

.layer-percent {
    font-size: 1.1rem;
    font-weight: 700;
}

.arrow-down {
    color: #6c757d;
}

.arrow-down i {
    color: #6c757d;
    animation: bounce 2s infinite;
}

.arrow-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.hardware-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.hardware-box:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.hardware-box i {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 0.75rem;
}

.hardware-name {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.25rem;
}

.hardware-price {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

.sharding-visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
}

.node-box {
    background: white;
    color: #343a40;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    margin: 0 0.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.node-box:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}

.node-box h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #343a40;
}

.node-box p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.arrow {
    font-size: 2rem;
    color: #6c757d;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(1); }
}

/* Cost Calculator */
.calculator-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calculator-card h3 {
    color: #343a40;
    font-weight: 700;
    margin-bottom: 2rem;
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.calculator-input input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #dee2e6;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

.calculator-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(102, 126, 234, 0.3);
}

.calculator-input input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(102, 126, 234, 0.3);
}

.calculator-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-top: 0.5rem;
}

.cost-comparison-box {
    background: #667eea;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.cost-comparison-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.cost-comparison-box .text-danger {
    color: #ff6b6b !important;
}

.cost-comparison-box .text-success {
    color: #51cf66 !important;
}

.cost-comparison-box .text-muted {
    color: #adb5bd !important;
}

.cost-comparison-box small {
    color: #adb5bd;
    font-size: 0.9rem;
}

.savings-highlight {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
}

/* Industry Cards */
.industry-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid;
}

.industry-card.healthcare {
    border-top-color: #17a2b8;
}

.industry-card.finance {
    border-top-color: #28a745;
}

.industry-card.retail {
    border-top-color: #ffc107;
}

.industry-card.manufacturing {
    border-top-color: #6610f2;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.industry-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #343a40;
}

.industry-card ul {
    list-style: none;
    padding: 0;
}

.industry-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #6c757d;
}

.industry-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Hero Badges */
.hero-badge {
    margin-bottom: 1rem;
}

.hero-badge .badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
}

/* Hero Section Alignment Fixes */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto;
    text-align: center;
}

.hero-buttons .btn {
    white-space: nowrap;
}

/* Comparison Section Centering */
.comparison-section {
    text-align: center;
}

.comparison-section .row {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.comparison-card {
    margin: 0 auto;
}

/* Calculator Section Alignment */
.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-inputs,
.calculator-results {
    padding: 2rem;
}

.calculator-results .cta-box {
    margin-top: 2rem;
}

.calculator-results .savings-breakdown {
    margin-bottom: 2rem;
}

/* Comparison Lists - Remove Bullets */
.comparison-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.comparison-list li {
    list-style: none !important;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.comparison-list li::before {
    display: none !important;
}

.comparison-list li span {
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Savings Display */
.savings-display {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.savings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.savings-item:last-child {
    border-bottom: none;
}

.savings-label {
    font-weight: 500;
    color: #495057;
}

.savings-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: #343a40;
}

.trust-indicators {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.trust-indicators span {
    font-size: 0.95rem;
    color: #6c757d;
}

.trust-indicators i {
    margin-right: 0.5rem;
}

/* Security Badge */
.security-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.25rem;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* Tech Stack Icons */
.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.tech-item {
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.1);
}

.tech-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.tech-item p {
    font-weight: 600;
    color: #495057;
    margin: 0;
}

/* CTA Section Updates */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Enhanced Team Cards */
.team-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.team-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

/* Responsive Updates for New Elements */
@media (max-width: 992px) {
    .sharding-visual {
        flex-direction: column;
    }
    
    .node-box {
        margin: 0.5rem 0;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .cost-comparison-box h3 {
        font-size: 1.5rem;
    }
    
    .tech-stack {
        gap: 1rem;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .industry-card {
        margin-bottom: 1rem;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.chatbot-toggle i {
    font-size: 24px;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-logo {
    width: 35px;
    height: 35px;
}

.chatbot-title {
    font-weight: 600;
    font-size: 16px;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chatbot-message {
    display: flex;
    gap: 10px;
    animation: fadeInUp 0.3s ease;
}

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

.chatbot-message.user {
    justify-content: flex-end;
}

.chatbot-message.assistant {
    justify-content: flex-start;
}

.message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.message-content {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.chatbot-message.user .message-content {
    background: #007bff;
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-message.assistant .message-content {
    background: #f1f3f5;
    color: #343a40;
    border-bottom-left-radius: 4px;
}

.chatbot-input-container {
    padding: 16px;
    border-top: 1px solid #e9ecef;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px;
    margin-bottom: 10px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #868e96;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chatbot-form {
    display: flex;
    gap: 8px;
}

.chatbot-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbot-input:focus {
    border-color: #007bff;
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #007bff;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-send:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.chatbot-send:active {
    transform: scale(0.95);
}

/* Mobile responsiveness for chatbot */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 150px);
        right: 20px;
        bottom: 90px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chatbot-toggle i {
        font-size: 20px;
    }
} 