@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
    --primary-color: #0055FF;
    --text-color: #1a1a1a;
    --text-light: #555555;
    --bg-color: #FFFFFF;
    --section-bg: #F8F9FA;
    --border-color: #E5E5E5;
    --border-radius: 20px;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* More refined shadow */
    --shadow-hover: 0 20px 60px -15px rgba(0, 0, 0, 0.12);
    --container-width: 1240px;
    /* Slightly wider for modern feel */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Mobile Subpage Hero Fix */
@media (max-width: 768px) {

    .sub-hero,
    .legal-hero {
        padding-top: 140px !important;
        padding-bottom: 60px;
    }
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* --- Buttons & Utilities --- */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 85, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0044CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 85, 255, 0.4);
}

.badge {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    background: rgba(0, 85, 255, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.inner-header {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 80px;
    /* Taller header */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    font-style: normal;
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 18px;
    font-weight: 500;
    color: #444;
    transition: color 0.2s;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Active Indicator dot */
nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 4px;
}

/* --- Hero Section --- */
.hero-section {
    padding: 140px 0 120px;
    /* More generous spacing */
    overflow: visible;
    /* Allow floating elements to not clip if safe */
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    color: #111;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.6;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.stat-item strong {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
}

.stat-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #888;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    /* Fixed height for consistent layout */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.card-float {
    position: absolute;
    background: #fff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.card-float ion-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    background: rgba(0, 85, 255, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.card-1 {
    top: 40px;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    bottom: 60px;
    right: -20px;
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.card-3 {
    top: 45%;
    right: -50px;
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
    transform: translateY(-50%);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- Features Section --- */
.features-section {
    padding: 120px 0;
}

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

.feature-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Prevent layout shift on hover */
}

.feature-item:hover {
    transform: translateY(-8px);
    background: #fff;
    box-shadow: var(--shadow-soft);
    border-color: var(--border-color);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    /* Squircle */
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: #f5f5f5;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.icon-blue {
    background: #EBF2FF;
    color: var(--primary-color);
}

.icon-green {
    background: #E6FFF0;
    color: #00B25C;
}

.icon-purple {
    background: #F5E6FF;
    color: #8A2BE2;
}

.feature-item h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-item a {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- Banner Section --- */
.banner-section {
    background: #F4F6F8;
    padding: 120px 0;
    border-radius: 40px;
    /* Modern touch */
    margin: 0 20px;
    /* Not full width */
}

.banner-section h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.btn-text {
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* --- Customer Reviews Carousel --- */
.reviews-section {
    padding: 140px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%);
}

.reviews-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 60px;
}

.reviews-carousel::before,
.reviews-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.reviews-carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.reviews-carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.reviews-track {
    display: flex;
    gap: 30px;
    animation: scroll-reviews 40s linear infinite;
    width: fit-content;
}

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    min-width: 480px;
    max-width: 480px;
    background: #fff;
    padding: 45px;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 85, 255, 0.08);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    user-select: none;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    color: rgba(0, 85, 255, 0.03);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars .star {
    font-size: 1.25rem;
    color: #FFC107;
    filter: drop-shadow(0 1px 2px rgba(255, 193, 7, 0.3));
    font-weight: normal;
}

.review-badge {
    background: linear-gradient(135deg, #0055FF 0%, #0044CC 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.review-text {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #2a2a2a;
    flex: 1;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0055FF 0%, #0044CC 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 85, 255, 0.2);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-info strong {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.author-info span {
    font-size: 0.92rem;
    color: #666;
    font-weight: 500;
}

/* --- Partners Carousel --- */
.partners-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logos-carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logos-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos-carousel::before,
.logos-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.logos-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.logos-track {
    display: flex;
    gap: 30px;
    width: fit-content;
}

/* Right to Left animation (top row) */
.logos-track-rtl {
    animation: scroll-rtl 25s linear infinite;
}

/* Left to Right animation (bottom row) */
.logos-track-ltr {
    animation: scroll-ltr 25s linear infinite;
}

@keyframes scroll-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-ltr {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.partner-logo {
    min-width: 200px;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #aaa;
    font-size: 1.2rem;
    background: #fff;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
}

/* --- Why Section --- */
.why-section {
    padding: 140px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.why-item {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 85, 255, 0.12);
    border-color: rgba(0, 85, 255, 0.2);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #0055FF 0%, #0044CC 100%);
    color: #fff;
}

.why-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2;
}

.why-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.why-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* --- Bottom Banner --- */
.bottom-banner {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.bottom-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.9) 0%, rgba(0, 68, 204, 0.95) 100%);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.banner-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.3;
}

.btn-white {
    display: inline-block;
    padding: 18px 48px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

/* --- Footer --- */
footer {
    background: #0a0a0a;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 40px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-links li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #0055FF;
}

.footer-info {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info p {
    font-size: 0.95rem;
    color: #666;
    margin: 8px 0;
    line-height: 1.6;
}

.copyright {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* About Hero Section */
.about-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0055FF 0%, #0044CC 100%);
}

.about-hero-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

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

.about-hero-content .badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-hero-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: #0055FF;
    box-shadow: 0 20px 60px rgba(0, 85, 255, 0.15);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-unit {
    font-size: 1.5rem;
    color: #0055FF;
    font-weight: 700;
}

/* Horizontal Scroll Timeline Section */
.timeline-section-horizontal {
    position: relative;
    min-height: 100vh;
    background: #0a0a0a;
    overflow: hidden;
    padding-top: 80px;
}

#timeline-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.timeline-container {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 24px;
}

.timeline-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.timeline-header .section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    font-weight: 400;
}

.timeline-scroll-wrapper {
    overflow: hidden;
    padding: 40px 0;
}

.timeline-track-horizontal {
    display: flex;
    gap: 60px;
    padding: 0 10vw;
    will-change: transform;
}

.timeline-card-square {
    flex-shrink: 0;
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border-left: 6px solid #0055FF;
    box-shadow: 0 10px 60px rgba(0, 85, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-card-square:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 80px rgba(0, 85, 255, 0.5);
    border-left-width: 8px;
}

.card-inner {
    padding: 50px 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-card-square .timeline-year {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0055FF;
    margin-bottom: 24px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.timeline-card-square h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.timeline-card-square p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
}

/* Responsive - Mobile: Stack vertically */
@media (max-width: 768px) {
    .timeline-section-horizontal {
        min-height: auto;
        padding-top: 60px;
    }

    .timeline-header {
        margin-bottom: 40px;
    }

    .timeline-header .section-title {
        font-size: 2rem;
    }

    .timeline-scroll-wrapper {
        overflow: visible;
        padding: 0;
    }

    .timeline-track-horizontal {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
        gap: 24px;
    }

    .timeline-card-square {
        width: 100%;
        height: auto;
        min-height: 260px;
        border-left-width: 4px;
    }

    .card-inner {
        padding: 30px 24px;
    }

    .timeline-card-square .timeline-year {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .timeline-card-square h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .timeline-card-square p {
        font-size: 1rem;
    }
}

/* Values Section */
.values-section {
    padding: 120px 0;
    background: #fff;
    text-align: center;
}

/* Reveal Animations */
.reveal,
.reveal-text,
.reveal-card {
    opacity: 1;
    visibility: visible;
}

.reveal.animate-in,
.reveal-text.animate-in,
.reveal-card.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.value-card {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 24px;
    border: 2px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0055FF 0%, #00D4FF 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.value-card:hover {
    transform: translateY(-12px);
    border-color: #0055FF;
    box-shadow: 0 25px 70px rgba(0, 85, 255, 0.2);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    color: #fff;
    transition: all 0.3s ease;
}

.value-icon svg {
    width: 50px;
    height: 50px;
}

.value-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.value-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .feature-grid,
    .why-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .inner-header {
        height: 60px;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .stat-item {
        justify-content: center;
    }

    .feature-grid,
    .why-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .hero-image {
        height: 300px;
        width: 100%;
    }

    .card-float {
        display: none;
        /* Hide floating cards on mobile for cleanness */
    }

    .nav-links {
        display: none;
        /* In a real app, we'd add a hamburger menu here */
    }

    /* For this demo, we might scale nav down or hide */
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* About Page Responsive */
    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-hero-content p {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .timeline-track {
        gap: 30px;
    }

    .timeline-card {
        padding: 30px 25px;
    }

    .timeline-card .timeline-year {
        font-size: 2.2rem;
    }

    .timeline-card h3 {
        font-size: 1.15rem;
    }

    .timeline-card p {
        font-size: 0.9rem;
    }

    .timeline-vertical {
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Temporary hide nav on mobile for this specific task scope */
}

/* Legal Pages (Terms & Privacy) */
.legal-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    text-align: center;
    color: #fff;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.legal-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #fff;
}

.legal-content {
    padding: 80px 0 120px;
    background: #f8f9fa;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-intro {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid #0055FF;
    border-radius: 8px;
}

.legal-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0055FF;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.legal-section ol {
    margin: 20px 0;
    padding-left: 24px;
}

.legal-section ol li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-section ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
    list-style-type: disc;
}

.legal-section strong {
    color: #0055FF;
    font-weight: 600;
}

.contact-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #0055FF;
    margin-top: 20px;
}

.contact-box p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-box ul li {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 8px;
    padding-left: 0;
}

/* Cases Full Section (No Modal) */
.cases-full-section {
    padding: 80px 0 120px;
    background: #f8f9fa;
}

.case-full-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.case-full-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.case-full-content {
    padding: 60px;
}

.case-category-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 85, 255, 0.1);
    color: #0055FF;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.case-full-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.3;
}

.case-section {
    margin-bottom: 40px;
}

.case-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.case-section h3 ion-icon {
    font-size: 1.5rem;
    color: #0055FF;
}

.case-section p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

.case-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.result-box {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.result-box:hover {
    border-color: #0055FF;
    transform: translateY(-4px);
}

.result-box strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0055FF;
    margin-bottom: 8px;
}

.result-box span {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

.case-testimonial-box {
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    padding: 40px;
    border-radius: 16px;
    color: #fff;
    margin-top: 40px;
}

.case-testimonial-box ion-icon {
    font-size: 2.5rem;
    opacity: 0.3;
    margin-bottom: 16px;
}

.case-testimonial-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.case-testimonial-box span {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 600;
}

/* CTA Section */
.cases-cta {
    text-align: center;
    padding: 80px 60px;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    border-radius: 30px;
    color: #fff;
}

.cases-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cases-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cases-cta .btn-primary {
    background: #fff;
    color: #0055FF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cases-cta .btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* Location Page */
.location-section {
    padding: 80px 0 120px;
    background: #fff;
}

.location-map {
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.location-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.location-info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.location-info-card:hover {
    transform: translateY(-8px);
    border-color: #0055FF;
    box-shadow: 0 12px 40px rgba(0, 85, 255, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon ion-icon {
    font-size: 2rem;
    color: #fff;
}

.location-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.location-info-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.copy-btn,
.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #0055FF;
    border: 2px solid #0055FF;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.copy-btn:hover,
.contact-btn:hover {
    background: #0055FF;
    color: #fff;
}

.directions-section {
    background: #f8f9fa;
    padding: 60px;
    border-radius: 24px;
}

.directions-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.direction-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.direction-item:hover {
    border-color: #0055FF;
    transform: translateX(8px);
}

.direction-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0055FF 0%, #00D4FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.direction-icon ion-icon {
    font-size: 2rem;
    color: #fff;
}

.direction-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.direction-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* Floating KakaoTalk Button (Base) */
.kakao-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.rotating-text {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
    transform-origin: center center;
}

.circular-text {
    font-size: 24px;
    font-weight: 500;
    fill: #1a1a1a;
    letter-spacing: 4px;
}

.kakao-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #FFE812;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    text-decoration: none;
}

.kakao-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.kakao-btn svg {
    width: 30px;
    height: 30px;
    fill: #3c1e1e;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Legal Page Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 100px 0 60px;
    }

    .legal-hero h1 {
        font-size: 2.2rem;
    }

    .legal-hero p {
        font-size: 1rem;
    }

    .legal-wrapper {
        padding: 40px 24px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section p,
    .legal-section ol li,
    .legal-section ul li {
        font-size: 0.95rem;
    }
}

/* --- Responsive Design System --- */

/* Tablet & Smaller Desktop (Max 1024px) */
@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
    }

    html {
        font-size: 15px;
    }

    .hero-section {
        padding: 100px 0 80px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .case-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (Max 768px) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .inner-header {
        height: 60px;
        padding: 0 20px;
    }

    /* Hide Desktop Nav & Button */
    .desktop-nav,
    .desktop-btn,
    a.btn-primary.desktop-btn {
        display: none !important;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1001;
        background: none;
        border: none;
        color: #000 !important;
        padding: 0;
        width: 40px;
        height: 40px;
    }



    .hero-section {
        padding: 140px 0 80px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-image {
        margin-top: 40px;
        height: 300px;
    }

    .card-float {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .banner-section {
        margin: 0;
        border-radius: 0;
        padding: 60px 20px;
    }

    .banner-section h2 {
        font-size: 1.8rem;
    }

    .reviews-carousel {
        margin-top: 40px;
    }

    .partners-section {
        padding: 60px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .bottom-banner h2 {
        font-size: 2rem;
    }

    footer {
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Subpage specifics */
    .location-info-grid {
        grid-template-columns: 1fr;
    }

    .location-map iframe {
        height: 300px;
    }

    .process-hero-layout {
        padding: 0 20px;
    }

    .hero-center h1 {
        font-size: 2rem !important;
    }

    .kakao-float-btn {
        width: 80px;
        height: 80px;
        bottom: 20px;
        right: 20px;
    }

    .kakao-btn {
        width: 50px;
        height: 50px;
    }

    .kakao-btn svg {
        width: 28px;
        height: 28px;
    }

    .circular-text {
        font-size: 11px;
    }
}

/* Mobile (Max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    padding: 80px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
}

.mobile-nav-links a {
    color: #1a1a1a;
    transition: color 0.2s;
}

.mobile-nav-links a.active {
    color: var(--primary-color);
}

.mobile-cta {
    margin-top: auto;
}

/* Lenis Recommended CSS */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Location Page Mobile Fix */
@media (max-width: 768px) {
    .location-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .directions-section {
        padding: 30px 20px;
    }

    .directions-section h2 {
        font-size: 1.5rem;
    }

    .direction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }

    .direction-icon {
        margin: 0;
    }
}