/* Landing Page Styles */

/* ========================================
   LAYOUT
   ======================================== */

/* Hero section spacing (navbar height + content padding) */
.hero-section {
    padding-top: calc(4rem + 3rem);
    padding-bottom: 3rem;
}

/* Container max-width */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section header — centered column with constrained width */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 48rem;
    margin: 3rem auto;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.heading-xl {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.heading-lg {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.heading-md {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.heading-sm {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.text-lead {
    color: var(--color-base-content-secondary, #6b7280);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.text-small {
    color: var(--color-base-content-secondary, #6b7280);
    font-size: 0.875rem;
}

/* ========================================
   CARDS
   ======================================== */

/* Feature card — subtle hover lift */
.feature-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.dark .feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Product card (Hardware) */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .product-card { height: 100%; }
}

/* ========================================
   HERO
   ======================================== */

/* Hero image */
.hero-image {
    position: relative;
}

/* Floating card overlay */
.floating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    z-index: 10;
}

@media (max-width: 1023px) {
    .floating-card { display: none; }
}

/* ========================================
   FOOTER
   ======================================== */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Social icon buttons */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-base-200, #f3f4f6);
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-primary-content, #fff);
}

/* ========================================
   SHARED UTILITIES (used across public pages)
   ======================================== */

/* Stat value (used by dashboard vendor portal) */
.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Footer logo */
.logo-flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-weight: 500;
}
