@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #0a0a12;
    --dark-bg: #080810;
    --card-bg: rgba(20, 20, 35, 0.3);
    --text-color: #ffffff;
    --primary: #3245ff;
    --secondary: #7000ff;
    --accent: #ff3a8c;
    --highlight: #00f5d4;
    --code-bg: rgba(30, 30, 45, 0.7);
    --blur-size: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: #1f0159;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
}

/* Hero Container */
.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background Effects */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Animated gradient blobs with enhanced glow effect */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--blur-size));
    mix-blend-mode: screen;
    opacity: 0.8;
    z-index: 0;
    will-change: transform, opacity;
}

.blob-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(50, 69, 255, 0.7), rgba(50, 69, 255, 0) 70%);
    top: -20%;
    right: -10%;
    animation: blobFloat 25s ease-in-out infinite alternate;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.7), rgba(112, 0, 255, 0) 70%);
    bottom: -15%;
    left: -5%;
    animation: blobFloat 30s ease-in-out 2s infinite alternate-reverse;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 58, 140, 0.5), rgba(255, 58, 140, 0) 70%);
    top: 50%;
    left: 25%;
    animation: blobFloat 20s ease-in-out 1s infinite alternate;
}

.blob-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle at center, rgba(0, 245, 212, 0.5), rgba(0, 245, 212, 0) 70%);
    top: 30%;
    right: 25%;
    animation: blobFloat 22s ease-in-out 3s infinite alternate-reverse;
}

/* Noise texture overlay */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.9' seed='0'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.035;
    z-index: 10;
    pointer-events: none;
}

/* Enhanced 3D animated grid */
.grid-container {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 0;
}

.grid {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotateX(60deg) rotateZ(0deg);
    background-size: 60px 60px;
    background-image:
        radial-gradient(circle at 30px 30px, rgba(255, 255, 255, 0.05) 2px, transparent 0px);
    animation: gridMove 60s linear infinite;
    opacity: 0.5;
}

/* Data Flow Animation */
.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(1px);
    animation: flowAnimation 4s linear infinite;
}

/* Main Content Area */
.hero-content-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
    padding: 60px 0 80px;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    padding: 0;
    position: relative;
    margin-top: 120px;
}

/* Hero Main Content */
.hero-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Text Content */
.hero-text {
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(50, 69, 255, 0.1);
    border: 1px solid rgba(50, 69, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 0.4s;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% 300%;
    border-radius: 50px;
    z-index: -1;
    animation: gradientMove 4s linear infinite;
    opacity: 0.3;
}

.badge-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-title {
    font-size: clamp(1rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    opacity: 1;
    line-height: 50px;
}

.hero-title span {
    display: block;
    transform: translateY(40px);
    opacity: 0;
}

.hero-title span:nth-child(1) {
    animation: titleUp 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 0.6s;
    /* font-weight: 800; */
}
.colmd3 {
    flex: 0 0 auto;
    width: 25%;
    margin-bottom: 20px;
}
.rows {
    display: flex;
    flex-wrap: wrap;
}
.section-services .colmd12 {
    text-align: center;
    position: relative;
}
.servicecontainer .colmd12 img {
    width: 54%;
    margin: auto;
}
.section-services .header-section {
    text-align: center;
    margin-bottom: 34px;
}
.hero-title span:nth-child(2) {
    animation: titleUp 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 0.8s;
}

.hero-title span:nth-child(3) {
    animation: titleUp 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 1s;
}

.highlight {
    background: #ff3a8c;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.typing-effect {
    position: relative;
}

/* .typing-effect::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: var(--primary);
    animation: cursorBlink 1s infinite;
} */

/* .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0.3;
    border-radius: 4px;
} */

.hero-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 1.2s;
}

/* Integration Blocks */
.integration-blocks {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 1.4s;
}

.integration-block {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.integration-block:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.integration-block.active {
    border-color: var(--primary);
    background: rgba(50, 69, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.integration-block:nth-child(2).active {
    border-color: var(--secondary);
    background: rgba(112, 0, 255, 0.05);
}

.integration-block:nth-child(3).active {
    border-color: var(--accent);
    background: rgba(255, 58, 140, 0.05);
}

.integration-block::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(50, 69, 255, 0.4), rgba(50, 69, 255, 0) 70%);
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.integration-block:hover::before {
    opacity: 0.5;
}

.integration-block:nth-child(2)::before {
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.4), rgba(112, 0, 255, 0) 70%);
}

.integration-block:nth-child(3)::before {
    background: radial-gradient(circle at center, rgba(255, 58, 140, 0.4), rgba(255, 58, 140, 0) 70%);
}

.integration-icon {
    margin-bottom: 15px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.integration-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.integration-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Call to Action Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 1.6s;
}

/* .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
} */
.header.scrolled .btn-outline {
    color: #d81c6f;
    border-color: #d81c6f;
}

.btn-primary {
    background: linear-gradient(90deg, #d81c6f, #d81c6f);
    color: var(--text-color);
    border: none;
    box-shadow: 0 10px 25px rgba(50, 69, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(50, 69, 255, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.btn-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Interactive API Display */
.api-display {
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 1s;
    perspective: 1000px;
}

.terminal-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.terminal-container:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-tabs {
    display: flex;
    gap: 5px;
}

.terminal-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.circle-red {
    background: #ff5f56;
}

.circle-yellow {
    background: #ffbd2e;
}

.circle-green {
    background: #27c93f;
}

.terminal-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.terminal-actions {
    display: flex;
    gap: 10px;
}

.terminal-action {
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal-action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.terminal-body {
    background: var(--code-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
}

.terminal-line {
    display: flex;
    margin-bottom: 10px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.terminal-line:nth-child(1) {
    animation-delay: 1.5s;
}

.terminal-line:nth-child(2) {
    animation-delay: 2s;
}

.terminal-line:nth-child(3) {
    animation-delay: 2.5s;
}

.terminal-line:nth-child(4) {
    animation-delay: 3s;
}

.terminal-line:nth-child(5) {
    animation-delay: 3.5s;
}

.terminal-line:nth-child(6) {
    animation-delay: 4s;
}

.terminal-line:nth-child(7) {
    animation-delay: 4.5s;
}

.terminal-line:nth-child(8) {
    animation-delay: 5s;
}

.terminal-line:nth-child(9) {
    animation-delay: 5.5s;
}

.prompt {
    color: var(--accent);
    margin-right: 10px;
}

.path {
    color: var(--highlight);
    margin-right: 10px;
}

.command {
    color: rgba(255, 255, 255, 0.9);
}

.response {
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.response .string {
    color: #ce9178;
}

.response .number {
    color: #b5cea8;
}

.response .property {
    color: #9cdcfe;
}

.response .keyword {
    color: #569cd6;
}

.response .comment {
    color: #6a9955;
}

.typing-animation {
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--primary);
    animation: typing 3.5s steps(40) forwards, cursorBlink 1s infinite;
    width: 0;
}

.api-endpoints {
    position: absolute;
    top: -130px;
    right: 130px;
    width: 200px;
    background: rgba(30, 30, 45, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    z-index: -1;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 1.5s;
}

.endpoint-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.endpoint-list {
    list-style: none;
}

.endpoint-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.endpoint-method {
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.method-get {
    background: rgba(0, 195, 137, 0.15);
    color: #00c389;
}

.method-post {
    background: rgba(50, 69, 255, 0.15);
    color: #3245ff;
}

.method-put {
    background: rgba(255, 189, 46, 0.15);
    color: #ffbd2e;
}

.method-delete {
    background: rgba(255, 95, 86, 0.15);
    color: #ff5f56;
}

.endpoint-path {
    color: rgba(255, 255, 255, 0.7);
}

/* Response Preview Card */
.response-preview {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 220px;
    background: rgba(30, 30, 45, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
    z-index: -1;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 2s;
}

.response-preview-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    background: rgba(0, 195, 137, 0.15);
    color: #00c389;
}

.response-code {
    background: rgba(20, 20, 35, 0.6);
    border-radius: 8px;
    padding: 10px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    max-height: 100px;
    overflow-y: auto;
}

.brace {
    color: #D4D4D4;
}

.key {
    color: #9CDCFE;
}

.string-value {
    color: #CE9178;
}

.number-value {
    color: #B5CEA8;
}

.boolean-value {
    color: #569CD6;
}

/* Connected Apps UI */
.connected-apps {
    position: absolute;
    top: 40%;
    right: -60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: -1;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.17, 0.67, 0.3, 0.98) forwards 2.5s;
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(30, 30, 45, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-icon:hover {
    transform: translateX(-5px);
    background: rgba(50, 69, 255, 0.1);
    border-color: rgba(50, 69, 255, 0.3);
}

.app-connection-line {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(50, 69, 255, 0.5));
    z-index: -1;
}

/* Animation Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes titleUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-20px, -20px) scale(1.05);
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

@keyframes cursorBlink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes flowAnimation {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translate(10%, 10%) scale(1);
    }

    90% {
        opacity: 0.8;
        transform: translate(90%, 90%) scale(1);
    }

    100% {
        transform: translate(100%, 100%) scale(0);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 30px;
    }

    .hero-main {
        gap: 40px;
    }

    .api-endpoints {
        right: -20px;
    }

    .response-preview {
        left: -20px;
    }

    .connected-apps {
        right: -30px;
    }
}

@media (max-width: 992px) {
    .hero-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-text {
        order: 1;
    }

    .api-display {
        order: 2;
        margin-bottom: 60px;
    }

    .terminal-container {
        transform: none;
    }

    .api-endpoints {
        top: -20px;
        right: auto;
        left: -20px;
        z-index: 1;
    }

    .response-preview {
        bottom: -20px;
        left: auto;
        right: -20px;
    }

    .connected-apps {
        top: auto;
        right: auto;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .integration-blocks {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .api-endpoints,
    .response-preview {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        transform: none;
        margin-top: 20px;
    }

    .connected-apps {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 2rem;
    }

    .hero-badge {
        padding: 8px 15px;
    }

    .badge-text {
        font-size: 12px;
    }

    .terminal-body {
        padding: 15px;
        font-size: 13px;
    }

    .terminal-line {
        font-size: 12px;
    }
}



.chatbot-integration-section {
    padding: 100px 0 0 0;
    background-color: #1f0159;
    position: relative;
    overflow: hidden;
}

.chatbot-integration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 245, 212, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    margin-bottom: 20px;
}

.badge-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    /* color: #e5247c; */
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.section-title .highlight {
    background: linear-gradient(to right, #e5247b, #7000FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.section-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

/* Chatbot Demo Styles */
.chatbot-demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 80px;
}

.chatbot-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(112, 0, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-description {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.chatbot-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
}

.chatbot-window {
    background: #0f1015;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.chatbot-window:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.chatbot-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #e6237b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.chatbot-info {
    flex: 1;
}

.chatbot-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.chatbot-status {
    font-size: 12px;
    color: #00F5D4;
}

.chatbot-control-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-conversation {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.bot .message-content {
    background: rgba(50, 69, 255, 0.15);
    color: #ffffff;
    border-bottom-left-radius: 4px;
}

.user .message-content {
    background: rgba(112, 0, 255, 0.3);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    margin-left: 8px;
    margin-right: 8px;
    align-self: flex-start;
}

.user .message-time {
    align-self: flex-end;
}

.bot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.bot-option-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bot-option-btn:hover {
    background: rgba(112, 0, 255, 0.3);
    border-color: rgba(112, 0, 255, 0.5);
}

.typing-indicator {
    display: flex;
    padding: 12px 16px;
    background: rgba(50, 69, 255, 0.15);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: inline-block;
    margin: 0 1px;
    animation: typing 1.3s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

.chatbot-input {
    display: flex;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input-field:focus {
    border-color: rgba(112, 0, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
    background: linear-gradient(to right, #3245FF, #7000FF);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.5);
}

.api-code-panel {
    background: #0f1015;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.api-code-panel:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #e6237b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.code-icon {
    margin-right: 8px;
}

.code-lang {
    font-size: 12px;
    background: rgba(112, 0, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    color: #b388ff;
}

.code-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.code-content pre {
    margin: 0;
}

.code-content code {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-wrap;
    display: block;
}

.faqs {
    margin-top: 50px;
}

.sfc-magic-success {
    margin-top: 50px;
}

/* Integration Steps Styles */
.integration-steps {
    margin-bottom: 60px;
    background: #e7237c;
    padding: 35px 0;
}

div#hero_section_chatbot {
    display: flex;
}

.steps-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 250px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right bottom, #3245FF, #7000FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 16px rgba(112, 0, 255, 0.3);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(to right, #3245FF, #7000FF);
    opacity: 0.3;
    z-index: -1;
}

.step-content {
    padding: 0 16px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, #3245FF, #7000FF);
    position: relative;
    max-width: 120px;
}

.chatbot_icons {
    display: flex;
    gap: 20px;
    position: absolute;
    top: -25px;
    right: 10%;
}

.chatbot_icons img {
    width: 70px;
}

.step-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #7000FF;
}

.try-it-now {
    text-align: center;
    background: rgba(50, 69, 255, 0.05);
    border: 1px solid rgba(50, 69, 255, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    margin: 0 50px;
}

.try-it-now::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.2) 0%, rgba(50, 69, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.try-it-now::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.15) 0%, rgba(0, 245, 212, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.try-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.try-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.try-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.try-btn {
    padding: 14px 32px;
    font-size: 16px;
}

.docs-btn {
    padding: 14px 32px;
    font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .chatbot-demo-wrapper {
        grid-template-columns: 1fr;
    }

    .chatbot-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .chatbot-demo {
        grid-template-columns: 1fr;
    }

    .chatbot-features {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        max-width: none;
    }

    .step-connector::before {
        top: auto;
        right: 50%;
        bottom: 0;
        transform: translateX(50%) rotate(90deg);
    }

    .try-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 30px;
    }
}

.chatbot-input input {
    color: #000;
}

@media (max-width: 576px) {
    .chat-input-field {
        padding: 12px 0;
    }

    .terminal-title {
        font-size: 9px;
    }

    .chatbot-window,
    .api-code-panel {
        height: 400px;
    }

    .try-it-now {
        padding: 40px 20px;
        margin: 0 20px;
    }

    .section-title {
        font-size: 28px;
    }
}