/* Base styles and CSS reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --neon-blue: #00f3ff;
    --electric-purple: #cf00ff;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --card-bg: rgba(15, 15, 35, 0.6);
    --text-light: #ffffff;
    --text-gray: #b8b8d0;
}

body {
    background: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(207, 0, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 60%, rgba(0, 243, 255, 0.1) 0%, transparent 20%);
}

/* Scrolling Banner */
.scrolling-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, var(--electric-purple), var(--neon-blue));
    color: white;
    padding: 8px 0;
    z-index: 2000;
    overflow: hidden;
    font-weight: 600;
}

.scrolling-content {
    display: flex;
    animation: scrollBanner 20s linear infinite;
    white-space: nowrap;
}

.scrolling-content span {
    padding-right: 50px;
}

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

/* Particle canvas background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container and section styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block; /* Changed from inline-block */
    margin-left: auto;
    margin-right: auto;
    /* Removed: position: relative, left: 50%, transform: translateX(-50%) */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism card style */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 243, 255, 0.2);
}

/* Navigation */
nav {
    position: fixed;
    top: 30px; /* Adjusted for banner */
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-blue);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
    padding-top: 150px; /* Adjusted for banner and nav */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(207, 0, 255, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
}

.cta-button.secondary:hover {
    background: var(--neon-blue);
    color: white;
}

/* Services Tabs */
.services-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-button {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 25px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-button.active,
.tab-button:hover {
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    transform: translateY(-2px);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.service-card {
    text-align: center;
    padding: 40px;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--neon-blue);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-card p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.service-features li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--neon-blue);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--neon-blue);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
}

/* Chat Demo Section */
.chat-demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.chat-demo {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
}

.chat-message {
    display: flex;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease;
}

.chat-message.bot {
    justify-content: flex-start;
}

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

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.chat-message.bot .avatar {
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
}

.chat-message.user .avatar {
    background: rgba(255, 255, 255, 0.2);
}

.message-content {
    max-width: 70%;
    padding: 15px;
    border-radius: 15px;
}

.chat-message.bot .message-content {
    background: rgba(255, 255, 255, 0.1);
    border-top-left-radius: 5px;
}

.chat-message.user .message-content {
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    border-top-right-radius: 5px;
}

/* Portfolio Section */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.demo-card {
    text-align: center;
    position: relative;
    padding: 25px;
    transition: all 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.demo-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, var(--electric-purple), var(--neon-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.demo-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.demo-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Demo Tech Tags */
.demo-tech {
    display: flex;
    gap: 8px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-tech span {
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-blue);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.demo-button {
    padding: 12px 30px;
    font-size: 1rem;
}

.demo-notice {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(207, 0, 255, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--electric-purple);
}

.demo-notice p {
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

.demo-notice strong {
    color: var(--electric-purple);
}

/* Service Selector */
.service-selector {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.service-type-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.service-type-btn.active,
.service-type-btn:hover {
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    transform: translateY(-2px);
}

.service-pricing {
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-pricing.active {
    display: grid;
}

/* Pricing Section */
.currency-selector {
    text-align: center;
    margin-bottom: 30px;
}

.currency-selector label {
    margin-right: 10px;
    color: var(--text-light);
}

.currency-dropdown {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

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

.pricing-card {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--electric-purple), var(--neon-blue));
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    margin: 20px 0;
    color: var(--neon-blue);
}

.price span {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    color: var(--text-gray);
}

.pricing-features li::before {
    content: '✓';
    color: var(--neon-blue);
    margin-right: 10px;
}

.payment-info {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--neon-blue);
}

.payment-info p {
    margin: 10px 0;
    color: var(--text-light);
    font-weight: 500;
}

.payment-info i {
    color: var(--neon-blue);
    margin-right: 10px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-light);
}

.faq-answer {
    padding: 0 0 20px 0;
    color: var(--text-gray);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.founder {
    margin-top: 40px;
    font-style: italic;
    color: var(--neon-blue);
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 15, 35, 0.5);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300f3ff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

#form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

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

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

.footer-section h3 {
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-gray);
    margin: 15px 0;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--neon-blue);
}

.contact-info li {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--neon-blue);
    width: 20px;
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.socials a:hover {
    background: linear-gradient(45deg, var(--neon-blue), var(--electric-purple));
    transform: translateY(-3px);
}

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

.copyright {
    color: var(--text-gray);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--neon-blue);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatAround 15s ease-in-out infinite;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, 10px) rotate(-5deg);
    }
    75% {
        transform: translate(10px, 15px) rotate(3deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .pricing-cards,
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
    
    .service-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .service-type-btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .scrolling-content {
        animation: scrollBanner 15s linear infinite;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        padding: 50px 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .message-content {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-links {
        width: 100%;
    }
    
    .currency-selector {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .currency-selector label {
        margin-bottom: 10px;
    }
    
    .scrolling-banner {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .demo-tech {
        justify-content: center;
    }
    
    .demo-tech span {
        font-size: 0.7rem;
    }
    
    .payment-info {
        padding: 15px;
    }
    
    .payment-info p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(207, 0, 255, 0.4);
    }
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

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