/* N8N Hosting Landing Page Styles */

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(157, 111, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(157, 111, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(157, 111, 255, 0);
    }
}

/* Reset and Base Styles */
.n8n-hosting-page {
    background-color: #0B0B13;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.n8n-hosting-page * {
    box-sizing: border-box;
}

/* Global Heading Styles - Force white color */
.n8n-hosting-page h1,
.n8n-hosting-page h2,
.n8n-hosting-page h3,
.n8n-hosting-page h4,
.n8n-hosting-page h5,
.n8n-hosting-page h6 {
    color: white !important;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: #0B0B13;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 8px;
    margin: 0 0 8px 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: white !important;
    text-align: left;
}

.hero-title .highlight {
    color: #9D6FFF;
}

.hero-description {
    font-size: 16px;
    color: #D1D5DB;
    margin: 0 0 24px 0;
    max-width: 500px;
}

.cta-button {
    background-color: #673DE6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 16px;
}

.cta-button:hover {
    background-color: #5025D1;
}

.trial-text {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

/* N8N Interface Visual */
.n8n-interface {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.interface-title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #D1D5DB;
}

.terminal-icon {
    width: 20px;
    height: 20px;
    background-color: #9D6FFF;
    border-radius: 4px;
}

.interface-controls {
    display: flex;
    gap: 12px;
}

.control-btn {
    width: 20px;
    height: 20px;
    background-color: rgba(157, 111, 255, 0.5);
    border-radius: 4px;
}

.workflow-area {
    background-color: #0D0D1A;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 32px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-nodes {
    text-align: center;
    color: #9CA3AF;
}

.node-icon {
    width: 40px;
    height: 40px;
    background-color: #9D6FFF;
    border-radius: 50%;
    margin: 0 auto 8px;
}

.node-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.node-item {
    background-color: #0D0D1A;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.node-icon-small {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.node-icon-small.terminal {
    background-color: #9D6FFF;
}

.node-icon-small.data {
    background-color: #3B82F6;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.section-title-2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    text-align: center !important;
    margin: 0 0 48px 0 !important;
    color: white !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.pricing-card {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.pricing-card:hover {
    border-color: #9D6FFF;
}

.card-header {
    background-color: rgba(157, 111, 255, 0.2);
    padding: 12px 24px;
}

.plan-name {
    font-size: 14px;
    color: #9D6FFF;
    font-weight: 500;
}

.card-content {
    padding: 24px;
}

.price {
    margin-bottom: 16px;
    color:#ffffff !important;
}

.amount {
    font-size: 24px;
    font-weight: 700;
}

.period {
    font-size: 14px;
    color: #9CA3AF;
}

.original-price {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0 0 24px 0;
}

.select-btn {
    width: 100%;
    background-color: #673DE6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 24px;
}

.select-btn:hover {
    background-color: #5025D1;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.check-icon {
    color: #10B981;
    font-weight: bold;
    margin-top: 2px;
}

.pricing-benefits {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-item {
    text-align: center;
}

.benefit-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 12px 0;
    color: white !important;
}

.benefit-highlight {
    color: #9D6FFF;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.benefit-desc {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-description {
    font-size: 16px;
    color: #9CA3AF;
    max-width: 768px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background-color: #1A1A2E;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon.terminal {
    background-color: rgba(157, 111, 255, 0.3);
}

.feature-icon.code {
    background-color: rgba(16, 185, 129, 0.3);
}

.feature-icon.zap {
    background-color: rgba(59, 130, 246, 0.3);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: white !important;
}

.feature-card p {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0;
}

.features-cta {
    text-align: center;
}

/* Automation Section */
.automation-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.automation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.automation-visual {
    order: 2;
}

.integration-icons {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.integration-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.integration-icon.terminal {
    background-color: rgba(157, 111, 255, 0.2);
}

.integration-icon.circle {
    background-color: rgba(59, 130, 246, 0.2);
}

.integration-icon.layers {
    background-color: rgba(16, 185, 129, 0.2);
}

.integration-icon.clock {
    background-color: rgba(245, 158, 11, 0.2);
}

.integration-icon.chat {
    background-color: rgba(239, 68, 68, 0.2);
}

.automation-text {
    order: 1;
}

.automation-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white !important;
    text-align: left;
}

.automation-text p {
    color: #D1D5DB;
    margin: 0 0 24px 0;
}

/* Global Deployment Section */
.global-deployment-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.deployment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 48px;
}

.deployment-text .section-title-2 {
    text-align: left;
    margin-bottom: 24px;
}

.deployment-text .section-description {
    color: #D1D5DB;
    margin-bottom: 32px;
}

.deployment-visual {
    position: relative;
}

.world-map {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 24px;
    height: 300px;
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(157, 111, 255, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 8px;
}

.server-location {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.location-dot {
    width: 12px;
    height: 12px;
    background-color: #9D6FFF;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.server-location span {
    font-size: 12px;
    color: white;
    font-weight: 500;
}

/* Community Section */
.community-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.community-gallery {
    margin-bottom: 64px;
}

.community-gallery h3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 32px 0;
    color: white !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 1;
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11, 11, 19, 0.8), transparent);
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.community-card {
    background-color: #1A1A2E;
    border-radius: 12px;
    padding: 24px;
}

.community-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-icon.message {
    background-color: rgba(157, 111, 255, 0.3);
}

.community-icon.book {
    background-color: rgba(59, 130, 246, 0.3);
}

.community-icon.globe {
    background-color: rgba(16, 185, 129, 0.3);
}

.community-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: white !important;
}

.community-card p {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0 0 16px 0;
}

.community-link {
    color: #9D6FFF;
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 24px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: white !important;
}

.testimonial-info p {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0;
}

.testimonial-text {
    font-size: 14px;
    color: #D1D5DB;
    margin: 0;
}

/* AI Management Section */
.ai-management-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.ai-management-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 48px;
}

.ai-management-text .section-title-2 {
    text-align: left;
    margin-bottom: 24px;
}

.ai-management-text .section-description {
    color: #D1D5DB;
    margin-bottom: 32px;
}

.management-interface {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    overflow: hidden;
}

.interface-header {
    background-color: #0D0D1A;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #374151;
}

.interface-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background-color: #EF4444;
}

.control-dot.yellow {
    background-color: #F59E0B;
}

.control-dot.green {
    background-color: #10B981;
}

.interface-title {
    color: white;
    font-weight: 500;
}

.interface-content {
    padding: 24px;
}

.status-message {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.success-icon {
    width: 20px;
    height: 20px;
    background-color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.status-message span {
    color: white;
    font-size: 14px;
}

.management-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    background-color: #0D0D1A;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.ai-feature-card {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-feature-icon.security {
    background-color: rgba(157, 111, 255, 0.3);
}

.ai-feature-icon.server {
    background-color: rgba(59, 130, 246, 0.3);
}

.ai-feature-icon.automation {
    background-color: rgba(16, 185, 129, 0.3);
}

.ai-feature-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: white !important;
    text-align: left;
}

.ai-feature-card p {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0;
    text-align: left;
}

/* Videos Section */
.videos-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumbnail {
    height: 192px;
    background: linear-gradient(135deg, rgba(157, 111, 255, 0.3), rgba(59, 130, 246, 0.3));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 48px;
    height: 48px;
    background-color: rgba(103, 61, 230, 0.8);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: white !important;
}

.video-info p {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.cta-content {
    background: linear-gradient(135deg, rgba(157, 111, 255, 0.3), rgba(59, 130, 246, 0.3));
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: white !important;
}

.cta-content p {
    color: #D1D5DB;
    max-width: 512px;
    margin: 0 auto 32px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #0B0B13;
}

.faq-list {
    max-width: 768px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1A1A2E;
    border: 1px solid #374151;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    color: #9D6FFF;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 24px;
    color: #D1D5DB;
    font-size: 14px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .automation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .automation-visual {
        order: 1;
    }
    
    .automation-text {
        order: 2;
    }
    
    .deployment-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .deployment-visual {
        order: 1;
    }
    
    .deployment-text {
        order: 2;
    }
    
    .ai-management-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ai-management-visual {
        order: 1;
    }
    
    .ai-management-text {
        order: 2;
    }
    
    .ai-features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-benefits {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .community-features {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .pricing-section,
    .features-section,
    .automation-section,
    .global-deployment-section,
    .community-section,
    .ai-management-section,
    .testimonials-section,
    .videos-section,
    .cta-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title-2 {
        font-size: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
