/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    color: #ffffff;
    background-color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #374151;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo i {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 700;
}

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

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #d1d5db;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
    font-size: 1rem;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.btn-ghost {
    background: transparent;
    color: #d1d5db;
}

.btn-ghost:hover {
    color: #ffffff;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    width: 100%;
}

@media (min-width: 640px) {
    .btn-hero {
        width: auto;
    }
}

.btn-hero:hover {
    transform: scale(1.05);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background-color: #374151;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-white {
    background-color: white;
    color: #1e40af;
}

.btn-white:hover {
    background-color: #f3f4f6;
}

.btn-purple {
    background-color: #7c3aed;
    color: white;
}

.btn-purple:hover {
    background-color: #6d28d9;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-main {
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-accent {
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Hero Visual */
.hero-visual {
    margin-top: 4rem;
    position: relative;
}

.hero-dashboard {
    background: linear-gradient(135deg, #111827, #000000);
    border: 1px solid #374151;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

.chatbot-preview {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 24rem;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.chatbot-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-icon i {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.chatbot-title {
    color: white;
    font-weight: 600;
}

.chatbot-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Section Styles */
.how-it-works {
    padding: 5rem 1rem;
    background-color: rgba(17, 24, 39, 0.5);
}

@media (min-width: 640px) {
    .how-it-works {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .how-it-works {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.features {
    padding: 5rem 1rem;
}

@media (min-width: 640px) {
    .features {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .features {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.use-cases {
    padding: 5rem 1rem;
    background-color: rgba(17, 24, 39, 0.3);
}

@media (min-width: 640px) {
    .use-cases {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .use-cases {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.pricing {
    padding: 5rem 1rem;
}

@media (min-width: 640px) {
    .pricing {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .pricing {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    text-align: center;
    group: ;
}

.nav-logo-img
{
    width: 20%;
    height: auto;
}

#toast {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#toast.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


.step-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.2s;
}

.step:hover .step-icon {
    transform: scale(1.1);
}

.step-icon-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.step-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.step-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.step-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    color: #9ca3af;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.2s;
}

.feature-card:hover {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.5);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.feature-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.feature-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.use-case-card {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s;
}

.use-case-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.use-case-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.use-case-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.use-case-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.use-case-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.use-case-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.use-case-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.use-case-description {
    color: #9ca3af;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
    transition: all 0.2s;
}

.pricing-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.pricing-card-featured {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border: 2px solid #3b82f6;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #3b82f6, #14b8a6);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-plan {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.pricing-period {
    font-size: 1.125rem;
    color: #9ca3af;
}

.pricing-subtitle {
    color: #9ca3af;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pricing-feature i {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    margin-right: 0.75rem;
}

.pricing-btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: rgba(17, 24, 39, 0.5);
    border-top: 1px solid #374151;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon i {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 28rem;
    width: 90%;
    color: white;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: white;
}

.modal-close i {
    width: 1.5rem;
    height: 1.5rem;
}

/* Form */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    padding: 0.75rem;
    color: white;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #3b82f6;
}

.form-textarea {
    resize: none;
    min-height: 4rem;
}

.form-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
}

.form-actions .btn {
    flex: 1;
}

/* Toast */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    max-width: 24rem;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 0.75rem;
}

.toast-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon.success {
    color: #10b981;
}

.toast-icon.error {
    color: #ef4444;
}

.toast-text {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.toast-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .pricing-card-featured {
        transform: none;
    }
    
    .chatbot-preview {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        max-width: none;
    }
}