/* Product Page Specific Styles */

.product-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1.2;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: var(--accent-gradient);
    opacity: 0.1;
    filter: blur(40px);
    z-index: -1;
    border-radius: 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(194, 30, 2, 0.1);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(194, 30, 2, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

/* Interactive Modules Section */
.modules-container {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    min-height: 400px;
}

.modules-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-item {
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-item:hover {
    background: rgba(194, 30, 2, 0.05);
}

.module-item.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(194, 30, 2, 0.2);
}

.module-item.active svg {
    transform: translateX(5px);
}

.module-item svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.module-content {
    flex: 2;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.module-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(194, 30, 2, 0.05), transparent);
    z-index: 0;
}

.module-detail {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    position: absolute;
    padding: 3rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}

.module-detail.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.module-detail h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.module-detail h3 .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.module-detail p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Download CTA */
.cta-section {
    background: var(--accent-gradient);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: white;
    color: var(--accent-primary);
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .product-hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .modules-container {
        flex-direction: column;
    }

    .module-content {
        min-height: 300px;
    }
}

/* OBE Module Specific Styles */

.section-obe {
    background: #ffffff;
    position: relative;
    padding: 8rem 0;
}

.obe-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.obe-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.obe-text p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.obe-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 102, 255, 0.08);
    color: #0066ff;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Flow Visualizer */
.obe-flow-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.flow-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flow-header {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid #0066ff;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 1.5rem;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #eef1f6;
}

.flow-step {
    position: relative;
    padding-bottom: 2rem;
}

.flow-step::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: -1.5rem;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid #0066ff;
    border-radius: 50%;
    z-index: 2;
    transform: translateX(-50%);
    transition: var(--transition);
}

.flow-step:hover::before {
    background: #0066ff;
    transform: translateX(-50%) scale(1.3);
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-card:hover {
    background: white;
    border-color: #0066ff;
    color: #0066ff;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.05);
    transform: translateX(10px);
}

.step-card svg {
    width: 18px;
    height: 18px;
    color: #0066ff;
    opacity: 0.5;
}

/* Methodology Comparison */
.comparison-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.comp-card {
    background: white;
    border-radius: 30px;
    padding: 3.5rem;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.comp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.comp-card.direct {
    border-top: 6px solid #0066ff;
}

.comp-card.indirect {
    border-top: 6px solid #00c2ff;
}

.comp-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.direct .comp-icon { background: rgba(0, 102, 255, 0.1); color: #0066ff; }
.indirect .comp-icon { background: rgba(0, 194, 255, 0.1); color: #00c2ff; }

.comp-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.comp-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comp-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.direct .comp-item svg { color: #0066ff; }
.indirect .comp-item svg { color: #00c2ff; }

@media (max-width: 992px) {
    .obe-intro-grid, .obe-flow-container, .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comp-card {
        padding: 2rem;
    }
}
