@import url('hero.css');

:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --gray-text: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    /* Modern Font */
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 25px;
}

/* Breadcrumbs */
.breadcrumb {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li+li:before {
    content: "/";
    padding: 0 10px;
    color: #ccc;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Product Page Specifics */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 350px;
    /* Image | Details | Form */
    gap: 30px;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sticky-form-container {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-image-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-details h1 {
    margin-top: 0;
    font-size: 2rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.vendor-tag {
    display: inline-block;
    background: #e9ecef;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 15px;
}

.lead-form-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 90px;
    border-top: 5px solid var(--primary-color);
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* FAQ Section */
.faq-section {
    margin-top: 30px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    padding: 15px 20px;
    background: #fdfdfd;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.faq-a {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    color: #555;
    line-height: 1.6;
}

/* Utilities */
.text-muted {
    color: var(--gray-text);
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}