/* public/assets/css/app.css */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: var(--color-bg-pure);
    color: var(--color-text-main);
    line-height: 1.6;
    letter-spacing: var(--font-letter-spacing);
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* GNB Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(var(--color-bg-pure), 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.3s, border-color 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-accent {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-item {
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    color: var(--color-text-main);
    transition: background-color 0.2s, color 0.2s;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--color-surface-soft);
}

/* Ticker banner */
.ticker-banner {
    background: linear-gradient(90deg, var(--color-primary) 0%, #002DB3 100%);
    color: var(--color-text-white);
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    position: relative;
}

.ticker-text {
    display: inline-block;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

@keyframes ticker {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 120px 0;
    text-align: left;
    background-image: url('../img/catalog_hero_bg_female_v2.png');
    background-size: cover;
    background-position: center right; /* Align right to showcase team dashboard clearly */
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden; /* Ensure video background is clipped */
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient dimming: light white fade on the left for contrast, fading to transparent on the right */
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.72) 0%, 
        rgba(255, 255, 255, 0.55) 35%, 
        rgba(255, 255, 255, 0.15) 70%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Left side wrapper to balance space for right side visuals */
.hero-content-left {
    max-width: 680px;
    text-align: left;
}

.hero-title {
    font-size: 46px;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--color-text-main);
    letter-spacing: -0.5px;
    text-align: left;
    word-break: keep-all; /* Prevent awkward word breaks */
}

.hero-title span {
    color: var(--color-primary);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 17.5px;
    color: #2c3e50; /* Darker slate/charcoal for strong readability */
    font-weight: 550; /* Medium-bold weight for better contrast on light overlay */
    max-width: 580px;
    margin: 0 0 35px 0;
    line-height: 1.6;
    text-align: left;
    word-break: keep-all; /* Prevent awkward word breaks */
}

.hero-ctas {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
}

/* Responsive GNB Hero Layout */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        text-align: center;
        background-position: center;
    }
    .site-header.transparent-hero + .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    .hero-section::before {
        background: rgba(255, 255, 255, 0.65); /* Solid white overlay on smaller screens */
    }
    .hero-content-left {
        max-width: 100%;
        text-align: center;
    }
    .hero-title {
        font-size: 32px;
        text-align: center;
    }
    .hero-title span {
        white-space: normal;
    }
    .hero-subtitle {
        font-size: 15.5px;
        text-align: center;
        margin: 0 auto 30px auto;
    }
    .hero-ctas {
        justify-content: center;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-soft);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: #0F0F10;
}

.btn-secondary:hover {
    background-color: #FFE699;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-border-dark);
    color: var(--color-text-main);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--color-surface-soft);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Filter Section */
.filter-container {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-tab {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background-color: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

/* Demos Grid & Cards */
.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.demo-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-default);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.demo-thumb-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    background-color: var(--color-surface-soft);
}

.demo-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.demo-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.demo-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.demo-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.demo-prices {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-text-muted);
}

.price-row.highlight {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 16px;
}

.demo-card-footer {
    padding: 0 24px 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Detail Page Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

@media (max-width: 991px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-sticky-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* Content block default */
.content-block {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-default);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.block-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-main);
}

.block-title .material-icons {
    color: var(--color-primary);
}

/* Features List */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    color: var(--color-primary);
    background-color: rgba(0, 76, 255, 0.1);
    padding: 6px;
    border-radius: 50%;
}

.feature-text {
    font-size: 15px;
    font-weight: 600;
}

/* Simulator Elements */
.simulator-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-main);
    display: flex;
    justify-content: space-between;
}

.control-label span.value-bubble {
    color: var(--color-primary);
    background-color: rgba(0, 76, 255, 0.1);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
}

.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--color-surface-soft);
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    transition: transform 0.1s;
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.text-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-default);
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text-main);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.select-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border-radius: var(--radius-default);
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text-main);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
}

.select-input:focus, .text-input:focus {
    border-color: var(--color-primary);
}

.simulator-result-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 600px) {
    .simulator-result-layout {
        grid-template-columns: 1fr;
    }
}

.donut-chart-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donut-chart-text {
    position: absolute;
    text-align: center;
}

.donut-total-title {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 700;
}

.donut-total-val {
    font-size: 18px;
    font-weight: 850;
    color: var(--color-primary);
}

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

.cost-table th, .cost-table td {
    padding: 10px 0;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
}

.cost-table th {
    color: var(--color-text-muted);
    font-weight: 600;
}

.cost-table td.cost-val {
    text-align: right;
    font-weight: 700;
    color: var(--color-text-main);
}

.cost-table tr.total-row td {
    font-weight: 800;
    font-size: 16px;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* Kakao Map Section */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-default);
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-top: 15px;
}

.map-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.map-tab-pill {
    padding: 6px 14px;
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}

.map-tab-pill.active {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* Custom overlay on map */
.custom-overlay {
    position: relative;
    bottom: 50px;
    border-radius: var(--radius-default);
    border: 1px solid var(--color-primary);
    background-color: var(--color-surface);
    padding: 10px 14px;
    box-shadow: 0 5px 15px rgba(0, 76, 255, 0.15);
    min-width: 180px;
    z-index: 10;
}

.custom-overlay::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--color-surface) transparent;
    display: block;
    width: 0;
}

.custom-overlay-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.custom-overlay-phone {
    font-size: 11px;
    color: var(--color-text-muted);
}

.custom-overlay-address {
    font-size: 11px;
    color: var(--color-text-main);
    margin-top: 2px;
}

/* Option Cards (Sidebar) */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.option-card {
    background-color: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-default);
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.option-card:hover {
    border-color: var(--color-primary);
}

.option-card.active {
    border-color: var(--color-primary);
    background-color: rgba(0, 76, 255, 0.02);
}

.option-card.active::after {
    content: 'check_circle';
    font-family: 'Material Icons';
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--color-primary);
    font-size: 20px;
}

.option-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.option-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text-main);
}

.option-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.option-price {
    font-size: 18px;
    font-weight: 850;
    color: var(--color-text-main);
}

.option-price span.small {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.option-card.active .option-price {
    color: var(--color-primary);
}

/* Summary Card */
.checkout-summary {
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-default);
    padding: 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row.total {
    border-top: 1px solid var(--color-border-dark);
    padding-top: 10px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 850;
    color: var(--color-primary);
}

/* Login/Register Screens */
.auth-wrapper {
    max-width: 450px;
    margin: 80px auto;
    padding: 0 20px;
}

.auth-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-default);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.auth-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
    color: var(--color-text-main);
}

.auth-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-default);
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text-main);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 76, 255, 0.1);
}

.terms-box {
    height: 150px;
    overflow-y: scroll;
    border: 1px solid var(--color-border);
    padding: 15px;
    border-radius: var(--radius-default);
    background-color: var(--color-bg-soft);
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

/* MyPage Layout */
.mypage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 0 80px 0;
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-default);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    flex-wrap: wrap;
    gap: 20px;
}

.download-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.download-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-main);
}

.download-meta {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text-main);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-default);
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer styling */
.site-footer {
    background-color: #111111;
    border-top: 1px solid #222222;
    padding: 60px 0 40px 0;
    font-size: 13.5px;
    color: #aaaaaa;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-col-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-logo {
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 22px;
}

.footer-bottom {
    border-top: 1px dashed #333333;
    padding-top: 30px;
    margin-top: 30px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Dark theme toggle button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.theme-toggle-btn:hover {
    background-color: var(--color-surface-soft);
}

/* Mobile Responsive Optimizations */
@media (max-width: 768px) {
    .demos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 0 10px;
    }
    .hero-title {
        font-size: 32px;
        padding: 0 15px;
    }
    .hero-subtitle {
        font-size: 15px;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto;
        padding: 0 20px;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .container {
        padding: 0 15px;
    }
    .filter-container {
        margin: 25px 0;
        padding: 0 10px;
    }
}

/* Detail Page Hero Banner Styling */
.detail-hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 0;
    color: #ffffff;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Subtle dark overlay for readability */
    z-index: 1;
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.detail-hero-text {
    max-width: 700px;
}

.detail-hero-title {
    font-size: 38px;
    font-weight: 850;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.detail-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.detail-hero-badge {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    display: inline-block;
}

/* Glassmorphic button for Hero section */
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    border-radius: var(--radius-pill);
    text-decoration: none;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Light Glassmorphic button for Bright Hero/CTA sections */
.btn-glass-light {
    background: rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: var(--color-text-main) !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    border-radius: var(--radius-pill);
    text-decoration: none;
}

.btn-glass-light:hover {
    background: rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 23, 42, 0.22);
}

@media (max-width: 768px) {
    .detail-hero {
        min-height: 320px;
        padding: 40px 0;
    }
    .detail-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .detail-hero-title {
        font-size: 28px;
    }
    .detail-hero-subtitle {
        font-size: 15px;
    }
}

/* GNB Transition & Transparent Hero Scroll Behavior */
.site-header {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header .logo,
.site-header .nav-item,
.site-header .btn-header-outline {
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

/* Transparent GNB overlaying Hero */
.site-header.transparent-hero {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 100;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: none;
    pointer-events: none; /* Allow clicks to pass through to underlying elements */
}

.site-header.transparent-hero .logo,
.site-header.transparent-hero .nav-item,
.site-header.transparent-hero .btn-header,
.site-header.transparent-hero .btn-header-primary,
.site-header.transparent-hero .btn-header-outline {
    pointer-events: auto; /* Ensure header items remain clickable */
}

.site-header.transparent-hero .logo,
.site-header.transparent-hero .nav-item {
    color: var(--color-text-main);
}

.site-header.transparent-hero .btn-header-outline {
    border-color: rgba(15, 23, 42, 0.18);
    color: var(--color-text-main);
}

/* Scrolled state: matches standard GNB styles, dynamically adjusted for light/dark theme variables */
.site-header.transparent-hero.scrolled {
    position: fixed;
    top: 0;
    background-color: var(--color-bg-pure);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    pointer-events: auto; /* Restore normal click capture when header becomes solid */
}

.site-header.transparent-hero.scrolled .logo {
    color: var(--color-text-main);
}
.site-header.transparent-hero.scrolled .nav-item {
    color: var(--color-text-muted);
}
.site-header.transparent-hero.scrolled .nav-item.active {
    color: var(--color-primary);
}
.site-header.transparent-hero.scrolled .btn-header-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.site-header.transparent-hero ~ .detail-hero {
    padding-top: 140px; /* Offset the GNB header height */
}

.site-header.transparent-hero ~ .hero-section {
    min-height: 680px; /* 2/3rds of 1020px for perfect compact layout */
    display: flex;
    align-items: center;
    padding-top: 140px; /* Offset GNB header height */
    padding-bottom: 80px;
}

/* Fix click bug by placing container over the hero overlay */
.detail-hero .container {
    position: relative;
    z-index: 2;
}

/* Painpoint-Solving Value Proposition Section */
.features-section {
    padding: 90px 0;
    background-color: var(--color-bg-pure);
    border-bottom: 1px solid var(--color-border);
}

.features-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.features-tag {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.features-section-title {
    font-size: 34px;
    font-weight: 850;
    color: var(--color-text-main);
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.features-section-subtitle {
    font-size: 16.5px;
    color: var(--color-text-muted);
    line-height: 1.6;
    word-break: keep-all;
}

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

.feature-item-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-default);
    padding: 45px 35px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 76, 255, 0.06);
    border-color: rgba(0, 76, 255, 0.2);
}

.feature-icon-box {
    width: 54px;
    height: 54px;
    background-color: rgba(0, 76, 255, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: var(--radius-default);
}

.feature-icon-box .material-icons {
    font-size: 28px;
}

.feature-card-title {
    font-size: 19px;
    font-weight: 750;
    color: var(--color-text-main);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.feature-card-desc {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.6;
    word-break: keep-all;
}

/* Responsive grid adjustments */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }
    .features-section-title {
        font-size: 28px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-item-card {
        padding: 35px 25px;
    }
}

/* Bottom CTA Banner Section */
.bottom-cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-image: url('../img/bottom_cta_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid var(--color-border);
    border-bottom: none;
    overflow: hidden;
}

.bottom-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.45); /* Light glassmorphic overlay */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.bottom-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.bottom-cta-title {
    font-size: 32px;
    font-weight: 850;
    color: var(--color-text-main);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    word-break: keep-all;
}

.bottom-cta-subtitle {
    font-size: 16.5px;
    color: #2c3e50; /* Darker slate/charcoal for strong readability */
    font-weight: 550; /* Medium-bold weight for better contrast on light overlay */
    line-height: 1.6;
    margin-bottom: 36px;
    word-break: keep-all;
}

.bottom-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .bottom-cta-section {
        padding: 60px 0;
    }
    .bottom-cta-title {
        font-size: 26px;
    }
    .bottom-cta-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .bottom-cta-buttons {
        gap: 12px;
    }
}

/* Comparison Section Styling */
.comparison-container {
    margin-top: 80px;
    border-top: 1px solid var(--color-border);
    padding-top: 80px;
}

.comparison-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.comparison-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 40px;
    border-radius: var(--radius-default);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.comparison-card.highlighted {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(180deg, var(--color-surface) 0%, rgba(0, 76, 255, 0.02) 100%);
}

.comparison-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 800;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.comparison-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comparison-card-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.comparison-card.highlighted .comparison-card-tag {
    color: var(--color-primary);
}

.comparison-card-title {
    font-size: 22px;
    font-weight: 850;
    color: var(--color-text-main);
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    padding: 0;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comparison-item-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.comparison-item-desc {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.5;
    padding-left: 22px;
}

.comparison-card.highlighted .comparison-item-desc {
    color: #334155;
}

.comparison-item-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

.comparison-item-icon.red {
    color: #EF4444;
}

.comparison-item-icon.blue {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .comparison-container {
        margin-top: 50px;
        padding-top: 50px;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .comparison-card {
        padding: 30px 20px;
    }
    .comparison-section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
}

/* --- Premium Motion / Animations (2026 Standards) --- */

/* Page Load Animation Helpers */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-load.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Trigger Animation Helpers */
.animate-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.animate-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays (Stagger) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Micro-animations: Card Hover Elevation */
.comparison-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Button & Link Hover Scale effects */
.btn, .btn-countdown-cta, .btn-glass-light {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease !important;
}
.btn:hover, .btn-countdown-cta:hover, .btn-glass-light:hover {
    transform: scale(1.02);
}
.btn:active, .btn-countdown-cta:active, .btn-glass-light:active {
    transform: scale(0.98);
}

/* Custom Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-muted);
    user-select: none;
    margin-top: 20px;
}

.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-border-dark);
    border-radius: 0px; /* rectangular style */
    background-color: var(--color-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    outline: none;
    flex-shrink: 0;
}

.custom-checkbox:hover {
    border-color: var(--color-primary);
}

.custom-checkbox:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 76, 255, 0.2);
}

