/* ========================================
   BEYOND REVIEW - 릴스 마케팅 전문 웹사이트
   반응형 스타일시트
   ======================================== */

/* === 기본 리셋 및 변수 === */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #E85A28;
    --secondary-color: #1E3A8A;
    --accent-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* === 버튼 스타일 === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-lg {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* === 네비게이션 === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo a {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
}

.cta-nav:hover {
    background-color: var(--primary-dark);
}

.cta-nav::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(255, 107, 53, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: #FFD93D;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-value {
    margin-top: 20px;
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === 섹션 공통 스타일 === */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    line-height: 1.8;
}

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

/* === Why Reel Section === */
.why-reel {
    background-color: var(--bg-light);
}

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

.card {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.card-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.card-stat {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 12px 20px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    display: inline-block;
}

/* === Performance Section === */
.performance {
    background-color: white;
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-card:hover .stat-number {
    color: white;
}

.stat-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 14px;
    color: var(--text-light);
}

.stat-card:hover .stat-desc {
    color: rgba(255, 255, 255, 0.9);
}

.performance-footer {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* === Package Section === */
.package {
    background-color: var(--bg-light);
}

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

.package-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-card.popular {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 50px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.package-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 40px;
    text-align: center;
}

.package-name {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
}

.package-price {
    font-size: 42px;
    font-weight: 900;
}

.package-body {
    padding: 40px;
}

.package-target {
    font-size: 15px;
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.package-features h4,
.package-excluded h4,
.package-info strong,
.package-why strong {
    color: var(--text-dark);
    margin-bottom: 12px;
    display: block;
}

.package-features ul,
.package-excluded ul {
    list-style: none;
    margin-bottom: 24px;
}

.package-features li,
.package-excluded li {
    padding: 8px 0;
    padding-left: 28px;   /* ✅ 24 -> 28 */
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 4px;            /* ✅ 0 -> 4 */
    top: 8px;             /* ✅ 추가 */
    color: var(--accent-color);
    font-weight: 700;
    font-size: 16px;      /* ✅ 추가 */
}

.package-excluded li::before {
    content: '✗';
    position: absolute;
    left: 4px;            /* ✅ 0 -> 4 */
    top: 8px;             /* ✅ 추가 */
    color: #EF4444;
    font-weight: 700;
    font-size: 16px;      /* ✅ 추가 */
}


.package-info {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.package-info p {
    font-size: 14px;
    margin-bottom: 8px;
}

.package-why {
    background-color: rgba(255, 107, 53, 0.1);
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.package-footer {
    padding: 0 40px 40px;
}

.package-notes {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.package-notes h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

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

.note h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.note p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* === Portfolio Section === */
.portfolio {
    background-color: white;
}

/* === Top Videos Carousel === */
.top-videos-carousel {
    margin: 60px 0;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding: 20px 10px 40px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-wrapper::-webkit-scrollbar {
    height: 8px;
}

.carousel-wrapper::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.carousel-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.carousel-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.swipe-hint {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
    animation: swipeHint 2s ease-in-out infinite;
}

@keyframes swipeHint {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(10px); }
}

.video-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-embed {
    width: 100%;
    height: 570px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.video-thumbnail-img::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B35, #1E3A8A);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 80px;
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.video-card:hover .play-overlay i {
    transform: scale(1.1);
}

.video-card-info {
    padding: 20px;
    background: white;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.platform-badge.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.platform-badge.youtube {
    background: #FF0000;
    color: white;
}

.platform-badge.tiktok {
    background: #000000;
    color: white;
}

.platform-badge.naver {
    background: #03C75A;
    color: white;
}

.naver-icon-small {
    font-weight: 900;
    font-size: 16px;
}

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

.video-date {
    font-size: 13px;
    color: var(--text-light);
}

.portfolio-subtitle {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 60px 0 40px;
    color: var(--text-dark);
}

.featured-video {
    margin-bottom: 60px;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.video-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.video-info p {
    font-size: 20px;
}

.portfolio-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.portfolio-grid:active {
    cursor: grabbing;
}

.portfolio-grid::-webkit-scrollbar {
    height: 8px;
}

.portfolio-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.portfolio-grid::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.portfolio-grid::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    scroll-snap-align: start;
}

.portfolio-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

.portfolio-thumbnail i {
    font-size: 60px;
    color: white;
    opacity: 0.8;
    z-index: 2;
}

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

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

.portfolio-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portfolio-stats span {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* === FAQ Section === */
.faq {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer > * {
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 12px;
}

.faq-answer ul {
    list-style: none;
    margin: 12px 0;
}

.faq-answer li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    color: var(--text-light);
}

.faq-answer li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* === Contact Section === */
.contact {
    background-color: white;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.radio-label:hover {
    background-color: rgba(255, 107, 53, 0.05);
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

/* === Modal === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    max-width: 600px;
    width: 90%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    text-align: center;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 700;
}

.modal-body {
    padding: 40px;
}

.modal-body p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.modal-body ul {
    list-style: none;
    margin: 20px 0;
}

.modal-body li {
    padding: 8px 0;
    font-size: 15px;
}

.modal-body a {
    color: var(--primary-color);
    font-weight: 600;
}

.thank-you {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-top: 24px;
    color: var(--primary-color);
}

.modal-footer {
    padding: 0 40px 40px;
    text-align: center;
}

/* === Floating Action Buttons === */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.floating-btn i {
    font-size: 20px;
    margin-bottom: 2px;
}

.floating-btn:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.6);
}

.floating-btn:active {
    transform: translateX(-2px) scale(0.98);
}

.floating-btn-package {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

.floating-btn-apply {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.floating-btn-kakao {
    background: linear-gradient(135deg, #fee500, #ffd400);
    color: #3c1e1e;
}

.floating-btn-kakao:hover {
    box-shadow: 0 6px 30px rgba(254, 229, 0, 0.6);
}

/* === Footer === */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.footer-desc {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.social-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* ========================================
   반응형 디자인 - 태블릿 (768px ~ 1199px)
   ======================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
    }

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

    .package-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 60px;
    }

    .package-card.popular {
        transform: scale(1);
    }

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

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

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

/* ========================================
   반응형 디자인 - 모바일 (767px 이하)
   ======================================== */
@media (max-width: 767px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 20px;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    /* Hero */
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.4;
        word-break: keep-all;
        padding: 0 5px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
        word-break: keep-all;
        padding: 0 5px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
        word-break: keep-all;
        padding: 0 5px;
    }

    .hero-value {
        font-size: 15px;
        line-height: 1.6;
        word-break: keep-all;
        padding: 0 5px;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card {
        padding: 20px 14px;
    }

    .card-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .card .card-title {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.3;
        word-break: keep-all;
        font-weight: 700;
    }

    .card .card-text {
        font-size: 12.5px;
        line-height: 1.5;
        word-break: keep-all;
        margin-bottom: 12px;
    }

    .card .card-stat {
        font-size: 12px;
        margin-top: 12px;
        padding: 8px 10px;
        font-weight: 600;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .stat-desc {
        font-size: 12px;
    }

    /* Package - Horizontal Scroll */
    .package-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 20px 0 30px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .package-grid::-webkit-scrollbar {
        height: 6px;
    }

    .package-grid::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 10px;
    }

    .package-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .package-card {
        flex: 0 0 300px;
        scroll-snap-align: center;
        min-width: 300px;
    }

    .package-card .package-header {
        padding: 24px 20px;
    }

    .package-card .package-body {
        padding: 20px;
    }

   .package-card .package-body ul li {
       font-size: 13px;
       padding: 8px 0;
       padding-left: 28px;  /* ✅ 추가 */
       line-height: 1.5;    /* ✅ 1.4 -> 1.5 */
   }

    .package-card .package-footer {
        padding: 20px;
    }

    /* Portfolio */
    .video-thumbnail {
        height: 300px;
    }

    .video-placeholder i {
        font-size: 60px;
    }

    .video-info h3 {
        font-size: 24px;
    }

    .video-info p {
        font-size: 16px;
    }

    /* Top Videos Carousel - Mobile */
    .carousel-wrapper {
        padding: 20px 0 40px;
        gap: 20px;
        scroll-padding: 0 20px;
        scroll-snap-type: x proximity;
    }

    .video-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: start;
    }

    .video-embed {
        height: 500px;
    }

    .video-card-info {
        padding: 15px;
    }

    .view-count {
        font-size: 18px;
    }

    .swipe-hint {
        font-size: 13px;
        margin-top: 15px;
    }

    /* Portfolio Grid Swipe Hint */
    .portfolio-subtitle + .portfolio-grid::before {
        content: '← 옆으로 넘겨보세요 →';
        position: absolute;
        top: -35px;

/* 포트폴리오 캐러셀 드래그 UX */
#carousel-wrapper {
  user-select: none;           /* 드래그 시 텍스트 선택 방지 */
  -webkit-user-drag: none;
  scroll-behavior: smooth;
}

#carousel-wrapper.is-dragging a {
  pointer-events: none;        /* 드래그 중 링크 클릭 방지 */
}

        left: 50%;
        transform: translateX(-50%);
        font-size: 13px;
        color: var(--text-light);
        animation: swipeHint 2s ease-in-out infinite;
        white-space: nowrap;
    }

    .portfolio-subtitle {
        position: relative;
        margin-bottom: 50px;
    }

    .portfolio-subtitle {
        font-size: 22px;
        margin: 40px 0 30px;
    }

    .portfolio-grid {
        gap: 15px;
        padding: 15px 0;
    }

    .portfolio-grid::-webkit-scrollbar {
        height: 6px;
    }

    .portfolio-item {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
    }

    /* FAQ */
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    /* Contact */
    .contact-form {
        padding: 30px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Floating Buttons - Mobile */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 9px;
    }

    .floating-btn i {
        font-size: 18px;
        margin-bottom: 1px;
    }

    .floating-btn span {
        line-height: 1.2;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 16px;
    }
}

/* ========================================
   추가 애니메이션 및 유틸리티
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===============================
   더 많은 성과물: 가로 스크롤 + 드래그 UX
=============================== */
#portfolio-grid {
  display: flex;
  gap: 16px;                 /* 원래 간격에 맞게 조절 가능 */
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory;  /* 스냅(선택) */
  padding-bottom: 8px;            /* 스크롤바 공간 */
}

#portfolio-grid .portfolio-item {
  flex: 0 0 auto;
  width: 280px;               /* 카드 폭: 원하면 240~360 조절 */
  scroll-snap-align: start;   /* 스냅(선택) */
}

/* 공통 드래그 UX (캐러셀 + 그리드 모두) */
#carousel-wrapper,
#portfolio-grid {
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}

#carousel-wrapper.is-dragging,
#portfolio-grid.is-dragging {
  cursor: grabbing;
}

#carousel-wrapper.is-dragging a,
#portfolio-grid.is-dragging a {
  pointer-events: none;  /* 드래그 중 링크 오작동 방지 */
}
