/*
 * BuyerKiosk Modern Homepage Styles
 * A clean, contemporary design for the resale industry platform
 * Version: 2.0
 */

/* ================================
   CSS Custom Properties (Variables)
   ================================ */
:root {
    /* Primary Colors */
    --primary-gradient-start: #667eea;
    --primary-gradient-end: #764ba2;
    --primary-color: #667eea;
    --primary-dark: #5a67d8;

    /* Accent Colors - Purple scheme */
    --accent-purple: #7c3aed;
    --accent-purple-dark: #6d28d9;
    /* Legacy aliases for compatibility */
    --accent-teal: var(--accent-purple);
    --accent-teal-dark: var(--accent-purple-dark);
    --accent-orange: #ed8936;

    /* Neutral Colors */
    --dark-900: #1a202c;
    --dark-800: #2d3748;
    --dark-700: #4a5568;
    --dark-600: #718096;
    --dark-500: #a0aec0;
    --dark-400: #cbd5e0;
    --dark-300: #e2e8f0;
    --dark-200: #edf2f7;
    --dark-100: #f7fafc;
    --white: #ffffff;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ================================
   Reset & Base Styles
   ================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.modern-home {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-700);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.modern-home h1,
body.modern-home h2,
body.modern-home h3,
body.modern-home h4,
body.modern-home h5,
body.modern-home h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-900);
    margin: 0;
}

body.modern-home p {
    margin: 0 0 var(--space-4);
}

body.modern-home a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

body.modern-home a:hover {
    color: var(--primary-dark);
}

body.modern-home img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   Layout Utilities
   ================================ */
.modern-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 575px) {
    .modern-container {
        padding: 0 var(--space-4);
    }
}

.modern-section {
    padding: var(--space-20) 0;
}

@media (max-width: 575px) {
    .modern-section {
        padding: var(--space-12) 0;
    }
}

.modern-section--lg {
    padding: var(--space-24) 0;
}

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

/* ================================
   Navigation
   ================================ */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-200);
    transition: all var(--transition-base);
}

.modern-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.modern-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.modern-nav__logo img {
    height: 40px;
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.modern-nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
    margin: 0;
    padding: 0;
}

.modern-nav__link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--dark-700);
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.modern-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    transition: width var(--transition-base);
}

.modern-nav__link:hover,
.modern-nav__link.active {
    color: var(--primary-color);
}

.modern-nav__link:hover::after,
.modern-nav__link.active::after {
    width: 100%;
}

.modern-nav__cta {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--white) !important;
    padding: var(--space-3) var(--space-6) !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.modern-nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white) !important;
}

.modern-nav__cta::after {
    display: none;
}

/* Mobile Navigation */
.modern-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.modern-nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark-700);
    transition: all var(--transition-fast);
}

@media (max-width: 991px) {
    .modern-nav__toggle {
        display: flex;
    }

    .modern-nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        border-bottom: 1px solid var(--dark-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }

    .modern-nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* ================================
   Hero Section
   ================================ */
.modern-hero {
    padding-top: 100px;
    padding-bottom: var(--space-16);
    background: linear-gradient(180deg, var(--dark-100) 0%, var(--white) 100%);
    overflow: hidden;
}

.modern-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.modern-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    /* Page load animation - first element */
    opacity: 0;
    animation: heroContentSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.modern-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--primary-color);
}

.modern-hero__badge svg {
    width: 16px;
    height: 16px;
}

.modern-hero__badge--rating {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    border-color: rgba(251, 191, 36, 0.3);
    color: var(--dark-700);
    animation: ratingBadgeFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes ratingBadgeFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modern-hero__stars {
    color: #f59e0b;
    letter-spacing: -1px;
}

.modern-hero__title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--dark-900);
    /* Page load animation - second element */
    opacity: 0;
    animation: heroContentSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.modern-hero__title span {
    background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end), var(--primary-gradient-start));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShimmer 2s ease-in-out infinite;
}

@keyframes gradientShimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.modern-hero__description {
    font-size: var(--font-size-base);
    color: var(--dark-600);
    padding: 1.25rem 0 1.75rem 0;
    max-width: 540px;
    line-height: 1.7;
    /* Page load animation - third element */
    opacity: 0;
    animation: heroContentSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.modern-hero__social-proof {
    font-size: var(--font-size-base);
    color: var(--dark-600);
    font-style: italic;
    margin: 0;
    padding-bottom: var(--space-4);
    max-width: 480px;
    /* Page load animation */
    opacity: 0;
    animation: heroContentSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

/* Hero Trust Logos - Franchise Bar */
.hero-trust-logos {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    padding: 0;
    margin-bottom: var(--space-8);
    background: transparent;
    /* Page load animation */
    opacity: 0;
    animation: heroContentSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-trust-logos__item {
    opacity: 0;
    filter: grayscale(15%);
    transition: opacity var(--transition-base), filter var(--transition-base);
    animation: logoFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-trust-logos__item:nth-child(1) { animation-delay: 0.6s; }
.hero-trust-logos__item:nth-child(2) { animation-delay: 0.7s; }
.hero-trust-logos__item:nth-child(3) { animation-delay: 0.8s; }
.hero-trust-logos__item:nth-child(4) { animation-delay: 0.9s; }

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.hero-trust-logos__item:hover {
    opacity: 1 !important;
    filter: grayscale(0%);
}

.hero-trust-logos__item img,
.hero-trust-logos__item .brand-logo {
    height: 12px;
    width: auto;
    object-fit: contain;
}

.hero-trust-logos__item .brand-logo {
    display: block;
    height: 12px;
    width: auto;
}

@media (max-width: 767px) {
    .hero-trust-logos {
        gap: var(--space-2);
        padding: var(--space-2);
        justify-content: center;
    }

    .hero-trust-logos__item img,
    .hero-trust-logos__item .brand-logo {
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-trust-logos {
        gap: 6px;
        padding: 6px 8px;
    }

    .hero-trust-logos__item img,
    .hero-trust-logos__item .brand-logo {
        height: 8px;
    }
}

.modern-hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    /* Page load animation - after logo bar */
    opacity: 0;
    animation: heroContentSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.modern-hero__image {
    position: relative;
    padding-top: 30px; /* 1. Lower the hero image for breathing room */
    /* Page load animation */
    opacity: 0;
    animation: heroDevicesFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.modern-hero__image img {
    border-radius: 0;
    box-shadow: none;
    filter: contrast(0.95) brightness(1.02); /* 3. Soften signage screen contrast slightly */
}

/* After initial load, add subtle continuous float */
.modern-hero__image.loaded {
    opacity: 1; /* Ensure visibility is maintained */
    animation: subtleFloat 6s ease-in-out infinite;
}

/* 2. Subtle gradient behind devices */
.modern-hero__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    right: -10%;
    bottom: -20px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(247,248,252,0.5) 70%, rgba(247,248,252,0.8) 100%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
}

@media (max-width: 991px) {
    .modern-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-8);
    }

    .modern-hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .modern-hero__actions {
        justify-content: center;
    }

    .modern-hero__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .modern-hero {
        padding-top: 100px;
        padding-bottom: var(--space-10);
    }

    .modern-hero__inner {
        gap: var(--space-6);
    }

    .modern-hero__title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .modern-hero__description {
        font-size: var(--font-size-sm);
        padding: 1rem 0 1.25rem 0;
    }

    .modern-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .modern-hero__actions .modern-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .modern-hero__image {
        max-width: 100%;
        padding-top: 15px;
    }

    .modern-hero__social-proof {
        font-size: var(--font-size-xs);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================================
   Buttons
   ================================ */
.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.modern-btn--primary {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--white) !important;
    box-shadow: 0 4px 14px 0 rgba(102, 126, 234, 0.4);
}

.modern-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(102, 126, 234, 0.5);
    color: var(--white) !important;
}

.modern-btn--primary svg {
    stroke: var(--white);
}

.modern-btn--secondary {
    background: var(--white);
    color: var(--dark-900) !important;
    border: 2px solid var(--dark-300);
    font-weight: 700;
}

.modern-btn--secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark) !important;
}

.modern-btn--large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-lg);
}

.modern-btn svg {
    width: 20px;
    height: 20px;
}

/* ================================
   Section Headers
   ================================ */
.modern-section__header {
    max-width: 700px;
    margin: 0 auto var(--space-16);
    text-align: center;
}

.modern-section__label {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: var(--space-4);
}

.modern-section__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-4);
}

.modern-section__subtitle {
    font-size: var(--font-size-lg);
    color: var(--dark-600);
    margin: 0;
}

.modern-section__social-proof {
    font-size: var(--font-size-sm);
    color: var(--dark-500);
    margin: 0 0 var(--space-2) 0;
    font-weight: 500;
}

/* ================================
   Quick Features Grid
   ================================ */
.quick-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .quick-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 575px) {
    .quick-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.quick-feature-item {
    text-align: center;
    padding: 1.5rem;
}

@media (max-width: 575px) {
    .quick-feature-item {
        padding: 1rem;
    }
}

.quick-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-feature-title {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--dark-900);
}

.quick-feature-desc {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

/* ================================
   Features Grid
   ================================ */
.modern-features {
    background: var(--dark-100);
}

.modern-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

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

@media (max-width: 575px) {
    .modern-features__grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

.modern-feature-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--dark-200);
}

@media (max-width: 575px) {
    .modern-feature-card {
        padding: var(--space-5);
    }
}

.modern-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.modern-feature-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    color: var(--primary-color);
}

.modern-feature-card__icon svg,
.modern-feature-card__icon i {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.modern-feature-card__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
}

.modern-feature-card__description {
    color: var(--dark-600);
    margin: 0;
    font-size: var(--font-size-base);
}

/* ================================
   Benefits Section - Categorized
   ================================ */
.benefits-section {
    background: var(--dark-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

.benefits-category {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    border: 1px solid var(--dark-200);
    transition: all var(--transition-base);
}

.benefits-category:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefits-category__header {
    margin-bottom: var(--space-5);
}

.benefits-category__badge {
    display: inline-block;
    font-size: var(--font-size-base);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
}

.benefits-category--operations .benefits-category__badge {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.1));
    color: #7c3aed;
}

.benefits-category--experience .benefits-category__badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
}

.benefits-category--growth .benefits-category__badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
    color: #10b981;
}

.benefits-category__tagline {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.benefits-category__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--dark-200);
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    padding: var(--space-3);
    border-radius: 20px;
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.benefit-card:hover {
    background: var(--dark-100);
}

.benefit-card__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all var(--transition-base);
}

.benefit-card--operations .benefit-card__icon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(124, 58, 237, 0.06));
    color: #7c3aed;
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.1);
}

.benefit-card--experience .benefit-card__icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.06));
    color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.benefit-card--growth .benefit-card__icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
    color: #10b981;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.1);
}

.benefit-card:hover .benefit-card__icon {
    transform: scale(1.05);
}

.benefit-card--operations:hover .benefit-card__icon {
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.benefit-card--experience:hover .benefit-card__icon {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.benefit-card--growth:hover .benefit-card__icon {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.benefit-card__icon svg {
    width: 26px;
    height: 26px;
}

.benefit-card__content {
    flex: 1;
    min-width: 0;
}

.benefit-card__title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--dark-900);
    margin: 0 0 var(--space-1) 0;
}

.benefit-card__desc {
    font-size: var(--font-size-sm);
    color: var(--dark-600);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 575px) {
    .benefits-category {
        padding: var(--space-4);
    }

    .benefit-card {
        padding: var(--space-2);
        gap: var(--space-4);
    }

    .benefit-card__icon {
        width: 44px;
        height: 44px;
    }

    .benefit-card__icon svg {
        width: 22px;
        height: 22px;
    }
}

/* ================================
   CTA Banner
   ================================ */
.modern-cta-banner {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.modern-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.modern-cta-banner__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.modern-cta-banner__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff !important;
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modern-cta-banner__title span {
    color: #a78bfa !important;
}

.modern-cta-banner__description {
    font-size: var(--font-size-base);
    color: #e2e8f0 !important;
    max-width: 550px;
    line-height: 1.7;
    text-align: center;
    padding-bottom: var(--space-8);
    margin-left: auto !important;
    margin-right: auto !important;
}

.modern-cta-banner__image {
    margin-top: var(--space-12);
}

.modern-cta-banner .modern-cta-banner__image img {
    width: 100%;
    max-width: 60%;
    margin: 0 auto;
    display: block;
}

/* ================================
   Components Section
   ================================ */
.modern-component {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--dark-200);
}

.modern-component:last-child {
    border-bottom: none;
}

.modern-component--reverse {
    direction: rtl;
}

.modern-component--reverse > * {
    direction: ltr;
}

@media (max-width: 991px) {
    .modern-component,
    .modern-component--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .modern-component__image {
        order: -1;
    }
}

.modern-component__image img {
    border-radius: 0;
    box-shadow: none;
}

/* Digital Signage Display with TV Frame */
.signage-display {
    position: relative;
    display: inline-block;
    max-width: 420px;
}

.signage-display__frame {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.signage-display__screen {
    position: absolute;
    top: 2.9%;
    left: 2.6%;
    width: 94.3%;
    height: 75%;
    overflow: hidden;
    z-index: 2;
}

.signage-display__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.signage-display__slide:nth-child(1) {
    animation: signageSlide1 12s infinite;
}

.signage-display__slide:nth-child(2) {
    animation: signageSlide2 12s infinite;
}

.signage-display__slide:nth-child(3) {
    animation: signageSlide3 12s infinite;
}

@keyframes signageSlide1 {
    0%, 30% { opacity: 1; }
    33.33%, 96.67% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes signageSlide2 {
    0%, 30% { opacity: 0; }
    33.33%, 63.33% { opacity: 1; }
    66.67%, 100% { opacity: 0; }
}

@keyframes signageSlide3 {
    0%, 63.33% { opacity: 0; }
    66.67%, 96.67% { opacity: 1; }
    100% { opacity: 0; }
}

/* Mobile App Image */
.mobile-app-image {
    max-width: 480px;
}

.modern-component__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark-400);
    margin-bottom: var(--space-2);
}

.modern-component__title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: #111827;
    margin-bottom: var(--space-2);
}

.modern-component__subtitle {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-gradient-start);
    margin-bottom: var(--space-3);
}

.modern-component__social-proof {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--dark-500);
    margin-bottom: var(--space-4);
}

.modern-component__social-proof svg {
    width: 14px;
    height: 14px;
    color: var(--accent-teal);
}

.modern-component__description {
    font-size: var(--font-size-base);
    color: var(--dark-600);
    margin-bottom: var(--space-5);
    line-height: 1.6;
    max-width: 480px;
}

.modern-component__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-3);
}

.modern-component__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--dark-700);
}

.modern-component__list li svg {
    width: 16px;
    height: 16px;
    color: var(--dark-400);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ================================
   Stats Section
   ================================ */
.modern-stats {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: var(--white);
}

.modern-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

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

.modern-stat {
    text-align: center;
}

.modern-stat__number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.modern-stat__label {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

/* ================================
   Pricing Section
   ================================ */
.modern-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    align-items: start;
}

@media (max-width: 991px) {
    .modern-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .modern-pricing-card--featured {
        order: -1;
        transform: none;
    }
}

.modern-pricing-card {
    background: var(--white);
    border: 2px solid var(--dark-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
}

.modern-pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.modern-pricing-card--featured {
    background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
    border-color: transparent;
    color: var(--white);
    transform: scale(1.05);
}

.modern-pricing-card--featured:hover {
    border-color: transparent;
}

.modern-pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-teal), #a78bfa);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modern-pricing-card__name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.modern-pricing-card--featured .modern-pricing-card__name {
    color: var(--white);
}

.modern-pricing-card__tagline {
    font-size: var(--font-size-sm);
    color: var(--dark-500);
    margin: 0 0 var(--space-4) 0;
}

.modern-pricing-card--featured .modern-pricing-card__tagline {
    color: var(--dark-400);
}

.modern-pricing-card__price {
    margin-bottom: var(--space-5);
    position: relative;
}

.modern-pricing-card__original-price {
    display: block;
    font-size: var(--font-size-base);
    color: var(--dark-400);
    text-decoration: line-through;
    margin-bottom: var(--space-1);
}

.modern-pricing-card--featured .modern-pricing-card__original-price {
    color: rgba(255, 255, 255, 0.5);
}

.modern-pricing-card__sale-badge {
    display: inline-block;
    background: var(--accent-teal);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-pricing-card__amount {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1;
}

.modern-pricing-card--featured .modern-pricing-card__amount {
    color: var(--white);
}

.modern-pricing-card__period {
    font-size: var(--font-size-sm);
    color: var(--dark-500);
}

.modern-pricing-card--featured .modern-pricing-card__period {
    color: var(--dark-400);
}

.modern-pricing-card__brands {
    padding: var(--space-3) 0;
    margin-bottom: var(--space-4);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
    opacity: 0.5;
}

.modern-pricing-card--featured .modern-pricing-card__brands {
    opacity: 0.85;
}

.modern-pricing-card__brands .brand-logo {
    width: auto;
    height: 14px;
}

.modern-pricing-card--featured .modern-pricing-card__brands .brand-logo {
    filter: brightness(0) invert(1);
}

.modern-pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8);
    text-align: left;
}

.modern-pricing-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--font-size-sm);
    color: var(--dark-600);
}

.modern-pricing-card--featured .modern-pricing-card__features li {
    color: var(--dark-400);
}

.modern-pricing-card__features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-teal);
    flex-shrink: 0;
}

.modern-pricing-card__cta {
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-6);
    background: var(--primary-color);
    color: #ffffff !important;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.modern-pricing-card__cta:hover {
    background: var(--primary-gradient-end);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.modern-pricing-card__cta--featured {
    background: var(--accent-teal);
}

.modern-pricing-card__cta--featured:hover {
    background: #20c997;
}

.modern-pricing-card__reassurance {
    font-size: var(--font-size-xs);
    color: var(--dark-500);
    margin: var(--space-3) 0 0 0;
}

.modern-pricing-card--featured .modern-pricing-card__reassurance {
    color: var(--dark-400);
}

.modern-pricing-card__sister-app {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--dark-200);
    font-size: var(--font-size-xs);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.modern-pricing-card__sister-app span {
    color: var(--dark-500);
}

.modern-pricing-card__sister-app a {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.modern-pricing-card__sister-app a:hover {
    opacity: 1;
}

.modern-pricing-card__sister-app img {
    height: 40px !important;
    width: auto;
    display: block;
}

.modern-pricing__footer {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--dark-500);
    margin-top: var(--space-12) !important;
}

/* ================================
   Showcase Section
   ================================ */
.modern-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 991px) {
    .modern-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 575px) {
    .modern-showcase__grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}

.modern-showcase__item {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modern-showcase__item iframe {
    border: none;
}

.modern-showcase__item img {
    width: 100%;
    height: auto;
}

/* Video Embed Styles - Social Media Look */
.video-embed {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 0 1px 0 rgba(0,0,0,0.5), 0 1px 10px 0 rgba(0,0,0,0.15);
}

.video-embed__container {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #000;
    cursor: pointer;
}

.video-embed__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-embed__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-embed__play-btn svg {
    width: 30px;
    height: 30px;
    color: var(--dark-800);
    margin-left: 4px;
}

.video-embed__container:hover .video-embed__play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
}

.video-embed__container.playing .video-embed__play-btn {
    opacity: 0;
    pointer-events: none;
}

.video-embed__footer {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--white);
    border-top: 1px solid var(--dark-200);
}

.video-embed__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-embed__icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.video-embed__icon--tiktok {
    background: #000;
}

.video-embed__icon--facebook {
    background: #1877f2;
}

.video-embed__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.video-embed__location {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--dark-900);
}

.video-embed__city {
    font-size: var(--font-size-xs);
    color: var(--dark-500);
}

/* ================================
   Testimonials Section
   ================================ */
.modern-testimonials {
    background: var(--dark-100);
}

.modern-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

@media (max-width: 767px) {
    .modern-testimonials__grid {
        grid-template-columns: 1fr;
    }
}

.modern-testimonial-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.modern-testimonial-card__quote {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: 4rem;
    line-height: 1;
    color: var(--dark-200);
    font-family: Georgia, serif;
}

.modern-testimonial-card__content {
    font-size: var(--font-size-lg);
    color: var(--dark-700);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.modern-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.modern-testimonial-card__avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.modern-testimonial-card__name {
    font-weight: 600;
    color: var(--dark-900);
}

.modern-testimonial-card__role {
    font-size: var(--font-size-sm);
    color: var(--dark-500);
}

/* ================================
   CTA Section
   ================================ */
.modern-cta {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-dark));
    color: var(--white);
    text-align: center;
}

.modern-cta__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #ffffff !important;
    margin-bottom: var(--space-4);
}

.modern-cta__description {
    font-size: var(--font-size-base);
    color: #ffffff !important;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.modern-cta .modern-btn--primary {
    background: var(--white);
    color: #6d28d9 !important;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

.modern-cta .modern-btn--primary svg {
    stroke: #6d28d9 !important;
}

.modern-cta .modern-btn--primary:hover {
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.3);
}

/* ================================
   Contact Section
   ================================ */
.modern-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

@media (max-width: 991px) {
    .modern-contact__grid {
        grid-template-columns: 1fr;
    }
}

.modern-contact__info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
}

.modern-contact__info p {
    color: var(--dark-600);
    margin-bottom: var(--space-6);
}

.modern-contact__details {
    margin-bottom: var(--space-8);
}

.modern-contact__details p {
    margin-bottom: var(--space-2);
}

.modern-contact__details strong {
    color: var(--dark-800);
}

.modern-contact__details a {
    color: var(--primary-color);
}

.modern-contact__form {
    background: var(--dark-100);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
}

.modern-form-group {
    margin-bottom: var(--space-5);
}

.modern-form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--dark-700);
    margin-bottom: var(--space-2);
}

.modern-form-control {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--font-size-base);
    font-family: inherit;
    border: 2px solid var(--dark-300);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.modern-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modern-form-control::placeholder {
    color: var(--dark-500);
}

textarea.modern-form-control {
    min-height: 120px;
    resize: vertical;
}

/* ================================
   Footer
   ================================ */
.modern-footer {
    background: var(--dark-900);
    color: var(--dark-400);
    padding: var(--space-12) 0 var(--space-8);
}

.modern-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.modern-footer__copy {
    font-size: var(--font-size-sm);
}

.modern-footer__copy a {
    color: var(--dark-400);
}

.modern-footer__copy a:hover {
    color: var(--white);
}

.modern-footer__links {
    display: flex;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.modern-footer__links a {
    font-size: var(--font-size-sm);
    color: var(--dark-400);
}

.modern-footer__links a:hover {
    color: var(--white);
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Hero devices animation - fade in with subtle lift */
@keyframes heroDevicesFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero content animation - slide in from left */
@keyframes heroContentSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Subtle float animation for after load */
@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Delay classes for staggered animations */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ================================
   Utility Classes
   ================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Override body padding for modern home */
body.modern-home {
    padding-top: 0 !important;
}
