/* Custom Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #8b5cf6;
    --success-color: #059669;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-hero: linear-gradient(135deg, #1a1b3a 0%, #2d1b69 50%, #1e3a8a 100%);
    --gradient-waitlist: linear-gradient(135deg, #3a3b5a 0%, #4d3b89 50%, #3e5aaa 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Light theme variables */
[data-bs-theme="light"] {
    --custom-bg-light: #f8f9fa;
    --custom-card-bg: #ffffff;
    --custom-border: #dee2e6;
}

/* Dark theme variables */
[data-bs-theme="dark"] {
    --custom-bg-light: #212529;
    --custom-card-bg: #343a40;
    --custom-border: #495057;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* Sticky Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin: 0;
    padding: 0;
}

/* Light mode navbar background */
[data-bs-theme="light"] .navbar {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark mode navbar background */
[data-bs-theme="dark"] .navbar {
    background-color: rgba(33, 37, 41, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
}

.navbar .btn-outline-secondary {
    border: none;
    padding: 0.5rem 0.75rem;
}

.navbar-logo {
    height: 83px;
    width: auto;
    object-fit: contain;
}

.dropdown-item.active {
    background-color: var(--bs-primary);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    border-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium), 0 0 20px rgba(37, 99, 235, 0.4);
}



.text-primary {
    color: var(--primary-color) !important;
}

/* Hero Section - Interactive Showcase */
.hero-section-showcase {
    background: var(--gradient-hero);
    color: white !important;
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Force hero section to stay dark regardless of theme */
.hero-section-showcase,
.hero-section-showcase * {
    color: white !important;
}

.hero-section-showcase .text-primary {
    color: #60a5fa !important;
}

.hero-section-showcase .text-success {
    color: #34d399 !important;
}

.hero-section-showcase .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-section-showcase .badge {
    background-color: rgba(96, 165, 250, 0.1) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
}

.hero-section-showcase .btn-primary {
    background-color: #60a5fa !important;
    border-color: #60a5fa !important;
    color: white !important;
}

.hero-section-showcase .btn-outline-primary {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.hero-section-showcase .btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
}

.hero-cta-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%) !important;
    border: none !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4) !important;
    position: relative;
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-cta-primary:hover::before {
    left: 100%;
}

.hero-cta-primary:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 35px rgba(96, 165, 250, 0.5) !important;
}

.hero-cta-secondary {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.hero-showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge-text {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .hero-badge-text {
        white-space: normal;
        line-height: 1.4;
        display: inline-block;
        text-align: center;
    }
}

.hero-highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    border-radius: 2px;
    opacity: 0.8;
}

/* Demo Showcase */
.demo-showcase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.demo-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    border-radius: 24px;
    pointer-events: none;
}

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

.demo-tab {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-tab:hover,
.demo-tab.active {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.4) 0%, rgba(52, 211, 153, 0.4) 100%);
    border-color: #60a5fa;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
}

.demo-content-area {
    position: relative;
    min-height: 300px;
}

.demo-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.demo-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}

.demo-transformation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.input-side,
.output-side {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.transformation-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.processing-indicator {
    display: flex;
    align-items: center;
    background: rgba(96, 165, 250, 0.15);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.4);
    backdrop-filter: blur(5px);
}

/* Content Styles */
.raw-content,
.generated-content {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.transcript-line {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.transcript-line strong {
    color: #60a5fa;
}

.commit-info {
    color: rgba(255, 255, 255, 0.8);
}

.commit-hash {
    font-family: monospace;
    color: #fbbf24;
    margin-bottom: 4px;
}

.commit-message {
    margin-bottom: 8px;
}

.file-changes {
    font-size: 12px;
}

.file-names {
    color: #cbd5e1;
    font-weight: 500;
}

.ticket-info {
    color: rgba(255, 255, 255, 0.8);
}

.ticket-title {
    font-weight: bold;
    color: #f59e0b;
    margin-bottom: 8px;
}

.ticket-description {
    margin-bottom: 12px;
    font-style: italic;
}

.doc-section {
    background: rgba(52, 211, 153, 0.15);
    border-left: 3px solid #34d399;
    padding: 12px;
    border-radius: 0 6px 6px 0;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 4px;
    margin: 8px 0;
    font-family: monospace;
}

.code-snippet code {
    color: #93c5fd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section-showcase {
        padding: 40px 0 80px;
    }

    .demo-transformation {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .transformation-arrow .bi-arrow-right {
        transform: rotate(90deg);
    }

    .demo-showcase {
        padding: 20px;
    }

    .demo-tabs {
        flex-direction: column;
        align-items: center;
    }

    .demo-tab {
        width: 200px;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}











@keyframes float {

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Problem Section */
.problem-section {
    background-color: var(--custom-bg-light);
    padding: 100px 0;
}

.scattered-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.scattered-item:hover {
    transform: scale(1.1);
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
}

.output-card {
    background: var(--custom-card-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--custom-border);
}

.output-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.output-card-featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.output-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
}

[data-bs-theme="dark"] .output-card-featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
}



/* Vision Section */
.vision-section {
    padding: 100px 0;
}

/* Founder's Note */
.founder-note {
    background-color: var(--custom-bg-light) !important;
    border: 1px solid var(--custom-border);
    position: relative;
}

.founder-avatar {
    background-color: var(--primary-color) !important;
}

.founder-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

[data-bs-theme="dark"] .founder-note {
    background-color: var(--custom-card-bg) !important;
}

/* Large decorative quotes */
.founder-quote::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    line-height: 1;
    color: var(--bs-secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    z-index: 1;
}

.founder-quote::after {
    content: '”';
    position: absolute;
    bottom: -50px;
    right: 20px;
    font-size: 8rem;
    line-height: 1;
    color: var(--bs-secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    z-index: 1;
}

.founder-quote blockquote {
    position: relative;
    z-index: 2;
}

/* Integration Logos */
.integration-logo {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.integration-logo:hover {
    transform: translateY(-5px);
    background-color: rgba(37, 99, 235, 0.05);
}

.integration-logo i {
    transition: color 0.3s ease;
}

.integration-logo:hover i {
    color: var(--primary-color);
}

.integration-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.integration-icon.jira-rounded {
    border-radius: 12px;
}

/* GitHub icon alignment fix */
.integration-logo .bi-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}



/* Process Steps */
.badge.rounded-circle {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Waitlist Section */
.waitlist-section {
    background: var(--gradient-waitlist);
    color: white;
    padding: 100px 0;
}

.waitlist-form-container {
    background: var(--custom-card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.waitlist-form .form-control {
    border-radius: 8px;
    padding: 12px 16px;
}

.waitlist-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

/* Footer */
.footer {
    background-color: var(--custom-bg-light);
    border-top: 1px solid var(--custom-border);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .hero-section {
        padding: 60px 0 40px;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .problem-section,
    .solution-section,
    .vision-section,
    .waitlist-section {
        padding: 60px 0;
    }

    .waitlist-form-container {
        padding: 30px 20px;
    }



    .navbar .btn-primary {
        margin-top: 0.5rem;
    }
}