/*
Theme Name: Transportal Theme
Theme URI: https://transportal.co.kr
Author: Transportal
Author URI: https://transportal.co.kr
Description: A custom WordPress theme for Transportal, featuring a modern, dark-mode design with glassmorphism effects and Fluid Typography.
Version: 2.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transportal-theme
*/

:root {
    /* --- Color Palette --- */
    --primary: #00f2ff;
    --secondary: #bd00ff;
    --accent: #ff0055;
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);

    /* --- Glass Effects --- */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);

    /* ================================================
       🎨 Fluid Typography System (Optimized)
       ================================================
       
       Strategy: Utopia-inspired fluid scaling
       - Viewport Range: 320px (Mobile) ~ 1240px (Desktop)
       - Base Scale: Minor Third (1.2) for harmony
       - Formula: clamp(MIN, PREFERRED, MAX)
         where PREFERRED = MIN_rem + (MAX - MIN) × ((100vw - 320px) / 920px)
       
       Benefits:
       ✓ Smooth scaling across all viewports
       ✓ No breakpoint jumps
       ✓ Better readability on all devices
       ✓ Accessibility-friendly (respects user zoom)
    */

    /* 📏 Typography Scale */

    /* XS: Captions, labels, fine print → 11px @ 320px → 13px @ 1240px */
    --fs-xs: clamp(0.6875rem, 0.6467rem + 0.1848vw, 0.8125rem);

    /* SM: Footer, metadata, secondary text → 13px @ 320px → 15px @ 1240px */
    --fs-sm: clamp(0.8125rem, 0.7717rem + 0.1848vw, 0.9375rem);

    /* BASE: Body text, paragraphs → 16px @ 320px → 18px @ 1240px */
    --fs-base: clamp(1rem, 0.9565rem + 0.1957vw, 1.125rem);

    /* MD: Emphasized text, leads, large body → 18px @ 320px → 22px @ 1240px */
    --fs-md: clamp(1.125rem, 1.0272rem + 0.4348vw, 1.375rem);

    /* LG: H4, H3, card titles → 22px @ 320px → 28px @ 1240px */
    --fs-lg: clamp(1.375rem, 1.2228rem + 0.6739vw, 1.75rem);

    /* XL: H2, section headings → 28px @ 320px → 38px @ 1240px */
    --fs-xl: clamp(1.75rem, 1.5163rem + 1.0326vw, 2.375rem);

    /* XXL: H1, hero titles → 36px @ 320px → 56px @ 1240px */
    --fs-xxl: clamp(2.25rem, 1.7935rem + 2.0109vw, 3.5rem);
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-size: var(--fs-base);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    word-break: keep-all;
}

/* ================================================
   📐 Semantic Heading Hierarchy
   ================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

/* Apply fluid typography to default heading elements */
h1 {
    font-size: var(--fs-xxl);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--fs-xl);
    line-height: 1.15;
}

h3 {
    font-size: var(--fs-lg);
    line-height: 1.2;
}

h4 {
    font-size: var(--fs-md);
    line-height: 1.3;
}

h5,
h6 {
    font-size: var(--fs-base);
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ================================================
   🎯 Fluid Typography Utility Classes
   ================================================ */

.text-xs {
    font-size: var(--fs-xs) !important;
}

.text-sm {
    font-size: var(--fs-sm) !important;
}

.text-base {
    font-size: var(--fs-base) !important;
}

.text-md {
    font-size: var(--fs-md) !important;
}

.text-lg {
    font-size: var(--fs-lg) !important;
}

.text-xl {
    font-size: var(--fs-xl) !important;
}

.text-xxl {
    font-size: var(--fs-xxl) !important;
}

/* Vibrant Animated Background */
.blob-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    filter: blur(80px);
    background: #050505;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out alternate;
    opacity: 0.5;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -8s;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 20px) scale(1.1);
    }
}

html {
    scroll-padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glass Utilities */
.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: var(--glass-highlight);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

.header-top {
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    width: 100%;
}

.header-bottom {
    height: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    visibility: hidden;
}

.header-bottom.active {
    height: 50px;
    opacity: 1;
    visibility: visible;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    margin-right: 3rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 27px;
    /* Reverted to 24px as requested */
    width: auto;
    transition: filter 0.3s ease;
}

.top-nav {
    display: flex;
    gap: 3rem;
    height: 100%;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-item {
    font-size: 1rem;
    /* 네비게이션은 가독성을 위해 고정값 유지 또는 조정 */
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    /* Reduced from 3rem to tighten right cluster and create more space from nav */
}

/* User Dropdown */
.user-dropdown-container {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 6px 8px;
    /* Further reduced padding */
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    /* Further reduced font size */
}

/* Reduced login text size */

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown-container:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: 0.2s;
    text-align: left;
}

.user-dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Contact Info in Header */
.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-contact span {
    display: block;
    line-height: 1.4;
}

.header-contact i {
    color: var(--primary);
    margin-right: 5px;
    width: 15px;
    text-align: center;
}

.btn-primary {
    background: transparent;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6);
}

.sub-menu-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    width: 100%;
    justify-content: center;
    pointer-events: none;
}

.sub-menu-list.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.sub-menu-list li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.sub-menu-list li a:hover,
.sub-menu-list li a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.sub-menu-list li a:hover::after,
.sub-menu-list li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Hero Section */
/* Hero Section */
/* Hero Section */
/* Hero Section */
.hero {
    padding: 220px 2rem 100px;
    /* Adjusted for 170px Stack (40+80+50) */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: visible;
}

@media (max-width: 1200px) {
    .hero {
        padding-top: 180px;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding-top: 120px;
        /* Mobile Header is 60px */
        padding-bottom: 60px;
        flex-direction: column;
    }
}

.page-top-section,
#business,
#organization,
#recruit,
#location {
    padding-top: 200px;
    /* Safe buffer for full header stack */
}

@media (max-width: 1024px) {

    .page-top-section,
    #business,
    #organization,
    #recruit,
    #location {
        padding-top: 120px;
    }
}

section[id] {
    scroll-margin-top: 0px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

/* Hero Typography - Fluid Update */
.hero-text h1 {
    font-size: var(--fs-xxl);
    /* Fluid Size */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(189, 0, 255, 0.3);
}

.hero-text p {
    font-size: var(--fs-md);
    /* Fluid Size */
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

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

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    perspective: 1000px;
}

/* 3D Carousel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 0;
    perspective: 1500px;
    transform-style: preserve-3d;
    transform: translateX(0px);
}

.carousel-ring {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.card-container {
    position: absolute;
    width: 180px;
    height: 240px;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -120px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease;
    will-change: transform, opacity;
}

.card-floater {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    animation: floatCard 6s ease-in-out infinite;
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-front {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0.01) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease-out;
    z-index: auto;
}

.card-container::before,
.card-floater::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 0;
    width: 10px;
    height: calc(100% - 60px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    transform: rotateY(90deg) translateZ(-1px);
    transform-origin: right;
    z-index: -1;
}

.card-container::after,
.card-floater::after {
    content: '';
    display: none !important;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    color: var(--primary);
}

.scroll-down span {
    font-size: 0.8rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-down i {
    font-size: 1.2rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes floatCard {

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

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

/* Staggered Positions */
.pos-1 {
    transform: translate3d(60px, 0, 300px) scale(1.55) rotateY(0deg);
    z-index: 30;
    filter: brightness(1.2);
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@keyframes autoFlip {

    0%,
    45% {
        transform: rotateY(0deg);
    }

    50%,
    95% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.pos-1 .card-floater {
    animation: autoFlip 7s infinite ease-in-out !important;
}

.pos-1:hover .card-floater {
    animation-play-state: paused !important;
}

.pos-1:hover .card-front {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(255, 255, 255, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.pos-2 {
    transform: translate3d(-180px, -180px, -200px) scale(0.85) rotateY(-25deg);
    z-index: 10;
    opacity: 0.95;
}

.pos-3 {
    transform: translate3d(310px, 200px, -200px) scale(0.85) rotateY(25deg);
    z-index: 10;
    opacity: 0.95;
}

.pos-4 {
    transform: translate3d(260px, -160px, -100px) scale(0.95) rotateY(15deg);
    z-index: 15;
    opacity: 0.95;
}

.pos-5 {
    transform: translate3d(-160px, 160px, -100px) scale(0.95) rotateY(-15deg);
    z-index: 15;
    opacity: 0.95;
}

.pos-6 {
    transform: translate3d(-230px, -50px, -200px) rotateY(-20deg);
    z-index: 12;
    opacity: 0.9;
}

.pos-7 {
    transform: translate3d(320px, 50px, -200px) rotateY(20deg);
    z-index: 12;
    opacity: 0.9;
}

.card-container:hover .card-front {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 242, 255, 0.5);
}

.card-container:nth-child(1) {
    animation-delay: 0s;
}

.card-container:nth-child(2) {
    animation-delay: -1.5s;
}

.card-container:nth-child(3) {
    animation-delay: -3s;
}

.card-container:nth-child(4) {
    animation-delay: -2s;
}

.card-container:nth-child(5) {
    animation-delay: -4.5s;
}

.card-container:nth-child(6) {
    animation-delay: -1s;
}

.card-container:nth-child(7) {
    animation-delay: -3.5s;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: all 0.5s ease;
    overflow: hidden;
}

.card-face > * {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card-front {
    transform: rotateY(0deg) translateZ(2px);
}

.card-back {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--primary);
    transform: rotateY(180deg) translateZ(2px);
    align-items: center;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    font-size: var(--fs-xl);
    /* Fluid Size */
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--fs-md);
    /* Fluid Size */
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.service-card:hover .service-icon-lg {
    background: var(--primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary);
}

.service-card h3 {
    font-size: var(--fs-lg);
    /* Fluid Size */
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: var(--fs-base);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.8rem;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 5, 5, 0.95);
    padding: 5rem 1rem 3rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-contact-info p {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-sm);
    /* Fluid Size */
}

.footer-contact-info i {
    width: 20px;
    color: var(--primary);
    text-align: center;
}

.footer-nav-group {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.company-info .sep {
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-nav-group {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .footer-nav-group {
        flex-direction: column;
        gap: 2rem;
    }

    .company-info {
        flex-direction: column;
        gap: 0.3rem;
    }

    .company-info .sep {
        display: none;
    }
}

/* Notary Table */
.table-container {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-muted);
}

.glass-table th,
.glass-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-table th {
    color: #fff;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.glass-table td strong {
    color: #fff;
}

.glass-table td.center {
    text-align: center;
}

.cost-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
    text-align: left;
}

.cost-list li {
    margin-bottom: 0.3rem;
}

.cost-list li:last-child {
    margin-bottom: 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.checklist-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.checklist-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.checklist-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

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

/* About Page Styles */
section {
    padding: 60px 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.promise-box {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promise-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.promise-box p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Business Area */
.biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.biz-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.biz-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.biz-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: 1rem;
    color: #fff;
}

.biz-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.biz-list {
    list-style: none;
    padding: 0;
}

.biz-list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.biz-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Organization Chart */
.org-container {
    position: relative;
    padding: 2rem 0;
}

.org-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
}

.org-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .org-grid::before {
        display: none;
    }
}

.org-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.org-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: 0.3s;
}

.org-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.org-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.org-col:first-child .org-card::after {
    right: -2rem;
}

.org-col:last-child .org-card::after {
    left: -2rem;
}

.org-card::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.org-col:first-child .org-card::before {
    right: -2.25rem;
}

.org-col:last-child .org-card::before {
    left: -2.25rem;
}

.org-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.org-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.org-num {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.org-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Recruitment */
.recruit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.recruit-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recruit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recruit-badge {
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(0, 242, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.recruit-section {
    margin-bottom: 1.5rem;
}

.recruit-section h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.recruit-btn {
    margin-top: auto;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: 0.3s;
}

.btn-apply {
    background: var(--primary);
    color: #000;
}

.btn-apply:hover {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.btn-closed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Location */
.map-visual-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 1.5rem;
    margin: 0 auto 3rem;
    max-width: 1000px;
}

.map-visual-item {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    height: 300px;
}

.map-visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.map-visual-item:first-child img {
    filter: grayscale(100%) invert(85%);
}

.map-visual-item:first-child:hover img {
    filter: grayscale(0%) invert(0%);
}

.map-visual-item:last-child img {
    filter: brightness(0.9);
}

.map-visual-item:last-child:hover img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .map-visual-grid {
        grid-template-columns: 1fr;
    }

    .map-visual-item {
        aspect-ratio: 16/9;
        height: auto;
    }
}

.location-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .location-info-container {
        grid-template-columns: 1fr;
    }
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.info-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Utility Classes */
.text-accent {
    color: var(--accent) !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Quick Contact Section */
.quick-contact {
    padding: 8rem 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header .sub-title {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-header .sub-title strong {
    color: #fff;
    font-weight: 700;
}

.contact-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.contact-details {
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: var(--text-muted);
}

.detail-item .value {
    color: #fff;
    font-weight: 500;
}

.btn-primary.full-width {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.link-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.link-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 242, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

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

.link-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bank-card {
    grid-column: span 2;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.bank-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
}

.bank-details {
    text-align: right;
}

.bank-name,
.account-holder {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.account-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

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

    .phone-number {
        font-size: 2.8rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .bank-card {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .bank-details {
        text-align: left;
    }
}

/* Light Glass Design */
.light-glass-card {
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 30%, rgb(255, 255, 255) 55%, rgb(255, 255, 255) 100%);
    border: 1px solid rgb(222, 222, 222);
    border-radius: 12px;
    box-shadow: rgba(255, 255, 255, 0.7) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.04) 0px 1px 0px 0px;
    color: #333;
}

.light-glass-card h3,
.light-glass-card h4 {
    color: #000;
}

.light-glass-card .label {
    color: #666;
}

.light-glass-card .value {
    color: #333;
}

.light-glass-card .sub-title {
    color: #555;
}

.light-glass-card .phone-number {
    text-shadow: none;
    color: var(--primary);
}

.light-glass-card .detail-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.light-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.light-glass-card .icon-box {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.light-glass-card p {
    color: #555;
}

.light-glass-card.bank-card {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.light-glass-card .account-number {
    color: #000;
}

.light-glass-card .bank-name,
.light-glass-card .account-holder {
    color: #555;
}

.simplified-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.simplified-grid .light-glass-card {
    flex: 1;
    max-width: 400px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bank-card-simple .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 242, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.bank-card-simple h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.bank-details-simple {
    text-align: center;
    color: #555;
    line-height: 1.6;
}

.bank-details-simple .account-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .simplified-grid {
        flex-direction: column;
        align-items: center;
    }

    .simplified-grid .light-glass-card {
        width: 100%;
    }
}

/* Bottom Info Section */
.bottom-info-section {
    padding: 6rem 2rem;
    position: relative;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}

.bottom-info-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: stretch;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}

.bottom-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    background: transparent;
}

.office-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bottom-visual:hover .office-img {
    transform: scale(1.05);
}

.bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.info-block {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.contact-block h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-block p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.contact-block p i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-box h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.box-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-box .box-content {
    gap: 1.5rem;
}

.icon-wrapper a {
    display: block;
    line-height: 0;
}

.icon-wrapper img {
    width: 60px;
    height: auto;
    display: block;
}

.text-wrapper p {
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.bank-box .box-content {
    gap: 1.5rem;
}

.bank-logo-wrapper img {
    width: 60px;
    height: auto;
    object-fit: contain;
    display: block;
}

.bank-details span {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.bank-details .bank-name {
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

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

@media (max-width: 960px) {
    .bottom-info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bottom-visual {
        height: 300px;
    }

    .text-link:hover {
        text-decoration: underline;
        text-shadow: 0 0 10px var(--primary);
    }

    .bank-details {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .bank-details span {
        display: block;
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .bank-details .bank-name {
        color: #fff;
        font-weight: 600;
        font-size: 1.05rem;
        margin-bottom: 0.2rem;
    }
}

/* Clients Carousel */
.clients-carousel {
    height: 80px;
    padding: 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.carousel-track {
    display: inline-flex;
    animation: scroll 90s linear infinite;
    width: max-content;
    align-items: center;
    height: 100%;
}

.clients-carousel .client-logo {
    flex: 0 0 auto;
    width: auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.clients-carousel img {
    max-width: none;
    height: 35px !important;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) invert(1) opacity(0.6);
    transition: all 0.4s ease;
    cursor: pointer;
}

.clients-carousel img:hover {
    filter: grayscale(0%) invert(0) opacity(1);
    transform: scale(1.1);
}

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

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

.carousel-track:hover {
    animation-play-state: paused;
}

/* Notice Board Header */
.notice-header-container {
    padding: 2rem 0 4rem;
    text-align: center !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notice-header-container .section-header {
    text-align: center !important;
    width: 100%;
}

.notice-header-container .section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-nav-item {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.notice-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.notice-nav-item.active {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

@media (max-width: 768px) {
    .notice-nav {
        flex-direction: column;
        width: 90%;
        border-radius: 20px;
    }

    .notice-nav-item {
        width: 100%;
        text-align: center;
    }
}

/* Service Page Additions */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .process-steps .step-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .process-steps .step-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .process-steps .step-item:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }

    .process-steps .step-item:nth-child(4) {
        grid-column: 4;
        grid-row: 1;
    }

    .process-steps .step-item:nth-child(5) {
        grid-column: 4;
        grid-row: 2;
    }

    .process-steps .step-item:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
    }

    .process-steps .step-item:nth-child(7) {
        grid-column: 2;
        grid-row: 2;
    }

    .process-steps .step-item:nth-child(8) {
        grid-column: 1;
        grid-row: 2;
    }

    .process-steps .step-item:nth-child(9) {
        grid-column: 1;
        grid-row: 3;
    }

    .step-item::after {
        content: '';
        position: absolute;
        z-index: 0;
        border-color: rgba(0, 242, 255, 0.5);
        border-width: 0;
        border-style: dotted;
    }

    .process-steps .step-item:nth-child(1)::after,
    .process-steps .step-item:nth-child(2)::after,
    .process-steps .step-item:nth-child(3)::after {
        width: 2rem;
        height: 0;
        border-top-width: 4px;
        top: 50%;
        left: 100%;
        transform: translateY(-50%);
    }

    .process-steps .step-item:nth-child(4)::after,
    .process-steps .step-item:nth-child(8)::after {
        width: 0;
        height: 2rem;
        border-left-width: 4px;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .process-steps .step-item:nth-child(5)::after,
    .process-steps .step-item:nth-child(6)::after,
    .process-steps .step-item:nth-child(7)::after {
        width: 2rem;
        height: 0;
        border-top-width: 4px;
        top: 50%;
        right: 100%;
        transform: translateY(-50%);
    }

    .process-steps .step-item:last-child::after {
        display: none;
    }
}

@media (max-width: 1023px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-steps.tep-process {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        margin-bottom: 4rem;
    }

    .process-steps.tep-process .step-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 0 0 calc(25% - 1.5rem);
    }

    @media (max-width: 768px) {
        .process-steps.tep-process {
            flex-direction: column;
            align-items: center;
        }

        .process-steps.tep-process .step-item {
            width: 100%;
            flex: 0 0 auto;
            margin-bottom: 1rem;
        }
    }

    .step-item::after {
        content: '';
        position: absolute;
        width: 0;
        height: 3rem;
        border-left: 4px dotted rgba(0, 242, 255, 0.5);
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 0;
    }

    .step-item:last-child::after {
        display: none;
    }
}

.step-item {
    position: relative;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.02);
}

.step-item:hover,
.step-item.active {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: all 0.5s ease;
}

.step-item.active .step-num {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
    opacity: 0.5;
}

.step-item h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.comparison-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.comparison-card .desc {
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li i {
    color: var(--primary);
    margin-top: 5px;
}

.feature-list li strong {
    color: #fff;
    margin-right: 5px;
}

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

/* Mobile Menu */
.hamburger-btn {
    display: none;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

@media (max-width: 1280px) {
    .logo img {
        height: 26px !important;
    }
}

@media (max-width: 1200px) {

    .top-nav,
    .btn-primary.desktop-only,
    .user-utility-area.desktop-only,
    .header-bottom,
    .header-contact {
        display: none !important;
    }

    .header-top {
        height: 90px;
    }

    header {
        height: 90px;
    }

    .lang-selector.desktop-only {
        margin-right: 0 !important;
        font-size: 0.75rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
        white-space: nowrap !important;
    }

    .nav-container {
        max-width: 95%;
        padding: 0 1.5rem;
    }

    .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 1.4rem;
        cursor: pointer;
        transition: 0.3s;
        z-index: 1002;
        flex-shrink: 0;
    }

    .hamburger-btn:hover {
        background: var(--primary);
        color: #000;
        box-shadow: 0 0 15px var(--primary);
    }
}

@media (min-width: 1201px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-overlay {
        display: flex;
    }

    .logo img {
        height: 32px;
    }
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.mobile-logo {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
}

.mobile-logo img {
    height: 24px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mobile-menu-close:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-nav {
    margin-bottom: 3rem;
}

.mobile-nav-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.mobile-nav-group:last-child {
    border-bottom: none;
}

.mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: inherit;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle.active {
    color: var(--primary);
}

.mobile-nav-toggle.active i {
    transform: rotate(180deg);
}

.mobile-nav-toggle i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-submenu li {
    margin-bottom: 0.8rem;
}

.mobile-submenu li:first-child {
    margin-top: 1rem;
}

.mobile-submenu li a {
    color: var(--text-muted);
    font-size: 1rem;
    display: block;
    padding: 0.5rem 0;
}

.mobile-submenu li a:hover,
.mobile-submenu li a.active {
    color: var(--primary);
    padding-left: 5px;
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 4px;
}

.mobile-menu-footer {
    margin-top: auto;
}

.mobile-lang-selector {
    text-align: center !important;
    margin-top: 1.5rem !important;
    display: flex !important;
    flex-direction: row !important;
    /* Force horizontal */
    flex-wrap: nowrap !important;
    /* Prevent wrapping */
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.mobile-lang-selector a {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    transition: color 0.3s ease;
    white-space: nowrap !important;
    /* Prevent text wrapping */
    display: inline-block !important;
}

.mobile-lang-selector span {
    font-size: 0.9rem !important;
    display: inline-block !important;
}

.mobile-contact-info {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.mobile-contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.mobile-contact-info i {
    color: var(--primary);
    margin-right: 8px;
}

/* Global Grid & Layout Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        height: auto;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-left: 5px;
        padding-right: 5px;
        width: 100%;
        max-width: 100%;
    }

    .entry-content,
    .mb-board {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

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

    .hero-visual {
        display: flex;
        justify-content: center;
        height: 300px;
    }

    .carousel {
        transform: scale(0.7);
        max-width: 100%;
        margin: 0 auto;
    }

    /* Fluid Typography가 적용되었으므로 개별 폰트 사이즈 조정 코드는 제거됨 */

    .services-grid,
    .biz-grid,
    .org-grid,
    .intro-grid {
        grid-template-columns: 1fr !important;
    }

    .bottom-info-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .page-top-section {
        padding-top: 100px;
    }
}

/* Live Service Dashboard Styles */
.live-status-card {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-header h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.live-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00f2ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f2ff;
    animation: blink 1.5s infinite;
}

.live-text {
    color: #00f2ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.status-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.live-status-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(0, 242, 255, 0.4);
}

.status-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-value .unit {
    font-size: 1rem;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
    font-weight: 600;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

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

    .status-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem;
        text-align: left;
    }

    .stat-icon {
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
        margin-bottom: 0;
        order: 2;
    }

    .stat-label {
        font-size: 0.95rem;
        order: 1;
        flex: 1;
    }

    .live-status-card .status-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }

    .live-status-card .status-header h3 {
        position: static !important;
        transform: none !important;
        margin: 1rem 0 0.5rem 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* Bulletin Plugin Compatibility */
.bulletinwp-bulletins {
    position: relative;
    z-index: 99999 !important;
}

.bulletinwp-top-fixed {
    z-index: 99999 !important;
}

/* Responsive Tweaks for Narrow Desktop */
@media (min-width: 769px) and (max-width: 1280px) {
    .nav-container {
        padding: 0 0.5rem;
        gap: 0.2rem;
    }

    .logo img {
        height: 18px;
        margin-right: 0.5rem;
    }

    .nav-item {
        font-size: 0.8rem;
        margin-left: 0;
        padding: 0 0.4rem;
    }

    .top-nav {
        gap: 0.2rem !important;
        margin: 0 0.3rem;
        flex-grow: 0;
        flex-shrink: 0;
    }

    .header-right {
        gap: 0.3rem !important;
        align-items: center;
        flex-wrap: nowrap;
    }

    .header-contact {
        gap: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        margin-right: 0.3rem !important;
        white-space: nowrap;
        justify-content: center !important;
        height: auto !important;
    }

    .header-contact span {
        font-size: 11px !important;
        white-space: nowrap;
        display: flex !important;
        align-items: center !important;
        line-height: 12px !important;
        color: var(--text-muted) !important;
        margin: 0 !important;
        padding: 1px 0 !important;
        height: 14px !important;
    }

    .header-contact i {
        font-size: 10px !important;
        margin-right: 3px !important;
        line-height: 1 !important;
    }

    .btn-primary.desktop-only {
        padding: 0.25rem 0.8rem;
        font-size: 0.75rem;
        margin-left: 0;
        white-space: nowrap;
        height: 30px;
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .lang-selector.desktop-only {
        margin-right: 0 !important;
        font-size: 0.75rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
        white-space: nowrap !important;
    }

    /* Hero Fluid Typography handles size automatically */
    .hero-visual .carousel {
        transform: scale(0.75);
        transform-origin: center center;
    }

    .hero-container {
        gap: 0.5rem;
    }

    .live-status-card .status-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }

    .live-status-card .status-header h3 {
        position: static !important;
        transform: none !important;
        margin: 1rem 0 0.5rem 0 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem;
    }
}

/* =========================================
   Header Mini Bar
   ========================================= */
.header-meta-bar {
    background-color: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

.header-meta-bar .nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-left span,
.meta-right a {
    display: inline-block;
    vertical-align: middle;
}

.meta-sep {
    margin: 0 10px;
    opacity: 0.3;
}

.meta-icon {
    margin-right: 5px;
    opacity: 0.5;
}

.lang-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

.lang-link.active,
.lang-link:hover {
    color: #fff;
    font-weight: bold;
}

/* Adjust Main Header Position when Mini Bar is present */
header#main-header {
    top: 40px !important;
}

/* Mobile Handling: Hide Mini Bar */
@media (max-width: 1024px) {
    .header-meta-bar.desktop-only {
        display: none !important;
    }

    header#main-header {
        top: 0 !important;
    }
}

/* =========================================
   WP Admin Bar Adjustments
   ========================================= */
body.admin-bar .header-meta-bar {
    top: 32px;
}

body.admin-bar header#main-header {
    top: 72px !important;
    /* 32px (Admin Bar) + 40px (Mini Bar) */
}

@media screen and (max-width: 782px) {
    body.admin-bar .header-meta-bar {
        top: 46px;
        /* WordPress Admin Bar is taller on mobile */
    }

    body.admin-bar header#main-header {
        top: 46px !important;
        /* On mobile, mini bar is hidden, so just admin bar height */
    }
}

/* Checkpoint: High Z-Index for Mini Bar */
.header-meta-bar {
    z-index: 99999 !important;
}

/* =========================================
   Layout Match Adjustments
   ========================================= */

/* User Utility Alignment */
.user-utility-area {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Space between Login and Signup */
}

/* Links (Login | Signup) */
.login-link {
    font-size: 0.95rem;
    font-weight: 700;
    /* Bold as per image */
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.login-link:hover {
    color: var(--primary);
}

/* Separator between Login | Signup */
.user-utility-area span {
    color: rgba(255, 255, 255, 0.2) !important;
    margin: 0 5px !important;
}

/* Icons (Logged In) */
.util-btn {
    font-size: 1.2rem;
    /* Larger icons */
    padding: 0 10px;
    color: #fff;
    transition: 0.3s;
}

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

/* Quote Request Button */
.btn-primary.desktop-only {
    margin-left: 10px;
    /* Space from utility area */
    border: 1px solid var(--primary);
    background: transparent;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.btn-primary.desktop-only:hover {
    background: var(--primary);
    color: #000;
}

/* =========================================
   Header Visual Refinement (User Request)
   ========================================= */

/* Match Menu Font */
.login-link,
.btn-primary.desktop-only {
    font-family: 'Pretendard', sans-serif !important;
    font-weight: 700 !important;
    /* Match Nav Item Weight */
    font-size: 0.95rem !important;
    /* Slightly smaller than nav but readable */
    letter-spacing: -0.02em;
}

/* Login Link: White */
.login-link {
    color: #fff !important;
}

/* Signup Link: Specific Coral/Red from Image */
/* Note: The PHP inline style might override this, but we'll try to target it or update PHP if needed.
   The PHP has style="color: var(--accent);". I will update style.css to be specific.
*/
.login-link.signup {
    color: #ff6b6b !important;
    /* Soft Coral Red matching image */
}

/* IMPORTANT: Since I cannot easily add a class to the PHP without editing it again, 
   I will use the :last-child or :nth-child selector if possible, 
   OR just rely on the existing inline style but updated to the right color if I edit PHP. 
   
   Actually, I can just target the <a> that contains "Sign Up" or "회원가입" by css? No can't do text match.
   In the PHP I added style="color: var(--accent);". 
   var(--accent) is #ff0055 (Pinkish). The image is #ff6b6b (Salmon).
   I should update the PHP to use the class or correct the inline style.
   But first let's set the button style.
*/

/* Quote Button: Cyan Outline, Black/Transparent BG, Scaled Pill */
.btn-primary.desktop-only {
    border: 1px solid #00f2ff !important;
    /* Cyan */
    color: #fff !important;
    background: #000 !important;
    /* Black background as per image (or transparent on black header) */
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.btn-primary.desktop-only:hover {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
    background: #00f2ff !important;
    color: #000 !important;
}

/* =========================================
   Final Visual Position Tuning
   ========================================= */

/* 1. Expand Header Width */
.nav-container {
    max-width: 1600px !important;
    /* Wide layout as per image */
    padding: 0 40px !important;
}

/* 2. Increase Logo Size */
.logo img {
    height: 48px !important;
    /* Larger logo */
    width: auto;
}

/* 3. Quote Button Position & Spacing */
.header-right {
    gap: 30px !important;
    /* Open up spacing */
}

.btn-primary.desktop-only {
    margin-left: 20px !important;
    padding: 0.6rem 2rem !important;
    /* Wider button */
    font-size: 1rem !important;
    /* Readable text */
}

/* 4. Mini Bar Adjustment */
.header-meta-bar .nav-container {
    padding: 0 40px !important;
    /* Match main header padding */
}

/* Ensure Logo Margin is adequate but not huge */
.logo {
    margin-right: 0 !important;
    /* Let flex gap handle or push center nav */
}

/* Center Nav Positioning */
.top-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 60px !important;
    /* Wide menu spacing */
}

/* Ensure Nav doesn't overlap if screen is smaller but > 1024 */
@media screen and (max-width: 1400px) {
    .nav-container {
        padding: 0 20px !important;
    }

    .top-nav {
        position: static;
        transform: none;
        flex-grow: 1;
        justify-content: center;
        gap: 30px !important;
    }

    .logo img {
        height: 36px !important;
    }
}

/* =========================================
   Refinements: Logo Size & Text
   ========================================= */

/* 1. Reduce Logo Size (Consistent) */
.logo img {
    height: 32px !important;
    /* Reduced from 48px to 32px */
    width: auto;
}

/* 2. Reduce Login/Signup Text Size */
.login-link {
    font-size: 14px !important;
    /* Reduced from 0.95rem (~15-16px) */
    font-weight: 600 !important;
    /* Slightly less heavy than 700 */
}

/* 3. Global Signup Color (Orange) */
/* This ensures it applies everywhere without inline styles if class matches */
a[href*="/signup"],
.login-link.signup {
    color: #ff6b6b !important;
    /* Soft Orange/Red */
}

/* 4. Ensure Separator Size matches */
.user-utility-area span {
    font-size: 13px !important;
    opacity: 0.3 !important;
}

/* 5. Adjust Button Text Size to match */
.btn-primary.desktop-only {
    font-size: 14px !important;
    padding: 0.5rem 1.5rem !important;
}

/* =========================================
   FINAL FORCE OVERRIDE (Fix Logout State)
   ========================================= */

/* Ensure Login Link is White */
.login-link {
    font-family: 'Pretendard', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Ensure Signup Link is Orange (Target by attribute just in case, or general class) */
a.login-link[href*="signup"] {
    color: #ff6b6b !important;
}

/* Ensure Button is Cyan/Black */
.header-right .btn-primary.desktop-only {
    font-family: 'Pretendard', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: #000 !important;
    border: 1px solid #00f2ff !important;
    border-radius: 50px !important;
    padding: 0.6rem 2rem !important;
    margin-left: 20px !important;
    box-shadow: none !important;
    /* Reset shadow first */
}

.header-right .btn-primary.desktop-only:hover {
    background: #00f2ff !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6) !important;
}

/* Ensure Utility Area Layout matches */
.user-utility-area {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.user-utility-area span {
    font-size: 12px !important;
    opacity: 0.3 !important;
    color: #fff !important;
    margin: 0 !important;
}

/* =========================================
   Mobile View Adjustments
   ========================================= */
@media (max-width: 1200px) {

    /* Hide Mini Bar when Hamburger is visible */
    .header-meta-bar {
        display: none !important;
    }

    /* Ensure Header sticks to top */
    header#main-header {
        top: 0 !important;
        margin-top: 0 !important;
    }

    /* Ensure Nav Container allows full width for hamburger alignment */
    .header-right {
        gap: 15px !important;
    }
}
/* Hide Scroll Down Indicator on Mobile */
@media screen and (max-width: 768px) {
    .scroll-down {
        display: none !important;
    }
}

/* =========================================
   Home Hero Premium Clarity Tuning
   - Scope: front page only
   - Goal: reduce haze, increase depth/definition
   ========================================= */
body.home .blob-container {
    filter: blur(58px);
}

body.home .blob {
    opacity: 0.42;
}

body.home .hero {
    position: relative;
    isolation: isolate;
}

body.home .hero-container,
body.home .scroll-down {
    position: relative;
    z-index: 1;
}

body.home .hero-text h1 {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.34);
}

body.home .text-gradient {
    text-shadow: 0 0 14px rgba(0, 242, 255, 0.22), 0 0 22px rgba(189, 0, 255, 0.12);
}

body.home .hero-text p {
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.30);
}

body.home .hero-visual .carousel {
    filter: contrast(1.05) saturate(1.06);
}

body.home .card-face {
    border-radius: 22px;
}

body.home .card-front {
    backdrop-filter: blur(32px) saturate(150%);
    -webkit-backdrop-filter: blur(32px) saturate(150%);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.20) 0%,
            rgba(255, 255, 255, 0.08) 28%,
            rgba(255, 255, 255, 0.03) 54%,
            rgba(255, 255, 255, 0.14) 100%);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-bottom-color: rgba(255, 255, 255, 0.24);
    border-right-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 24px 54px rgba(2, 8, 20, 0.42),
        inset 0 0 0 1px rgba(255, 255, 255, 0.24),
        inset 0 0 28px rgba(255, 255, 255, 0.08);
}

body.home .card-front::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.30) 0%,
            rgba(255, 255, 255, 0.08) 36%,
            rgba(255, 255, 255, 0.00) 68%);
    opacity: 0.55;
}

body.home .card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.45px, transparent 0.55px);
    background-size: 3px 3px;
    opacity: 0.08;
}

body.home .card-container:hover .card-front {
    border-color: rgba(0, 242, 255, 0.52);
    box-shadow:
        0 0 28px rgba(0, 242, 255, 0.26),
        0 18px 42px rgba(3, 10, 24, 0.48),
        inset 0 0 22px rgba(255, 255, 255, 0.12);
}

@media (max-width: 1024px) {
    body.home .card-front {
        backdrop-filter: blur(24px) saturate(140%);
        -webkit-backdrop-filter: blur(24px) saturate(140%);
    }

    body.home .hero-visual .carousel {
        filter: contrast(1.03) saturate(1.03);
    }
}

/* =========================================
   Home Premium Redesign
   - Scope: front-page only
   ========================================= */
body.home .home-premium-shell {
    width: min(1280px, calc(100% - 4rem));
    margin: 0 auto;
}

body.home .home-premium-hero {
    padding: 190px 0 92px;
    min-height: auto;
    overflow: visible;
}

body.home .home-premium-hero .hero-container {
    max-width: none;
    padding: 0;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: stretch;
    text-align: left;
}

body.home .home-premium-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.home .home-hero-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 470px;
}

body.home .home-hero-carousel .carousel {
    margin: 0 auto;
}

body.home .home-premium-eyebrow,
body.home .home-section-eyebrow,
body.home .home-proof-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 242, 255, 0.22);
    background: rgba(0, 242, 255, 0.08);
    color: #c5f7ff;
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.home .home-premium-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.3rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--fs-sm);
    font-weight: 600;
}

body.home .home-premium-mark img {
    width: 52px;
    height: auto;
}

body.home .home-premium-copy h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.8rem, 4.8vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 720px;
}

body.home .home-premium-copy p {
    max-width: 680px;
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.72;
}

body.home .home-premium-break-mobile {
    display: none;
}

body.home .home-premium-break-desktop {
    display: inline;
}

body.home .home-premium-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

body.home .home-premium-chip {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-sm);
    font-weight: 700;
}

body.home .home-premium-actions {
    display: flex;
    gap: 0.95rem;
    flex-wrap: wrap;
    perspective: none;
    margin-bottom: 1rem;
}

body.home .home-premium-actions .btn-primary,
body.home .home-premium-actions .btn-outline {
    min-width: 210px;
    min-height: 54px;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 800;
}

body.home .home-premium-actions .btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 52%, #14b8a6 100%);
    border-color: transparent;
    box-shadow: 0 18px 36px -20px rgba(37, 99, 235, 0.8);
}

body.home .home-premium-actions .btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 48%, #2dd4bf 100%);
    color: #fff;
    transform: translateY(-1px);
}

body.home .home-premium-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

body.home .home-premium-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.42);
}

body.home .home-premium-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #c9efff;
    font-size: var(--fs-sm);
    font-weight: 700;
}

body.home .home-premium-tertiary:hover {
    color: #fff;
}

body.home .home-proof-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1.35rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0) 38%),
        linear-gradient(180deg, rgba(10, 18, 34, 0.94) 0%, rgba(6, 10, 20, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 32px 80px -42px rgba(2, 8, 20, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.home .home-proof-main,
body.home .home-proof-mini,
body.home .home-editor-shell,
body.home .home-command-card,
body.home .home-quick-group,
body.home .home-link-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.home .home-proof-main {
    padding: 1.35rem;
    border-radius: 24px;
}

body.home .home-proof-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

body.home .home-proof-head h2 {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.15;
}

body.home .home-proof-copy {
    margin-bottom: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--fs-sm);
    line-height: 1.65;
}

body.home .home-proof-inline-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

body.home .home-proof-inline-item {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.home .home-proof-inline-label {
    display: block;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.56);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.home .home-proof-inline-item strong {
    display: block;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    letter-spacing: -0.03em;
}

body.home .home-proof-inline-item strong span {
    margin-left: 0.15rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.95rem;
    font-weight: 600;
}

body.home .home-proof-subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

body.home .home-proof-mini {
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 20px;
    min-height: 122px;
}

body.home .home-proof-mini i {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.12);
    color: #67e8f9;
}

body.home .home-proof-mini strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.4;
}

body.home .home-proof-mini span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: var(--fs-sm);
    line-height: 1.55;
}

body.home .home-editor-band {
    padding: 0 0 2.6rem;
}

body.home .home-editor-shell {
    padding: 1.6rem 1.8rem;
    border-radius: 24px;
}

body.home .home-editor-shell > *:last-child {
    margin-bottom: 0;
}

body.home .home-operations-section {
    padding: 1rem 0 3.75rem;
}

body.home .home-operations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "main contact"
        "feature links";
    gap: 1.2rem;
    align-items: stretch;
}

body.home .home-operations-main {
    display: contents;
}

body.home .home-quick-panel {
    display: contents;
}

body.home .home-command-card {
    grid-area: main;
}

body.home .home-command-card {
    height: 100%;
    min-height: 405px;
    padding: 1.25rem;
    border-radius: 28px;
    box-shadow:
        0 24px 54px -34px rgba(2, 8, 20, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.home .home-command-card:hover {
    border-color: rgba(0, 242, 255, 0.22);
    box-shadow:
        0 28px 60px -36px rgba(0, 0, 0, 0.85),
        0 0 18px rgba(0, 242, 255, 0.12);
}

body.home .home-command-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

body.home .home-command-header h3,
body.home .home-quick-group h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
}

body.home .home-command-header p,
body.home .home-quick-group p,
body.home .home-clients-intro p,
body.home .home-section-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
}

body.home .home-command-card .status-grid {
    gap: 0.8rem;
}

body.home .home-command-card .status-item {
    padding: 0.95rem 0.85rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.home .home-command-card .status-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -26px rgba(0, 242, 255, 0.22);
}

body.home .home-quick-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: 1.35rem 1.45rem;
    border-radius: 24px;
}

body.home .home-contact-group {
    grid-area: contact;
    min-height: 405px;
}

body.home .home-feature-group {
    grid-area: feature;
    height: 100%;
    min-height: 290px;
}

body.home .home-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: auto;
}

body.home .home-contact-item:first-child {
    grid-column: 1 / -1;
}

body.home .home-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    min-height: 116px;
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
}

body.home .home-contact-item i {
    width: 18px;
    margin-top: 0.25rem;
    color: #67e8f9;
}

body.home .home-contact-item strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #fff;
    font-size: var(--fs-sm);
}

body.home .home-contact-item span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: var(--fs-sm);
}

body.home .home-link-grid {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
    align-content: stretch;
    align-items: stretch;
    align-self: stretch;
    height: 100%;
    min-height: 290px;
}

body.home .home-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.55rem 1.35rem;
    border-radius: 22px;
    color: inherit;
    height: 100%;
    min-height: 100%;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

body.home .home-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 242, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

body.home .home-link-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
    font-size: 1.35rem;
}

body.home .home-link-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    gap: 0.28rem;
}

body.home .home-link-copy strong {
    display: block;
    margin-bottom: 0;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.24;
}

body.home .home-link-copy span {
    display: block;
    color: rgba(255, 255, 255, 0.66);
    font-size: var(--fs-sm);
    line-height: 1.58;
    text-align: center;
}

body.home .home-link-note {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.96rem;
    line-height: 1.52;
}

body.home .home-link-note-strong {
    color: #d9edff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.home .home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.75rem;
    flex: 1 1 auto;
}

body.home .home-feature-item {
    display: flex;
    align-items: center;
    min-height: 88px;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.home .home-feature-item span {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: var(--fs-sm);
    font-weight: 700;
}

body.home .home-reviews-section {
    padding: 4.6rem 0 3.2rem;
}

body.home .home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

body.home .home-section-copy h2,
body.home .home-clients-intro h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 3vw, 2.75rem);
}

body.home .home-section-copy {
    max-width: 700px;
}

body.home .home-section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

body.home .home-review-primary,
body.home .home-review-secondary {
    min-height: 50px;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 800;
}

body.home .home-review-primary {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    border-color: transparent;
}

body.home .home-review-primary:hover {
    color: #fff;
}

body.home .home-review-secondary {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

body.home .home-review-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
}

body.home .home-reviews-section .reviews-marquee-container {
    padding: 0.2rem 0 0.8rem;
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

body.home .home-reviews-section .reviews-marquee-track {
    gap: 1.25rem;
    animation-duration: 52s;
}

body.home .home-reviews-section .review-card {
    width: 340px;
    min-height: 230px;
    padding: 1.6rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.home .home-reviews-section .review-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
}

body.home .home-reviews-section .review-content {
    font-size: 1rem;
    line-height: 1.75;
}

body.home .home-clients-section {
    padding: 1rem 0 0;
}

body.home .home-clients-intro {
    margin-bottom: 1.2rem;
}

body.home .home-clients-strip {
    height: 104px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

body.home .home-clients-strip .carousel-track {
    animation-duration: 100s;
}

body.home .home-clients-strip .client-logo {
    padding: 0 34px;
}

body.home .home-clients-strip img {
    height: 38px !important;
    filter: grayscale(100%) invert(1) opacity(0.72);
}

body.home .home-clients-strip img:hover {
    filter: grayscale(100%) invert(1) opacity(1);
    transform: scale(1.04);
}

@media (max-width: 1280px) {
    body.home .home-premium-hero .hero-container,
    body.home .home-operations-grid {
        gap: 1.2rem;
    }

    body.home .home-proof-inline-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.home .home-operations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home .home-contact-list {
        grid-template-columns: 1fr;
    }

    body.home .home-contact-item:first-child {
        grid-column: auto;
    }
}

@media (max-width: 1024px) {
    body.home .home-premium-hero {
        padding: 132px 0 68px;
    }

    body.home .home-premium-shell {
        width: min(100%, calc(100% - 2.4rem));
    }

    body.home .home-premium-hero .hero-container,
    body.home .home-operations-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "feature"
            "contact"
            "links";
    }

    body.home .home-premium-copy,
    body.home .home-premium-hero .hero-container {
        text-align: left;
    }

    body.home .home-hero-carousel {
        min-height: 360px;
    }

    body.home .home-proof-panel,
    body.home .home-command-card,
    body.home .home-quick-group {
        border-radius: 24px;
    }

    body.home .home-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home .home-section-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    body.home .home-premium-hero {
        padding: 112px 0 56px;
    }

    body.home .home-premium-copy h1 {
        font-size: clamp(2.3rem, 9vw, 3.6rem);
    }

    body.home .home-premium-break-mobile {
        display: inline;
    }

    body.home .home-premium-break-desktop {
        display: none;
    }

    body.home .home-premium-actions {
        width: 100%;
        flex-direction: column;
    }

    body.home .home-premium-actions .btn-primary,
    body.home .home-premium-actions .btn-outline,
    body.home .home-review-primary,
    body.home .home-review-secondary {
        width: 100%;
        min-width: 0;
    }

    body.home .home-hero-carousel {
        min-height: 290px;
    }

    body.home .home-proof-head {
        flex-direction: column;
    }

    body.home .home-proof-inline-stats,
    body.home .home-proof-subgrid,
    body.home .home-link-grid,
    body.home .home-feature-grid,
    body.home .home-command-card .status-grid {
        grid-template-columns: 1fr;
    }

    body.home .home-reviews-section .reviews-marquee-container {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        padding-bottom: 0.4rem;
    }

    body.home .home-reviews-section .reviews-marquee-track {
        animation: none;
        width: max-content;
    }

    body.home .home-reviews-section .review-card {
        width: 280px;
        min-height: 214px;
    }

    body.home .home-clients-strip .carousel-track {
        animation-duration: 140s;
    }
}

@media (max-width: 390px) {
    body.home .home-premium-shell {
        width: min(100%, calc(100% - 1.6rem));
    }

    body.home .home-premium-chip-row {
        gap: 0.55rem;
    }

    body.home .home-premium-chip {
        width: 100%;
        justify-content: center;
    }

    body.home .home-proof-inline-item strong,
    body.home .home-command-card .stat-value {
        white-space: nowrap;
    }
}
