@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #0F4C81;
    --primary-dark: #0A355C;
    --primary-light: #1E6BB8;
    --accent: #00B4D8;
    --accent-hover: #0096C7;
    --surface-light: #F8FAFC;
    --surface-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-light: rgba(226, 232, 240, 0.8);
    --border-dark: rgba(51, 65, 85, 0.5);
}

html, body, input, button, select, textarea, optgroup, p, span, a, h1, h2, h3, h4, h5, h6, div, label, li, td, th {
    font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.fa, .fas, .far, .fal, .fad, .fab, [class*="fa-"], [class^="fa-"] {
    font-family: "Font Awesome 6 Free" !important;
}
.fab {
    font-family: "Font Awesome 6 Brands" !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--surface-light);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Dark Mode Overrides */
html.dark body {
    background-color: var(--surface-dark);
    color: #F1F5F9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
html.dark ::-webkit-scrollbar-track {
    background: #1E293B;
}
::-webkit-scrollbar-thumb {
    background: #94A3B8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
html.dark .glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
html.dark .glass-nav {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Card Hover Micro-Interactions */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(15, 76, 129, 0.12), 0 8px 10px -6px rgba(15, 76, 129, 0.08);
}

/* Gradients */
.brand-gradient {
    background: linear-gradient(135deg, #0F4C81 0%, #1E6BB8 50%, #00B4D8 100%);
}
.brand-gradient-text {
    background: linear-gradient(135deg, #0F4C81 0%, #00B4D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
html.dark .brand-gradient-text {
    background: linear-gradient(135deg, #38BDF8 0%, #00B4D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pulsing Hotspots for Mockups */
.hotspot-pulse {
    position: absolute;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #00B4D8;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 11px;
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    animation: pulse-ring 1.8s infinite;
}
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(0, 180, 216, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

/* Sticky Action Bar for Product Pages */
.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-action-bar.visible {
    transform: translateY(0);
}

/* Wizard step transitions */
.wizard-step {
    display: none;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.wizard-step.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

/* SERP Google Preview styling */
.serp-box {
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    padding: 16px;
    font-family: Arial, sans-serif !important;
}
.serp-box * {
    font-family: Arial, sans-serif !important;
}
.serp-title {
    color: #1a0dab;
    font-size: 20px;
    line-height: 1.3;
    cursor: pointer;
}
.serp-url {
    color: #202124;
    font-size: 14px;
    line-height: 1.3;
    padding-bottom: 2px;
}
.serp-desc {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.58;
}
