/*
 * Pitechpedia Products V2 — "Innovation Hub" Design
 * High-fidelity, cinematic Products hub inspired by modern AI innovation platforms.
 */

:root {
    --prod-blue: #1A73E8;
    --prod-blue-dark: #174EA6;
    --prod-blue-light: #E8F0FE;
    --prod-text: #202124;
    --prod-sub: #5F6368;
    --prod-white: #FFFFFF;
    --prod-bg: #F8F9FA;
    --shadow-card: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.1);
}

.prod-v2-page {
    background: var(--prod-white);
    color: var(--prod-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

.prod-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TIER 1: CINEMATIC SPLIT HERO ===== */
.prod-hero {
    padding: 140px 0 100px;
    background: radial-gradient(circle at top right, rgba(26, 115, 232, 0.05), transparent 60%);
    position: relative;
    overflow: hidden;
}

.prod-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.prod-headline {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.prod-sub {
    font-size: 1.25rem;
    color: var(--prod-sub);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 40px;
}

.btn-prod-primary {
    background: var(--prod-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-prod-primary:hover {
    background: var(--prod-blue-dark);
    transform: translateY(-2px);
}

/* Robotic/Automation Visual on Pedestal */
.prod-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-pedestal {
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(26, 115, 232, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
}

.visual-pedestal::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 40px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    filter: blur(10px);
}

.robot-arm-img {
    width: 110%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* ===== TIER 2: PRODUCT DISCOVERY GRID ===== */
.prod-discovery {
    padding-bottom: 120px;
}

.discovery-headline {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

.discovery-headline .highlight {
    color: var(--prod-blue);
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--prod-white);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(60,64,67,0.1), 0 1px 2px rgba(60,64,67,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* Floating Icon Badge */
.card-icon-badge {
    position: absolute;
    bottom: -20px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--prod-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--prod-blue);
    z-index: 5;
}

.card-info {
    padding: 40px 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-info p {
    font-size: 0.95rem;
    color: var(--prod-sub);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.learn-more-link {
    color: var(--prod-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.learn-more-link:hover { text-decoration: underline; }

/* ===== TIER 3: INTELLIGENT TECHNOLOGY (Feature Row) ===== */
.prod-technology {
    padding: 100px 0 140px;
    border-top: 1px solid #F1F3F4;
}

.tech-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tech-header .highlight {
    color: var(--prod-sub);
    font-weight: 500;
}

.tech-header p {
    color: var(--prod-sub);
    max-width: 700px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tech-card {
    text-align: left;
}

.tech-icon-box {
    margin-bottom: 24px;
    color: var(--prod-blue);
}

.tech-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tech-card p {
    font-size: 0.95rem;
    color: var(--prod-sub);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .prod-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .prod-sub { margin: 0 auto 40px; }
    .discovery-grid { grid-template-columns: 1fr 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .prod-headline { font-size: 3rem; }
    .discovery-grid { grid-template-columns: 1fr; }
}
