/* Buy Solar Page Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: white;
    padding: 6rem 0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #10b981;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 0;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    color: #e2e8f0;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
}


/* Enhanced Search Container */
.search-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.search-icon {
    color: #64748b;
    margin: 0 1rem;
    font-size: 1.2rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.2rem 0;
    font-size: 1rem;
    color: #1e293b;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.search-suggestions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.suggestion-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.suggestion-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    transform: translateY(-2px);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.hero-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    min-height: 56px;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #10b981;
    transform: translateY(-3px);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.trust-item i {
    color: #10b981;
    font-size: 1rem;
}


/* Product Categories Section */
.product-categories {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

/* Education Button */
.education-button-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.education-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.education-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.education-button:hover::before {
    left: 100%;
}

.education-button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    color: white;
}

.education-button i:first-child {
    font-size: 1.2rem;
}

.education-button span {
    font-weight: 600;
}

.education-button i:last-child {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.education-button:hover i:last-child {
    transform: translateX(3px);
}

.education-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    font-style: italic;
    max-width: 400px;
    text-align: center;
}

.category-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-button {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-button:hover::before {
    left: 100%;
}

.category-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.button-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.category-button:hover .button-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.button-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
}

.category-button:hover .button-text {
    color: #10b981;
    transform: translateY(-2px);
}

/* DIY Kit Builder Section */
.diy-kit-builder {
    padding: 4rem 0;
    background: white;
}

.kit-builder-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.builder-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kit-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.form-label i {
    color: #10b981;
    font-size: 1.2rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

/* Capacity Grid */
.capacity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.75rem;
}

.capacity-option {
    position: relative;
    cursor: pointer;
}

.capacity-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.capacity-value {
    display: block;
    padding: 1rem 0.5rem;
    text-align: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}

.capacity-option input[type="radio"]:checked + .capacity-value {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
    transform: scale(1.05);
}

.capacity-option:hover .capacity-value {
    border-color: #10b981;
    transform: translateY(-2px);
}

/* System Type Grid */
.system-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.system-option {
    position: relative;
    cursor: pointer;
}

.system-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.option-content i {
    font-size: 2rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.option-content span {
    font-weight: 600;
    color: #1e293b;
}

.system-option input[type="radio"]:checked + .option-content {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: white;
    transform: scale(1.05);
}

.system-option input[type="radio"]:checked + .option-content i,
.system-option input[type="radio"]:checked + .option-content span {
    color: white;
}

.system-option:hover .option-content {
    border-color: #10b981;
    transform: translateY(-3px);
}

/* Form Select */
.form-select {
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e293b;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Structure Grid */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.structure-option {
    position: relative;
    cursor: pointer;
}

.structure-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Battery Grid */
.battery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.battery-option {
    position: relative;
    cursor: pointer;
}

.battery-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Phase Grid */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.phase-option {
    position: relative;
    cursor: pointer;
}

.phase-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Structure Option Checked State */
.structure-option input[type="radio"]:checked + .option-content {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: white;
    transform: scale(1.05);
}

.structure-option input[type="radio"]:checked + .option-content i,
.structure-option input[type="radio"]:checked + .option-content span {
    color: white;
}

.structure-option:hover .option-content {
    border-color: #10b981;
    transform: translateY(-3px);
}

/* Battery Option Checked State */
.battery-option input[type="radio"]:checked + .option-content {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: white;
    transform: scale(1.05);
}

.battery-option input[type="radio"]:checked + .option-content i,
.battery-option input[type="radio"]:checked + .option-content span {
    color: white;
}

.battery-option:hover .option-content {
    border-color: #10b981;
    transform: translateY(-3px);
}

/* Phase Option Checked State */
.phase-option input[type="radio"]:checked + .option-content {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: white;
    transform: scale(1.05);
}

.phase-option input[type="radio"]:checked + .option-content i,
.phase-option input[type="radio"]:checked + .option-content span {
    color: white;
}

.phase-option:hover .option-content {
    border-color: #10b981;
    transform: translateY(-3px);
}

/* Form Actions */
.form-actions {
    margin-top: 2rem;
}

.assemble-btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.assemble-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.assemble-btn:active {
    transform: translateY(-1px);
}

/* Kit Preview */
.kit-preview {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 2rem;
    border-radius: 20px;
    color: white;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

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

.preview-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #10b981;
}

.preview-header p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.preview-value {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    text-align: right;
}

.preview-actions {
    margin-top: 2rem;
}

.preview-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Vendor Onboarding Section */
.vendor-onboarding {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

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

.onboarding-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.onboarding-text p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.benefit-item p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

.onboarding-actions {
    display: flex;
    gap: 1rem;
}

.vendor-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vendor-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.vendor-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid #10b981;
}

.vendor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}


/* Desktop-specific button enhancements */
@media (min-width: 769px) {
    .category-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1400px;
    }
    
    .category-button {
        padding: 2.5rem 2rem;
        border-radius: 20px;
    }
    
    .button-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .button-text {
        font-size: 1.2rem;
        font-weight: 700;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        padding: 4rem 0;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .search-container {
        max-width: 500px;
    }
    
    .hero-actions {
        max-width: 400px;
        gap: 1rem;
    }
    
    .trust-indicators {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 2rem 0;
        gap: 1.5rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .search-container {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
        flex-direction: column;
        border-radius: 15px;
        padding: 1rem;
        gap: 1rem;
    }
    
    .search-input {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
    }
    
    .search-btn {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 10px;
        justify-content: center;
    }
    
    .hero-actions {
        max-width: 100%;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 1rem;
        line-height: 1.5;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
    }
    
    
    .search-suggestions {
        gap: 0.5rem;
    }
    
    .suggestion-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    
    .kit-builder-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .onboarding-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    
    .system-type-grid {
        grid-template-columns: 1fr;
    }
    
    .structure-grid {
        grid-template-columns: 1fr;
    }
    
    .battery-grid {
        grid-template-columns: 1fr;
    }
    
    .phase-grid {
        grid-template-columns: 1fr;
    }
    
    .capacity-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 0;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .search-box {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .search-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .education-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .education-hint {
        font-size: 0.85rem;
        max-width: 350px;
    }
    
    .category-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-button {
        padding: 1.5rem 1rem;
    }
    
    .button-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .button-text {
        font-size: 1rem;
    }
    
    
    .onboarding-actions {
        flex-direction: column;
    }
}

/* Professional Vendor Form Card */
.vendor-form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-top: 2rem;
    border: 1px solid #e5e7eb;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.vendor-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.card-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.vendor-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-label i {
    color: #10b981;
    font-size: 0.9rem;
    width: 16px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #000000;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input:hover,
.form-select:hover {
    border-color: #d1d5db;
}

.form-input::placeholder {
    color: #9ca3af;
}

.submit-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 1rem;
}

/* Loading and Success States */
.submit-btn.loading {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.submit-btn.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.submit-btn.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Responsive Design */
@media (max-width: 768px) {
    .vendor-form-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: none;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .vendor-form {
        gap: 1.25rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .vendor-form-card {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 1.2rem;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
}

/* Sign-in Popup Styles */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.signin-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.signin-popup-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.signin-popup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideInScale 0.4s ease-out;
    overflow: hidden;
    margin: 1rem;
}

@keyframes slideInScale {
    from {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.signin-popup-header {
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.signin-popup-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.signin-popup-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.signin-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.signin-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.signin-popup-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.signin-message {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.message-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.signin-message h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.signin-message p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.auth-mode-toggle {
    display: flex;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.mode-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.mode-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.mode-btn:hover:not(.active) {
    color: var(--text-primary);
}

.signin-form {
    display: block;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-label i {
    color: var(--primary-color);
    width: 16px;
}

.form-input, .form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-primary);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.error, .form-select.error {
    border-color: var(--danger-color);
}

.form-error {
    display: block;
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: var(--text-secondary);
}

.terms-link, .privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover, .privacy-link:hover {
    text-decoration: underline;
}

.signin-popup-footer {
    padding: 1.5rem 2rem 2rem;
    background: var(--bg-light);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.signin-popup-footer .btn {
    flex: 1;
    max-width: 200px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .signin-popup-overlay {
        padding: 0.5rem;
    }
    
    .signin-popup {
        max-width: none;
        width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .signin-popup-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .signin-popup-header h3 {
        font-size: 1.3rem;
    }
    
    .signin-popup-body {
        padding: 1.5rem;
    }
    
    .signin-message {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .message-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .signin-popup-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
    }
    
    .signin-popup-footer .btn {
        max-width: none;
        padding: 0.875rem;
    }
}

@media (max-width: 480px) {
    .signin-popup-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .signin-popup {
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        animation: slideInUp 0.4s ease-out;
    }
    
    @keyframes slideInUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .signin-popup-header {
        padding: 1.25rem 1rem 1rem;
    }
    
    .signin-popup-body {
        padding: 1rem;
    }
    
    .signin-popup-footer {
        padding: 1rem;
    }
}