:root {
    --bg-dark: #0d0a07;
    --card-bg: rgba(28, 18, 8, 0.75);
    --border-glow: #b45309;
    --amber-accent: #f59e0b;
    --amber-bright: #fbbf24;
    --amber-dim: #92400e;
    --ember: #dc6c1a;
    --text-main: #e8ddd0;
    --text-muted: #9a8878;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    background-image: radial-gradient(circle at 50% -20%, #2d1a06 0%, var(--bg-dark) 70%);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
	padding: 0px 0px 40px 0px;
}

/* Card Styling */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    transition: border-color 0.3s ease;
}

.card:hover {
    border-color: var(--border-glow);
}

/* Hero Section */
.hero {
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--amber-accent);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--amber-bright), var(--ember));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
	margin: 40px;
}

h2 {
    font-size: 1.8rem;
    border-left: 4px solid var(--amber-accent);
    padding-left: 15px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.hero-intro span {
    color: var(--ember);
    text-shadow: 0 0 10px rgba(220, 108, 26, 0.45);
    font-weight: bold;
}

.hero-intro {
    background-image: url(lewwa_presents.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 8px bottom;
    min-height: 350px;
    position: relative;
}

.hero-intro p {
    position: absolute;
    left: 38%;
    top: 0;
    right: 0;
    background: rgba(0,0,0,0.45);
    padding: 16px;
    margin: 16px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

/* Code Block styling */
.hero-code h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--text-main);
}

pre {
    background: #080604;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    border: 1px solid #2a1a08;
    margin-bottom: 0;
}

code, code span {
    font-family: 'Courier New', Courier, monospace;
    color: var(--amber-accent);
}

.keyword { color: #f472b6; }
.type    { color: var(--amber-bright); }
.number  { color: #c084fc; }
.string  { color: #86efac; }
.comment { color: #888; }

/* ── Output drawer ──────────────────────────────────────────────── */
.code-output-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    opacity: 0;
    border-radius: 0 0 6px 6px;
    background: #060402;
    border: 1px solid #2a1a08;
    border-top: none;
}

.code-output-drawer.open {
    max-height: 260px;
    opacity: 1;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    background: #110b03;
    border-bottom: 1px solid #2a1a08;
}

.drawer-label {
    font-size: 0.78rem;
    color: var(--amber-dim);
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.04em;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
}

.drawer-close:hover { color: var(--amber-accent); }

.drawer-body {
    margin: 0;
    padding: 12px 14px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    color: #a3c98a;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    background: transparent;
    border: none;
}

/* ── Code section buttons ───────────────────────────────────────── */
.code-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.run-btn {
    background: var(--amber-dim);
    color: var(--amber-bright);
    border: 1px solid var(--amber-accent);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.run-btn:hover {
    background: var(--border-glow);
    color: #fff;
}

/* Upload status */
.upload-status {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--amber-accent);
    min-height: 1.2em;
    opacity: 0;
    transition: opacity 0.3s;
}

.upload-status.visible {
    opacity: 1;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pricing-card.highlighted {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.12);
}

.pricing-card h3 {
    margin: 0;
    font-size: 1.4rem;
}

.pricing-card .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 20px;
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.benefits li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* API loading / error states */
.api-loading {
    color: var(--text-muted);
    font-style: italic;
    padding: 20px 0;
}

.api-error {
    color: #f87171;
    font-size: 0.9rem;
    padding: 20px 0;
}

/* Buttons */
.btn {
    padding: 12px 18px;
    border-radius: 6px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease, filter 0.2s ease;
    font-size: 0.9rem;
}

.primary-btn {
    background: var(--amber-accent);
    color: #000;
}

.secondary-btn {
    background: transparent;
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--text-main);
    flex: 1;
}

.tertiary-btn {
    background: transparent;
    border: 1px solid var(--border-glow);
    color: #fff;
    width: 100%;
    padding: 12px;
}

.btn:hover {
    filter: brightness(1.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    background: #060402;
    border-top: 1px solid rgba(245, 158, 11, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 8px;
}

footer a:hover {
    color: var(--amber-accent);
}

.footer-links {
    margin-bottom: 15px;
}

.sub-links {
    font-size: 0.8rem;
}

.location, .copyright {
    margin-top: 15px;
}

/* ── Global drag-drop overlay ───────────────────────────────────── */
.drop-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(13, 10, 7, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    backdrop-filter: blur(4px);
}

.drop-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.drop-overlay-inner {
    text-align: center;
    border: 2px dashed var(--amber-accent);
    border-radius: 16px;
    padding: 60px 80px;
    color: var(--amber-accent);
}

.drop-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.drop-overlay-inner p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .code-btn-row {
        flex-direction: column;
    }

    .run-btn, .secondary-btn {
        width: 100%;
    }
}

/* Profile layout helpers (unchanged from original) */
.hero-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-avatar {
    width: 140px;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.18);
    object-fit: cover;
}

.hero-profile-text {
    flex: 1;
}

@media (max-width: 540px) {
    .hero-profile-wrapper {
        flex-direction: column;
        text-align: center;
    }
}
