/* ==========================================================================
   Get Me Amazon Reviews (www.getmeamazonreviews.com) - Design System & Theme
   Change your colors, fonts, and base sizing in this single file!
   ========================================================================== */

:root {
    --color-primary-50:  #eef2ff;
    --color-primary-100: #e0e7ff;
    --color-primary-200: #c7d2fe;
    --color-primary-500: #6366f1;
    --color-primary-600: #4f46e5;
    --color-primary-700: #4338ca;
    --color-primary-800: #3730a3;
    --color-primary-900: #312e81;

    --color-bg-main:     #f8fafc;
    --color-card-bg:     #ffffff;
    --color-text-main:   #334155;
    --color-text-dark:   #0f172a;
    --color-text-muted:  #64748b;
    --color-border:      #e2e8f0;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    --shadow-soft: 0 20px 50px -12px rgba(15, 23, 42, 0.08), 0 4px 16px -4px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 20px -6px rgba(79, 70, 229, 0.08);
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: var(--line-height-base);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    letter-spacing: -0.025em;
}

/* Tailwind v4 utility compatibility shims */
.shadow-2xs { box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.04); }
.shadow-xs  { box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06); }
.backdrop-blur-xs { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.text-balance { text-wrap: balance; }

/* Keyboard Accessibility Focus Indicators (WCAG 2.2 AA) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
}

/* Custom interactive details helper & FAQ polish */
details > summary {
    list-style: none;
    transition: color 0.2s ease;
}
details > summary::-webkit-details-marker {
    display: none;
}
details {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
details[open] {
    border-color: var(--color-primary-200) !important;
    box-shadow: 0 12px 32px -10px rgba(79, 70, 229, 0.08);
}

/* Hero Background Pattern with Radial Fade */
.hero-grid {
    background-image:
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08), transparent 70%),
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 36px 36px, 36px 36px;
}

/* Tactile Card Elevation & Hover Micro-Interactions */
article,
.shadow-soft,
#pricing .rounded-3xl,
#testimonials .rounded-3xl,
#process .rounded-2xl {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease;
}

article:hover,
#testimonials .rounded-3xl:hover,
#pricing .rounded-3xl:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

#process .rounded-2xl:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(79, 70, 229, 0.08);
}

/* Crisp 3D Hardware Sheen on Primary Buttons */
.bg-primary-600 {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.22),
                0 4px 14px 0 rgba(79, 70, 229, 0.22);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s ease,
                box-shadow 0.2s ease;
}
.bg-primary-600:hover {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
                0 6px 20px 0 rgba(79, 70, 229, 0.3);
}

/* Refined Focus Rings on Form Inputs */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

/* Editorial Typography Polish for CMS Articles (.prose) */
.prose h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
    color: var(--color-text-dark);
    line-height: 1.3;
}
.prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
    color: var(--color-text-dark);
}
.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}
.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.prose strong {
    color: var(--color-text-dark);
    font-weight: 700;
}
.prose blockquote {
    border-left: 3px solid var(--color-primary-600);
    padding-left: 1rem;
    font-style: italic;
    color: #475569;
    margin: 1.5rem 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
