/* ========================================
   UREA COATING PAGE STYLES
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #2d3436;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.urea-hero {
    min-height: 40vh;
    background-image: url('https://cdn.imweb.me/thumbnail/20250826/c41161e337bfe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 140px 30px 40px 30px;
    position: relative;
    overflow: hidden;
}

.urea-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.urea-hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.urea-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
    line-height: 1.1;
    word-break: keep-all;
    word-wrap: break-word;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.urea-hero-content p {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    word-break: keep-all;
    word-wrap: break-word;
    color: white;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* Main Content */
.urea-content {
    background: white;
    padding: 80px 0;
}

.urea-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Application Images */
.application-images {
    margin-bottom: 60px;
}

.image-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    justify-items: center;
}

.image-item {
    text-align: center;
}

.image-item img {
    width: 260px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.image-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 12px 0 0 0;
    font-weight: 500;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #FF8A4C;
    word-break: keep-all;
    word-wrap: break-word;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3436;
    margin: 0 0 30px 0;
    word-break: keep-all;
    word-wrap: break-word;
}

.subsection-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
    margin: 40px 0 30px 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(90, 124, 106, 0.3);
}

.feature-icon img {
    width: 55px;
    height: 55px;
    filter: brightness(0) invert(1);
}

.feature-content h4 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #2d3436;
    word-break: keep-all;
}

.feature-content p {
    font-size: 12px;
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
    word-break: keep-all;
}

/* Application Cards */
.application-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.app-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-card-image {
    width: 100%;
    padding-bottom: 133.33%;
    position: relative;
    overflow: hidden;
}

.app-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70px;
    text-align: center;
}

.app-card-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #2d3436;
    line-height: 1.2;
}

/* Product Table */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
    border: 1px solid #dee2e6;
}

.product-table thead tr {
    background: #f8f9fa;
}

.product-table th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 700;
    color: #2d3436;
    border: 1px solid #dee2e6;
    word-break: keep-all;
    word-wrap: break-word;
}

.product-table td {
    padding: 12px;
    text-align: center;
    color: #495057;
    border: 1px solid #dee2e6;
    word-break: keep-all;
    word-wrap: break-word;
}

.product-table .category-cell {
    font-weight: 600;
    color: #1e2438;
    vertical-align: middle;
    background: #f6f7f9;
}

.product-table .category-cell:nth-of-type(2) {
    color: #2a3348;
    background: #f4f5f7;
}

.product-table .category-cell:nth-of-type(3) {
    color: #6c757d;
    background: #f8f9fa;
}

.product-table .product-name {
    font-weight: 600;
    color: #2d3436;
}

/* Guide Table */
.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
    border: 2px solid #1e2438;
    box-shadow: 0 4px 15px rgba(30, 36, 56, 0.1);
}

.guide-table thead tr {
    background: linear-gradient(135deg, #1e2438, #2a3348);
}

.guide-table th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 700;
    color: white;
    border: 1px solid #1e2438;
    word-break: keep-all;
    font-size: 13px;
}

.guide-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #dee2e6;
    font-size: 12px;
}

.guide-table .sector-name {
    font-weight: 600;
    color: #2d3436;
    background: #f8fafc;
    font-size: 10px;
}

.guide-table .recommended {
    background: #f58f27;
    color: white;
    font-weight: bold;
}

.guide-table .moderate {
    background: #FFCAA6;
    color: white;
    font-weight: bold;
}

/* Table Legend */
.table-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 15px;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
}

.legend-color.recommended {
    background: #f58f27;
}

.legend-color.moderate {
    background: #FFCAA6;
}

.legend-item span {
    color: #2d3436;
}

.legend-item:last-child span {
    color: #6c757d;
}

/* View Images Button */
.view-images-btn-container {
    text-align: center;
    margin-top: 40px;
}

.view-images-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 35px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    border: 2px solid #dc3545;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-images-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(90, 122, 115, 0.6);
    background: linear-gradient(135deg, #5A7A73, #6B8A82);
    border-color: #5A7A73;
}

/* Collapsible Section */
.collapsible-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.collapsible-header {
    padding: 20px 30px;
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.collapsible-header:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
}

.collapsible-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    word-break: keep-all;
}

.collapsible-header .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collapsible-content.active {
    max-height: 2000px;
}

.collapsible-inner {
    padding: 30px;
}

.collapsible-inner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* System Grid */
.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.system-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 25px 10px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.system-card h3 {
    font-size: 12px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 20px 0;
}

.system-diagram {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 4px;
}

.layer {
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.layer.base {
    padding: 8px;
}

.layer-special {
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.layer-name {
    font-weight: 700;
    font-size: 11px;
}

.layer-desc {
    font-size: 8px;
    font-weight: 500;
    line-height: 1;
}

/* NK Features Grid */
.nk-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.nk-feature-card {
    background: white;
    border: 1px solid #e9ecef;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    word-break: keep-all;
    word-wrap: break-word;
}

.nk-feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.nk-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.nk-feature-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
    text-align: left;
}

.nk-feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    margin: 0;
    text-align: left;
}

/* NK Comparison Grid */
.nk-comparison-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.comparison-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 15px 0;
    text-align: center;
}

.comparison-image {
    position: relative;
    display: block;
    width: 100%;
}

.comparison-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.comparison-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 10px 0 0 0;
    text-align: center;
}

/* Application Method */
.method-header {
    text-align: center;
    margin-bottom: 30px;
}

.method-title-box {
    display: inline-block;
    background: linear-gradient(135deg, #1e2438, #2a3348);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    margin-bottom: 20px;
}

.method-title-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.method-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #2d3436;
    margin: 0;
    word-break: keep-all;
    word-wrap: break-word;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.usage-card {
    background: #f8f9fa;
    border-left: 4px solid;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.usage-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e2438;
    margin: 0 0 15px 0;
}

.usage-card p {
    font-size: 18px;
    font-weight: 600;
    color: #6c757d;
    margin: 0;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.step-item {
    text-align: center;
}

.step-image {
    height: 150px;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.step-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.step-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    margin: 0;
    word-break: keep-all;
}

/* Completion Highlight */
.completion-highlight {
    text-align: center;
    margin: 30px 0;
}

.completion-badge {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 600;
}

.completion-highlight h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #2d3436;
}

.completion-highlight p {
    font-size: 16px;
    margin: 0;
    color: #6c757d;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   TABLET RESPONSIVE STYLES (769px - 1024px)
   ============================================= */

@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero Section */
    .urea-hero {
        min-height: 40vh;
        padding: 120px 40px 35px 40px;
    }

    .urea-hero-content h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .urea-hero-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Content */
    .urea-content {
        padding: 70px 30px;
    }

    .section-title {
        font-size: 30px;
    }

    .subsection-title {
        font-size: 22px;
    }

    /* Features Grid - 2 columns */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Applications Grid - 2 columns */
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* =============================================
   MOBILE RESPONSIVE STYLES (≤768px)
   ============================================= */

@media (max-width: 768px) {
    .urea-hero {
        min-height: 35vh !important;
        padding: 100px 20px 30px 20px !important;
    }

    .urea-hero-content h1 {
        font-size: 26px !important;
        margin-bottom: 15px !important;
    }

    .urea-hero-content p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .urea-content {
        padding: 60px 0;
    }

    .urea-container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 24px !important;
    }

    .subsection-title {
        font-size: 18px !important;
    }

    .section-text {
        font-size: 13px !important;
    }

    /* 3x2 Grid */
    .image-grid-3x2 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .image-item img {
        width: 100px !important;
        height: 70px !important;
    }

    .image-item p {
        font-size: 10px !important;
    }

    /* Features Grid */
    .features-grid {
        gap: 25px !important;
    }

    .feature-icon {
        width: 65px !important;
        height: 65px !important;
    }

    .feature-icon img {
        width: 40px !important;
        height: 40px !important;
    }

    /* Application Cards */
    .application-cards {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .app-card-image {
        padding-bottom: 44.44% !important;
    }

    /* Tables */
    .product-table {
        font-size: 11px !important;
    }

    .product-table th,
    .product-table td {
        padding: 6px 4px !important;
    }

    .guide-table {
        font-size: 9px !important;
    }

    .guide-table th,
    .guide-table td {
        padding: 4px 2px !important;
    }

    /* Grids to single column */
    .system-grid,
    .nk-features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .nk-comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .nk-feature-card h3 {
        font-size: 13px !important;
    }

    .nk-feature-card p {
        font-size: 11px !important;
    }

    /* Steps Grid */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .step-image {
        height: 120px !important;
    }

    .step-badge {
        font-size: 10px !important;
        padding: 4px 6px !important;
    }

    /* Usage Grid */
    .usage-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Buttons */
    .view-images-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .step-item h4 {
        font-size: 12px !important;
    }

    .completion-highlight h3 {
        font-size: 18px !important;
    }

    .completion-highlight p {
        font-size: 13px !important;
    }
}
