
        /* ========== Z-INDEX HIERARCHY ========== */
        /* 10000+ : Navigation (fixed navbar always on top) */
        /* 9000-9999 : Modals and dialogs */
        /* 8990-8999 : Floating UI elements (messaging, chat) */
        /* 1000-2000 : Admin panels */
        /* 0-999 : Regular content */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #381932;
            --background: #FFF3E6;
            --accent: #5A2A52;
            --hover: #4A2143;
            --text-dark: #381932;
            --text-light: #FFF3E6;
            --border: rgba(56,25,50,0.15);
            --glass-bg: rgba(255,243,230,0.7);
            --shadow-sm: 0 2px 8px rgba(56,25,50,0.08);
            --shadow-md: 0 8px 24px rgba(56,25,50,0.12);
            --shadow-lg: 0 16px 48px rgba(56,25,50,0.15);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, var(--background) 0%, #FFE8D1 100%);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* ========== SCROLLBAR STYLING ========== */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--background);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent);
        }

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

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(90, 42, 82, 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(90, 42, 82, 0);
            }
        }

        @keyframes shimmer {
            0% {
                background-position: -1000px 0;
            }
            100% {
                background-position: 1000px 0;
            }
        }

        @keyframes glow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(90, 42, 82, 0.3);
            }
            50% {
                box-shadow: 0 0 30px rgba(90, 42, 82, 0.5);
            }
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInFromLeft {
            from {
                transform: translateX(-100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* ========== UTILITY CLASSES ========== */
        .animate-fade-up {
            animation: fadeUp 0.8s ease-out forwards;
        }

        .animate-fade-scale {
            animation: fadeInScale 0.6s ease-out forwards;
        }

        .animate-slide-right {
            animation: slideInRight 0.6s ease-out forwards;
        }

        .animate-slide-left {
            animation: slideInLeft 0.6s ease-out forwards;
        }

        .stagger-children > * {
            animation: fadeUp 0.8s ease-out forwards;
        }

        .stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
        .stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
        .stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
        .stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
        .stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
        .stagger-children > *:nth-child(6) { animation-delay: 0.6s; }
        .stagger-children > *:nth-child(7) { animation-delay: 0.7s; }
        .stagger-children > *:nth-child(8) { animation-delay: 0.8s; }

        /* ========== NAVBAR ========== */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 243, 230, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            z-index: 10000;
            animation: slideDown 0.6s ease-out;
        }

        .navbar-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            letter-spacing: 2px;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .logo:hover {
            transform: scale(1.05);
            color: var(--accent);
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent), var(--primary));
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        /* ========== MOBILE NAV STYLES ========== */
        .nav-buttons {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            font-size: 0.9rem;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: var(--text-light);
            box-shadow: var(--shadow-md);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transition: left 0.3s ease;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

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

        .btn-secondary:hover {
            background: var(--primary);
            color: var(--text-light);
            transform: translateY(-2px);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            z-index: 1001;
            position: relative;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(10px, 10px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* ========== NOTIFICATION BADGE ========== */
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ef4444;
            color: white;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: bold;
            box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
            animation: pulse 2s infinite;
        }

        .notification-badge.hidden {
            display: none;
        }

        /* ========== MOBILE MENU ========== */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            background: rgba(255, 243, 230, 0.98);
            backdrop-filter: blur(10px);
            flex-direction: column;
            padding: 1.5rem;
            z-index: 10001;
            animation: slideInFromLeft 0.3s ease-out;
            max-height: calc(100vh - 70px);
            overflow-y: auto;
            pointer-events: auto;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            border-bottom: 1px solid var(--border);
            box-shadow: 0 8px 24px rgba(56,25,50,0.12);
        }

        .mobile-menu.active {
            display: flex;
            pointer-events: auto;
            visibility: visible;
            opacity: 1;
        }

        .mobile-menu a,
        .mobile-menu button {
            padding: 1rem;
            color: var(--text-dark);
            text-decoration: none;
            border: none;
            background: none;
            border-bottom: 1px solid var(--border);
            transition: background 0.3s ease;
            cursor: pointer;
            text-align: left;
            font-weight: 500;
        }

        .mobile-menu a:hover,
        .mobile-menu button:hover {
            background: rgba(90, 42, 82, 0.1);
            color: var(--accent);
        }

        .mobile-menu .admin-separator {
            border-top: 2px solid var(--accent);
            margin-top: 1rem;
            padding-top: 1rem;
        }

        .mobile-menu .admin-button {
            color: var(--accent);
            font-weight: 600;
            border: none;
        }

        /* ========== HERO SECTION ========== */
        .hero {
            min-height: 100vh;
            padding-top: 80px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(90, 42, 82, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            top: -200px;
            right: -200px;
            animation: float 6s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(56, 25, 50, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            bottom: -100px;
            left: -100px;
            animation: float 8s ease-in-out infinite 1s;
        }

        .hero-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.5rem, 8vw, 4rem);
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: var(--primary);
            animation: fadeUp 0.8s ease-out;
        }

        .hero-content p {
            font-size: 1.1rem;
            color: rgba(56, 25, 50, 0.7);
            margin-bottom: 2.5rem;
            line-height: 1.8;
            animation: fadeUp 0.8s ease-out 0.2s backwards;
        }

        .hero-buttons {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            animation: fadeUp 0.8s ease-out 0.4s backwards;
        }

        .btn-large {
            padding: 1rem 2.5rem;
            font-size: 1rem;
            border-radius: 12px;
        }

        .hero-visual {
            position: relative;
            animation: fadeInScale 0.8s ease-out 0.3s backwards;
        }

        .hero-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .hero-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(90, 42, 82, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .feature-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            align-items: flex-start;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .feature-text h3 {
            margin-bottom: 0.3rem;
            font-weight: 600;
            color: var(--primary);
        }

        .feature-text p {
            font-size: 0.9rem;
            color: rgba(56, 25, 50, 0.6);
        }

        /* ========== SERVICES SECTION ========== */
        .services {
            padding: 6rem 2rem;
            background: linear-gradient(180deg, transparent 0%, rgba(90, 42, 82, 0.03) 100%);
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
            animation: fadeUp 0.8s ease-out;
        }

        .section-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: 1.1rem;
            color: rgba(56, 25, 50, 0.6);
            max-width: 600px;
            margin: 0 auto;
        }

        .services-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            animation: fadeUp 0.8s ease-out forwards;
        }

        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }
        .service-card:nth-child(5) { animation-delay: 0.5s; }
        .service-card:nth-child(6) { animation-delay: 0.6s; }
        .service-card:nth-child(7) { animation-delay: 0.7s; }
        .service-card:nth-child(8) { animation-delay: 0.8s; }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--accent);
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
        }

        .service-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            color: var(--primary);
            font-weight: 600;
        }

        .service-card p {
            color: rgba(56, 25, 50, 0.6);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .service-list {
            list-style: none;
            margin-bottom: 1.5rem;
        }

        .service-list li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            font-size: 0.9rem;
            color: rgba(56, 25, 50, 0.7);
        }

        .service-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }

        .btn-service {
            width: 100%;
            background: var(--primary);
            color: var(--text-light);
            border: none;
            padding: 0.75rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-service:hover {
            background: var(--accent);
            transform: translateY(-2px);
        }

        /* ========== HOW IT WORKS ========== */
        .how-it-works {
            padding: 6rem 2rem;
            background: linear-gradient(180deg, rgba(90, 42, 82, 0.05) 0%, transparent 100%);
        }

        .steps-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            position: relative;
        }

        .step-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2.5rem;
            text-align: center;
            position: relative;
            animation: fadeUp 0.8s ease-out forwards;
            transition: all 0.3s ease;
        }

        .step-card:nth-child(1) { animation-delay: 0.1s; }
        .step-card:nth-child(2) { animation-delay: 0.2s; }
        .step-card:nth-child(3) { animation-delay: 0.3s; }
        .step-card:nth-child(4) { animation-delay: 0.4s; }
        .step-card:nth-child(5) { animation-delay: 0.5s; }
        .step-card:nth-child(6) { animation-delay: 0.6s; }

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

        .step-number {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 2rem;
            font-weight: 700;
            margin: 0 auto 1.5rem;
        }

        .step-card h3 {
            color: var(--primary);
            margin-bottom: 0.8rem;
            font-size: 1.1rem;
        }

        .step-card p {
            color: rgba(56, 25, 50, 0.6);
            font-size: 0.95rem;
        }

        /* ========== CONTACT FORM ========== */
        .contact-section {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: var(--text-light);
        }

        .contact-container {
            max-width: 600px;
            margin: 0 auto;
            animation: fadeUp 0.8s ease-out;
        }

        .contact-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-align: center;
        }

        .contact-section p {
            text-align: center;
            margin-bottom: 2.5rem;
            opacity: 0.9;
        }

        .form-group {
            margin-bottom: 1.5rem;
            animation: fadeUp 0.8s ease-out forwards;
        }

        .form-group:nth-child(1) { animation-delay: 0.1s; }
        .form-group:nth-child(2) { animation-delay: 0.2s; }
        .form-group:nth-child(3) { animation-delay: 0.3s; }
        .form-group:nth-child(4) { animation-delay: 0.4s; }
        .form-group:nth-child(5) { animation-delay: 0.5s; }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid rgba(255, 243, 230, 0.3);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-light);
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .form-group select option {
            color: #222;
        }

        .form-group select:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 243, 230, 0.6);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 243, 230, 0.6);
            box-shadow: 0 0 20px rgba(255, 243, 230, 0.2);
        }

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

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
            animation: fadeUp 0.8s ease-out 0.6s backwards;
            position: relative;
            z-index: 10;
            pointer-events: auto;
        }

        .checkbox-group input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: var(--text-light);
            position: relative;
            z-index: 10;
            pointer-events: auto;
        }

        .checkbox-text {
            font-size: 0.95rem;
        }

        .terms-link {
            color: var(--text-light);
            text-decoration: underline;
            cursor: pointer;
            transition: opacity 0.3s ease;
        }

        .terms-link:hover {
            opacity: 0.8;
        }

        .form-submit {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
            color: #381932;
            border: 2px solid #ffffff;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            animation: fadeUp 0.8s ease-out 0.7s backwards;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            letter-spacing: 0.5px;
        }

        .form-submit:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.4);
            transform: translateY(-2px);
        }

        .form-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* ========== PORTFOLIO SECTION ========== */
        .portfolio-section {
            padding: 4rem 2rem;
            background: linear-gradient(135deg, rgba(255, 243, 230, 0.5) 0%, rgba(255, 232, 209, 0.5) 100%);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .portfolio-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(56, 25, 50, 0.1);
            transition: all 0.3s ease;
            padding: 1.5rem;
        }

        .portfolio-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 30px rgba(56, 25, 50, 0.15);
        }

        .portfolio-image {
            width: 100%;
            height: 180px;
            background: linear-gradient(135deg, #381932 0%, #5A2A52 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            margin-bottom: 1rem;
        }

        .portfolio-card h3 {
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .portfolio-category {
            color: var(--accent);
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .portfolio-card p {
            color: #666;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }

        .portfolio-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-block;
        }

        .portfolio-link:hover {
            color: var(--accent);
            transform: translateX(5px);
        }

        /* ========== PRICING SECTION ========== */
        .pricing-section {
            padding: 4rem 2rem;
            background: white;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .pricing-card {
            background: linear-gradient(135deg, rgba(255, 243, 230, 0.8) 0%, rgba(255, 232, 209, 0.8) 100%);
            border: 2px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .pricing-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 30px rgba(56, 25, 50, 0.15);
            border-color: var(--accent);
        }

        .pricing-card h3 {
            color: var(--primary);
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        .pricing-amount {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 1.5rem;
        }

        .pricing-features {
            list-style: none;
            margin-bottom: 1.5rem;
        }

        .pricing-features li {
            padding: 0.5rem 0;
            color: #666;
            font-size: 0.95rem;
        }

        /* ========== TRUST SECTION ========== */
        .trust-section {
            padding: 4rem 2rem;
            background: linear-gradient(135deg, #381932 0%, #5A2A52 100%);
            color: white;
        }

        .trust-section .section-header h2 {
            color: white;
        }

        .trust-section .section-header p {
            color: rgba(255, 255, 255, 0.8);
        }

        .trust-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .trust-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .trust-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-5px);
        }

        .trust-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .trust-card h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .trust-card p {
            font-size: 0.95rem;
            opacity: 0.9;
        }

        /* ========== MODAL ========== */
        .modal {
            display: none;
            position: fixed;
            z-index: 9000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            animation: fadeUp 0.3s ease-out;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: var(--background);
            padding: 2.5rem;
            border-radius: 20px;
            max-width: 600px;
            width: 90%;
            box-shadow: var(--shadow-lg);
            position: relative;
            animation: fadeInScale 0.3s ease-out;
            max-height: 85vh;
            overflow-y: auto;
        }

        .modal-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 40px;
            height: 40px;
            background: var(--primary);
            border: none;
            border-radius: 50%;
            color: var(--text-light);
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            transform: rotate(90deg);
            background: var(--accent);
        }

        .modal h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .modal p {
            color: rgba(56, 25, 50, 0.6);
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .modal-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .inquiry-id {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: var(--text-light);
            padding: 1.5rem;
            border-radius: 12px;
            text-align: center;
            margin: 1.5rem 0;
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 600;
            font-size: 1.2rem;
            letter-spacing: 1px;
        }

        .btn-copy {
            background: var(--primary);
            color: var(--text-light);
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            flex: 1;
            min-width: 150px;
        }

        .btn-copy:hover {
            background: var(--accent);
            transform: translateY(-2px);
        }

        .btn-modal-close {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            flex: 1;
            min-width: 150px;
        }

        .btn-modal-close:hover {
            background: var(--primary);
            color: var(--text-light);
        }

        /* ========== AI CHAT WIDGET ========== */
        #aiChat {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 380px;
            max-width: 90vw;
            height: 500px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 15px;
            box-shadow: var(--shadow-lg);
            display: none;
            flex-direction: column;
            z-index: 500;
            overflow: hidden;
            animation: fadeInScale 0.3s ease-out;
            pointer-events: auto;
        }

        #aiChat.active {
            display: flex !important;
            pointer-events: auto;
        }

        .ai-header {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        }

        .ai-header h3 {
            font-size: 1rem;
            margin: 0;
            font-weight: 600;
        }

        .ai-close {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 1.5rem;
            transition: transform 0.2s;
        }

        .ai-close:hover {
            transform: scale(1.1);
        }

        #aiBody {
            flex: 1;
            overflow-y: auto;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            background: white;
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 60"><text x="100" y="40" font-size="32" font-weight="bold" fill="rgba(90,42,82,0.02)" text-anchor="middle" font-family="Playfair Display, serif">SPECTURE</text></svg>');
            background-repeat: no-repeat;
            background-position: bottom right;
            background-size: 150px 45px;
            background-attachment: fixed;
            position: relative;
        }

        .ai-message {
            padding: 0.75rem 1rem;
            border-radius: 10px;
            max-width: 85%;
            word-wrap: break-word;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .ai-message.user {
            align-self: flex-end;
            background: var(--primary);
            color: white;
            border-radius: 10px 0 10px 10px;
        }

        .ai-message.bot {
            align-self: flex-start;
            background: #f0f0f0;
            color: var(--text-dark);
            border-radius: 0 10px 10px 10px;
        }

        .ai-welcome {
            text-align: left;
            color: var(--text-dark);
            font-style: normal;
            align-self: flex-start;
            background: #f0f0f0;
            color: var(--text-dark);
            border-radius: 0 10px 10px 10px;
            padding: 0.75rem 1rem;
            max-width: 85%;
            word-wrap: break-word;
            font-size: 0.9rem;
            line-height: 1.4;
            margin: 0;
        }

        .ai-footer {
            display: flex;
            gap: 0.5rem;
            padding: 1rem;
            background: white;
            border-top: 1px solid var(--border);
        }

        #aiInput {
            flex: 1;
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.75rem;
            font-family: inherit;
            font-size: 0.9rem;
        }

        #aiInput:focus {
            outline: none;
            border-color: var(--primary);
        }

        .ai-send {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }

        .ai-send:hover {
            background: var(--accent);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        #aiToggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 50%;
            border: none;
            color: white;
            font-size: 1.6rem;
            cursor: pointer;
            box-shadow: var(--shadow-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            z-index: 499;
            animation: glow 2s ease-in-out infinite;
            pointer-events: auto;
            padding: 0;
            overflow: hidden;
        }

        #aiToggle:hover {
            transform: scale(1.1);
        }

        /* AI toggle visibility is controlled by JavaScript toggleAiChat() */

        /* ========== ADMIN MODAL ========== */
        .admin-modal {
            display: none;
            position: fixed;
            z-index: 2500;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
        }

        .admin-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .admin-modal-content {
            background: white;
            border-radius: 20px;
            max-width: 800px;
            width: 90%;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: var(--shadow-lg);
            position: relative;
            animation: fadeInScale 0.3s ease-out;
        }

        .admin-header {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            padding: 2rem;
            border-radius: 20px 20px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .admin-header h2 {
            margin: 0;
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
        }

        .admin-close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .admin-close-btn:hover {
            transform: scale(1.2);
        }

        .admin-content {
            padding: 2rem;
        }

        .admin-form-group {
            margin-bottom: 1.5rem;
        }

        .admin-form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        .admin-form-group input,
        .admin-form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.95rem;
        }

        .admin-form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .admin-btn {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            font-size: 1rem;
        }

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

        .admin-tabs {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--border);
            flex-wrap: wrap;
        }

        .admin-tab {
            background: none;
            border: none;
            padding: 1rem;
            cursor: pointer;
            font-weight: 600;
            color: #999;
            transition: all 0.3s;
            border-bottom: 3px solid transparent;
        }

        .admin-tab.active {
            color: var(--primary);
            border-bottom-color: var(--accent);
        }

        .admin-tab-content {
            display: none;
        }

        .admin-tab-content.active {
            display: block;
        }

        .admin-chat-convo-card {
            background: #f9f9f9;
            border: 1.5px solid transparent;
            padding: 1rem;
            border-radius: 10px;
            cursor: pointer;
            transition: background 0.15s ease, border-color 0.15s ease;
        }

        .admin-chat-convo-card:hover {
            background: #f3ecf1;
        }

        .logout-btn {
            background: #ff4757;
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            float: right;
            margin-bottom: 1.5rem;
        }

        .logout-btn:hover {
            background: #ff3838;
            transform: translateY(-2px);
        }

        /* ========== FOOTER ========== */
        footer {
            background: var(--primary);
            color: var(--text-light);
            padding: 4rem 2rem;
            border-top: 1px solid rgba(255, 243, 230, 0.1);
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-col h3 {
            margin-bottom: 1.5rem;
            font-family: 'Playfair Display', serif;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 0.8rem;
        }

        .footer-col a {
            color: rgba(255, 243, 230, 0.7);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-col a:hover {
            color: var(--text-light);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 243, 230, 0.1);
            color: rgba(255, 243, 230, 0.7);
        }

        /* ========== AUTH MODAL ========== */
        /* ========== MODAL HEADER (UNIFIED) ========== */
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .modal-header h2 {
            color: var(--primary);
            font-size: 1.5rem;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-dark);
            transition: transform 0.2s;
        }

        .close-btn:hover {
            transform: scale(1.2);
        }

        .form-group {
            margin-bottom: 1.2rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--primary);
            font-weight: 600;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            color: var(--text-dark);
            background: #f9f9f9;
            transition: all 0.3s;
        }

        .form-group select:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
            background: white;
            box-shadow: 0 0 0 3px rgba(90, 42, 82, 0.1);
        }

        /* Fix webkit autofill text */
        .form-group input:-webkit-autofill,
        .form-group input:-webkit-autofill:hover,
        .form-group input:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 30px white inset !important;
            -webkit-text-fill-color: var(--text-dark) !important;
        }

        .error-message {
            color: #ef4444;
            font-size: 0.85rem;
            margin-top: 0.3rem;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        .success-message {
            color: #10b981;
            font-size: 0.9rem;
            margin-top: 0.3rem;
            display: none;
            padding: 0.8rem;
            background: #ecfdf5;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

        .success-message.show {
            display: block;
        }

        .modal-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        /* ========== MOBILE RESPONSIVE ========== */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .nav-buttons {
                display: none !important;
            }

            .menu-toggle {
                display: flex !important;
            }

            .hero-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .hero-visual {
                order: -1;
            }

            .mobile-menu.active {
                display: flex;
                visibility: visible;
                opacity: 1;
            }

            .services-grid,
            .steps-grid {
                grid-template-columns: 1fr;
            }

            #aiChat {
                width: calc(100vw - 20px);
                height: 400px;
            }

            .admin-modal-content {
                width: 95%;
                max-height: 95vh;
            }

            
        }

        /* ========== LARGE SCREEN SCALING ========== */
        @media (min-width: 1600px) {
            .navbar-container,
            .hero-container,
            .services-container,
            .steps-container,
            .footer-container,
            .contact-container {
                max-width: 1800px;
                width: 95%;
            }

            .logo {
                font-size: 2.5rem;
            }

            .nav-links a {
                font-size: 1.1rem;
            }

            .hero-content h1 {
                font-size: 5rem;
            }

            .hero-content p {
                font-size: 1.4rem;
            }

            h1 {
                font-size: 3.5rem;
            }

            h2 {
                font-size: 2.5rem;
            }

            .btn-large {
                padding: 1rem 2.5rem;
                font-size: 1.1rem;
            }

            .service-card,
            .step-card {
                padding: 2rem;
            }
        }

        /* ========== LOADING STATE ========== */
        .loading {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
            animation: pulse 1.5s infinite;
            margin-right: 4px;
        }

        .loading:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading:nth-child(3) {
            animation-delay: 0.4s;
        }

        .revealed {
            animation: fadeUp 0.8s ease-out !important;
        }
        /* ========== ADVANCED ADMIN DASHBOARD STYLES ========== */
        .admin-dashboard-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: linear-gradient(135deg, rgba(56, 25, 50, 0.05) 0%, rgba(90, 42, 82, 0.05) 100%);
            border: 2px solid var(--border);
            padding: 1.5rem;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .stat-trend {
            font-size: 0.85rem;
            color: #10b981;
            margin-top: 0.5rem;
        }

        /* Search & Filter Bar */
        .admin-search-bar {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .admin-search-input {
            flex: 1;
            min-width: 250px;
            padding: 0.8rem 1rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .admin-search-input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(90, 42, 82, 0.1);
        }

        .admin-filter-select {
            padding: 0.8rem 1rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            min-width: 150px;
        }

        .admin-filter-select:focus {
            outline: none;
            border-color: var(--accent);
        }

        /* Users Table */
        .admin-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-bottom: 2rem;
        }

        .admin-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: white;
        }

        .admin-table th {
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .admin-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
        }

        .admin-table tbody tr:hover {
            background: rgba(90, 42, 82, 0.02);
        }

        .admin-table tbody tr:last-child td {
            border-bottom: none;
        }

        /* Notification Badge */
        .notification-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background: #ef4444;
            color: white;
            border-radius: 50%;
            font-size: 0.75rem;
            font-weight: 700;
            animation: pulse 2s infinite;
        }

        .notification-dot {
            width: 8px;
            height: 8px;
            background: #10b981;
            border-radius: 50%;
            display: inline-block;
            margin-right: 0.5rem;
        }

        /* Advanced Notification Cards */
        .notification-card {
            background: white;
            border-left: 4px solid var(--accent);
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .notification-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(5px);
        }

        .notification-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 1rem;
        }

        .notification-type {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .notification-time {
            color: #999;
            font-size: 0.85rem;
        }

        .notification-title {
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .notification-details {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .notification-details p {
            margin-bottom: 0.5rem;
        }

        .notification-actions {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .notification-action-btn {
            padding: 0.5rem 1rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .notification-action-btn:hover {
            background: var(--accent);
            transform: translateY(-2px);
        }

        .notification-action-btn.secondary {
            background: transparent;
            color: var(--primary);
            border: 1px solid var(--border);
        }

        .notification-action-btn.secondary:hover {
            border-color: var(--primary);
            background: rgba(56, 25, 50, 0.02);
        }

        /* Analytics Charts */
        .analytics-section {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
            margin-bottom: 2rem;
        }

        .analytics-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .browser-timing-list {
            list-style: none;
        }

        .browser-timing-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .browser-timing-item:last-child {
            border-bottom: none;
        }

        .browser-name {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-weight: 500;
        }

        .browser-icon {
            font-size: 1.5rem;
        }

        .browser-bar {
            flex: 1;
            margin: 0 1rem;
            height: 8px;
            background: var(--border);
            border-radius: 4px;
            overflow: hidden;
        }

        .browser-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 4px;
        }

        .browser-percentage {
            font-weight: 600;
            color: var(--accent);
            min-width: 50px;
            text-align: right;
        }

        /* System Logs */
        .system-logs {
            background: #f5f5f5;
            padding: 1.5rem;
            border-radius: 12px;
            max-height: 400px;
            overflow-y: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
        }

        .log-entry {
            padding: 0.5rem 0;
            color: #666;
            border-bottom: 1px solid #ddd;
        }

        .log-entry:last-child {
            border-bottom: none;
        }

        .log-timestamp {
            color: var(--primary);
            font-weight: 600;
        }

        .log-level-info {
            color: #0066cc;
        }

        .log-level-warning {
            color: #ff9900;
        }

        .log-level-error {
            color: #cc0000;
        }

        /* CMS Content Editor */
        .cms-editor {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-sm);
        }

        .cms-section-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border);
        }

        .cms-field-group {
            margin-bottom: 1.5rem;
        }

        .cms-field-label {
            display: block;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .cms-field-input,
        .cms-field-textarea {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .cms-field-textarea {
            resize: vertical;
            min-height: 120px;
        }

        .cms-field-input:focus,
        .cms-field-textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(90, 42, 82, 0.1);
        }

        .cms-button-group {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .cms-save-btn {
            flex: 1;
            padding: 0.8rem 1.5rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .cms-save-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .cms-delete-btn {
            padding: 0.8rem 1.5rem;
            background: #ff4757;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .cms-delete-btn:hover {
            background: #ff3838;
            transform: translateY(-2px);
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 2rem;
            color: #999;
        }

        .empty-state-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .empty-state-text {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

        /* Modal for detailed view */
        .detail-modal {
            display: none;
            position: fixed;
            z-index: 3000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
        }

        .detail-modal.active {
            display: flex;
        }

        .detail-modal-content {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: var(--shadow-lg);
            animation: fadeInScale 0.3s ease-out;
        }

        .detail-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border);
        }

        .detail-modal-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary);
        }

        .detail-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #999;
        }

        .detail-modal-close:hover {
            color: var(--primary);
        }

        /* Export/Download Button */
        .admin-export-btn {
            padding: 0.7rem 1.5rem;
            background: #10b981;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }

        .admin-export-btn:hover {
            background: #059669;
            transform: translateY(-2px);
        }

        /* Responsive Admin Dashboard */
        @media (max-width: 1024px) {
            .admin-dashboard-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .admin-search-bar {
                flex-direction: column;
            }

            .admin-table {
                font-size: 0.85rem;
            }

            .admin-table th,
            .admin-table td {
                padding: 0.75rem;
            }
        }

        @media (max-width: 768px) {
            .admin-dashboard-grid {
                grid-template-columns: 1fr;
            }

            .notification-header {
                flex-direction: column;
            }

            .admin-table {
                overflow-x: auto;
            }

            .cms-button-group {
                flex-direction: column;
            }
        }
    

/* AI Chatbot Styles */

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes slideUp {
            from { transform: translate(-50%, 60%); opacity: 0; }
            to { transform: translate(-50%, -50%); opacity: 1; }
        }
        .announcement-popup-modal {
            transition: all 0.3s ease;
        }
        #announcementCloseBtn:hover {
            background: #f0f0f0;
            transform: rotate(90deg);
        }

        /* ========== AI CHATBOT STYLES ========== */
        .ai-chatbot-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 65px;
            height: 65px;
            border-radius: 50%;
            background: linear-gradient(135deg, #381932 0%, #5A2A52 100%);
            color: white;
            border: none;
            font-size: 32px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(90, 42, 82, 0.3), 0 0 30px rgba(90, 42, 82, 0.15);
            transition: all 0.3s ease;
            z-index: 9990;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: float 3s ease-in-out infinite;
        }

        .ai-chatbot-toggle:hover {
            transform: scale(1.15) translateY(-5px);
            box-shadow: 0 8px 25px rgba(90, 42, 82, 0.4), 0 0 40px rgba(90, 42, 82, 0.25);
            animation: pulse 2s infinite;
        }

        .ai-chatbot-toggle.hidden {
            display: none;
        }

        .ai-chatbot-container {
            position: fixed;
            bottom: 95px;
            right: 20px;
            width: 390px;
            height: 520px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 45px rgba(56, 25, 50, 0.2);
            display: none;
            flex-direction: column;
            z-index: 9990;
            animation: slideUp 0.4s ease;
            border: 1px solid rgba(90, 42, 82, 0.1);
        }

        .ai-chatbot-container.active {
            display: flex;
        }

        .ai-chatbot-header {
            background: linear-gradient(135deg, #381932 0%, #5A2A52 100%);
            color: white;
            padding: 1.2rem;
            border-radius: 16px 16px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 8px rgba(90, 42, 82, 0.15);
        }

        .ai-chatbot-title {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
        }

        .ai-icon {
            font-size: 1.2rem;
        }

        .ai-chatbot-close {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .ai-chatbot-close:hover {
            transform: rotate(180deg);
        }

        .ai-chatbot-messages {
            flex: 1;
            overflow-y: auto;
            padding: 1.2rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            background: linear-gradient(180deg, #fafbfc 0%, #f5f7f9 100%);
        }

        .ai-message,
        .user-message {
            animation: fadeUp 0.4s ease;
        }

        .ai-message {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .ai-message p {
            background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
            color: #381932;
            padding: 0.85rem 1.1rem;
            border-radius: 12px;
            font-size: 0.9rem;
            line-height: 1.5;
            max-width: 90%;
            box-shadow: 0 2px 6px rgba(56, 25, 50, 0.08);
            border-left: 3px solid #5A2A52;
        }

        .user-message {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.5rem;
        }

        .user-message p {
            background: linear-gradient(135deg, #381932 0%, #5A2A52 100%);
            color: white;
            padding: 0.85rem 1.1rem;
            border-radius: 12px;
            font-size: 0.9rem;
            line-height: 1.5;
            max-width: 90%;
            box-shadow: 0 2px 8px rgba(90, 42, 82, 0.15);
        }

        .ai-quick-replies {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            width: 100%;
        }

        .ai-quick-replies button {
            background: linear-gradient(135deg, #381932 0%, #5A2A52 100%);
            color: white;
            border: none;
            padding: 0.7rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .ai-quick-replies button:hover {
            transform: translateX(5px) translateY(-2px);
            box-shadow: 0 4px 12px rgba(90, 42, 82, 0.3);
        }

        .ai-chatbot-input-area {
            display: flex;
            gap: 0.6rem;
            padding: 1.1rem;
            border-top: 1px solid rgba(90, 42, 82, 0.1);
            background: white;
            border-radius: 0 0 16px 16px;
        }

        .ai-chat-input {
            flex: 1;
            border: 2px solid rgba(90, 42, 82, 0.1);
            border-radius: 10px;
            padding: 0.8rem;
            font-size: 0.9rem;
            font-family: inherit;
            transition: all 0.3s ease;
            background: #f9fbfc;
        }

        .ai-chat-input:focus {
            outline: none;
            border-color: #5A2A52;
            background: white;
            box-shadow: 0 0 0 3px rgba(90, 42, 82, 0.1);
        }

        .ai-chat-input::placeholder {
            color: #999;
        }

        .ai-send-btn {
            background: linear-gradient(135deg, #381932 0%, #5A2A52 100%);
            color: white;
            border: none;
            border-radius: 10px;
            padding: 0.8rem 1.2rem;
            cursor: pointer;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(90, 42, 82, 0.2);
        }

        .ai-send-btn:hover {
            transform: scale(1.08) translateY(-2px);
            box-shadow: 0 4px 12px rgba(90, 42, 82, 0.3);
        }

        .ai-send-btn:active {
            transform: scale(0.95);
        }

        .ai-typing {
            display: flex;
            gap: 4px;
            padding: 0.75rem 1rem;
            background: #f0f0f0;
            border-radius: 12px;
            width: fit-content;
        }

        .ai-typing span {
            width: 8px;
            height: 8px;
            background: #999;
            border-radius: 50%;
            animation: bounce 1.4s infinite;
        }

        .ai-typing span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .ai-typing span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes bounce {
            0%, 80%, 100% {
                opacity: 0.3;
                transform: translateY(0);
            }
            40% {
                opacity: 1;
                transform: translateY(-10px);
            }
        }

        @media (max-width: 480px) {
            .ai-chatbot-container {
                width: calc(100vw - 40px);
                height: 400px;
                bottom: 80px;
                right: 20px;
            }
        }
    

/* ========== PROMOTIONAL BANNER RESPONSIVE FIXES ========== */
#promotionalBanner {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 9500;
    background: linear-gradient(135deg, #5A2A52 0%, #381932 100%);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(56, 25, 50, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.5s ease-out;
    max-height: 180px;
}

#promotionalBanner > div {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

#promotionalBanner > div > div:first-child {
    flex: 1;
}

#displayBannerTitle {
    margin: 0 0 0.4rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#displayBannerDesc {
    margin: 0 0 0.8rem 0;
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.4;
}

#displayBannerCTA {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #381932;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#displayBannerCTA:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

#promotionalBanner button[onclick="closeBanner()"] {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

#promotionalBanner button[onclick="closeBanner()"]:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    #promotionalBanner {
        top: 60px;
        padding: 0.7rem 1rem;
        max-height: none;
    }

    #promotionalBanner > div {
        flex-direction: column;
        gap: 0.4rem;
        align-items: flex-start;
        padding-right: 40px;
    }

    #promotionalBanner > div > div:first-child {
        width: 100%;
        text-align: left;
    }

    #displayBannerTitle {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        line-height: 1.3;
    }

    #displayBannerDesc {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        line-height: 1.35;
        opacity: 0.9;
    }

    #displayBannerCTA {
        padding: 0.45rem 1.2rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    #promotionalBanner button[onclick="closeBanner()"] {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.2rem;
        width: 32px;
        height: 32px;
        background: rgba(255,255,255,0.2);
    }
}

@media (max-width: 480px) {
    #promotionalBanner {
        padding: 0.6rem 0.8rem;
        top: 55px;
    }

    #displayBannerTitle {
        font-size: 0.9rem;
        font-weight: 600;
    }

    #displayBannerDesc {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    #displayBannerCTA {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}


/* ========== ADMIN MODAL Z-INDEX FIX ========== */
.admin-modal {
    z-index: 10001 !important;
}
#adminModal .admin-modal-content {
    z-index: 10002 !important;
}

/* ========== LOADING SPINNER ========== */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}
.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== TOAST NOTIFICATION ========== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10003;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease;
    max-width: 350px;
}
.toast.success { background: #10b981; }
.toast.error { background: #ef4444; }
.toast.info { background: #3b82f6; }


/* ============================================================
   SPECTURE PWA NATIVE APP STYLES
   Only active in display-mode: standalone
   ============================================================ */
.pwa-only { display: none !important; }

@media all and (display-mode: standalone) {
    nav, footer, #aiToggle, #aiChat, #messagingToggle, #messagingPanel,
    #promotionalBanner, .menu-toggle, .mobile-menu, #adminBtnWrapper,
    #unauthButtons, #authButtons, #mobileUnauthButtons, #mobileAuthButtons {
        display: none !important;
    }
    body {
        padding-top: 118px !important;
        padding-bottom: 70px !important;
        background: #f8f9fa !important;
        overflow-x: hidden;
    }
    .pwa-only { display: flex !important; }
    .pwa-only.pwa-tab-page { display: none !important; }
    .pwa-only.pwa-tab-page.active { display: block !important; }

    #pwaAppHeader {
        position: fixed; top: 0; left: 0; right: 0;
        background: rgba(255,255,255,0.85); backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(56,25,50,0.08); z-index: 10000;
        display: flex; flex-direction: column;
        box-shadow: 0 2px 20px rgba(56,25,50,0.06);
    }
    .pwa-header-row-top {
        height: 60px; flex-shrink: 0;
        display: flex; align-items: center; justify-content: space-between;
        padding: 0 1rem;
    }
    .pwa-header-left { display: flex; align-items: center; gap: 0.6rem; }
    .pwa-header-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
    .pwa-header-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--primary); letter-spacing: 1px; }
    .pwa-header-row-search { padding: 0.1rem 1rem 0.75rem; }
    .pwa-search-box { display: flex; align-items: center; gap: 0.55rem; background: rgba(56,25,50,0.05); border-radius: 20px; padding: 0.6rem 0.9rem; border: 1px solid rgba(56,25,50,0.08); }
    .pwa-search-icon { width: 19px; height: 19px; color: #999; display: flex; flex-shrink: 0; }
    .pwa-search-icon svg { width: 100%; height: 100%; }
    .pwa-search-box input { border: none; background: transparent; outline: none; font-size: 0.9rem; flex: 1; color: var(--text-dark); width: 100%; }
    .pwa-mic-btn { width: 19px; height: 19px; color: #999; background: none; border: none; padding: 0; display: flex; flex-shrink: 0; cursor: pointer; transition: color 0.2s ease; }
    .pwa-mic-btn svg { width: 100%; height: 100%; }
    .pwa-mic-btn.listening { color: #ef4444; animation: pwaMicPulse 1.1s ease-in-out infinite; }
    @keyframes pwaMicPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: 0.7; } }
    .pwa-header-right { display: flex; align-items: center; gap: 0.6rem; }
    .pwa-icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(56,25,50,0.05); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; transition: all 0.3s ease; }
    .pwa-icon-btn:hover { background: rgba(56,25,50,0.1); transform: scale(1.05); }
    .pwa-icon-btn img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
    .pwa-badge { position: absolute; top: -2px; right: -2px; background: #ef4444; color: white; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid white; }

    #pwaNotificationPanel { position: fixed; top: 60px; right: -100%; width: 100%; max-width: 400px; height: calc(100% - 60px); background: white; z-index: 9999; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,0.15); transition: right 0.35s cubic-bezier(0.32,0.72,0,1); }
    #pwaNotificationPanel.open { right: 0; }
    .pwa-notif-header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem; border-bottom: 1px solid rgba(56,25,50,0.08); }
    .pwa-notif-header h3 { margin: 0; font-size: 1.1rem; color: var(--primary); }
    .pwa-notif-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: #999; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
    .pwa-notif-tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(56,25,50,0.08); padding: 0 1rem; }
    .pwa-notif-tab { flex: 1; padding: 0.9rem; background: none; border: none; border-bottom: 2px solid transparent; color: #999; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; }
    .pwa-notif-tab.active { color: var(--primary); border-bottom-color: var(--accent); }
    .pwa-notif-content { flex: 1; overflow-y: auto; padding: 1rem; }
    .pwa-notif-item { padding: 1rem; background: #f9f9fb; border-radius: 12px; margin-bottom: 0.8rem; border-left: 3px solid var(--accent); }
    .pwa-notif-item strong { color: var(--primary); font-size: 0.9rem; }
    .pwa-notif-item p { color: #666; font-size: 0.85rem; margin: 0.3rem 0 0 0; }
    .pwa-notif-item small { color: #999; font-size: 0.75rem; }

    #pwaTabOverlay { position: fixed; top: 60px; left: 0; right: 0; bottom: 70px; background: #f8f9fa; z-index: 500; overflow-y: auto; display: none !important; }
    #pwaTabOverlay.active { display: block !important; }
    .pwa-tab-page { display: none; padding: 1.2rem; animation: fadeUp 0.3s ease; min-height: 100%; }
    .pwa-tab-page.active { display: block !important; }
    .pwa-tab-header { margin-bottom: 1.5rem; }
    .pwa-tab-header h2 { font-family: 'Playfair Display', serif; color: var(--primary); font-size: 1.6rem; margin-bottom: 0.3rem; }
    .pwa-tab-header p { color: #888; font-size: 0.9rem; }

    .pwa-services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.5rem; }
    .pwa-service-chip { background: white; border-radius: 12px; padding: 1rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid rgba(56,25,50,0.06); cursor: pointer; transition: transform 0.2s; }
    .pwa-service-chip:active { transform: scale(0.96); }
    .pwa-service-chip .icon { font-size: 2rem; margin-bottom: 0.5rem; width: 34px; height: 34px; margin-left: auto; margin-right: auto; display: flex; align-items: center; justify-content: center; color: var(--accent); }
    .pwa-service-chip .icon svg { width: 100%; height: 100%; }
    .pwa-service-chip h4 { font-size: 0.85rem; color: var(--primary); margin: 0; }
    .pwa-section { margin-bottom: 1.5rem; }
    .pwa-section h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
    .pwa-support-card { background: white; border-radius: 12px; padding: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .pwa-support-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid #f0f0f0; }
    .pwa-support-item:last-child { border-bottom: none; }
    .pwa-support-item span { font-size: 1.5rem; }
    .pwa-support-item strong { display: block; font-size: 0.9rem; color: var(--primary); }
    .pwa-support-item p { margin: 0; font-size: 0.85rem; color: #888; }

    .pwa-portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.5rem; }
    .pwa-portfolio-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .pwa-portfolio-img { height: 100px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
    .pwa-portfolio-card h4 { padding: 0.8rem; margin: 0; font-size: 0.9rem; color: var(--primary); }
    .pwa-portfolio-card p { padding: 0 0.8rem 0.8rem; margin: 0; font-size: 0.8rem; color: #888; }
    .pwa-pricing-list { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
    .pwa-pricing-item { display: flex; justify-content: space-between; padding: 1rem; border-bottom: 1px solid #f0f0f0; }
    .pwa-pricing-item:last-child { border-bottom: none; }
    .pwa-pricing-item span { color: #666; font-size: 0.9rem; }
    .pwa-pricing-item strong { color: var(--accent); font-size: 0.95rem; }
    .pwa-trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .pwa-trust-item { background: white; padding: 0.8rem; border-radius: 10px; text-align: center; font-size: 0.85rem; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.04); font-weight: 500; }
    .pwa-steps-list { display: flex; flex-direction: column; gap: 0.6rem; }
    .pwa-step { display: flex; align-items: center; gap: 0.8rem; background: white; padding: 0.8rem 1rem; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); font-size: 0.9rem; color: var(--primary); font-weight: 500; }
    .pwa-step span { width: 28px; height: 28px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }

    .pwa-form { display: flex; flex-direction: column; gap: 0.8rem; }
    .pwa-form input, .pwa-form select, .pwa-form textarea { width: 100%; padding: 0.9rem 1rem; border: 1.5px solid rgba(56,25,50,0.1); border-radius: 10px; font-size: 0.95rem; font-family: inherit; background: white; color: var(--text-dark); transition: all 0.2s; }
    .pwa-form input:focus, .pwa-form select:focus, .pwa-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(90,42,82,0.08); }
    .pwa-form-compact { display: flex; flex-direction: column; gap: 0.6rem; }
    .pwa-form-compact input, .pwa-form-compact textarea { width: 100%; padding: 0.75rem; border: 1.5px solid rgba(56,25,50,0.1); border-radius: 8px; font-size: 0.9rem; font-family: inherit; }
    .pwa-form-group { margin-bottom: 0.8rem; }
    .pwa-form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--primary); font-size: 0.85rem; }
    .pwa-form-large { max-width: 100%; }
    .pwa-btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border: none; padding: 0.9rem; border-radius: 10px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 12px rgba(90,42,82,0.2); }
    .pwa-btn-primary:active { transform: scale(0.98); }
    .pwa-btn-secondary { background: white; color: var(--primary); border: 2px solid var(--primary); padding: 0.9rem; border-radius: 10px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s; }
    .pwa-btn-danger { background: #ef4444; color: white; border: none; padding: 0.9rem; border-radius: 10px; font-weight: 600; font-size: 1rem; cursor: pointer; width: 100%; margin-top: 1rem; }

    .pwa-account-header { position: relative; margin: -1.2rem -1.2rem 0 -1.2rem; margin-bottom: 3.5rem; }
    .pwa-account-cover { height: 120px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
    .pwa-account-avatar-wrap { position: relative; text-align: center; margin-top: -40px; padding: 0 1rem; }
    .pwa-account-avatar { position: relative; width: 80px; height: 80px; margin: 0 auto; }
    .pwa-account-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 4px solid white; box-shadow: 0 4px 12px rgba(0,0,0,0.15); object-fit: cover; background: #f0f0f0; }
    .pwa-avatar-edit { position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; background: var(--accent); border: 2px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.8rem; }
    .pwa-account-avatar-wrap h2 { margin: 0.5rem 0 0.2rem 0; font-size: 1.2rem; color: var(--primary); }
    .pwa-account-avatar-wrap p { margin: 0; color: #888; font-size: 0.85rem; }
    .pwa-account-body { padding-bottom: 2rem; }
    .pwa-auth-prompt { text-align: center; padding: 2rem 1rem; }
    .pwa-auth-prompt h3 { color: var(--primary); margin-bottom: 0.5rem; }
    .pwa-auth-prompt p { color: #888; margin-bottom: 1.5rem; font-size: 0.9rem; }
    .pwa-auth-prompt button { width: 100%; margin-bottom: 0.8rem; }
    .pwa-card { background: white; border-radius: 14px; padding: 1.2rem; margin-bottom: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.04); border: 1px solid rgba(56,25,50,0.05); }
    .pwa-card h4 { margin: 0 0 1rem 0; color: var(--primary); font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; }
    .pwa-info-list { display: flex; flex-direction: column; }
    .pwa-info-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid #f5f5f5; }
    .pwa-info-row:last-child { border-bottom: none; }
    .pwa-info-row span { color: #888; font-size: 0.85rem; }
    .pwa-info-row strong { color: var(--primary); font-size: 0.85rem; font-weight: 600; text-align: right; }
    .pwa-captcha-row { display: flex; gap: 0.5rem; align-items: center; }
    .pwa-captcha-row input { flex: 1; }
    .pwa-captcha-code { background: #f0f0f0; padding: 0.6rem 1rem; border-radius: 6px; font-family: monospace; font-weight: bold; color: var(--primary); font-size: 1.1rem; letter-spacing: 2px; min-width: 80px; text-align: center; }
    .pwa-captcha-row button { background: var(--primary); color: white; border: none; padding: 0.6rem; border-radius: 6px; cursor: pointer; }
    .pwa-terms-box { background: #f9f9fb; border-radius: 8px; padding: 1rem; font-size: 0.85rem; color: #666; line-height: 1.6; max-height: 150px; overflow-y: auto; margin-bottom: 0.8rem; }
    .pwa-terms-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--primary); cursor: pointer; }
    .pwa-terms-status { font-size: 0.8rem; color: #10b981; margin: 0.5rem 0 0 0; }
    .pwa-chat-card { display: flex; flex-direction: column; }
    .pwa-chat-subtitle { margin: -0.6rem 0 0.9rem; font-size: 0.8rem; color: #999; }
    .pwa-chat-messages { display: flex; flex-direction: column; gap: 0.6rem; max-height: 320px; min-height: 120px; overflow-y: auto; padding: 0.2rem 0.1rem 0.6rem; }
    .pwa-chat-empty { text-align: center; color: #aaa; font-size: 0.85rem; padding: 1.6rem 0.5rem; }
    .pwa-chat-bubble { max-width: 82%; padding: 0.6rem 0.85rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.4; word-wrap: break-word; }
    .pwa-chat-bubble-user { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-radius: 12px 2px 12px 12px; }
    .pwa-chat-bubble-admin { align-self: flex-start; background: #f2f2f4; color: #333; border-radius: 2px 12px 12px 12px; }
    .pwa-chat-bubble-text { white-space: pre-wrap; }
    .pwa-chat-bubble-time { font-size: 0.68rem; opacity: 0.65; margin-top: 0.3rem; }
    .pwa-chat-input-row { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
    .pwa-chat-input-row input { flex: 1; padding: 0.75rem 0.9rem; border: 1.5px solid rgba(56,25,50,0.1); border-radius: 22px; font-size: 0.9rem; font-family: inherit; outline: none; }
    .pwa-chat-input-row input:focus { border-color: var(--accent); }
    .pwa-chat-send-btn { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
    .pwa-chat-send-btn svg { width: 19px; height: 19px; }
    .pwa-chat-send-btn:active { transform: scale(0.93); }

    #pwaBottomNav { position: fixed; bottom: 0; left: 0; right: 0; height: 70px; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(56,25,50,0.08); z-index: 10000; display: flex; justify-content: space-around; align-items: center; padding-bottom: env(safe-area-inset-bottom, 0); }
    .pwa-nav-item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; background: none; border: none; color: #999; font-size: 0.7rem; cursor: pointer; padding: 0.5rem; flex: 1; transition: all 0.2s; position: relative; }
    .pwa-nav-item.active { color: var(--accent); }
    .pwa-nav-item.active::after { content: ''; position: absolute; top: -2px; width: 20px; height: 3px; background: var(--accent); border-radius: 2px; }
    .pwa-nav-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; transition: transform 0.2s; }
    .pwa-nav-icon svg { width: 100%; height: 100%; }
    .pwa-nav-item.active .pwa-nav-icon { transform: translateY(-2px); }
    .pwa-nav-item.active .pwa-nav-icon svg { stroke-width: 2.2; }
    .pwa-nav-label { font-weight: 500; font-size: 0.65rem; }

    #pwaFloatingAI { position: fixed; bottom: 85px; right: 16px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border: none; font-size: 1.5rem; cursor: pointer; z-index: 9990; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(90,42,82,0.3), 0 0 20px rgba(90,42,82,0.15); animation: pwaFloat 3s ease-in-out infinite; padding: 0; overflow: hidden; }
    @keyframes pwaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
    #pwaAIChat { position: fixed; bottom: 150px; right: 16px; width: calc(100% - 32px); max-width: 380px; height: 450px; background: white; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.2); z-index: 9989; flex-direction: column; overflow: hidden; display: none !important; border: 1px solid rgba(56,25,50,0.1); }
    #pwaAIChat.active { display: flex !important; }
    .pwa-ai-header { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
    .pwa-ai-header h4 { margin: 0; font-size: 0.95rem; }
    .pwa-ai-header button { background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; }
    .pwa-ai-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: #f8f9fa; }
    .pwa-ai-welcome { background: white; padding: 0.8rem; border-radius: 10px; font-size: 0.85rem; color: #666; line-height: 1.5; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
    .pwa-ai-msg { padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.85rem; line-height: 1.4; max-width: 85%; word-wrap: break-word; }
    .pwa-ai-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 10px 0 10px 10px; }
    .pwa-ai-msg.bot { align-self: flex-start; background: white; color: var(--text-dark); border-radius: 0 10px 10px 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
    .pwa-ai-footer { display: flex; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid #f0f0f0; background: white; }
    .pwa-ai-footer input { flex: 1; border: 1.5px solid rgba(56,25,50,0.1); border-radius: 8px; padding: 0.7rem; font-size: 0.9rem; outline: none; }
    .pwa-ai-footer input:focus { border-color: var(--accent); }
    .pwa-ai-footer button { background: var(--primary); color: white; border: none; border-radius: 8px; padding: 0.7rem 1.2rem; font-weight: 600; cursor: pointer; }

    #pwaToastContainer { position: fixed; top: 70px; right: 10px; z-index: 10001; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
    .pwa-toast { background: var(--primary); color: white; padding: 0.8rem 1.2rem; border-radius: 10px; font-size: 0.85rem; font-weight: 500; box-shadow: 0 4px 12px rgba(0,0,0,0.15); animation: slideInRight 0.3s ease; max-width: 280px; pointer-events: auto; }
    .pwa-toast.success { background: #10b981; }
    .pwa-toast.error { background: #ef4444; }
    .pwa-empty-state { text-align: center; padding: 2rem; color: #bbb; font-size: 0.9rem; }

    #pwaTabOverlay::-webkit-scrollbar, #pwaNotificationPanel::-webkit-scrollbar, .pwa-ai-body::-webkit-scrollbar { width: 4px; }
    #pwaTabOverlay::-webkit-scrollbar-thumb, #pwaNotificationPanel::-webkit-scrollbar-thumb, .pwa-ai-body::-webkit-scrollbar-thumb { background: rgba(56,25,50,0.2); border-radius: 2px; }

    /* PWA AI typing indicator dots */
    .pwa-ai-msg.bot .loading {
        display: inline-block;
        width: 7px; height: 7px;
        border-radius: 50%;
        background: var(--accent);
        animation: pulse 1.5s infinite;
        margin-right: 3px;
    }
    .pwa-ai-msg.bot .loading:nth-child(2) { animation-delay: 0.2s; }
    .pwa-ai-msg.bot .loading:nth-child(3) { animation-delay: 0.4s; }

    /* Banner image upload drag area */
    #pwaBannerImageUploadWrap {
        transition: border-color 0.2s, background 0.2s;
    }
    #pwaBannerImageUploadWrap:hover {
        border-color: #5A2A52 !important;
        background: rgba(90,42,82,0.03);
    }

    /* ================================================================
       PWA HOME SCREEN — Hero Slider & Service Categories
       ONLY rendered inside display-mode: standalone (PWA install only)
       ================================================================ */

    /* Home screen wrapper — sits between pwaAppHeader and the body */
    #pwaHomeScreen {
        position: relative;
        z-index: 100;
        background: #f8f9fa;
        overflow: hidden;
        min-height: calc(100vh - 130px);
    }

    /* ── HERO SLIDER ──────────────────────────────────────────────── */
    #pwaHeroSlider {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 0 0 20px 20px;
        background: var(--primary);
        touch-action: pan-y pinch-zoom;
        user-select: none;
        -webkit-user-select: none;
    }

    #pwaHeroTrack {
        display: flex;
        width: 100%;
        will-change: transform;
    }

    .pwa-hero-slide {
        min-width: 100%;
        width: 100%;
        height: 220px;
        position: relative;
        display: flex;
        align-items: flex-end;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0 0 20px 20px;
        overflow: hidden;
    }

    .pwa-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.72) 0%,
            rgba(0,0,0,0.30) 55%,
            rgba(0,0,0,0.08) 100%
        );
        border-radius: 0 0 20px 20px;
    }

    .pwa-hero-body {
        position: relative;
        z-index: 2;
        padding: 1rem 1.2rem 1.1rem;
        width: 100%;
    }

    .pwa-hero-emoji {
        font-size: 2rem;
        margin-bottom: 0.25rem;
        display: block;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
    }

    .pwa-hero-subtitle {
        margin: 0 0 0.2rem;
        font-size: 0.7rem;
        font-weight: 600;
        color: rgba(255,255,255,0.8);
        text-transform: uppercase;
        letter-spacing: 0.8px;
        line-height: 1.3;
    }

    .pwa-hero-title {
        margin: 0 0 0.35rem;
        font-family: 'Playfair Display', serif;
        font-size: 1.15rem;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.3;
        text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    }

    .pwa-hero-desc {
        margin: 0 0 0.65rem;
        font-size: 0.78rem;
        color: rgba(255,255,255,0.82);
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pwa-hero-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.45rem 1rem;
        background: rgba(255,255,255,0.18);
        border: 1.5px solid rgba(255,255,255,0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #ffffff;
        font-size: 0.8rem;
        font-weight: 700;
        border-radius: 20px;
        cursor: pointer;
        transition: background 0.25s ease, transform 0.15s ease;
        letter-spacing: 0.3px;
    }

    .pwa-hero-cta:active {
        transform: scale(0.96);
        background: rgba(255,255,255,0.28);
    }

    /* Prev / Next arrow buttons */
    #pwaHeroPrev, #pwaHeroNext {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        background: rgba(255,255,255,0.18);
        border: 1px solid rgba(255,255,255,0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: white;
        font-size: 1.4rem;
        line-height: 1;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        opacity: 0;
        transition: opacity 0.3s;
        padding: 0;
    }

    #pwaHeroSlider:hover #pwaHeroPrev,
    #pwaHeroSlider:hover #pwaHeroNext { opacity: 1; }

    #pwaHeroPrev { left: 10px; }
    #pwaHeroNext { right: 10px; }

    /* Pagination dots */
    #pwaHeroDots {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 5px;
        z-index: 10;
    }

    .pwa-hero-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255,255,255,0.45);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
        flex-shrink: 0;
    }

    .pwa-hero-dot.active {
        width: 20px;
        border-radius: 3px;
        background: rgba(255,255,255,0.95);
    }

    /* ── SERVICE CATEGORIES ───────────────────────────────────────── */
    #pwaCategorySection {
        padding: 0.9rem 0 0.5rem;
        background: #f8f9fa;
    }

    .pwa-section-label {
        font-size: 0.72rem;
        font-weight: 700;
        color: #aaa;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        padding: 0 1.2rem 0.5rem;
    }

    #pwaCategoryScroll {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #pwaCategoryScroll::-webkit-scrollbar { display: none; }

    #pwaCategoryTrack {
        display: flex;
        gap: 0.55rem;
        padding: 0.2rem 1.2rem 0.7rem;
        width: max-content;
    }

    .pwa-cat-chip {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        background: white;
        border: 1.5px solid rgba(56,25,50,0.07);
        border-radius: 14px;
        padding: 0.65rem 0.9rem;
        cursor: pointer;
        transition: all 0.22s cubic-bezier(0.25,0.46,0.45,0.94);
        box-shadow: 0 2px 8px rgba(0,0,0,0.045);
        min-width: 68px;
        flex-shrink: 0;
    }

    .pwa-cat-chip:active {
        transform: scale(0.93);
        background: #fdf0f8;
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(90,42,82,0.12);
    }

    .pwa-cat-icon {
        width: 26px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent);
        transition: transform 0.2s ease;
    }

    .pwa-cat-icon svg {
        width: 100%;
        height: 100%;
    }

    .pwa-cat-chip:active .pwa-cat-icon {
        transform: scale(1.15);
    }

    .pwa-cat-label {
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--primary);
        white-space: nowrap;
        letter-spacing: 0.1px;
    }

    /* ── QUICK HIGHLIGHT BUTTONS ──────────────────────────────────── */
    #pwaHomeHighlights {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        padding: 0.5rem 1.2rem 1rem;
    }

    .pwa-highlight-card {
        background: white;
        border-radius: 14px;
        padding: 0.85rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        cursor: pointer;
        border: 1.5px solid rgba(56,25,50,0.07);
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        transition: all 0.22s ease;
    }

    .pwa-highlight-card:active {
        transform: scale(0.95);
        background: #fdf0f8;
        border-color: var(--accent);
    }

    .pwa-highlight-icon {
        font-size: 1.5rem;
    }

    .pwa-highlight-label {
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--primary);
        letter-spacing: 0.2px;
    }

    /* Smooth entrance animation */
    @keyframes pwaSlideDown {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    #pwaHomeScreen {
        animation: pwaSlideDown 0.4s ease both;
    }
}

@media all and (display-mode: standalone) {

    /* The generic hero-slider/category/highlight construct duplicated
       the real content below with separate placeholder copy. Per
       request, the REAL Home content (Hero/Services/Portfolio/Pricing/
       Trust/How-it-Works/Contact) stays and is restyled below instead —
       so this parallel screen is suppressed to avoid a duplicate hero. */
    #pwaHomeScreen { display: none !important; }

    /* ============================================================
       HERO — compact app banner instead of a full-screen website hero
       ============================================================ */
    .hero {
        min-height: 0 !important;
        padding: 1.5rem 1.25rem 0.5rem !important;
        display: block !important;
    }
    .hero::before, .hero::after { display: none !important; }
    .hero-container {
        display: block !important;
        max-width: 100% !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    .hero-content h1 {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.6rem !important;
        text-align: left !important;
    }
    .hero-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1.1rem !important;
        line-height: 1.5 !important;
    }
    .hero-buttons {
        gap: 0.6rem !important;
        flex-wrap: nowrap !important;
    }
    .hero-buttons .btn-large {
        flex: 1 1 0 !important;
        padding: 0.8rem 0.5rem !important;
        font-size: 0.85rem !important;
        border-radius: 14px !important;
        text-align: center !important;
        white-space: nowrap;
    }
    .hero-buttons .btn-large:active { transform: scale(0.96); }
    .hero-visual { margin-top: 1.3rem !important; animation: none !important; }
    .hero-card {
        padding: 0 !important;
        background: none !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        display: flex !important;
        gap: 0.7rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.3rem !important;
        scrollbar-width: none;
    }
    .hero-card::-webkit-scrollbar { display: none; height: 0; }
    .hero-card::before { display: none !important; }
    .feature-item {
        flex: 0 0 auto !important;
        width: 68% !important;
        max-width: 230px;
        scroll-snap-align: start;
        background: #fff;
        border: 1px solid rgba(56,25,50,0.08);
        border-radius: 16px;
        padding: 0.9rem;
        margin-bottom: 0 !important;
        box-shadow: 0 2px 10px rgba(56,25,50,0.06);
    }
    .feature-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.2rem !important;
        border-radius: 10px !important;
    }
    .feature-text h3 { font-size: 0.92rem !important; }
    .feature-text p { font-size: 0.78rem !important; line-height: 1.4; }

    /* ============================================================
       SHARED SECTION HEADER — compact, left-aligned app style
       ============================================================ */
    .section-header {
        text-align: left !important;
        margin-bottom: 1rem !important;
        animation: none !important;
    }
    .section-header h2 {
        font-size: 1.25rem !important;
        margin-bottom: 0.3rem !important;
        position: relative;
        padding-left: 0.75rem;
    }
    .section-header h2::before {
        content: '';
        position: absolute;
        left: 0; top: 0.18em;
        width: 4px; height: 0.8em;
        background: linear-gradient(180deg, var(--primary), var(--accent));
        border-radius: 3px;
    }
    .trust-section .section-header h2::before {
        background: linear-gradient(180deg, #fff, rgba(255,255,255,0.5));
    }
    .section-header p {
        font-size: 0.83rem !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    /* ============================================================
       Services / Portfolio / Pricing / Trust — horizontal swipe
       rows (the native-app pattern) instead of static desktop grids
       ============================================================ */
    .services, .portfolio-section, .pricing-section, .how-it-works {
        padding: 1.75rem 1.25rem !important;
        background: #fff !important;
    }
    .portfolio-section, .how-it-works { background: #fafafa !important; }
    .trust-section {
        padding: 1.75rem 1.25rem !important;
        background: linear-gradient(135deg, #381932 0%, #5A2A52 100%) !important;
    }

    .services-grid, .portfolio-grid, .pricing-grid, .trust-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        gap: 0.85rem !important;
        margin-top: 0 !important;
        padding: 0.2rem 0.2rem 0.5rem !important;
        scrollbar-width: none;
    }
    .services-grid::-webkit-scrollbar,
    .portfolio-grid::-webkit-scrollbar,
    .pricing-grid::-webkit-scrollbar,
    .trust-grid::-webkit-scrollbar { display: none; height: 0; }

    .service-card, .portfolio-card, .pricing-card, .trust-card {
        flex: 0 0 auto !important;
        scroll-snap-align: start;
        width: 78% !important;
        max-width: 280px;
        animation: none !important;
    }
    .service-card:hover, .portfolio-card:hover, .pricing-card:hover, .trust-card:hover {
        transform: none !important;
    }

    .service-card { padding: 1.25rem !important; border-radius: 18px !important; }
    .service-card:active { transform: scale(0.97) !important; }
    .service-icon { width: 48px !important; height: 48px !important; font-size: 1.4rem !important; margin-bottom: 1rem !important; }
    .service-card h3 { font-size: 1.05rem !important; }
    .service-card p { font-size: 0.85rem !important; margin-bottom: 1rem !important; }
    .service-list li { font-size: 0.82rem !important; padding: 0.32rem 0 0.32rem 1.3rem !important; }
    .btn-service { border-radius: 12px !important; padding: 0.75rem !important; }
    .btn-service:active { transform: scale(0.96); }

    .portfolio-card { padding: 1rem !important; border-radius: 16px !important; width: 72% !important; }
    .portfolio-card:active { transform: scale(0.97) !important; }
    .portfolio-image { height: 130px !important; font-size: 2.6rem !important; border-radius: 12px !important; }
    .portfolio-card h3 { font-size: 1rem !important; }
    .portfolio-card p { font-size: 0.82rem !important; }

    .pricing-card { padding: 1.4rem !important; border-radius: 16px !important; width: 76% !important; }
    .pricing-card:active { transform: scale(0.97) !important; }
    .pricing-card h3 { font-size: 1.1rem !important; }
    .pricing-amount { font-size: 1.35rem !important; margin-bottom: 1rem !important; }
    .pricing-features li { font-size: 0.85rem !important; padding: 0.3rem 0 !important; }
    .pricing-card .btn-primary { border-radius: 12px !important; }
    .pricing-card .btn-primary:active { transform: scale(0.96); }

    .trust-card { padding: 1.4rem !important; border-radius: 16px !important; width: 62% !important; max-width: 220px; }
    .trust-card:active { transform: scale(0.97) !important; }
    .trust-icon { font-size: 2.2rem !important; margin-bottom: 0.6rem !important; }
    .trust-card h3 { font-size: 1rem !important; }
    .trust-card p { font-size: 0.82rem !important; }

    /* ============================================================
       HOW IT WORKS — vertical connected timeline. Steps are
       sequential, so a swipe row would hide the order; a connected
       list is the native pattern for step-by-step/onboarding flows.
       ============================================================ */
    .steps-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    .step-card {
        display: flex !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 0.9rem !important;
        padding: 0.85rem 0 !important;
        border: none !important;
        background: none !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
        position: relative;
        animation: none !important;
    }
    .step-card:hover { transform: none !important; box-shadow: none !important; }
    .step-card:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 21px;
        top: 50px;
        bottom: -2px;
        width: 2px;
        background: rgba(56,25,50,0.12);
    }
    .step-number {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.05rem !important;
        margin: 0 !important;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }
    .step-card h3 { font-size: 0.95rem !important; margin-bottom: 0.25rem !important; }
    .step-card p { font-size: 0.82rem !important; }

    /* ============================================================
       CONTACT — compact app-style form card
       ============================================================ */
    .contact-section { padding: 1.75rem 1.25rem 2rem !important; }
    .contact-section h2 { font-size: 1.3rem !important; text-align: left !important; margin-bottom: 0.3rem !important; }
    .contact-section p { text-align: left !important; font-size: 0.85rem !important; margin-bottom: 1.25rem !important; }
    .contact-container { max-width: 100% !important; animation: none !important; }
    .form-group { margin-bottom: 1rem !important; animation: none !important; }
    .form-submit:active { transform: scale(0.97) !important; }
}

@media all and (display-mode: standalone), all and (display-mode: fullscreen) { }










/* ========== SPECTURE PWA INSTALL BANNER ==========
   Small, persistent, corner-cut banner — replaces the old round
   floating icon + full-width bottom sheet with a single compact CTA. */
.specture-install-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, #5A2A52 0%, #8B5CF6 100%);
    color: #fff;
    padding: 0.65rem 0.6rem 0.65rem 0.85rem;
    box-shadow: 0 6px 20px rgba(90,42,82,0.4);
    /* corner-cut: bottom-left corner sliced off, others stay sharp */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    max-width: 280px;
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.25,0.8,0.25,1), opacity 0.35s ease;
}

.specture-install-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.specture-install-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.specture-install-title {
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
}

.specture-install-cta {
    background: #fff;
    color: #5A2A52;
    border: none;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s;
    flex-shrink: 0;
}

.specture-install-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    background: #f8f8f8;
}

.specture-install-cta:active {
    transform: scale(0.95);
}

.specture-install-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.25s;
    flex-shrink: 0;
}

.specture-install-close:hover {
    background: rgba(255,255,255,0.35);
    transform: rotate(90deg);
}

@media (max-width: 480px) {
    .specture-install-banner {
        right: 14px;
        bottom: 14px;
        padding: 0.55rem 0.5rem 0.55rem 0.7rem;
        gap: 0.45rem;
    }
    .specture-install-title {
        font-size: 0.76rem;
    }
    .specture-install-cta {
        padding: 0.4rem 0.7rem;
        font-size: 0.72rem;
    }
}

@keyframes slideUpToast {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

#pwaManualModal > div {
    animation: fadeInScale 0.3s ease;
}

#pwaInstallToast {
    animation: slideUpToast 0.4s ease;
}
