/* ===================================
   Modern Product Detail Page Styles
   =================================== */

/* Variables */
:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-info: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Product Detail Section */
.product-detail-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Hero Overview Section */
.product-overview {
    background: white;
    border-radius: 30px;
    padding: 0;
    margin-bottom: 4rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.product-overview .overview-content {
    padding: 4rem;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    position: relative;
}

.product-overview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.overview-content > * {
    position: relative;
    z-index: 1;
}

.overview-title {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.3;
    color: #1a202c;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.overview-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: inline-block;
}

.overview-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    font-size: 0.95rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.overview-desc {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.9;
    max-width: 800px;
}

/* Key Features - Modern Card Style */
.key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: -2rem;
    padding: 0 4rem 4rem;
    background: white;
}

.feature-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.feature-content h4 {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.5;
    font-weight: 500;
}

/* Section Containers - Improved */
.tech-specs,
.comparison-section,
.application-section,
.certification-section {
    background: white;
    border-radius: 30px;
    padding: 4rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Section Title - Modern Style */
.section-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    border: none;
}

/* Specs Grid - Card Style */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.spec-card {
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

.spec-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.spec-card h4::before {
    content: '';
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    opacity: 0.1;
}

.spec-card ul {
    list-style: none;
    padding: 0;
}

.spec-card li {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: #4a5568;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.spec-card li:last-child {
    border-bottom: none;
}

.spec-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.spec-card li:hover {
    padding-left: 2.5rem;
    color: #667eea;
}

/* Comparison Table - Modern Style */
.comparison-table {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: var(--gradient-primary);
}

.comparison-table th {
    padding: 1.5rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    border: none;
}

.comparison-table td {
    padding: 1.3rem 1.5rem;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #4a5568;
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
}

.comparison-table .highlight-col {
    background: rgba(102, 126, 234, 0.05);
    font-weight: 600;
    color: #667eea;
    position: relative;
}

.comparison-table .advantage {
    color: #48bb78;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-table .advantage::before {
    content: "↑";
    font-size: 1.2rem;
}

/* Application Grid - Modern Cards */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.app-card {
    background: white;
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
}

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.app-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.app-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.app-card ul {
    list-style: none;
    padding: 0;
}

.app-card li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #718096;
    position: relative;
    transition: color 0.3s ease;
}

.app-card li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    margin-right: 0.5rem;
}

.app-card:hover li {
    color: #4a5568;
}

/* Certification Grid - Premium Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.cert-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.cert-card:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

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

.cert-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.cert-icon i {
    font-size: 2.5rem;
    color: white;
}

.cert-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.cert-card p {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cert-desc {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* CTA Section - Premium Style */
.product-cta {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    color: white;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.product-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-cta > * {
    position: relative;
    z-index: 1;
}

.product-cta h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.product-cta h3 span {
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.product-cta h3 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.product-cta p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-3px);
}

/* Process Tabs - Modern Style */
.process-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: rgba(102, 126, 234, 0.05);
    padding: 0.5rem;
    border-radius: 15px;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: #667eea;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.tab-content {
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Process Flow - Modern Style */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    position: relative;
}

.flow-item {
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    color: #4a5568;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.flow-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.flow-item.highlight {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.process-flow i {
    color: #667eea;
    font-size: 1.5rem;
    animation: slideRight 1s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.process-features {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.process-features li {
    padding: 1rem;
    padding-left: 3rem;
    background: white;
    border-radius: 10px;
    position: relative;
    color: #4a5568;
    transition: all 0.3s ease;
}

.process-features li:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.process-features li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    width: 25px;
    height: 25px;
    background: var(--gradient-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

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

.smart-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.smart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.smart-card:hover::before {
    transform: scaleX(1);
}

.smart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.smart-card i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.smart-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.smart-card p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
}

/* Performance Table - Modern Style */
.performance-table {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.performance-table table {
    width: 100%;
    border-collapse: collapse;
}

.performance-table th,
.performance-table td {
    padding: 1.3rem;
    text-align: center;
    border: none;
    font-size: 0.95rem;
}

.performance-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.performance-table th {
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.performance-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.performance-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.performance-table td {
    color: #4a5568;
}

.performance-table .highlight-col {
    font-weight: 700;
    color: #667eea;
}

.performance-table .success {
    color: #48bb78;
    font-weight: 700;
    font-size: 1.1rem;
}

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

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.feature-card:hover::before {
    top: -150%;
    left: -150%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
}

/* Highlight Card Special */
.highlight-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.highlight-card h4 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Spec Table - Modern Style */
.spec-table {
    overflow: hidden;
    border-radius: 20px;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.spec-table table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 1.3rem 1.5rem;
    text-align: left;
    border: none;
}

.spec-table th {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    font-weight: 600;
    color: #667eea;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-table tbody tr {
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.spec-table tbody tr:last-child {
    border-bottom: none;
}

.spec-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
}

.spec-table td {
    color: #4a5568;
    font-size: 0.95rem;
}

.spec-table .highlight-text {
    color: #667eea;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-overview .overview-content,
    .tech-specs,
    .comparison-section,
    .application-section,
    .certification-section {
        padding: 2rem;
    }
    
    .overview-title {
        font-size: 2rem;
    }
    
    .key-features {
        padding: 0 2rem 2rem;
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .specs-grid,
    .application-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .product-cta {
        padding: 3rem 2rem;
    }
    
    .product-cta h3 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}