/* ================================================================
   eMID Global - Shopify-Quality + Mobile App Feel
   ================================================================ */

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #99f6e4;
    --primary-50: #f0fdfa;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;

    /* Shadows (Shopify-style depth) */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);

    /* Mobile bottom nav height */
    --mobile-nav-h: 72px;
    --mobile-header-h: 56px;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    line-height: 1.6;
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Consistent typography hierarchy across the site */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Better default focus ring */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ──────────────────────────────────────────────────────────────
   LANDING / HERO
   ────────────────────────────────────────────────────────────── */
.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #0d9488 50%, #0ea5e9 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(13, 148, 136, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.2) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Pulse ring */
.pulse-ring { position: relative; }
.pulse-ring::before,
.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulseRing 2s ease-out infinite;
}
.pulse-ring::after { animation-delay: 1s; }

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ──────────────────────────────────────────────────────────────
   FEATURE / CONTENT CARDS (Shopify polish)
   ────────────────────────────────────────────────────────────── */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 1.25rem;
}

/* ──────────────────────────────────────────────────────────────
   PRICING (Shopify-style)
   ────────────────────────────────────────────────────────────── */
.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.04);
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.18);
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 22px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

/* ──────────────────────────────────────────────────────────────
   PRODUCT CARDS (Shopify e-commerce style)
   ────────────────────────────────────────────────────────────── */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}
.product-card:hover .product-image {
    background: linear-gradient(135deg, #ccfbf1, #bae6fd);
}
.product-card:hover .product-image i {
    transform: scale(1.1) rotate(-5deg);
}
.product-image i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ──────────────────────────────────────────────────────────────
   DASHBOARD LAYOUT
   ────────────────────────────────────────────────────────────── */
.sidebar {
    width: 260px;
    background: var(--dark);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 40;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 10px;
    margin: 2px 12px;
}
.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(13, 148, 136, 0.15);
    color: #5eead4;
}
.sidebar-link.active {
    background: rgba(13, 148, 136, 0.25);
    color: #99f6e4;
}
.sidebar-link i { width: 20px; text-align: center; font-size: 0.9rem; }

.main-content {
    margin-left: 260px;
    min-height: 100vh;
    background: #f1f5f9;
}

/* ──────────────────────────────────────────────────────────────
   MOBILE BOTTOM NAV (native app feel)
   ────────────────────────────────────────────────────────────── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #e2e8f0;
    z-index: 50;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.mobile-bottom-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    min-height: 56px;
}
.mobile-nav-item.active { color: var(--primary); }
.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
}
.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.mobile-nav-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    margin-top: -20px;
}
.mobile-nav-fab i { font-size: 1.5rem; margin: 0; }

/* ──────────────────────────────────────────────────────────────
   CARDS / COMPONENTS
   ────────────────────────────────────────────────────────────── */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.content-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.content-card:hover { box-shadow: var(--shadow-sm); }

.content-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.content-card-body { padding: 1.5rem; }

/* ──────────────────────────────────────────────────────────────
   BUTTONS (Shopify-style with proper touch targets)
   ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
    line-height: 1.5;
    min-height: 44px;
    white-space: nowrap;
    user-select: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 12px rgba(13, 148, 136, 0.2);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}
.btn-danger:hover { background: #dc2626; }

.btn-ghost {
    background: transparent;
    color: var(--gray);
}
.btn-ghost:hover { background: #f1f5f9; color: var(--dark); }

.btn-sm {
    padding: 7px 16px;
    font-size: 0.8rem;
    border-radius: 10px;
    min-height: 36px;
}
.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
    border-radius: 14px;
    min-height: 52px;
}

/* ──────────────────────────────────────────────────────────────
   FORMS
   ────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: white;
    font-family: inherit;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}
.form-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.5L1.5 4h9z'/%3E%3C/svg%3E") no-repeat right 14px center;
    background-size: 12px;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}
textarea.form-input { min-height: 100px; resize: vertical; }

/* ──────────────────────────────────────────────────────────────
   ALERTS
   ────────────────────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }

/* ──────────────────────────────────────────────────────────────
   EMERGENCY PAGE
   ────────────────────────────────────────────────────────────── */
.emergency-section {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.emergency-section-title {
    background: #f8fafc;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.emergency-section-body { padding: 16px; }

/* ──────────────────────────────────────────────────────────────
   QR DISPLAY
   ────────────────────────────────────────────────────────────── */
.qr-display {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed #e2e8f0;
}
.qr-display img {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* ──────────────────────────────────────────────────────────────
   TABLE
   ────────────────────────────────────────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
}
.data-table tbody tr:hover { background: #f8fafc; }

/* ──────────────────────────────────────────────────────────────
   TIMELINE
   ────────────────────────────────────────────────────────────── */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 2rem;
    border-left: 2px solid #e2e8f0;
    margin-left: 0.5rem;
}
.timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

/* ──────────────────────────────────────────────────────────────
   MODAL (mobile slide-up sheet)
   ────────────────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    z-index: 60;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-body { padding: 1.5rem; }
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ──────────────────────────────────────────────────────────────
   UTILITIES
   ────────────────────────────────────────────────────────────── */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-dark {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.badge-primary { background: rgba(13, 148, 136, 0.1); color: var(--primary); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--accent); }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.avatar-lg { width: 80px; height: 80px; }
.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    font-size: 1rem;
}
.avatar-placeholder.avatar-lg { font-size: 2rem; }

.divider { height: 1px; background: #e2e8f0; margin: 1.5rem 0; }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}
.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE — Native app feel on mobile
   ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
}

@media (max-width: 768px) {
    /* Show mobile bottom nav, hide sidebar */
    .mobile-bottom-nav { display: block; }
    .sidebar { display: none; }
    .main-content { padding-bottom: calc(var(--mobile-nav-h) + 16px); }

    /* Smaller hero spacing */
    .hero-gradient { padding: 2rem 1rem; }

    /* Mobile pricing */
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    .pricing-card.featured:hover { transform: translateY(-4px); }

    /* Cards full-width-ish */
    .feature-card,
    .product-card { border-radius: 18px; }

    /* Larger touch targets */
    .btn { padding: 13px 22px; font-size: 0.9rem; }
    .btn-sm { padding: 9px 16px; min-height: 40px; }
    .btn-lg { padding: 16px 28px; }

    /* Form: prevent iOS zoom on focus */
    .form-input,
    .form-select { font-size: 16px; }

    /* App-like card padding */
    .content-card-body,
    .stat-card { padding: 1.25rem; }

    /* Modal becomes bottom sheet */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .modal-content {
        border-radius: 24px 24px 0 0;
        max-height: 92vh;
        max-width: 100%;
        animation: bottomSheetUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    @keyframes bottomSheetUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    /* Section padding */
    section { padding-left: 1rem; padding-right: 1rem; }

    /* Mobile typography */
    h1 { font-size: 2.25rem !important; }
    h2 { font-size: 1.875rem !important; }
}

/* Hide mobile nav on dashboard if not needed */
.has-mobile-nav .main-content { padding-bottom: calc(var(--mobile-nav-h) + 16px); }

/* ──────────────────────────────────────────────────────────────
   ANIMATIONS / SCROLL
   ────────────────────────────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* No scrollbar on mobile horizontal scrolls */
.scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

/* ──────────────────────────────────────────────────────────────
   FAQ Accordion
   ────────────────────────────────────────────────────────────── */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    transition: all 0.2s;
}
.faq-item:hover { border-color: #cbd5e1; }
.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { content: '−'; }
.faq-answer {
    padding: 0 20px 16px;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────
   APP-FEEL HEADER (Mobile only)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .app-mobile-header {
        position: sticky;
        top: 0;
        z-index: 30;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 12px 16px;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/* Hide desktop-only / mobile-only */
.desktop-only { display: block; }
.mobile-only { display: none; }
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
}
