:root {
    --primary: #ffffff;
    --accent: #3b82f6;
    --accent-soft: rgba(59, 130, 246, 0.1);
    --bg: #030712;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --text-muted: #9ca3af;
    --input-bg: #0a0a0a;
    --success: #10b981;
    --error: #ef4444;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 40%);
    z-index: -1;
}

header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    color: inherit;
}

.logo span {
    color: var(--accent);
}

.nav-contact {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.badge {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: inline-block;
}

h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -1px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.launch-banner {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: 12px;
    text-align: center;
}

.launch-section {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.launch-banner p {
    color: var(--primary);
    font-size: 0.95rem;
}

.launch-banner a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.launch-banner a:hover {
    text-decoration: underline;
}

.capabilities-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.capability-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.capability-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.capability-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge-item {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border-left: 2px solid var(--accent);
    padding-left: 10px;
}

.hero-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.quote-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.quote-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.full-width {
    grid-column: span 2;
}

label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--input-bg);
    color: var(--primary);
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

select {
    cursor: pointer;
}

textarea {
    resize: vertical;
}

.upload-container {
    border: 2px dashed var(--border);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    background: var(--input-bg);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.upload-container:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.upload-container p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.upload-container strong {
    display: block;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

#file-input {
    display: none;
}

.btn-submit {
    background: var(--accent);
    color: white;
    padding: 1.1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    font-size: 1rem;
    margin: 2rem auto 0;
    transition: background 0.2s;
    display: block;
}

.btn-submit:hover {
    background: #2563eb;
}

.features {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.trusted-section {
    padding: 6rem 5%;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trusted-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.trusted-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trusted-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manufacturer-logos {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.logos-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 2rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-placeholder {
    width: 120px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.category-section {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    color: #9ca3af;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.cat-img {
    height: 140px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}

.cat-content {
    padding: 1rem;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.cat-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cat-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.specs-section {
    padding: 6rem 5%;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.spec-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.spec-box {
    background: var(--input-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.spec-box strong {
    display: block;
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.spec-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tag {
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

footer {
    text-align: center;
    padding: 4rem 5%;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}


footer h2 {
    margin-bottom: 1rem;
    color: var(--primary);
}

footer p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    font-size: 0.8rem;
}

.footer-content .nav-links {
    margin-bottom: 1.5rem;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2563eb;
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-view-quote {
    background: #10b981;
    border: none;
}

.btn-view-quote:hover {
    background: #059669;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-error {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.btn-error:hover {
    background: #dc2626;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-xs {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
}

.btn-mt {
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 3rem 5%;
    }

    .hero-text {
        text-align: center;
    }

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

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

    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}



/* Supplier Portal Styles */
.supplier-portal {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--card-bg);
    border-right: 1px solid var(--border);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar .logo {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    display: block;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-menu li a:hover {
    background: var(--card-bg);
    color: var(--primary);
}

.sidebar-menu li a.active {
    background: var(--accent-soft);
    color: var(--accent);
}

.sidebar-menu li a#logout {
    margin-top: auto;
    color: #ef4444;
}

.sidebar-menu li a#logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 2rem 3rem;
    max-width: calc(100% - 260px);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
}

.leads-table th,
.leads-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.leads-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.leads-table tr:hover td {
    background: var(--card-bg);
}

.tier-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tier-badge.tier-1,
.tier-badge.tier-2,
.tier-badge.tier-3,
.tier-badge.tier-4 {
    background: rgba(209, 213, 219, 0.2);
    color: #d1d5db;
}

.tier-badge.status-accepted {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.tier-badge.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.tier-badge.status-new {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.tier-badge.status-sent {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

@media (max-width: 1024px) {
    .supplier-portal {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 1rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar .logo {
        margin-bottom: 0;
    }

    .sidebar-menu {
        flex-direction: row;
        gap: 0.5rem;
    }

    .sidebar-menu li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .sidebar-menu li a#logout {
        margin-top: 0;
    }

    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 1.5rem;
    }
}
