* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #0f131f; /* Deeper dark for neon to bounce off */
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ambient Background Blurs */
.ambient-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1; pointer-events: none;
}
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: drift 20s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}
.orb-1 {
    width: 600px; height: 600px;
    background: #8b5cf6;
    top: -10%; left: -10%;
}
.orb-2 {
    width: 500px; height: 500px;
    background: #3b82f6;
    top: 40%; right: -10%;
    animation-duration: 25s;
    animation-delay: -5s;
}
.orb-3 {
    width: 700px; height: 400px;
    background: #10b981;
    bottom: -10%; left: 20%;
    animation-duration: 30s;
    animation-delay: -10s;
    opacity: 0.3;
}
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.1); }
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
}

/* Hero */
.hero { padding: 6rem 0 4rem; text-align: center; }
.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 50%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0px;
    line-height: 1;
    text-shadow: 0 10px 40px rgba(167,139,250,0.4);
    letter-spacing: -2px;
}
.hero .brand-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #cbd5e1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(129,140,248,0.5);
}
.hero h2 { color: #f8fafc; font-weight: 500; font-family: 'Inter', sans-serif; margin-bottom: 1.5rem; font-size: 1.5rem; }
.hero .subtitle { font-size: 1.25rem; color: #94a3b8; max-width: 750px; margin: 0 auto; font-weight: 400; line-height: 1.8; }

/* Magic Glass Cards */
.playground-card, .feature-card, .industry-card, .faq-item {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.playground-card:hover, .feature-card:hover, .industry-card:hover, .faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.6), 0 0 30px rgba(139,92,246,0.15), inset 0 1px 1px rgba(255,255,255,0.2);
}

/* Feature/Industry Specifics */
.playground { margin: 2rem 0 6rem; }
.playground-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.playground-card { padding: 2rem; }
.playground-card h3 { display: flex; align-items: center; gap: 0.8rem; font-size: 1.6rem; margin-bottom: 1.5rem; color: #f8fafc; font-weight: 700; }
.playground-card h3 i { color: #a78bfa; background: rgba(167,139,250,0.1); padding: 0.6rem; border-radius: 14px; box-shadow: inset 0 0 10px rgba(167,139,250,0.2); }

.upload-area {
    border: 2px dashed rgba(167, 139, 250, 0.4);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.3);
}
.upload-area:hover, .upload-area.dragover {
    border-color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 30px rgba(129,140,248,0.2), inset 0 0 20px rgba(129,140,248,0.1);
    transform: scale(1.02);
}
.upload-area i { font-size: 4rem; color: #818cf8; margin-bottom: 1.5rem; filter: drop-shadow(0 0 15px rgba(129,140,248,0.5)); transition: transform 0.3s; }
.upload-area:hover i { transform: scale(1.1) translateY(-5px); color: #a78bfa; filter: drop-shadow(0 0 25px rgba(167,139,250,0.7)); }

.preview-container, .result-box {
    background: rgba(2, 6, 23, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    box-shadow: inset 0 4px 15px rgba(0,0,0,0.6);
}
#uploadedImage {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}
.result-box { min-height: 250px; max-height: 400px; overflow-y: auto; }
#result { font-family: 'JetBrains Mono', 'SF Mono', monospace; font-size: 0.95rem; color: #cbd5e1; white-space: pre-wrap; word-wrap: break-word; line-height: 1.6; }

/* Buttons with Shimmer */
.btn {
    background: linear-gradient(110deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 100%;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 20px -5px rgba(139,92,246,0.6), inset 0 1px 1px rgba(255,255,255,0.4);
    animation: shimmerBtn 3s infinite linear;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
@keyframes shimmerBtn {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 30px -5px rgba(139,92,246,0.8), inset 0 1px 2px rgba(255,255,255,0.5);
}
.btn:disabled { background: #334155; box-shadow: none; cursor: not-allowed; animation: none; transform: none; color: #94a3b8; }

/* Typography & Sections */
.section-title { font-size: 3.5rem; font-weight: 800; text-align: center; margin-bottom: 0.5rem; color: #f8fafc; letter-spacing: -1px; }
.section-subtitle { text-align: center; color: #94a3b8; margin-bottom: 4rem; font-size: 1.25rem; font-weight: 400; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 6rem; }
.feature-card { padding: 3rem 2rem; }
.feature-icon { font-size: 3.5rem; color: #a78bfa; margin-bottom: 1.5rem; display: inline-block; filter: drop-shadow(0 0 15px rgba(167,139,250,0.4)); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.feature-card:hover .feature-icon { transform: scale(1.15) rotate(5deg); color: #d8b4fe; filter: drop-shadow(0 0 25px rgba(216,180,254,0.7)); }
.feature-card h4 { font-size: 1.6rem; margin-bottom: 1rem; color: #f8fafc; }

/* Stat numbers */
.stats { display: flex; justify-content: center; gap: 5rem; margin: 3rem 0; flex-wrap: wrap; }
.stat-number { font-size: 4rem; font-weight: 800; font-family: 'Outfit'; background: linear-gradient(135deg, #c084fc, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2)); }
.stat-label { color: #94a3b8; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.15em; font-weight: 600; margin-top: -0.5rem; }

.tag { background: rgba(99, 102, 241, 0.2); color: #a78bfa; padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(167,139,250,0.4); text-transform: uppercase; letter-spacing: 1px;}

/* Steps */
.pipeline { display: flex; justify-content: center; margin-bottom: 6rem; flex-wrap: wrap; gap: 2.5rem; position: relative; }
.pipeline::before { content: ''; position: absolute; top: 45px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, transparent, rgba(167,139,250,0.6), transparent); z-index: 0; }
.pipeline-step { text-align: center; flex: 1; min-width: 250px; z-index: 1; position: relative; }
.step-number {
    width: 90px; height: 90px; margin: 0 auto 2rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #c084fc; font-size: 2.5rem; font-weight: 800; font-family: 'Outfit';
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 3px solid rgba(167,139,250,0.5);
    box-shadow: 0 0 25px rgba(167,139,250,0.3), inset 0 0 20px rgba(0,0,0,0.6);
    transition: all 0.4s;
}
.pipeline-step:hover .step-number { transform: scale(1.15); box-shadow: 0 0 40px rgba(167,139,250,0.6), inset 0 0 10px rgba(0,0,0,0.5); border-color: #d8b4fe; color: #fff; }

.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-bottom: 6rem; }
.industry-card { padding: 2.5rem 2rem; text-align: center; }

.faq { margin-bottom: 6rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.faq-question { font-size: 1.3rem; font-weight: 700; color: #f8fafc; font-family: 'Outfit'; display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.faq-item p { margin-left: 2.1rem; line-height: 1.6; }

.status { margin-top: 1.5rem; padding: 1rem 2rem; border-radius: 50px; font-weight: 600; display: inline-block; animation: pulseStatus 2s infinite; font-size: 1rem; }
@keyframes pulseStatus { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }
.status.info { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.4); }
.status.error { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.status.success { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }
.spinner { border: 4px solid rgba(255,255,255,0.1); border-top: 4px solid #c084fc; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.badge { background: linear-gradient(135deg, #10b981, #059669); font-family: 'Inter'; box-shadow: 0 4px 10px rgba(16,185,129,0.4); border-radius: 8px;}
.hidden { display: none !important; }
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 3rem 0; font-size: 1.1rem;}

/* Adaptive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .hero .brand-sub { font-size: 1.2rem; }
    .playground-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
}
