/* ============================================
   Product Landing Page Styles
   Extension for Aurica Circular Theme
   ============================================ */

/* Grid utilities not in compiled Tailwind */
.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .lg\:flex-row {
        flex-direction: row;
    }
    .lg\:flex-row-reverse {
        flex-direction: row-reverse;
    }
    .lg\:text-left {
        text-align: left;
    }
    .lg\:justify-start {
        justify-content: flex-start;
    }
}

/* Grid display */
.grid {
    display: grid;
}

/* Gap utilities */
.gap-6 {
    gap: 1.5rem;
}

.gap-12 {
    gap: 3rem;
}

/* Space utilities */
.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-16 > * + * {
    margin-top: 4rem;
}

/* Padding utilities */
.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* Text sizes */
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .md\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Text colors */
.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

/* Background colors with opacity */
.bg-aurica-beige\/30 {
    background-color: rgba(233, 227, 213, 0.3);
}

.bg-aurica-green\/10 {
    background-color: rgba(62, 142, 126, 0.1);
}

.bg-aurica-green\/5 {
    background-color: rgba(62, 142, 126, 0.05);
}

.bg-aurica-blue\/5 {
    background-color: rgba(30, 61, 89, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

/* Border utilities */
.border-2 {
    border-width: 2px;
}

.border-white {
    border-color: #ffffff;
}

.border-aurica-green {
    border-color: #3E8E7E;
}

.border-aurica-green\/20 {
    border-color: rgba(62, 142, 126, 0.2);
}

.border-aurica-blue {
    border-color: #1E3D59;
}

.border {
    border-width: 1px;
}

/* Ring utilities */
.ring-2 {
    box-shadow: 0 0 0 2px var(--tw-ring-color);
}

.ring-aurica-green {
    --tw-ring-color: #3E8E7E;
}

/* Scale */
.scale-105 {
    transform: scale(1.05);
}

/* Rounded */
.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadow */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

/* Transform */
.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Italic */
.italic {
    font-style: italic;
}

/* Font medium */
.font-medium {
    font-weight: 500;
}

/* Text sizes */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Opacity */
.opacity-75 {
    opacity: 0.75;
}

.opacity-80 {
    opacity: 0.8;
}

/* Width */
.w-full {
    width: 100%;
}

/* Height */
.h-48 {
    height: 12rem;
}

.h-16 {
    height: 4rem;
}

/* Max width */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-5xl {
    max-width: 64rem;
}

/* Backdrop blur */
.backdrop-blur {
    backdrop-filter: blur(8px);
}

/* Flex wrap */
.flex-wrap {
    flex-wrap: wrap;
}

/* Items start */
.items-start {
    align-items: flex-start;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem 1.5rem;
    text-align: left;
}

thead {
    background-color: #1E3D59;
    color: white;
}

tbody tr:nth-child(odd) {
    background-color: rgba(62, 142, 126, 0.03);
}

tbody tr:hover {
    background-color: rgba(62, 142, 126, 0.08);
}

/* Product Hero Section */
.product-hero {
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

/* Product Hero Logo - separate from navbar */
.product-hero-logo {
    height: 4rem; /* 64px */
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .product-hero-logo {
        height: 5rem; /* 80px */
    }
}

@media (min-width: 1024px) {
    .product-hero-logo {
        height: 6rem; /* 96px */
    }
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Adjustments for Products */
@media (max-width: 768px) {
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Stats Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Problem Cards */
.problem-card {
    background: linear-gradient(135deg, rgba(62, 142, 126, 0.05), rgba(30, 61, 89, 0.05));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(62, 142, 126, 0.1);
}

.problem-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Benefit Items */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: var(--color-secondary);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table tbody tr:nth-child(odd) {
    background: rgba(62, 142, 126, 0.03);
}

.comparison-table tbody tr:hover {
    background: rgba(62, 142, 126, 0.08);
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.pricing-period {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(233, 227, 213, 0.5), rgba(255, 255, 255, 0.8));
    border-radius: 16px;
    padding: 2rem;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    font-size: 2.5rem;
}

/* FAQ Items */
.faq-item {
    background: linear-gradient(135deg, rgba(233, 227, 213, 0.3), rgba(255, 255, 255, 0.5));
    border-radius: 12px;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: linear-gradient(135deg, rgba(233, 227, 213, 0.5), rgba(255, 255, 255, 0.8));
}

.faq-item h3 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Use Case Cards */
.usecase-card {
    background: linear-gradient(135deg, rgba(62, 142, 126, 0.03), rgba(30, 61, 89, 0.03));
    border: 1px solid rgba(62, 142, 126, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(62, 142, 126, 0.15);
}

.usecase-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.usecase-tag {
    display: inline-block;
    background: rgba(62, 142, 126, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Impact Section */
.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.impact-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* CTA Section */
.cta-section {
    background: var(--color-accent);
}

.cta-button-primary {
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 61, 89, 0.3);
}

.cta-button-secondary {
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: transparent;
}

.cta-button-secondary:hover {
    background: var(--color-secondary);
    color: white;
}

/* Products List Page */
.product-list-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.product-list-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-list-content {
    padding: 1.5rem;
}

/* Responsive Adjustments for Products */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .stat-value,
    .impact-value {
        font-size: 2rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 1rem;
    }
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
