/**
 * Product Page Styles
 * DatArk Private Storage 제품 소개 페이지
 */

/* ==========================================
   Product Hero Section
   ========================================== */

.product-hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0d2037 100%);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.product-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 200, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 150, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 400px;
    height: auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 200, 255, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 50px;
}

.hero-image {
    margin: 60px 0;
    padding: 20px;
}

.hero-image img {
    max-width: 1000px;
    width: 100%;
    height: auto;
}

.hero-actions {
    margin-top: 40px;
}

.btn-demo {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #00d9ff 100%);
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
}

.btn-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.5);
}

/* ==========================================
   Data Security Section
   ========================================== */

.data-security-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, #0a1628 0%, #0d2037 100%);
    position: relative;
}

.security-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.security-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
    line-height: 1.3;
}

.security-text p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

.security-visual img {
    margin: 0 auto;
    max-width: 800px;
    margin: 0 auto;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 200, 255, 0.3));
    margin: 0 auto;
}
    margin: 0 auto;

/* ==========================================
   Comparison Section
   ========================================== */

.comparison-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0d2037 0%, #0a1628 100%);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 50px 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.comparison-item.centralized {
    border-color: rgba(255, 100, 100, 0.3);
    background: linear-gradient(135deg, rgba(50, 20, 20, 0.3) 0%, rgba(30, 15, 15, 0.2) 100%);
}

.comparison-item.distributed {
    border-color: rgba(0, 150, 255, 0.3);
    background: linear-gradient(135deg, rgba(10, 30, 50, 0.3) 0%, rgba(5, 20, 35, 0.2) 100%);
}

.comparison-item.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 30px;
}


.comparison-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.comparison-visual {
    margin-bottom: 30px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.comparison-item h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 30px;
    text-align: center;
}

.comparison-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-left: unset;
    width: 100%;
}

.comparison-features .feature-item i {
    font-size: 20px;
}

.comparison-features .feature-item.negative {
    color: #ff6b6b;
}

.comparison-features .feature-item.positive {
    color: #00d9ff;
}

/* ==========================================
   Key Features Section
   ========================================== */

.key-features-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d2847 50%, #0a1628 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-box {
    background: linear-gradient(135deg, rgba(10, 30, 50, 0.6) 0%, rgba(10, 35, 55, 0.4) 100%);
    border: 2px solid rgba(0, 200, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 200, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 200, 255, 0.2);
}

.feature-visual {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-box h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 16px;
    text-align: center;
}

.feature-box p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    text-align: center;
}

/* ==========================================
   User Features Section
   ========================================== */

.user-features-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d2037 100%);
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-layout.reverse {
    direction: rtl;
}

.features-layout.reverse > * {
    direction: ltr;
}

.features-visual img {
    width: 100%;
    height: auto;
}

.content-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #00d9ff 100%);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.content-badge.admin {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff9a4f 100%);
}

.features-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.features-intro {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.features-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text-white);
    padding: 16px;
    background: rgba(0, 200, 255, 0.05);
    border-left: 3px solid var(--accent-blue);
    border-radius: 8px;
}

.features-list .feature-item i {
    color: var(--accent-blue);
    margin-top: 2px;
    font-size: 18px;
}

/* ==========================================
   Admin Features Section
   ========================================== */

.admin-features-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0d2037 0%, #0a1628 100%);
}

.admin-features-section .features-list .feature-item {
    border-left-color: #ff6b9d;
    background: rgba(255, 107, 157, 0.05);
}

.admin-features-section .features-list .feature-item i {
    color: #ff6b9d;
}

/* ==========================================
   Access Methods Section
   ========================================== */

.access-methods-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d2847 100%);
}

.access-diagram {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.access-diagram img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 200, 255, 0.3));
}

/* ==========================================
   Data Flow Section
   ========================================== */

.data-flow-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0d2037 100%);
    position: relative;
    overflow: hidden;
}

.data-flow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 200, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 150, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Desktop/Mobile Toggle */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* ==========================================
   MOBILE FLOW SLIDER - 심플한 구조
   ========================================== */

#productFlowMobileContainer {
    width: 100%;
    padding: 40px 0;
}

#productFlowSwiperUnique {
    width: 100%;
}

#productFlowSwiperUnique .swiper-slide {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.pf-card {
    background: linear-gradient(135deg, rgba(10, 30, 50, 0.8) 0%, rgba(10, 35, 55, 0.6) 100%);
    border: 2px solid rgba(0, 200, 255, 0.3);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    max-width: 350px;
}

.pf-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pf-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pf-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.pf-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

#productFlowPagination {
    position: relative;
    margin-top: 30px;
}

#productFlowPagination .swiper-pagination-bullet {
    background: rgba(0, 200, 255, 0.5);
}

#productFlowPagination .swiper-pagination-bullet-active {
    background: var(--accent-blue);
}

.flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.flow-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.flow-step {
    background: linear-gradient(135deg, rgba(10, 30, 50, 0.8) 0%, rgba(10, 35, 55, 0.6) 100%);
    border: 2px solid rgba(0, 200, 255, 0.3);
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    opacity: 1;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Desktop flow step width */
.desktop-only .flow-step {
    width: 300px;
}

/* Mobile slider flow step */
.mobile-only .flow-step {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.flow-arrow {
    font-size: 32px;
    color: var(--accent-blue);
    font-weight: 300;
}

.flow-arrow.down {
    text-align: center;
}

/* 하이라이트 상태 - JavaScript로 제어 */
.flow-step.highlight {
    border-color: rgba(0, 200, 255, 0.9);
    box-shadow:
        0 20px 60px rgba(0, 200, 255, 0.4),
        inset 0 0 30px rgba(0, 200, 255, 0.15);
}

.step-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.step-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.step-info p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}



/* ==========================================
   CTA Section
   ========================================== */

.product-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0d2847 0%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}

.product-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 200, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1200px) {
    .features-grid-4 {
        grid-template-columns: 1fr;
    }

    .flow-step {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .product-hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-logo {
        max-width: 280px !important;
    }

    .security-content,
    .comparison-grid,
    .features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .comparison-visual {
        height: 200px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .features-content h2 {
        font-size: 28px;
    }

    /* Desktop flow steps in mobile view */
    .desktop-only .flow-step {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .flow-arrow:not(.down) {
        display: none;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }

    /* Hide desktop flow diagram on mobile */
    .desktop-only {
        display: none !important;
    }

    /* Show mobile slider on mobile */
    .mobile-only {
        display: block !important;
    }
}
