/* 
 * Kofax Shop - Modern Homepage Enhancements
 * Applied over existing styles to modernize the UI without breaking SEO structure.
 */

:root {
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 86, 179, 0.15);
    --gradient-primary: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    --gradient-accent: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    --radius-lg: 16px;
    --radius-md: 12px;
}

/* Base Enhancements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Buttons */
.btn {
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 1rem 2.5rem !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4) !important;
}

.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.2) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-accent) !important;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,86,179,0.05) 0%, transparent 60%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem !important;
    line-height: 1.15;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-eyebrow {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Trust Bar */
.trust-bar {
    background: #fff !important;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0 !important;
}

.trust-bar-grid div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--gray-100);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
}

/* Adobe Alternative Section */
.adobe-alternative {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.adobe-alternative > div > div:nth-child(2) {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--gray-200) !important;
    padding: 2rem !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: var(--shadow-soft) !important;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover) !important;
    border-color: rgba(0, 86, 179, 0.3) !important;
}

.product-img {
    margin-bottom: 1.5rem !important;
    padding: 1rem;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    text-align: center;
}

.product-img img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-cat {
    color: var(--primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem;
}

.product-price {
    margin: 1.5rem 0 !important;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-current {
    font-size: 1.8rem !important;
    font-weight: 800;
    color: var(--heading) !important;
}

.product-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1rem;
}

.product-actions .btn {
    padding: 0.8rem 1rem !important;
    width: 100%;
}

/* Topical Pillars */
.topical-pillars > div > div > div {
    border: none !important;
    box-shadow: var(--shadow-soft) !important;
    border-radius: var(--radius-lg) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topical-pillars > div > div > div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg) !important;
    padding: 2.5rem !important;
    box-shadow: var(--shadow-soft) !important;
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: var(--gray-100);
    font-family: Georgia, serif;
    z-index: -1;
    line-height: 1;
}

/* Comparison Table */
.comparison-table-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--gray-100) !important;
    color: var(--heading);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    padding: 1.5rem !important;
}

.comparison-table td {
    padding: 1.2rem 1.5rem !important;
    border-bottom: 1px solid var(--gray-100) !important;
}

.check {
    color: #28a745 !important;
    font-size: 1.2rem;
    font-weight: bold;
}
