/* Global Styles */
:root {
    --primary-color: #007bff; /* AIEnablr blue */
    --secondary-color: #6c757d;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-color-light: #e0e0e0;
    --text-color-dark: #333;
    --gradient-start: #004d99;
    --gradient-end: #007bff;
    --border-radius: 8px;
    --padding-section: 100px 0;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    line-height: 1.1;
    color: #fff;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
}

p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -40px auto 60px;
    font-size: 1.1em;
    opacity: 0.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.cta-button.primary:hover {
    background: linear-gradient(45deg, #0056b3, #007bff);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}

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

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: rgba(26, 26, 46, 0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.navbar .logo img {
    height: 40px;
}

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

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

.navbar nav ul li a {
    color: var(--text-color-light);
    font-weight: 600;
    font-size: 1.05em;
    position: relative;
    padding-bottom: 5px;
}

.navbar nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after,
.navbar nav ul li a.active::after {
    width: 100%;
}

.navbar .nav-cta {
    padding: 10px 20px;
    font-size: 1em;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a0a1a 100%);
    padding: var(--padding-section) 0 80px;
    color: #fff;
    text-align: center;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.8em;
    margin-bottom: 25px;
    background: linear-gradient(to right, #a7d9ff, #6cb2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .sub-headline {
    font-size: 1.3em;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 800px;
    background-color: #0f0f20;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.animation-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.animation-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.animation-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* How It Works Section - Timeline */
.how-it-works-section {
    padding: var(--padding-section);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    opacity: 0.3;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 30px;
    background-color: #2b2b4d;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.3);
}

.timeline-step {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: 700;
    border: 4px solid var(--dark-bg);
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

/* Features Section - Cards */
.features-section {
    padding: var(--padding-section);
    background-color: #1a1a2e;
}

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

.feature-card {
    background-color: #2b2b4d;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.5);
}

.feature-icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #fff;
}

/* Use Cases Section - Tabs */
.use-cases-section {
    padding: var(--padding-section);
}

.use-case-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-link {
    padding: 12px 25px;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-link:hover, .tab-link.active {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.tab-content-wrapper {
    background-color: #2b2b4d;
    padding: 40px;
    border-radius: var(--border-radius);
    min-height: 200px;
}

.tab-content h3 {
    font-size: 1.8em;
    color: #fff;
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.contact-cta-section h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.contact-cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

#dashboard,
#pricing {
    display: none;
}

/* Contact Form Styles */
.contact-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background-color: #1a1a2e;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-align: center;
}

.contact-container h1 {
    color: #fff;
    margin-bottom: 15px;
}

.contact-container p {
    color: var(--text-color-light);
    margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid #444;
    background-color: #2b2b4d;
    color: var(--text-color-light);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

#contact-form button {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar nav ul {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    .timeline::after {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-content {
        text-align: left !important;
    }
    .timeline-step {
        left: 30px;
    }
}
