/* Custom Properties */
:root {
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
}

/* Base Typography */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-family-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--dark-color);
}

/* Focus States */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0b5ed7 100%);
    color: white;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 0;
    }
}

.hero h1 {
    font-weight: 700;
    font-size: 2rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }
}

.hero .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.feature-card .card-body {
    padding: 1.5rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-icon.vendor {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
}

.feature-icon.buyer {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.feature-icon.organizer {
    background-color: rgba(255, 193, 7, 0.1);
    color: #cc9a06;
}

/* Section Spacing */
.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.benefits-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* CTA Button Styles */
.btn-cta {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header .lead {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Content Cards */
.content-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.content-card.vendor-theme {
    border-left: 4px solid #198754;
}

.content-card.buyer-theme {
    border-left: 4px solid #0d6efd;
}

.content-card.organizer-theme {
    border-left: 4px solid #ffc107;
}

/* Footer Links */
footer a:hover {
    color: white !important;
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.1rem;
    }

    .feature-card .card-body {
        padding: 1.25rem;
    }

    .content-card {
        padding: 1.25rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #0b5ed7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* How It Works */
.step-number {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

/* Contact Form */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

/* Pricing Cards */
.pricing-card {
    border-radius: 0.75rem;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.pricing-header {
    background-color: var(--light-color);
    padding: 1.5rem;
    text-align: center;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-body {
    padding: 1.5rem;
}
