/* WhatsApp Smartphone Mockup styles (Modern Bezel-less look) */
        .wa-phone-container {
            width: 100%;
            max-width: 340px;
            height: 640px;
            background: #0f0f15;
            border-radius: 42px;
            padding: 8px; /* Simulated thin bezel gap */
            box-shadow: 0 0 0 2px rgba(255,255,255,0.06), 0 20px 45px rgba(0,0,0,0.5);
            margin: 0 auto;
            position: relative;
            border: 1px solid rgba(255,255,255,0.12);
            transition: box-shadow 0.3s ease;
        }
        .wa-phone-screen {
            width: 100%;
            height: 100%;
            background: #efeae2; /* WhatsApp wallpaper base */
            border-radius: 34px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        
        /* Modern Camera Punch Hole */
        .wa-phone-camera {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 10px;
            height: 10px;
            background: #111;
            border: 1.5px solid rgba(255,255,255,0.15);
            border-radius: 50%;
            z-index: 100;
            box-shadow: inset 0 0 2px rgba(0,0,0,0.8);
        }

        /* Floating iOS-style Home Indicator Bar */
        .wa-phone-home-bar {
            position: absolute;
            bottom: 6px;
            left: 50%;
            transform: translateX(-50%);
            width: 90px;
            height: 4px;
            background: rgba(0, 0, 0, 0.25);
            border-radius: 2px;
            z-index: 99;
        }
        [data-theme="light"] .wa-phone-home-bar {
            background: rgba(0, 0, 0, 0.25);
        }
        
        /* Phone Status Bar (Floating & Transparent) */
        .wa-phone-status-bar {
            height: 32px;
            background: transparent;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px 0;
            color: #ffffff;
            font-size: 0.65rem;
            font-weight: 600;
            z-index: 90;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
        }
        
        /* WhatsApp Header styling - fits below the status bar */
        .wa-phone-header {
            background: #075e54; /* WhatsApp dark green */
            color: #ffffff;
            padding: 34px 14px 10px; /* Top padding leaves space for floating status bar */
            display: flex;
            align-items: center;
            gap: 6px;
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            position: relative;
            z-index: 10;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .wa-header-avatar {
            width: 28px;
            height: 28px;
            background: rgba(255,255,255,0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }
        .wa-header-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            line-height: 1.2;
            text-align: left;
        }
        .wa-header-title {
            font-weight: 600;
            font-size: 0.78rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 110px;
        }
        .wa-header-status {
            font-size: 0.58rem;
            opacity: 0.85;
        }
        .wa-header-actions {
            display: flex;
            gap: 10px;
            font-size: 0.9rem;
            opacity: 0.9;
        }

        /* Chat scroll view */
        .wa-phone-body {
            flex-grow: 1;
            padding: 12px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
            background-size: 100% auto;
            background-repeat: repeat;
        }
        .wa-chat-bubble {
            background: #d9fdd3; /* WhatsApp recipient green */
            color: #111b21;
            border-radius: 8px;
            padding: 7px 9px;
            max-width: 85%;
            align-self: flex-start;
            font-size: 0.76rem;
            line-height: 1.35;
            box-shadow: 0 1px 1.5px rgba(0,0,0,0.12);
            position: relative;
            margin-bottom: 8px;
            border-top-left-radius: 0;
            text-align: left;
            font-family: 'Inter', sans-serif;
        }
        .wa-bubble-tail {
            position: absolute;
            left: -5px;
            top: 0;
            width: 0;
            height: 0;
            border-top: 6px solid #d9fdd3;
            border-left: 6px solid transparent;
        }
        .wa-chat-bubble-text {
            word-break: break-word;
            white-space: pre-wrap;
            font-family: 'Inter', "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
        }
        .wa-bubble-meta {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 2px;
            margin-top: 2px;
        }
        .wa-bubble-time {
            font-size: 0.55rem;
            color: #667781;
        }
        .wa-bubble-ticks {
            font-size: 0.7rem;
            color: #53bdeb; /* WA read blue double ticks */
            line-height: 1;
        }

        /* Chat footer / input simulation */
        .wa-phone-footer {
            background: #f0f2f5;
            padding: 6px 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            z-index: 10;
        }
        .wa-footer-input-wrap {
            flex-grow: 1;
            background: #ffffff;
            border-radius: 20px;
            padding: 4px 10px;
            font-size: 0.72rem;
            color: #8696a0;
            display: flex;
            align-items: center;
            gap: 5px;
            text-align: left;
        }
        .wa-footer-mic {
            width: 26px;
            height: 26px;
            background: #00a884; /* WA Green Mic */
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
        }

        /* PREMIUM WhatsApp Emoji Picker Popover */
        .emoji-selector-wrap {
            position: relative;
        }
        .emoji-popover {
            position: absolute;
            bottom: 35px;
            left: 0;
            background: #1f2937;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: var(--radius-md);
            display: flex;
            flex-direction: column;
            width: 310px;
            height: 265px;
            z-index: 100;
            box-shadow: 0 10px 30px rgba(0,0,0,0.4);
            display: none; /* Toggled via JS */
            overflow: hidden;
        }
        [data-theme="light"] .emoji-popover {
            background: #ffffff;
            border-color: rgba(0,0,0,0.08);
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        }
        
        /* Category Tabs */
        .emoji-tabs {
            display: flex;
            justify-content: space-between;
            padding: 6px 10px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            background: rgba(0,0,0,0.12);
        }
        [data-theme="light"] .emoji-tabs {
            border-bottom-color: rgba(0,0,0,0.06);
            background: #f0f2f5;
        }
        .emoji-tab-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            padding: 4px;
            cursor: pointer;
            font-size: 0.95rem;
            border-radius: 4px;
            transition: color 0.15s, border-color 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .emoji-tab-btn:hover {
            color: var(--text-primary);
        }
        .emoji-tab-btn.active {
            color: #00a884;
            border-bottom: 2px solid #00a884;
            border-radius: 0;
        }

        /* Search input wrapper */
        .emoji-search-wrap {
            padding: 8px 10px;
            position: relative;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        [data-theme="light"] .emoji-search-wrap {
            border-bottom-color: rgba(0,0,0,0.04);
        }
        .emoji-search-input {
            width: 100%;
            padding: 5px 12px 5px 28px;
            border-radius: 16px;
            border: 1px solid var(--glass-border);
            font-size: 0.8rem;
            background: rgba(255,255,255,0.04);
            color: var(--text-primary);
            outline: none;
        }
        [data-theme="light"] .emoji-search-input {
            background: #f0f2f5;
            border-color: rgba(0,0,0,0.08);
        }
        .emoji-search-wrap i {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 0.78rem;
        }

        /* Scrollable body */
        .emoji-scroll-area {
            flex-grow: 1;
            overflow-y: auto;
            padding: 6px 12px;
            scroll-behavior: smooth;
        }
        .emoji-cat-title {
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--text-muted);
            margin: 8px 0 4px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }
        .emoji-grid {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 4px;
            justify-items: center;
        }
        .emoji-item {
            font-size: 1.35rem;
            cursor: pointer;
            border-radius: 4px;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.1s, transform 0.1s;
            user-select: none;
            font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
        }
        .emoji-item:hover {
            background: rgba(255,255,255,0.08);
            transform: scale(1.15);
        }
        [data-theme="light"] .emoji-item:hover {
            background: rgba(0,0,0,0.05);
        }

        /* Hover Preview Footer */
        .emoji-preview-footer {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 6px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 46px;
            background: rgba(0,0,0,0.1);
        }
        [data-theme="light"] .emoji-preview-footer {
            border-top-color: rgba(0,0,0,0.06);
            background: #fbfbfb;
        }
        .emoji-preview-large {
            font-size: 1.6rem;
            font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
            width: 32px;
            text-align: center;
        }
        .emoji-preview-info {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        .emoji-preview-name {
            font-size: 0.76rem;
            font-weight: 600;
            color: var(--text-primary);
        }
        .emoji-preview-code {
            font-size: 0.64rem;
            color: var(--text-muted);
            font-family: monospace;
        }

        /* Feature grid styling */
        .wa-feature-card {
            background: var(--bg-card);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            height: 100%;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: left;
        }
        .wa-feature-card:hover {
            transform: translateY(-6px);
            border-color: rgba(16, 185, 129, 0.4) !important;
            box-shadow: 0 12px 24px rgba(16, 185, 129, 0.06);
            background: var(--bg-card-hover);
        }
        .wa-feature-icon-wrap {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            margin-bottom: 1.25rem;
            transition: all 0.3s ease;
        }
        .wa-feature-card:hover .wa-feature-icon-wrap {
            transform: rotate(6deg) scale(1.1);
            color: #ffffff !important;
        }

        /* Hover classes for color icons */
        .icon-wrap-green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
        .wa-feature-card:hover .icon-wrap-green { background: linear-gradient(135deg, #10b981, #34d399) !important; }

        .icon-wrap-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
        .wa-feature-card:hover .icon-wrap-cyan { background: linear-gradient(135deg, #06b6d4, #22d3ee) !important; }

        .icon-wrap-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
        .wa-feature-card:hover .icon-wrap-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important; }

        .icon-wrap-yellow { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
        .wa-feature-card:hover .icon-wrap-yellow { background: linear-gradient(135deg, #f59e0b, #fbbf24) !important; }

        .icon-wrap-red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
        .wa-feature-card:hover .icon-wrap-red { background: linear-gradient(135deg, #ef4444, #f87171) !important; }

        .icon-wrap-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
        .wa-feature-card:hover .icon-wrap-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa) !important; }

        [data-theme="light"] .wa-feature-card {
            background: #ffffff !important;
            border-color: rgba(0, 0, 0, 0.08) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
        }
        [data-theme="light"] .wa-feature-card:hover {
            background: #ffffff !important;
            box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08) !important;
            border-color: rgba(16, 185, 129, 0.4) !important;
        }

        /* Override klic-auth-section for this wide two-column page */
        .klic-auth-section.wa-page-section {
            align-items: flex-start;
            min-height: auto;
            padding-top: 3rem;
        }