:root {
    /* Color Palette */
    --color-bg: #121212; /* Deep Onyx */
    --color-surface: #1a1a1a;
    --color-text: #F0E6CC; /* Cream Gold */
    --color-text-dim: #A89F8D;
    --color-accent: #C9A96E; /* Amber Gold */
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.container-full {
    width: 100%;
}

.section {
    padding: 120px 0;
}

.dark-section {
    background-color: #0d0d0d;
}

/* Typography Utility */
.section-header {
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sub-title {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.2;
}

.accent {
    color: var(--color-accent);
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
}

.btn-primary:hover {
    background-color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 169, 110, 0.3);
}

.btn-outline {
    border: 1px solid var(--color-text);
    color: var(--color-text);
}

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

.btn.full-width {
    width: 100%;
}

/* 01. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: 0.4s;
}

.header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(240, 230, 204, 0.1);
}

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

 .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-list a {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--color-accent);
}

/* 02. Hero Banner */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.placeholder-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    letter-spacing: 0.3em;
    color: rgba(240, 230, 204, 0.15);
    text-transform: uppercase;
    pointer-events: none;
    text-align: center;
}

.placeholder-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto 12px;
    opacity: 0.3;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.8) 0%, rgba(18, 18, 18, 0.3) 100%);
}

.hero-text {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Pretendard', sans-serif;
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .reveal {
    display: inline-block;
}

.hero-title .accent {
    color: var(--color-accent);
    font-style: normal;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-dim);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    writing-mode: vertical-rl;
}

.hero-scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.hero-scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* 03. Why Charmings */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    padding: 40px;
    background-color: var(--color-surface);
    border: 1px solid rgba(240, 230, 204, 0.05);
    transition: 0.4s;
    text-align: center;
}

.why-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-10px);
}

.card-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-accent);
    margin: 0 auto 24px auto;
    text-align: center;
}

.why-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.why-card p {
    color: var(--color-text-dim);
    font-size: 17px;
}

/* 04. AI Influencer Lineup */
.influencer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.influencer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #0a0a0a;
    box-shadow: inset 0 0 0 1px rgba(240, 230, 204, 0.05);
    transition: 0.4s;
    transform: translateZ(0);
}

.card-image-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.6s;
    transform: translateZ(0);
}

.influencer-card:hover .card-image {
    transform: scale(1.05) translateZ(0);
}

.card-image::after {
    display: none;
}

.card-info {
    padding: 15px 10px 18px;
    text-align: center;
    z-index: 10;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-info .tag {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0;
    display: inline-block;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.card-info h3 {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-info p {
    color: var(--color-text-dim);
    font-size: 14px;
}

.influencer-card {
    cursor: pointer;
}

/* Muse Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.modal-container {
    background-color: var(--color-surface);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(240, 230, 204, 0.1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-close:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.modal-content-wrap {
    display: flex;
    flex-direction: row;
    flex: 1;
    overflow-y: auto;
}

.modal-image-col {
    flex: 1;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.modal-image-main {
    position: relative;
    aspect-ratio: 3/4;
    max-height: 500px;
    background-color: #222;
    overflow: hidden;
}

.modal-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: opacity 0.3s ease;
}

.modal-image-main .placeholder-label {
    display: flex;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    align-items: center; justify-content: center;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background-color: #111;
}

.modal-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.modal-thumb:hover {
    opacity: 0.8;
}

.modal-thumb.active {
    opacity: 1;
    border-color: var(--color-accent);
}

.modal-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-details .tag {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.modal-details h3 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 28px;
    line-height: 1.2;
}

.modal-meta {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-meta p {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--color-text);
    display: flex;
    align-items: flex-start;
}

.modal-meta p strong {
    color: var(--color-accent);
    margin-right: 12px;
    font-weight: 500;
    min-width: 75px;
}

.modal-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-dim);
    margin-bottom: 30px;
}

.modal-social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.modal-social-btn {
    padding: 10px 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .modal-content-wrap {
        flex-direction: column;
    }
    
    .modal-image-col {
        flex: none;
    }

    .modal-image-main {
        aspect-ratio: auto;
        height: 300px;
    }
    
    .modal-thumbnails {
        padding: 10px;
    }

    .modal-thumb {
        width: 50px;
        height: 50px;
    }
    
    .modal-details {
        padding: 30px 20px;
    }
    
    .modal-details h3 {
        font-size: 28px;
    }
}

/* 05. Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 80px;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-accent);
    opacity: 1;
    margin-bottom: 25px;
    line-height: 1;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 50%;
    text-align: center;
}

.step-content {
    position: relative;
    padding-top: 20px;
    z-index: 1;
    width: 100%;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
}

.step-content p {
    color: var(--color-text-dim);
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
}

/* 06. Portfolio */
.section-header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--color-text-dim);
    font-size: 14px;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

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

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: var(--color-surface);
    border: 1px solid rgba(240, 230, 204, 0.05);
    transition: 0.4s;
}

.portfolio-item:hover {
    border-color: var(--color-accent);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-image .placeholder-label {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 0.6;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(18,18,18,0.9), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-hover {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-hover h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 4px;
}

/* 07. Stats */
.stats {
    background-color: var(--color-surface);
    border-top: 1px solid rgba(240, 230, 204, 0.05);
    border-bottom: 1px solid rgba(240, 230, 204, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
}

.b2b-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 100px;
}

.spec-card {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(240, 230, 204, 0.05);
    text-align: center;
}

.spec-card h4 {
    color: var(--color-accent);
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.spec-card p {
    font-size: 17px;
    color: var(--color-text-dim);
    line-height: 1.5;
}

/* 08. Testimonials */
.testimonials {
    text-align: center;
}

.quote {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.4;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.client-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.client-card .name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--color-accent);
}

.client-card .company {
    font-size: 13px;
    color: var(--color-text-dim);
}

.brand-logos {
    margin-top: 80px;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 80px;
    animation: scroll-brand 20s linear infinite;
    width: max-content;
    padding-left: 40px; /* Offset to center gaps */
}

.brand-logo {
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.3;
    font-size: 24px;
}

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

/* 09. FAQ */
.section.faq {
    padding-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(240, 230, 204, 0.1);
}

.faq-question {
    padding: 24px 0;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    color: var(--color-text-dim);
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

/* 10. Contact */
.section.contact {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-card {
    background-color: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-full {
    padding: 80px 40px;
    background: linear-gradient(135deg, #1a1a1a, #121212);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-full h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-info-full p {
    color: var(--color-text-dim);
    margin-bottom: 48px;
    font-size: clamp(16px, 2vw, 20px);
    max-width: 600px;
    line-height: 1.6;
}

.btn-large {
    padding: 20px 60px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.footer {
    padding: 20px 0 40px 0;
    border-top: 1px solid rgba(240, 230, 204, 0.05);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.link-group h4 {
    margin-bottom: 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    color: var(--color-text-dim);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: var(--color-text-dim);
}

/* Mobile Layout */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(240, 230, 204, 0.1);
    z-index: 1000;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
    position: relative;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: 0.3s;
}

/* Hamburger to X Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .nav-list a {
        font-size: 28px;
        font-family: var(--font-heading);
    }

    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .why-grid, 
    .process-steps, 
    .influencer-grid, 
    .b2b-specs,
    .client-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .influencer-card {
        width: 100%;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-cta-bar {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }
}
