@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #0b0f17;
    --bg-surface: #131924;
    --bg-surface-hover: #18202e;
    --bg-elevated: #1c2536;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.12);
    
    --accent-amazon: #f59e0b;
    --accent-flipkart: #3b82f6;
    --accent-walmart: #0ea5e9;
    
    --text-main: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 6px;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset & Base */
body {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

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

.text-white-80 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Minimal Subtle Ambient Lighting (No harsh glowing orbs) */
.bg-glow-orb {
    display: none; /* Removed intense glowing background circles for clean look */
}

/* Clean Card System */
.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.glass-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Minimal Navbar */
.navbar-custom {
    background: rgba(11, 15, 23, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.9rem 0;
}

.navbar-brand {
    font-size: 1.25rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.navbar-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
}

.navbar-brand span {
    color: var(--text-main);
    font-weight: 700;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 0.4rem 0.75rem;
}

.nav-link:hover {
    color: var(--text-main) !important;
}

/* Minimal Solid Buttons */
.btn-primary-gradient {
    background: var(--primary);
    color: #ffffff !important;
    border: 1px solid transparent;
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.btn-primary-gradient:hover {
    background: var(--primary-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main) !important;
    border: 1px solid var(--border-medium);
    font-weight: 500;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 3.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    line-height: 1.12;
    color: #ffffff;
}

.gradient-text {
    color: #818cf8; /* Subtle indigo accent instead of harsh multicolor gradient */
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.65;
}

/* Minimal Stat Metrics Bar */
.hero-stats-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Clean Dashboard Style Mockup */
.hero-mockup-card {
    background: #0e131f;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.mockup-header {
    background: #151b28;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; opacity: 0.7; }
.mockup-dot.yellow { background: #f59e0b; opacity: 0.7; }
.mockup-dot.green { background: #10b981; opacity: 0.7; }

.mockup-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
}

.mockup-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.mockup-tab-btn.active {
    background: var(--bg-elevated);
    border-color: var(--border-medium);
    color: #ffffff;
}

.mockup-body {
    padding: 1.5rem;
}

.excel-row-box {
    background: rgba(21, 27, 40, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.excel-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.65rem;
}

.excel-tag.master { background: rgba(56, 189, 248, 0.1); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.2); }
.excel-tag.amazon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.excel-tag.flipkart { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
.excel-tag.walmart { background: rgba(14, 165, 233, 0.1); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.2); }

.excel-cell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.6rem;
}

.excel-cell {
    background: #141a26;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
}

.excel-cell-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.excel-cell-value {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Minimal Step Cards */
.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: all 0.25s ease;
}

.step-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-medium);
    transform: translateY(-3px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #818cf8;
    display: inline-block;
}

/* Minimal Marketplace Cards */
.mkt-brand-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
}

.mkt-brand-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-medium);
    transform: translateY(-3px);
}

.mkt-brand-card.amazon-card { border-top: 3px solid var(--accent-amazon); }
.mkt-brand-card.flipkart-card { border-top: 3px solid var(--accent-flipkart); }
.mkt-brand-card.walmart-card { border-top: 3px solid var(--accent-walmart); }

.badge-amazon {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

.badge-flipkart {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

.badge-walmart {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

/* Feature Cards */
.feat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
}

.feat-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.feat-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #818cf8;
}

/* Step Wizard Navigation (App Page) */
.step-wizard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-wizard::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    cursor: pointer;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--border-medium);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 auto 0.5rem;
    transition: all 0.25s ease;
}

.step-item.active .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.step-item.completed .step-circle {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
}

.step-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.step-item.active .step-title {
    color: #ffffff;
    font-weight: 600;
}

/* Upload Dropzone */
.upload-dropzone {
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    background: rgba(19, 25, 36, 0.5);
    transition: all 0.25s ease;
    cursor: pointer;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

.upload-icon {
    font-size: 3.5rem;
    color: #818cf8;
    margin-bottom: 0.75rem;
}

/* Marketplace Selection Cards */
.mkt-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: var(--bg-surface);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.mkt-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.mkt-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Validation Alert Cards */
.val-card {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.val-card.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
}

.val-card.danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Custom Table */
.custom-table {
    width: 100%;
    color: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
}

.custom-table th {
    background: #141a26;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.custom-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* FAQ Accordion */
.accordion-custom .accordion-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.03);
    color: #818cf8;
}

.accordion-custom .accordion-button::after {
    filter: invert(1);
}

.accordion-custom .accordion-body {
    color: var(--text-secondary);
    font-size: 0.98rem;
    padding: 1.25rem 1.5rem;
    line-height: 1.65;
    background: rgba(14, 19, 31, 0.5);
}

/* Minimal CTA Banner Box */
.cta-banner-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    text-align: center;
}

/* Footer */
.footer-custom {
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 2.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5rem;
    background: var(--bg-dark);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .btn-primary-gradient, .btn-secondary-glass {
        width: 100%;
    }
}
