/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@600;700&family=Manrope:wght@400;500;600&display=swap');

/* Custom Styles for Dynamic Effects */
.icon-hover-box {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.icon-hover-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.text-reveal-gradient {
    background-image: linear-gradient(to right, #0052cc, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fade-in 0.8s ease-out 0.2s both;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.code-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 82, 204, 0.04), rgba(255, 255, 255, 0.06)), url('hero-bg.jpg') center center/cover no-repeat;
    filter: blur(3px);
    transform: scale(1.01) scaleY(-1);
    opacity: 0.2;
    z-index: 1;
}

.code-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
}

.hero-glow-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(0, 82, 204, 0.0), rgba(0, 82, 204, 0.35), rgba(0, 82, 204, 0.0));
    box-shadow: 0 0 48px 10px rgba(0, 82, 204, 0.22);
    pointer-events: none;
    z-index: 5;
}

.hero-text-contrast {
    color: #0f172a;
    text-shadow: 0 2px 10px rgba(255,255,255,0.55);
}

.text-glass-glow {
    text-shadow: 0 0 10px rgba(255,255,255,0.38), 0 0 18px rgba(255,255,255,0.28);
}


.accuracy-badge {
    margin-top: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08), rgba(37, 99, 235, 0.08));
    border: 1px solid rgba(0, 82, 204, 0.15);
    border-radius: 10px;
    text-align: center;
    animation: fade-in 0.6s ease-out;
}

.accuracy-badge-content {
    font-size: 13px;
    font-weight: 600;
    color: #0052cc;
}

.accuracy-percentage {
    font-size: 16px;
    font-weight: 700;
    color: #0052cc;
    margin-right: 4px;
}

.accuracy-label {
    font-size: 12px;
    color: #3b4a5a;
    margin-top: 4px;
}

.accuracy-badge-limited {
    background: linear-gradient(135deg, rgba(107,114,128,0.07), rgba(107,114,128,0.07));
    border-color: rgba(107,114,128,0.18);
}

.accuracy-limited-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.accuracy-limited-body {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.accuracy-limited-body a {
    color: #0052cc;
    text-decoration: underline;
}

.shopify-affiliate-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f6fff9 0%, #edfff5 100%);
    border: 1.5px solid #96e6b3;
    border-radius: 12px;
    animation: fade-in 0.5s ease-out;
    flex-wrap: wrap;
}

.shopify-affiliate-card .sac-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a7a44;
    background: #c3f6d7;
    border-radius: 20px;
    padding: 2px 8px;
    margin-bottom: 4px;
}

.shopify-affiliate-card .sac-text {
    font-size: 13px;
    color: #1c4e32;
    line-height: 1.4;
    flex: 1;
    min-width: 140px;
}

.shopify-affiliate-card .sac-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0d3d25;
    margin-bottom: 1px;
}

.shopify-affiliate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1db954, #16a34a);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.35);
}

.shopify-affiliate-btn:hover {
    background: linear-gradient(135deg, #17a348, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(22, 163, 74, 0.45);
}

.report-link-badge {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    animation: fade-in 0.6s ease-out;
}

.report-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0052cc, #2563eb);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
}

.report-link-btn:hover {
    background: linear-gradient(135deg, #003fa3, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 82, 204, 0.45);
}

/* Custom Button Styling */
.download-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -2px rgba(0, 82, 204, 0.4);
}
.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -3px rgba(37, 99, 235, 0.6);
}

/* Scan progress step animations */
@keyframes step-appear {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}
.scan-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    animation: step-appear 0.3s ease-out both;
}
.scan-step.pending { color: #6b7280; }
.scan-step.active { color: #0052cc; background: rgba(0,82,204,0.07); font-weight: 600; }
.scan-step.done { color: #059669; }
.scan-step-icon { flex-shrink: 0; width: 16px; height: 16px; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.spin-slow { animation: spin-slow 1s linear infinite; display: inline-block; }

/* External tech-page link icon on scanner result rows */
.tech-page-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #3b4a5a;
    text-decoration: none;
    transition: color 0.15s;
}
.tech-page-link:hover {
    color: #0052cc;
}
/* Expand tap target to 44×44px without affecting layout */
.tech-page-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 44px;
    min-height: 44px;
}

/* Buy Me A Coffee Button Styling */
.bmc-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -2px rgba(255, 221, 0, 0.6);
}
.bmc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -3px rgba(255, 221, 0, 0.9);
}

/* Utility for Icon initialization (Lucide) */
[data-lucide] {
    stroke-width: 2.5;
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero text 15% size reduction */
h1.hero-text-contrast {
    font-size: 1.9125rem; /* text-4xl (2.25rem) × 0.85 */
}
@media (min-width: 640px) {
    h1.hero-text-contrast {
        font-size: 3.1875rem; /* text-6xl (3.75rem) × 0.85 */
    }
}
@media (min-width: 1024px) {
    h1.hero-text-contrast {
        font-size: 3.825rem; /* text-7xl (4.5rem) × 0.85 */
    }
}
h2.hero-text-contrast {
    font-size: 1.0625rem; /* text-xl (1.25rem) × 0.85 */
}
@media (min-width: 640px) {
    h2.hero-text-contrast {
        font-size: 1.275rem; /* text-2xl (1.5rem) × 0.85 */
    }
}
