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

/* Prevent horizontal overflow on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Preload critical resources */
.hero {
    will-change: transform;
}

/* Optimize font loading */
@font-face {
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Code Styles */
code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* Smaller font for feature section SQL */
.feature-card .code-example code {
    font-size: 0.75rem;
}

pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure all code examples have horizontal scroll */
.code-example pre {
    overflow-x: auto;
    white-space: pre;
}

.code-example pre code {
    white-space: pre;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* SQL Syntax Highlighting */
.sql .keyword { color: #8b5cf6; }

/* Contact Modal Styles */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease-out;
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.modal-header h3 {
    margin: 0;
    color: #1e3a8a;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 0 1.5rem 1.5rem;
}

.modal-body p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.contact-form input.is-valid {
    border-color: #10b981;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #ef4444;
}

.invalid-feedback {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-form input.is-invalid + .invalid-feedback,
.contact-form textarea.is-invalid + .invalid-feedback {
    display: block;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.form-result {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
    display: none;
}

.form-result.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.form-result.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.form-disclaimer {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
.sql .string { color: #10b981; }
.sql .comment { color: #6b7280; }
.sql .function { color: #3b82f6; }

/* Pricing styles */
.price-main {
    font-size: 2rem;
    font-weight: bold;
    color: #1e3a8a;
}

.price-details {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.price-additional {
    display: block;
    font-size: 0.875rem;
    color: #374151;
    margin-top: 0.5rem;
}

.price-enterprise {
    display: block;
    font-size: 0.875rem;
    color: #7c3aed;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-outline:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 9999;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: white;
}

.cookie-consent-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent-banner .btn {
    white-space: nowrap;
}

.cookie-consent-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-banner .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand h2 {
    color: #1e3a8a;
    margin: 0;
}

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

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1e3a8a;
}

.nav-links .btn-primary {
    color: white;
}

.nav-links .btn-primary:hover {
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-terminal, .hero-visual {
    height: 300px !important;
}

.hero-title {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: #6b7280;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Demo Terminal */
.demo-terminal {
    background-color: #1f2937;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background-color: #374151;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background-color: #ef4444; }
.btn-minimize { background-color: #f59e0b; }
.btn-maximize { background-color: #10b981; }

.terminal-title {
    color: #d1d5db;
    font-size: 0.875rem;
}

.terminal-content {
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    overflow: hidden;
    height: 300px !important;
    text-align: left;
}

.terminal-line {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    line-height: 1.4;
    text-align: left;
}

.terminal-line.output {
    flex-shrink: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.prompt {
    color: #10b981;
    font-weight: bold;
}

.command {
    color: #f9fafb;
}

.output .success {
    color: #10b981;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Features Section */
.features {
    background-color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow-x: hidden;
    max-width: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.code-example {
    margin-top: 1rem;
    max-width: 100%;
    overflow-x: auto;
}

.feature-card .code-example {
    max-width: 100%;
    overflow-x: auto;
}

.feature-card .code-example pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
}

/* Flow Diagram */
.flow-diagram {
    margin-top: 1rem;
}

.flow-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.flow-label {
    font-weight: 600;
    min-width: 100px;
    color: #374151;
}

.flow-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.flow-step {
    background-color: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    font-size: 0.75rem;
}

.flow-row.highlight .flow-step {
    background-color: #10b981;
    color: white;
}

.flow-row.highlight-red .flow-step {
    background-color: #fc9e9e;
    color: white;
}

.flow-arrow {
    color: #6b7280;
    font-weight: bold;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Quotes Section */
.quotes {
    background-color: #1e3a8a;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 5rem 0;
}

.quote-card {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 10px;
    text-align: center;
}

.quote-content {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quote-text {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.author-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Architecture Section */
.architecture {
    background-color: #f9fafb;
}

.architecture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f3f4f6;
    min-width: 80px;
}

.arch-node.highlight {
    background-color: #1e3a8a;
    color: white;
}

.node-icon {
    font-size: 1.5rem;
}

.arch-arrow {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: bold;
}

.tech-features {
    display: grid;
    gap: 1rem;
}

.tech-feature h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tech-feature p {
    color: #6b7280;
    margin: 0;
}

/* Benchmarks Section */
.benchmarks {
    background-color: white;
}

.benchmark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benchmark-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 1rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

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

.benchmark-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benchmark-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benchmark-desc {
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Integration Section */
.integration {
    background-color: #f9fafb;
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.feature-list li:before {
    content: "✅ ";
    color: #10b981;
    margin-right: 0.5rem;
}

.integration-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.flow-node {
    padding: 1rem;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    text-align: center;
    min-width: 80px;
    font-weight: 500;
}

.flow-node.highlight {
    background-color: #1e3a8a;
    color: white;
}

.flow-bidirectional {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: bold;
}

/* Business Value Section */
.business-value {
   background-color: #f9fafb;
}

.value-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3rem;
   align-items: center;
}

.benefit-list {
   list-style: none;
   padding: 0;
}

.benefit-list li {
   padding: 0.5rem 0;
   border-bottom: 1px solid #e5e7eb;
}

.benefit-list li:before {
   content: "💰 ";
   color: #10b981;
   margin-right: 0.5rem;
}

.benefit-list li:nth-child(1):before {
   content: "🔓 ";
}

.benefit-list li:nth-child(3):before {
   content: "⚡ ";
}

.benefit-list li:nth-child(4):before {
   content: "🚀 ";
}

.business-flow {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 1rem;
   padding: 2rem;
   background-color: white;
   border-radius: 1rem;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.business-flow .flow-node {
   padding: 1rem;
   background-color: #f3f4f6;
   border-radius: 0.5rem;
   text-align: center;
   min-width: 120px;
   font-weight: 500;
}

.business-flow .flow-node.highlight {
   background-color: #1e3a8a;
   color: white;
}

.flow-arrow {
   font-size: 1.5rem;
   color: #6b7280;
   font-weight: bold;
}

.flow-time {
   margin-top: 1rem;
   padding: 0.5rem 1rem;
   background-color: #10b981;
   color: white;
   border-radius: 2rem;
   font-size: 0.875rem;
   font-weight: 600;
}

/* Pricing Section */
.pricing {
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    background-color: white;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #1e3a8a;
    transform: scale(1.05);
}

.pricing-card.featured:before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e3a8a;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.pricing-tier {
    margin-bottom: 1rem;
    color: #1f2937;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-features li:before {
    content: "✓ ";
    color: #10b981;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Demo Section */
.demo {
    background-color: #f9fafb;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.demo-video {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

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

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1f2937, #374151);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.demo-script h3 {
    margin-bottom: 1rem;
}

/* Download Section */
.download {
    background-color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.download-option:hover {
    background-color: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.github-link {
    border: 2px solid #f59e0b !important;
    background-color: #fef3c7 !important;
}

.github-link:hover {
    background-color: #f59e0b !important;
    border-color: #d97706 !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

.download-icon {
    font-size: 1.5rem;
}

.download-text h4 {
    margin: 0;
    font-size: 1rem;
}

.download-text p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.quick-start h3 {
    margin-bottom: 1rem;
}

.curl-commands {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.curl-commands h4 {
    margin-bottom: 1rem;
    color: #374151;
    font-size: 1.1rem;
}

.curl-command {
    margin-bottom: 1rem;
}

.curl-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.curl-url {
    display: block;
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    width: 100%;
    word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    user-select: all;
    max-width: 100%;
    box-sizing: border-box;
}

.curl-url:hover {
    background-color: #374151;
}

/* FAQ Section */
.faq {
    background-color: #ffffff;
}

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

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.faq-item p {
    margin: 0;
    color: #4b5563;
}

/* FAQ bullet point lists */
.faq-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.faq-item ul li {
    padding: 0.25rem 0 0.25rem 1.5rem;
    margin: 0.25rem 0;
    position: relative;
}

.faq-item ul li:before {
    content: "•";
    color: #1e3a8a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-location {
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #9ca3af;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(107, 114, 128, 0.1);
}

.footer-social a:hover {
    color: #1e3a8a;
    background-color: rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Override center alignment for terminal */
    .demo-terminal {
        text-align: left !important;
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
        padding-top: 20px !important;
    }
    
    .demo-terminal .terminal-content {
        text-align: left !important;
        height: 240px !important;
        flex: none !important;
    }
    
    .demo-terminal .terminal-line {
        text-align: left !important;
    }

    .hero-visual {
        height: 300px !important;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .demo-content,
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .benchmark-grid,
    .feature-grid,
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .flow-steps {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }
    
    
    .integration-flow {
        flex-direction: column;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Prevent horizontal overflow on mobile */
    .container {
        padding: 0 0.75rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Prevent long URLs from causing horizontal overflow */
    .curl-url {
        font-size: 0.7rem;
        word-break: break-all;
        overflow-wrap: break-word;
    }
    
    /* Ensure code blocks don't overflow */
    pre {
        font-size: 0.75rem;
        overflow-x: auto;
    }
    
    /* Make sure all sections stay within viewport */
    section {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix demo section mobile responsiveness */
    .demo-content {
        gap: 2rem;
    }
    
    .demo-video,
    .demo-script,
    .quick-start {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .video-container {
        max-width: 100%;
    }
    
    .video-container iframe {
        max-width: 100%;
    }

    .demo-terminal, .hero-visual {
        height: 300px !important;
        padding-top: 20px !important;
    }
    
    /* Quotes mobile responsiveness */
    .quotes {
        padding: 3rem 0;
    }
    
    .quote-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .quote-text {
        font-size: 1.5rem;
    }
    
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .feature-card,
    .pricing-card,
    .faq-item {
        padding: 1.5rem;
    }
    
    .demo-terminal {
        font-size: 0.75rem;
        text-align: left !important;
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
    
    .demo-terminal .terminal-content {
        text-align: left !important;
        height: 240px !important;
        flex: none !important;
    }
    
    .demo-terminal .terminal-line {
        text-align: left !important;
        padding-top: 20px !important;
    }

    .hero-visual {
        height: 700px !important;
    }
    
    /* Quotes extra small screen responsiveness */
    .quotes {
        padding: 2rem 0;
    }
    
    .quote-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .quote-text {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
}