/* 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;
    overflow-x: hidden;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    max-width: 400px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.cookie-content h6 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.cookie-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cookie-content a {
    color: #4f46e5;
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
}

.cookie-buttons .btn {
    flex: 1;
    font-size: 14px;
    padding: 8px 16px;
}

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 24px;
    overflow: hidden;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    font-size: 14px;
}

.banner-item.active {
    opacity: 1;
    transform: translateY(0);
}

.banner-item .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.banner-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-prev:hover, .banner-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* Header */
.navbar {
    padding: 16px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: white !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #4f46e5;
}

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

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

.navbar-nav .nav-link:hover {
    color: #4f46e5 !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
}

.dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #4f46e5;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    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 1000 1000"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234f46e5;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%237c3aed;stop-opacity:0.05" /></linearGradient></defs><path d="M0,300 Q250,200 500,300 T1000,300 L1000,1000 L0,1000 Z" fill="url(%23grad1)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
}

.website-intro {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.intro-title {
    color: #4f46e5;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.intro-description {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
    color: white;
}

.hero-note {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 16px;
}

/* Company Logos */
.company-logos {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.logos-title {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 32px;
    font-weight: 500;
}

.logos-slider {
    overflow: hidden;
    position: relative;
}

.logos-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 60px;
    align-items: center;
}

.logo-item {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    padding: 100px 0;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card-primary {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3) 0%, rgba(124, 58, 237, 0.3) 100%);
}

.feature-card-secondary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.3) 100%);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #a5b4fc;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 32px;
}

.feature-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-buttons .btn {
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

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

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    border: none;
}

.btn-light:hover {
    background: white;
    color: #1e293b;
    transform: translateY(-2px);
}

/* Code Demo Section */
.code-demo-section {
    background: #0f172a;
    padding: 100px 0;
    color: white;
}

.code-demo-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.code-demo-section p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.code-tabs {
    display: flex;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.code-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.code-tab.active {
    color: #60a5fa;
    background: #1e293b;
}

.code-tab:hover {
    color: #cbd5e1;
}

.code-content {
    padding: 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.code-note {
    color: #64748b;
    font-size: 0.9rem;
}

.code-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 24px;
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-block code {
    color: #e2e8f0;
}

/* Tech Stack Section */
.tech-stack-section {
    background: white;
    padding: 100px 0;
}

.tech-logos {
    margin-top: 60px;
}

.tech-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tech-item {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    opacity: 1;
    color: #4f46e5;
    transform: scale(1.05);
}

/* Performance Section */
.performance-section {
    background: #f8fafc;
    padding: 100px 0;
}

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

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

.performance-icon {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 20px;
}

.performance-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.performance-card p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 100px 0;
    color: white;
}

.cta-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-section p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.cta-image {
    opacity: 0.3;
}

/* Use Cases Section */
.use-cases-section {
    background: white;
    padding: 100px 0;
}

.use-case-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.use-case-icon {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 20px;
}

.use-case-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.use-case-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Learning Section */
.learning-section {
    background: #f8fafc;
    padding: 100px 0;
}

.learning-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e293b;
}

.learning-section p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.7;
}

.learning-image {
    opacity: 0.3;
}

/* Awards Section */
.awards-section {
    background: white;
    padding: 100px 0;
}

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

.award-badge {
    text-align: center;
    padding: 32px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.award-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.award-badge h5 {
    color: #1e293b;
    font-weight: 600;
    margin: 0;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 24px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.modal-body {
    padding: 24px;
}

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

.form-control, .form-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.newsletter h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
}

.newsletter .input-group {
    margin-bottom: 0;
}

.newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter .form-control::placeholder {
    color: #94a3b8;
}

.newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4f46e5;
    color: white;
}

.contact-info {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-info strong {
    color: white;
}

.contact-info a {
    color: #60a5fa;
    text-decoration: none;
}

.contact-info a:hover {
    color: #93c5fd;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: #94a3b8;
    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: 40px 0 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal a, .footer-legal button {
    color: #94a3b8;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-legal a:hover, .footer-legal button:hover {
    color: white;
}

.footer-copyright {
    color: #64748b;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .banner-prev, .banner-next {
        display: none;
    }
    
    .logos-track {
        gap: 40px;
    }
    
    .tech-row {
        gap: 40px;
    }
    
    .feature-buttons {
        flex-direction: column;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .intro-title {
        font-size: 1.5rem;
    }
    
    .intro-description {
        font-size: 1rem;
    }
    
    .website-intro {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

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

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

/* Pricing Page Styles */
.pricing-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    text-align: center;
}

.pricing-section {
    padding: 100px 0;
    background: white;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.featured {
    border: 2px solid #4f46e5;
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 16px;
}

.currency {
    font-size: 1.5rem;
    color: #64748b;
    margin-right: 4px;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
}

.period {
    font-size: 1rem;
    color: #64748b;
    margin-left: 8px;
}

.plan-description {
    color: #64748b;
    line-height: 1.6;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: #10b981;
    margin-right: 12px;
    font-size: 1.1rem;
}

.faq-section {
    background: #f8fafc;
    padding: 100px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    border: none;
    padding: 20px 24px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: #4f46e5;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 0 24px 20px;
    color: #64748b;
    line-height: 1.6;
}

/* Legal Pages Styles */
.legal-content {
    padding: 100px 0;
    background: white;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.legal-updated {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.legal-section p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

.contact-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4f46e5;
}

.contact-info p {
    margin: 0;
    color: #1e293b;
}

.contact-info a {
    color: #4f46e5;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}
