/* Global Styles */
:root {
    --bg-color: #0B0E14;
    /* Dark background similar to the image */
    --text-color: #E2E8F0;
    --text-muted: #94A3B8;
    --primary-color: #3B82F6;
    /* Blue accent */
    --primary-hover: #2563EB;
    --secondary-bg: #1E293B;
    --border-color: #334155;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --max-width: 1280px;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.logo svg {
    height: 24px;
    width: 24px;
    color: var(--primary-color);
}

.logo-img {
    height: 46px;
    width: auto;
}

.footer-logo-img {
    height: 46px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

nav a:hover {
    color: white;
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

/* Hero Section */
.hero {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Background grid effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

/* Code Window */
.code-window {
    background: #111;
    border-radius: 0.75rem;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: var(--font-mono);
    width: 600px;
    /* Ensure it takes full width of the column */
    min-height: 400px;
    /* Ensure minimum height */
}

.window-header {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Changed from space-between */
    border-bottom: 1px solid #333;
    flex-wrap: wrap;
}


.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.close {
    background: #ff5f56;
}

.minimize {
    background: #ffbd2e;
}

.maximize {
    background: #27c93f;
}

.filename {
    color: #888;
    font-size: 0.85rem;
}

.code-content {
    padding: 1.5rem;
    color: #e6e6e6;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.keyword {
    color: #c678dd;
}

/* Purple */
.string {
    color: #98c379;
}

/* Green */
.function {
    color: #61afef;
}

/* Blue */
.number {
    color: #d19a66;
}

/* Orange */
.comment {
    color: #5c6370;
    font-style: italic;
}

/* Grey */
.operator {
    color: #56b6c2;
}

.operator2 {
    color: #ff00ead0;
    font-weight: bold;
}

/* Cyan */

.success-message {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.2);
    border-radius: 4px;
    color: #27c93f;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Features Grid */
.features-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.feature-card {
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

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

.icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Value Prop Section (Stop Wrestling) */
.value-prop {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-color), #0f1520);
}

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

.value-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

.check {
    color: #27c93f;
    flex-shrink: 0;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

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

.step-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Process Diagram */
.process-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 0;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.step-box {
    background: white;
    border-radius: 20px;
    border: 2px dashed #c7d2fe;
    padding: 0;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.template-box {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
}

.json-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.template-box .file-header,
.json-box .file-header,
.pdf-box .file-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.template-box .file-header {
    background: rgba(255, 255, 255, 0.7);
}

.json-box .file-header {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 12px 12px 0 0;
    margin: 0.75rem;
    margin-bottom: 0;
}

.file-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.file-header .dot.red {
    background: #ff5f56;
}

.file-header .dot.yellow {
    background: #ffbd2e;
}

.file-header .dot.green {
    background: #27c93f;
}

.file-header .file-name {
    color: #6366f1;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
}

.file-header .file-name.light {
    color: #a5b4fc;
}

.file-header .json-icon {
    background: #facc15;
    color: #1e1e1e;
    font-weight: bold;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

.file-header .valid-badge {
    background: #22c55e;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

/* Template File Content */
.template-box .file-content {
    padding: 1rem 1.25rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    background: white;
    color: #374151;
    min-height: 180px;
    text-align: left;
}

/* JSON File Content */
.json-box .file-content {
    margin: 0 0.75rem;
    padding: 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    background: #1e1e1e;
    border-radius: 0 0 12px 12px;
    color: #e5e5e5;
    min-height: 120px;
    text-align: left;
}

.process-code {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    white-space: pre;
}

/* HTML Syntax Colors */
.html-tag {
    color: #64748b;
}

.html-bracket {
    color: #94a3b8;
}

.var-highlight {
    background: linear-gradient(135deg, #fef08a, #fde047);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: #854d0e;
    font-weight: 600;
}

/* JSON Syntax Colors */
.json-key {
    color: #f472b6;
}

.json-value {
    color: #4ade80;
}

.json-bracket {
    color: #e5e5e5;
}

.variable-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
    padding: 10px;
}

.var-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.var-tag.cyan {
    background: #06b6d4;
}

.var-tag.green {
    background: #22c55e;
}

.var-tag.purple {
    background: #a855f7;
}

/* Arrow */
.process-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.arrow-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6366f1;
    text-align: center;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e0e7ff;
}

/* PDF Box */
.pdf-box {
    background: #f0f9ff;
    border: 2px dashed #bfdbfe;
    position: relative;
}

.success-indicator {
    position: absolute;
    top: 3px;
    right: 3px;
}

.pdf-preview {
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.pdf-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.75rem;
    color: #64748b;
}

.pdf-content {
    padding: 1rem;
    text-align: left;
}

.pdf-content h4 {
    font-size: 1rem;
    color: #111;
    margin-bottom: 0.75rem;
}

.pdf-content p {
    font-size: 0.8rem;
    color: #374151;
    margin-bottom: 0.25rem;
}

.pdf-content .bullet {
    margin-right: 0.25rem;
}

.bullet.cyan {
    color: #06b6d4;
}

.bullet.purple {
    color: #a855f7;
}

/* Responsive for process diagram */
@media (max-width: 900px) {
    .process-diagram {
        flex-direction: column;
        gap: 2rem;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .arrow-label {
        transform: rotate(-90deg);
    }
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Grid pattern overlay - matching hero */
.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

.pricing .section-header {
    position: relative;
    z-index: 1;
}

.pricing .section-header h2 {
    color: #fff !important;
    font-size: 2.5rem;
}

.pricing .section-header p {
    color: var(--text-muted);
}

/* Slider Pricing Styles */
.pricing-slider-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.slider-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.slider-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.slider-value-display {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.slider-wrapper {
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.pricing-range-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #6366f1 0%, #6366f1 var(--slider-progress, 25%), #334155 var(--slider-progress, 25%), #334155 100%);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.pricing-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
    border: 3px solid #fff;
    transition: transform 0.2s;
}

.pricing-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.pricing-range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
    border: 3px solid #fff;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-input-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 1rem;
}

.pages-input {
    width: 100px;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    text-align: center;
    font-weight: 600;
}

.pages-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.slider-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

/* Pricing Details Grid */
.pricing-details-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
}

.recommended-plan-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1.25rem;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
}

.plan-recommend-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.plan-credits {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.plan-credits span {
    font-weight: 700;
    color: #fef08a;
}

.plan-price {
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.plan-yearly {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.plan-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-specs li:last-child {
    border-bottom: none;
}

.spec-label {
    opacity: 0.9;
}

.spec-value {
    font-weight: 600;
    color: #fef08a;
}

.recommended-plan-card .pricing-btn {
    background: white;
    color: #6366f1;
    margin-top: auto;
}

.recommended-plan-card .pricing-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Features Included Card */
.features-included-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2rem;
}

.features-included-card h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

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

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.feature-list li svg {
    flex-shrink: 0;
}

.features-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Slider Responsive */
@media (max-width: 768px) {
    .pricing-details-grid {
        grid-template-columns: 1fr;
    }

    .slider-input-row {
        flex-wrap: wrap;
    }

    .features-grid-2col {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--secondary-bg);
    color: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pricing-card.popular {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-features {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.pricing-features li svg {
    color: #22c55e;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: block;
    margin-top: auto;
}

.btn-outline {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: transparent;
    color: #e2e8f0;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.5);
}

.btn-fill {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    background: #080a0f;
}

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

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* Code Tabs */
.code-tabs {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-bottom: 2px;
    /* Scrollbar spacing */
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.code-tabs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.code-tab {
    background: transparent;
    border: none;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--font-body);
}

.code-tab:hover {
    color: #999;
    background: rgba(255, 255, 255, 0.05);
}

.code-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.code-content-wrapper {
    position: relative;
    height: 350px;
    /* Fixed height to prevent resizing */
    overflow-y: auto;
}

.code-content-wrapper::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.code-content-wrapper::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.code-block {
    display: none;
    padding: 1.5rem;
    color: #e6e6e6;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: var(--font-mono);
}

.code-block.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */

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

@media (max-width: 1024px) {

    .features-grid,
    .pricing-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .hero-grid,
    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .features-grid,
    .pricing-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 3rem 0;
        text-align: center;
    }

    .code-window {
        text-align: left;
        width: 100%;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }
}