/* RepairCenterPOS Marketing Site - Custom Styles */
/* Beyond Tailwind CSS utilities */

/* ===== CSS Custom Properties ===== */
:root {
    --brand-blue: #0078C0;
    --brand-blue-dark: #005A8E;
    --brand-blue-light: #E6F3FB;
    --brand-teal: #4cc0c1;
    --brand-green: #50BF40;
    --brand-dark: #0f172a;
    --brand-dark-light: #1e293b;
    --surface-light: #f8fafc;
    --surface: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #93c5fd 50%, var(--brand-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-dark {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Hero Background Pattern ===== */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0c2d4a 40%, var(--brand-blue) 100%);
}

/* ===== Glass Morphism ===== */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ===== Card Hover Effects ===== */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 120, 192, 0.15);
}

/* ===== Screenshot Float Effect ===== */
.screenshot-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ===== Smooth Scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Number Counter Animation ===== */
.counter-animate {
    transition: all 0.5s ease-out;
}

/* ===== Feature Icon Container ===== */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.feature-icon-blue {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
}

.feature-icon-teal {
    background: #e0f7f7;
    color: var(--brand-teal);
}

.feature-icon-green {
    background: #e8f8e5;
    color: var(--brand-green);
}

/* ===== Mega Menu ===== */
.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.mega-menu.active,
[x-show].mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* ===== Breadcrumb ===== */
.breadcrumb-separator::after {
    content: '/';
    margin: 0 8px;
    color: var(--text-secondary);
}

/* ===== FAQ Accordion ===== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

/* ===== Screenshot Placeholder ===== */
.screenshot-placeholder {
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 100%);
    border: 2px dashed var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--text-secondary);
    font-size: 48px;
}

/* ===== CTA Section Gradient ===== */
.cta-gradient {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0c2d4a 50%, var(--brand-blue-dark) 100%);
}

/* ===== Integration Logo Grid ===== */
.integration-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.integration-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== Testimonial Card ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 64px;
    color: var(--brand-blue-light);
    font-family: Georgia, serif;
    line-height: 1;
}

/* ===== Pricing Card ===== */
.pricing-popular {
    border: 2px solid var(--brand-blue);
    position: relative;
}

.pricing-popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-blue);
    color: white;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Stat Counter ===== */
.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== Print Styles ===== */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }
}

/* ===== Focus Styles for Accessibility ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Modern Enhancements ===== */

/* Animated Gradient Border */
.gradient-border {
    position: relative;
    background: white;
    border: none;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Glow Effects */
.glow-blue {
    box-shadow: 0 0 20px rgba(0, 120, 192, 0.12), 0 0 60px rgba(0, 120, 192, 0.04);
}

.glow-green {
    box-shadow: 0 0 20px rgba(80, 191, 64, 0.12), 0 0 60px rgba(80, 191, 64, 0.04);
}

.glow-teal {
    box-shadow: 0 0 20px rgba(76, 192, 193, 0.12), 0 0 60px rgba(76, 192, 193, 0.04);
}

/* Shimmer CTA Button */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
    transform: translateX(-100%) rotate(30deg);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* Mesh Gradient Background */
.mesh-gradient {
    background:
        radial-gradient(at 20% 30%, rgba(0, 120, 192, 0.06) 0%, transparent 50%),
        radial-gradient(at 80% 20%, rgba(76, 192, 193, 0.05) 0%, transparent 50%),
        radial-gradient(at 50% 80%, rgba(80, 191, 64, 0.03) 0%, transparent 50%);
}

/* Animated Orbs for Hero */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 120, 192, 0.15);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(76, 192, 193, 0.12);
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(80, 191, 64, 0.1);
    top: 50%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Coming Soon Badge */
.coming-soon-card {
    position: relative;
    opacity: 0.55;
    filter: saturate(0.5);
    pointer-events: none;
}

.coming-soon-badge {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
    color: white;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Modern Card Variant */
.card-modern {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 120, 192, 0.15), 0 0 0 1px rgba(0, 120, 192, 0.1);
    border-color: transparent;
}

/* Pulse Dot (for live indicators) */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Automation Flow Line */
.flow-line {
    position: relative;
}

.flow-line::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: -24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-blue), transparent);
}

.flow-line:last-child::after {
    display: none;
}

/* Updated Hero Gradient - More vibrant */
.hero-gradient-v2 {
    background: linear-gradient(135deg, #0a0f1a 0%, #0c2d4a 30%, var(--brand-blue) 70%, #0e7490 100%);
}

/* Bento Grid Item */
.bento-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 120, 192, 0.2);
}
