/* ============================================
   WELEADER MEO - Main Stylesheet
   Design concept from weleader.kr (purple-based)
   adapted for weleadermeo.com (consulting)
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #0e4376;
    --primary-dark: #08477c;
    --accent: #7000D3;
    --accent-light: #9b4dff;
    --dark: #101228;
    --light-bg: #f8f6f2;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f6f6f6;
    --gray-300: #dee6eb;
    --gray-500: #818181;
    --gray-700: #676767;
    --cyan: #05e5fa;
    --font-kr: 'Noto Sans KR', sans-serif;
    --font-en: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(112, 0, 211, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-kr);
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
}

/* ---- Custom Cursor (weleader.kr style) ---- */
.pointer {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transition: width 0.4s, height 0.4s, background 0.4s;
    transform: translate(-50%, -50%);
    display: none;
}

@media (max-width: 1024px) {
    .pointer { display: none !important; }
    body { cursor: auto; }
}

/* ---- Section Labels ---- */
.section-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.7);
}

.section-header.light .section-label {
    color: var(--cyan);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(16, 18, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
    max-width: 1760px;
    width: 92%;
    margin: 0 auto;
}

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

#hd-logo {
    flex-shrink: 0;
}

#hd-logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

/* Navigation */
.top-nav ul {
    display: flex;
    gap: 0;
}

.top-nav > ul > li {
    position: relative;
    padding: 0 20px;
}

.top-nav > ul > li > a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    padding: 28px 0;
    letter-spacing: -0.3px;
    position: relative;
}

.top-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.top-nav > ul > li:hover > a::after {
    width: 100%;
}

.top-nav > ul > li > a.highlight-menu {
    color: #fff200;
    font-weight: 700;
}

/* Sub Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 10px;
    min-width: 200px;
    background: rgba(16, 18, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.top-nav > ul > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.sub-menu li a:hover {
    color: var(--white);
    background: rgba(112, 0, 211, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 18, 40, 0.98);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content ul {
    text-align: center;
}

.mobile-nav-content ul li {
    margin: 20px 0;
}

.mobile-nav-content ul li a {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.mobile-nav-content ul li a:hover {
    color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 30vh;
    min-height: 280px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.15); }
    to { transform: scale(1); }
}

.hero-slide.active .hero-bg {
    animation: heroZoom 8s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(16, 18, 40, 0.7) 0%,
        rgba(16, 18, 40, 0.5) 50%,
        rgba(16, 18, 40, 0.8) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--cyan);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-slide.active .hero-subtitle {
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-slide.active .hero-title {
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-slide.active .hero-desc {
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 1.2s forwards;
    transition: var(--transition);
}

.hero-slide.active .hero-btn {
    animation: fadeUp 0.8s 1.2s forwards;
}

.hero-btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(112, 0, 211, 0.4);
}

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

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(112, 0, 211, 0.6);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-down span {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-down span::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-section {
    background: var(--accent);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.stat-item.bordered {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.stat-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.about-left,
.about-right {
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-left {
    background: var(--primary-dark);
    color: var(--white);
}

.about-left .section-label {
    color: var(--cyan);
}

.about-left h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-left h2 strong {
    color: var(--cyan);
}

.about-left p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.about-right {
    background: var(--light-bg);
    color: var(--black);
}

.about-right .section-label {
    color: var(--accent);
}

.about-right h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-right p {
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 0, 211, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 120px 0;
    background: var(--white);
}

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

.services-grid.six-col {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   STRENGTHS SECTION
   ============================================ */
.strengths-section {
    padding: 120px 0;
    background: var(--dark);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.strength-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.strength-card:hover {
    background: rgba(112, 0, 211, 0.15);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.strength-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 20px;
}

.strength-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.5;
}

.strength-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 120px 0;
    background: var(--gray-100);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(112, 0, 211, 0.08);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    margin-bottom: 16px;
    color: #ffc107;
    font-size: 14px;
    display: flex;
    gap: 3px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
}

.process-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(112, 0, 211, 0.2);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 30px;
    color: var(--white);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.process-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
    padding: 0 8px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text span {
    font-size: 13px;
    color: var(--gray-500);
    display: block;
    margin-bottom: 2px;
}

.contact-text strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.contact-hours {
    margin-top: 30px;
    padding: 24px;
    background: var(--gray-100);
    border-radius: 12px;
}

.contact-hours h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-hours p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 16px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-kr);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(112, 0, 211, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-kr);
}

.btn-submit:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 0, 211, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    background: var(--accent);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-inner {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-info {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
}

.footer-company {
    margin-bottom: 8px;
}

.footer-links {
    text-align: right;
    flex-shrink: 0;
}

.footer-link-group {
    margin-bottom: 20px;
}

.footer-link-group a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-link-group a:hover {
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-parent {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-parent a {
    color: var(--white);
    font-weight: 600;
}

.footer-parent a:hover {
    text-decoration: underline;
}

/* ============================================
   SIDE BANNER (Floating)
   ============================================ */
.side-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.side-banner.visible {
    opacity: 1;
    transform: translateY(0);
}

.side-kakao,
.side-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(112, 0, 211, 0.4);
    transition: var(--transition);
    white-space: nowrap;
}

.side-kakao:hover,
.side-phone:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.side-kakao i,
.side-phone i {
    font-size: 18px;
}

.side-top {
    width: 48px;
    height: 48px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.side-top:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ============================================
   DEVELOPER PREVIEW (About section)
   ============================================ */
.developer-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    background: rgba(112, 0, 211, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(112, 0, 211, 0.15);
}

.dev-avatar {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.dev-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.dev-info span {
    font-size: 13px;
    color: var(--gray-500);
    font-family: var(--font-en);
}

/* Sub-menu 3rd depth */
.sub-menu-depth {
    list-style: none;
    padding-left: 16px;
}

.sub-menu-depth li a {
    font-size: 13px !important;
    padding: 6px 24px !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.sub-menu-depth li a::before {
    content: '└ ';
    opacity: 0.5;
}

.sub-menu-depth li a:hover {
    color: var(--white) !important;
}

/* ============================================
   CERTIFICATES SECTION
   ============================================ */
.certificates-section {
    padding: 100px 0;
    background: var(--white);
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.cert-item {
    text-align: center;
    width: 140px;
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-icon-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.cert-item:hover .cert-icon-wrap {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(112, 0, 211, 0.15);
}

.cert-icon-wrap img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cert-item p {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-section {
    padding: 100px 0;
    background: var(--white);
}

.clients-logo-wrap {
    text-align: center;
}

.clients-logo-img {
    max-width: 100%;
    border-radius: 12px;
}

/* ============================================
   PARTNERS SECTION (Rolling Swiper)
   ============================================ */
.partners-section {
    padding: 80px 0;
    background: var(--gray-100);
    overflow: hidden;
}

.partner-swiper-wrap {
    margin-top: 40px;
}

.partner-swiper-wrap .swiper {
    overflow: hidden;
    margin-bottom: 16px;
}

.partner-swiper-wrap .swiper-wrapper {
    transition-timing-function: linear !important;
}

.partner-swiper-wrap .swiper-slide {
    width: auto;
    padding: 10px 16px;
}

.partner-swiper-wrap .swiper-slide img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-swiper-wrap .swiper-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   SUB PAGE STYLES
   ============================================ */
.nav-active {
    color: var(--accent) !important;
}

.nav-active::after {
    width: 100% !important;
}

/* Page Hero (sub pages) */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16, 18, 40, 0.75), rgba(16, 18, 40, 0.85));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-section {
    padding: 80px 0 120px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    border: 2px solid var(--gray-300);
    background: transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-kr);
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

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

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(16, 18, 40, 0.95) 0%, rgba(16, 18, 40, 0.7) 70%, transparent 100%);
    color: var(--white);
}

.portfolio-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-overlay h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ============================================
   SUB PAGE INTRO SECTION
   ============================================ */
.sub-intro-section {
    padding: 100px 0;
}

.sub-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sub-intro-grid.reverse {
    direction: rtl;
}

.sub-intro-grid.reverse > * {
    direction: ltr;
}

.sub-intro-text h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--dark);
}

.sub-intro-text p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.8;
}

.sub-intro-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* ============================================
   SUB PAGE SERVICES GRID
   ============================================ */
.sub-services-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.sub-services-section.alt-bg {
    background: var(--white);
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sub-service-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 36px 28px;
    transition: var(--transition);
}

.sub-services-section.alt-bg .sub-service-card {
    background: var(--gray-100);
}

.sub-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.sub-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}

.sub-service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.sub-service-card ul {
    list-style: none;
}

.sub-service-card ul li {
    font-size: 14px;
    color: var(--gray-700);
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-300);
    line-height: 1.6;
}

.sub-service-card ul li:last-child {
    border-bottom: none;
}

/* ============================================
   SUB PAGE PROCESS
   ============================================ */
.sub-process-section {
    padding: 100px 0;
    background: var(--dark);
}

.sub-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sub-process-step {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.sub-process-step:hover {
    background: rgba(112, 0, 211, 0.15);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.sub-step-num {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
}

.sub-process-step h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.sub-process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   MARKETING FRAMEWORK
   ============================================ */
.mkt-framework-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.mkt-framework-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mkt-framework-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mkt-framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.mkt-framework-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.mkt-step-badge {
    display: inline-block;
    padding: 4px 16px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.mkt-framework-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
}

.mkt-framework-card > p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mkt-framework-card ul {
    list-style: none;
}

.mkt-framework-card ul li {
    font-size: 14px;
    color: var(--gray-700);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mkt-framework-card ul li i {
    color: var(--accent);
    font-size: 14px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-section .hero-btn {
    opacity: 1;
    transform: none;
    animation: none;
    background: var(--white);
    color: var(--accent);
}

.cta-section .hero-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CACAT VISION TOOL (Main Page Embed)
   ============================================ */
.cv-tool-section {
    padding: 80px 0;
    background: var(--dark);
}

.cv-tool-header {
    text-align: center;
    margin-bottom: 50px;
}

.cv-tool-header .section-label { color: var(--cyan); }
.cv-tool-header h2 { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1.4; margin-bottom: 12px; }
.cv-tool-header p { font-size: 16px; color: rgba(255,255,255,0.5); }

.cv-tool-app {
    max-width: 700px;
    margin: 0 auto;
}

.cv-tool-upload {
    border: 2px dashed rgba(112,0,211,0.4);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255,255,255,0.03);
}
.cv-tool-upload:hover, .cv-tool-upload.dragover {
    border-color: var(--accent);
    background: rgba(112,0,211,0.08);
}
.cv-tool-upload.has-file { border-color: var(--accent); border-style: solid; }
.cv-tool-upload i { font-size: 44px; color: var(--accent); margin-bottom: 14px; }
.cv-tool-upload h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cv-tool-upload p { font-size: 14px; color: rgba(255,255,255,0.4); }
.cv-tool-filename { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--cyan); }

.cv-tool-settings {
    display: flex; gap: 12px; margin-top: 20px;
}
.cv-tool-setting {
    flex: 1;
}
.cv-tool-setting label {
    display: block; font-size: 12px; color: rgba(255,255,255,0.4);
    margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.cv-tool-setting select {
    width: 100%; padding: 12px 14px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px; color: var(--white); font-size: 14px; font-family: var(--font-kr);
    outline: none; transition: var(--transition);
}
.cv-tool-setting select:focus { border-color: var(--accent); }
.cv-tool-setting select option { background: var(--dark); color: var(--white); }

.cv-tool-analyze-btn {
    display: block; width: 100%;
    margin: 16px auto 0;
    padding: 20px;
    background: var(--accent);
    border: none; color: var(--white);
    font-size: 20px; font-weight: 800;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-kr);
    box-shadow: 0 8px 30px rgba(112,0,211,0.4);
}
.cv-tool-analyze-btn:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(112,0,211,0.5); }
.cv-tool-analyze-btn:disabled { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.25); cursor: not-allowed; box-shadow: none; transform: none; }

.cv-tool-error {
    display: none; max-width: 700px; margin: 16px auto 0;
    background: rgba(244,67,54,0.1); border: 1px solid rgba(244,67,54,0.3);
    border-radius: 10px; padding: 14px 20px; color: #f44336; font-size: 14px; text-align: center;
}

.cv-tool-analyzing {
    display: none; padding: 60px 40px; text-align: center;
}
.cv-tool-analyzing.active { display: block; }
.cv-tool-spinner {
    width: 60px; height: 60px;
    border: 4px solid rgba(255,255,255,0.1); border-top-color: var(--accent);
    border-radius: 50%; animation: cvSpin 1s linear infinite;
    margin: 0 auto 24px;
}
@keyframes cvSpin { to { transform: rotate(360deg); } }
.cv-tool-analyzing h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cv-tool-percent { font-family: var(--font-en); font-size: 36px; font-weight: 800; color: var(--accent); }
.cv-tool-bar { max-width: 400px; margin: 16px auto 0; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.cv-tool-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 3px; transition: width 0.3s; }

.cv-tool-results { display: none; padding: 40px 0; }
.cv-tool-results.active { display: block; }
.cv-tool-results-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 20px; text-align: center; }

.cv-tool-result-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
.cv-tool-result-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; overflow: hidden; transition: var(--transition); position: relative;
}
.cv-tool-result-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.cv-tool-result-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.cv-tool-result-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-tool-result-card.locked .cv-tool-result-img img { filter: blur(12px); }
.cv-tool-result-lock { display: none; position: absolute; inset: 0; background: rgba(16,18,40,0.5); align-items: center; justify-content: center; font-size: 32px; color: rgba(255,255,255,0.6); }
.cv-tool-result-card.locked .cv-tool-result-lock { display: flex; }
.cv-tool-result-info { padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.cv-tool-result-time { font-family: var(--font-en); font-size: 15px; font-weight: 700; color: var(--white); }
.cv-tool-result-tag { margin-left: auto; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.cv-tool-result-tag.cat { background: rgba(76,175,80,0.2); color: #4caf50; }
.cv-tool-result-tag.dog { background: rgba(33,150,243,0.2); color: #2196f3; }

.cv-tool-payment { display: none; text-align: center; padding: 50px 0 30px; }
.cv-tool-payment.active { display: block; }
.cv-tool-pay-btn {
    display: inline-block; padding: 22px 60px;
    background: var(--accent); color: var(--white);
    font-size: 20px; font-weight: 800; border-radius: 60px;
    border: none; cursor: pointer; transition: var(--transition);
    box-shadow: 0 8px 30px rgba(112,0,211,0.4); font-family: var(--font-kr);
}
.cv-tool-pay-btn:hover { background: var(--accent-light); transform: translateY(-3px); }
.cv-tool-price { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 12px; }

.cv-tool-after { display: none; text-align: center; padding: 30px 0; }
.cv-tool-after.active { display: block; }
.cv-tool-retry-btn {
    display: inline-block; padding: 16px 44px;
    background: var(--accent); color: var(--white);
    font-size: 16px; font-weight: 700; border-radius: 50px;
    border: none; cursor: pointer; transition: var(--transition); font-family: var(--font-kr);
}
.cv-tool-retry-btn:hover { background: var(--accent-light); }

@media (max-width: 768px) {
    .cv-tool-header h2 { font-size: 24px; }
    .cv-tool-upload { padding: 36px 20px; }
    .cv-tool-analyze-btn { font-size: 17px; padding: 18px; }
    .cv-tool-result-grid { grid-template-columns: 1fr; }
    .cv-tool-pay-btn { padding: 18px 40px; font-size: 17px; }
}

/* ============================================
   VISION PAGE - Tech Specs & Demo
   ============================================ */
.vision-tech-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tech-spec-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.tech-spec-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.tech-spec-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.tech-spec-card h4 i {
    color: var(--accent);
    margin-right: 8px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(112, 0, 211, 0.08);
    color: var(--accent);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.tech-tag.cat-tag {
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
}

.tech-tag.dog-tag {
    background: rgba(33, 150, 243, 0.12);
    color: #2196f3;
}

/* ============================================
   VISION TOOL - Embedded App
   ============================================ */
.vision-tool-section {
    padding: 100px 0;
    background: var(--dark);
}

.vision-tool-section .section-header h2 { color: var(--white); }
.vision-tool-section .section-header p { color: rgba(255,255,255,0.6); }
.vision-tool-section .section-label { color: var(--cyan); }

.tool-app {
    max-width: 900px;
    margin: 0 auto;
}

/* Upload Area */
.tool-upload {
    border: 2px dashed rgba(112, 0, 211, 0.4);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255,255,255,0.03);
    margin-bottom: 24px;
}

.tool-upload:hover, .tool-upload.dragover {
    border-color: var(--accent);
    background: rgba(112, 0, 211, 0.08);
}

.tool-upload.has-file {
    border-color: var(--accent);
    border-style: solid;
}

.tool-upload-icon {
    font-size: 52px;
    color: var(--accent);
    margin-bottom: 16px;
}

.tool-upload h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.tool-upload p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.tool-filename {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cyan);
}

/* Settings */
.tool-settings {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 24px;
}

.tool-setting {
    flex: 1;
    min-width: 150px;
}

.tool-setting label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tool-setting select,
.tool-setting input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    font-family: var(--font-kr);
    outline: none;
    transition: var(--transition);
}

.tool-setting select:focus,
.tool-setting input:focus {
    border-color: var(--accent);
}

.tool-setting select option {
    background: var(--dark);
    color: var(--white);
}

.tool-start-btn {
    padding: 12px 36px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-kr);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-start-btn:hover { background: var(--accent-light); }
.tool-start-btn:disabled {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
    cursor: not-allowed;
}

/* Error */
.tool-error {
    display: none;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.4);
    border-radius: 8px;
    padding: 16px;
    color: #f44336;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Progress */
.tool-progress {
    display: none;
    margin: 32px 0;
}

.tool-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.tool-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.tool-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    border-radius: 4px;
    transition: width 0.3s;
    width: 0%;
}

/* Results */
.tool-results {
    display: none;
    margin-top: 40px;
}

.tool-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tool-summary-card {
    flex: 1;
    min-width: 120px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.tool-summary-card.cat { border-color: rgba(76, 175, 80, 0.3); }
.tool-summary-card.dog { border-color: rgba(33, 150, 243, 0.3); }

.tool-summary-num {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.tool-summary-card.cat .tool-summary-num { color: #4caf50; }
.tool-summary-card.dog .tool-summary-num { color: #2196f3; }

.tool-summary-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.tool-result-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Frames Gallery */
.tool-frames {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.tool-frame-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
}

.tool-frame-card:hover { transform: translateY(-4px); }

.tool-frame-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.tool-frame-info {
    padding: 12px 14px;
}

.tool-frame-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.tool-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}

.tool-tag.cat { background: rgba(76,175,80,0.2); color: #4caf50; }
.tool-tag.dog { background: rgba(33,150,243,0.2); color: #2196f3; }

.tool-frame-conf {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* Result Video */
.tool-video-wrap { margin-bottom: 20px; }

.tool-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    background: #000;
}

.tool-video-download {
    text-align: center;
    margin-top: 12px;
}

.tool-video-download a {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tool-video-download a:hover { color: var(--accent-light); }

/* Demo Section */
.vision-demo-section {
    padding: 80px 0;
    background: var(--white);
}

.demo-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(112, 0, 211, 0.05), rgba(112, 0, 211, 0.12));
    border: 2px solid rgba(112, 0, 211, 0.2);
    border-radius: 16px;
}

.demo-icon {
    font-size: 48px;
    color: var(--accent);
    flex-shrink: 0;
}

.demo-text {
    flex: 1;
}

.demo-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.demo-text p {
    font-size: 15px;
    color: var(--gray-700);
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    white-space: nowrap;
    transition: var(--transition);
}

.demo-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 0, 211, 0.3);
}

/* ============================================
   LEGAL PAGES (terms, privacy, refund)
   ============================================ */
.legal-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--dark);
    color: var(--white);
}

.legal-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.legal-hero p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.legal-section {
    padding: 60px 0 100px;
    background: var(--white);
}

.legal-container {
    max-width: 800px;
    width: 92%;
    margin: 0 auto;
}

.legal-container h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

.legal-container h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-container p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-container ol,
.legal-container ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-container li {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-container li ul {
    margin-top: 8px;
}

.legal-container a {
    color: var(--accent);
    font-weight: 600;
}

.legal-container a:hover {
    text-decoration: underline;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    text-align: left;
}

.legal-table th {
    background: var(--gray-100);
    font-weight: 700;
    color: var(--dark);
}

.legal-table td {
    color: var(--gray-700);
}

.legal-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-300);
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 20px 40px;
    }

    .legal-hero h1 {
        font-size: 28px;
    }

    .legal-container h2 {
        font-size: 18px;
    }

    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
}

/* ============================================
   ANIMATIONS (Scroll Reveal)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid.six-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid.four-col {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .sub-process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .top-nav { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: 24px; }
    .hero-desc { font-size: 12px; }
    .hero-btn { padding: 10px 24px; font-size: 13px; }
    .hero-indicators { bottom: 16px; }
    .hero-indicators .indicator { width: 8px; height: 8px; }
    .scroll-down { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-left, .about-right { padding: 60px 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-arrow { display: none; }
    .process-grid { gap: 10px; }
    .sub-intro-grid, .sub-intro-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
    .mkt-framework-grid { grid-template-columns: 1fr; }
    .tech-specs-grid { grid-template-columns: 1fr; }
    .demo-card { flex-direction: column; text-align: center; }
    .page-hero-content h1 { font-size: 28px; }
    .cv-tool-settings { flex-direction: column; }
}

@media (max-width: 768px) {
    /* Header */
    .header-wrap { height: 56px; }
    .logo-img { height: 30px; }

    /* Hero - 30vh에 맞춤 */
    .hero-section { height: 30vh; min-height: 200px; }
    .hero-title { font-size: 18px; margin-bottom: 8px; }
    .hero-subtitle { font-size: 11px; margin-bottom: 6px; }
    .hero-desc { font-size: 11px; line-height: 1.5; margin-bottom: 10px; }
    .hero-btn { padding: 8px 20px; font-size: 12px; }

    /* Section Headers */
    .section-header h2 { font-size: 22px; }
    .section-label { font-size: 11px; letter-spacing: 2px; }

    /* CACAT VISION Tool */
    .cv-tool-section { padding: 50px 0; }
    .cv-tool-header h2 { font-size: 22px; }
    .cv-tool-header p { font-size: 14px; }
    .cv-tool-upload { padding: 30px 16px; border-radius: 14px; }
    .cv-tool-upload i { font-size: 32px; margin-bottom: 10px; }
    .cv-tool-upload h3 { font-size: 15px; }
    .cv-tool-upload p { font-size: 12px; }
    .cv-tool-settings { flex-direction: column; gap: 10px; }
    .cv-tool-setting select { padding: 10px 12px; font-size: 13px; }
    .cv-tool-analyze-btn { font-size: 16px; padding: 16px; border-radius: 10px; }
    .cv-tool-result-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cv-tool-result-info { padding: 8px 10px; }
    .cv-tool-result-time { font-size: 13px; }
    .cv-tool-pay-btn { padding: 16px 36px; font-size: 16px; }
    .cv-tool-analyzing h3 { font-size: 16px; }
    .cv-tool-percent { font-size: 28px; }

    /* Stats */
    .stats-section { padding: 30px 0; }
    .stat-number { font-size: 28px; }
    .stat-suffix { font-size: 18px; }
    .stat-title { font-size: 12px; }

    /* Services */
    .services-section { padding: 60px 0; }
    .services-grid, .services-grid.six-col, .services-grid.four-col { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 24px 20px; }
    .service-icon { width: 50px; height: 50px; font-size: 22px; margin-bottom: 16px; }
    .service-card h3 { font-size: 17px; }

    /* About */
    .about-left h2 { font-size: 22px; }
    .about-right h2 { font-size: 20px; }
    .about-left, .about-right { padding: 40px 20px; }
    .developer-preview { padding: 14px; gap: 12px; }
    .dev-avatar { width: 44px; height: 44px; font-size: 18px; }

    /* Certificates */
    .certificates-section { padding: 60px 0; }
    .cert-grid { gap: 16px; }
    .cert-item { width: 80px; }
    .cert-icon-wrap { width: 64px; height: 64px; }
    .cert-icon-wrap img { width: 36px; height: 36px; }
    .cert-item p { font-size: 11px; }

    /* Clients / Partners */
    .clients-section { padding: 60px 0; }
    .partners-section { padding: 50px 0; }

    /* Strengths */
    .strengths-section { padding: 60px 0; }
    .strengths-grid { grid-template-columns: 1fr; gap: 16px; }
    .strength-card { padding: 24px 20px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Portfolio */
    .portfolio-section { padding: 50px 0 80px; }
    .portfolio-filter { gap: 8px; margin-bottom: 30px; }
    .filter-btn { padding: 8px 16px; font-size: 13px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .portfolio-overlay h3 { font-size: 13px; }
    .portfolio-overlay p { font-size: 11px; }
    .portfolio-cat { font-size: 10px; }

    /* Process */
    .process-section { padding: 60px 0; }
    .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .process-step { padding: 16px 8px; }
    .step-icon { width: 50px; height: 50px; font-size: 20px; }
    .process-step h4 { font-size: 12px; }
    .step-number { font-size: 11px; }

    /* Sub pages */
    .page-hero { height: 240px; }
    .page-hero-content h1 { font-size: 24px; }
    .page-hero-content p { font-size: 13px; }
    .sub-intro-section { padding: 60px 0; }
    .sub-intro-text h2 { font-size: 22px; }
    .sub-services-section { padding: 60px 0; }
    .sub-services-grid { grid-template-columns: 1fr; }
    .sub-process-steps { grid-template-columns: 1fr; }
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 22px; }
    .mkt-framework-card { padding: 24px; }

    /* Contact */
    .contact-section { padding: 60px 0; }
    .contact-form-wrap { padding: 20px; }
    .contact-icon { width: 44px; height: 44px; font-size: 18px; }
    .contact-text strong { font-size: 14px; }

    /* Footer */
    .footer-inner { padding: 0 16px; }
    #footer { padding: 50px 0 0; }
    .footer-logo { margin-bottom: 24px; }
    .footer-logo-img { height: 36px; }
    .footer-content { flex-direction: column; gap: 24px; padding-bottom: 24px; }
    .footer-info { font-size: 12px; line-height: 1.8; }
    .footer-links { text-align: left; }
    .footer-legal { flex-wrap: wrap; gap: 12px; }
    .footer-legal a { font-size: 12px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px 0; }
    .footer-copyright { font-size: 12px; }
    .footer-parent { font-size: 12px; }

    /* Side Banner */
    .side-kakao span, .side-phone span { display: none; }
    .side-kakao, .side-phone { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
    .side-top { width: 44px; height: 44px; }
    .side-banner { right: 12px; bottom: 12px; gap: 8px; }

    /* Legal pages */
    .legal-hero { padding: 100px 16px 30px; }
    .legal-hero h1 { font-size: 24px; }
}

@media (max-width: 480px) {
    .hero-section { min-height: 180px; }
    .hero-title { font-size: 16px; }
    .hero-subtitle { font-size: 10px; }
    .hero-desc { font-size: 10px; display: none; }
    .hero-btn { padding: 8px 18px; font-size: 11px; }

    .cv-tool-header h2 { font-size: 20px; }
    .cv-tool-result-grid { grid-template-columns: 1fr; }

    .stats-grid { flex-direction: column; gap: 12px; }
    .stat-item.bordered {
        border-left: none; border-right: none;
        border-top: 1px solid rgba(255,255,255,0.3);
        border-bottom: 1px solid rgba(255,255,255,0.3);
        padding: 16px 0;
    }
    .stat-number { font-size: 24px; }

    .section-header h2 { font-size: 20px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .cert-item { width: 70px; }
    .cert-icon-wrap { width: 56px; height: 56px; }
    .cert-icon-wrap img { width: 30px; height: 30px; }
}
