:root {
    --bg-color: #0a0a12;
    --card-bg: #151520;
    --primary-color: #00f0ff;
    /* Neon Cyan */
    --secondary-color: #7000ff;
    /* Neon Purple */
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-main: 'Outfit', sans-serif;
    --spacing-section: 6rem;

    /* n8n Chat Customization */
    --chat--color--primary: var(--primary-color);
    --chat--color--secondary: var(--secondary-color);
    --chat--color-dark: var(--bg-color);
    --chat--header--background: rgba(21, 21, 32, 0.95);
    /* var(--card-bg) with opacity */
    --chat--header--color: var(--text-color);
    --chat--message--user--background: var(--secondary-color);
    --chat--message--user--color: #000;
    --chat--message--bot--background: var(--card-bg);
    --chat--message--bot--color: var(--text-color);
    --chat--toggle--background: var(--secondary-color);
    --chat--toggle--hover--background: var(--primary-color);
    --chat--toggle--icon--color: #fff;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-main);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 6rem 5% 0;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-interface {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 350px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.chat-bubble {
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    max-width: 85%;
}

.chat-bubble.user {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-bubble.bot {
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    margin-right: auto;
    border-bottom-left-radius: 2px;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(50px);
    z-index: 1;
    animation: pulse 4s infinite alternate;
}

/* Demo Section */
.demo-section {
    padding: var(--spacing-section) 5%;
    background: linear-gradient(to right, rgba(112, 0, 255, 0.05), transparent);
}

.demo-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.demo-content {
    flex: 1;
}

.badge {
    background: rgba(112, 0, 255, 0.2);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid var(--secondary-color);
}

.demo-image {
    flex: 1;
}

.mockup-card {
    background: #1e1e2d;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.mockup-card:hover {
    transform: rotate(0deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.mock-msg {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.mock-msg.bot {
    background: #2a2a35;
    color: #fff;
    width: fit-content;
}

.mock-msg.user {
    background: var(--secondary-color);
    color: white;
    width: fit-content;
    margin-left: auto;
}

/* Integrations Section */
.integrations-section {
    padding: var(--spacing-section) 5%;
    background: var(--bg-color);
    text-align: center;
}

.integrations-content h2 {
    margin-bottom: 0.5rem;
}

.integration-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.int-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 350px;
    transition: transform 0.3s;
}

.int-card:hover {
    transform: translateY(-5px);
}

.int-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.gl-whatsapp .int-icon {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.gl-telegram .int-icon {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.int-card h3 {
    margin-bottom: 1rem;
    color: white;
}

/* Services Section */
.services {
    padding: var(--spacing-section) 5%;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: white;
}

/* Features Section */
.features {
    padding: var(--spacing-section) 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f1a);
}

.feature-content {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(0, 240, 255, 0.1);
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-visual {
    flex: 1;
}

.code-block {
    background: #101015;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #a0a0b0;
    position: relative;
    overflow: hidden;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
}

/* Contact Section */
.contact {
    padding: var(--spacing-section) 5%;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.contact-form {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,
select,
textarea {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .features {
        flex-direction: column;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simplification for MVP */
    }
}