/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
}

.top-banner .btn {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
}

/* Navigation */
.navbar {
    padding: 12px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937 !important;
    text-decoration: none;
}

.brand-text {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: #374151 !important;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #7c3aed !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-outline-primary {
    border: 2px solid #7c3aed;
    color: #7c3aed;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-badges .badge {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 400;
    line-height: 1.6;
}

.text-primary {
    color: #7c3aed !important;
}

.text-success {
    color: #10b981 !important;
}

.hero-ratings {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.certification-badges .badge {
    font-size: 11px;
    padding: 4px 8px;
}

/* Hero Form */
.hero-form {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.hero-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    pointer-events: none;
}

.form-header {
    position: relative;
    z-index: 1;
}

.form-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.hero-form .form-control {
    background-color: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-form .form-control:focus {
    background-color: rgba(255,255,255,0.15);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    color: white;
}

.hero-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-footer {
    text-align: center;
}

.form-footer small {
    color: rgba(255,255,255,0.8);
}

/* How It Works Section */
.how-it-works {
    background-color: #f9fafb;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 32px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #e5e7eb;
}

.step-item.active {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.step-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 16px;
    font-size: 14px;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.step-text {
    font-weight: 600;
    color: #374151;
}

/* Process Demo */
.process-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.demo-screen {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    max-width: 400px;
    width: 100%;
}

.demo-header {
    text-align: center;
    margin-bottom: 24px;
}

.demo-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.campaign-option {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.campaign-option.selected {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.campaign-option h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.campaign-option p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

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

/* Statistics Section */
.stats-section {
    background-color: white;
}

.stat-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid #f3f4f6;
    height: 100%;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #7c3aed;
    margin-bottom: 16px;
    line-height: 1;
}

.stat-description {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.source-logo {
    max-width: 100px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
}

/* Trusted By Section */
.trusted-by {
    background-color: #f9fafb;
    text-align: center;
}

.trusted-by h3 {
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.company-logo {
    max-width: 120px;
    height: 60px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 24px;
}

.contact-info p {
    color: #d1d5db;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-info i {
    color: #7c3aed;
    width: 16px;
}

.footer-heading {
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
}

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

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-divider {
    border-color: #374151;
    margin: 40px 0 20px 0;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-form {
        margin-top: 40px;
    }
    
    .process-steps {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .top-banner {
        text-align: center;
    }
    
    .top-banner .d-flex {
        flex-direction: column;
        gap: 8px;
    }
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 80px 0;
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid #7c3aed;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card.featured .card-body {
    padding-top: 40px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
}

.price-period {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: #10b981;
    margin-right: 12px;
    width: 16px;
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

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

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 16px 20px;
}

.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

/* Contact form styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

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

/* Workflow styles */
.workflow-step {
    position: relative;
}

.workflow-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Step circle for getting started */
.step-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

/* Tech item styles */
.tech-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

/* Architecture layer styles */
.architecture-layer {
    margin-bottom: 0.5rem;
}

/* Terms and Privacy content styles */
.terms-content,
.privacy-content {
    line-height: 1.8;
}

.terms-content h2,
.privacy-content h2 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.terms-content h3,
.privacy-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.terms-content ul,
.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.terms-content li,
.privacy-content li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Comparison table styles */
.table-bordered {
    border: 2px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
    padding: 1rem;
    vertical-align: middle;
}

.table-dark {
    background: linear-gradient(135deg, var(--text-dark), #2c3e50);
}

/* Badge styles for comparison */
.badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Animation for elements */
.animate-in {
    animation: slideInUp 0.6s ease-out;
}

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

/* Additional responsive improvements */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .workflow-number {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .terms-content,
    .privacy-content {
        font-size: 0.95rem;
    }
}
