/* ============================================
   TOP WRISTBAND COMPANIES 2026 - MODERN DESIGN
   Stunning, mobile-friendly design with animations
   ============================================ */

/* CSS Variables */
:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary: #f72585;
    --secondary-dark: #b5179e;
    --accent: #4cc9f0;
    --accent-dark: #4895ef;
    --light: #f8f9fa;
    --dark: #212529;
    --gray-light: #f1f5f9;
    --gray: #64748b;
    --gray-dark: #334155;
    
    --gradient-1: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    --gradient-2: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
    --gradient-3: linear-gradient(135deg, #4cc9f0 0%, #4895ef 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(67, 97, 238, 0.3);
    
    --border-radius: 15px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg-animation .bg-circle {
    animation: float 6s ease-in-out infinite;
}

/* Company Cards */
.company-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.company-card:hover::before {
    opacity: 0.02;
}

.company-card.featured {
    position: relative;
}

.company-card.featured::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 22px;
    z-index: -1;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* Company Small Cards */
.company-card-sm {
    transition: var(--transition);
}

.company-card-sm:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Badges */
.verified-badge, .verified-badge-sm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Rating Stars */
.stars {
    display: inline-flex;
    align-items: center;
}

/* Buttons */
.btn-gradient {
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: var(--transition);
    z-index: -1;
}

.btn-gradient:hover::before {
    left: 0;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234361ee'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234361ee'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Table Styling */
.table-hover tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .display-3 {
        font-size: calc(1.5rem + 3vw);
    }
    
    .company-card .row > div {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .display-3 {
        font-size: calc(1.5rem + 2.5vw);
    }
    
    .company-card .row {
        flex-direction: column;
    }
    
    .company-card .col-lg-3 {
        border-right: none !important;
        border-left: none !important;
        border-top: 1px solid #e2e8f0;
    }
    
    .company-card .col-lg-3:last-child {
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: calc(1.5rem + 2vw);
    }
    
    .hero-stats .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .company-card-sm {
        margin-bottom: 1.5rem;
    }
    
    .faq-sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .company-card {
        padding: 1rem;
    }
    
    .specialties .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Print Styles */
@media print {
    .hero-cta,
    .action-buttons,
    .scroll-indicator,
    .btn,
    .resource-card .btn {
        display: none !important;
    }
    
    .company-card,
    .company-card-sm {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    body {
        font-size: 12pt;
        padding-top: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #1e293b;
        --dark: #f8f9fa;
        --gray-light: #334155;
        --gray: #94a3b8;
    }
    
    body {
        background-color: #0f172a;
        color: #e2e8f0;
    }
    
    .company-card,
    .company-card-sm,
    .faq-sidebar,
    .resource-card {
        background-color: #1e293b;
        color: #e2e8f0;
    }
    
    .text-muted {
        color: #94a3b8 !important;
    }
    
    .table {
        color: #e2e8f0;
    }
    
    .table-hover tbody tr:hover {
        background-color: rgba(67, 97, 238, 0.1);
    }
}