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

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --glow-blue: rgba(147, 197, 253, 0.3);
    --glow-purple: rgba(196, 181, 253, 0.3);
    --glow-pink: rgba(251, 207, 232, 0.3);
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 글로우 효과 */
.glow-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--glow-blue);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--glow-purple);
    bottom: -100px;
    left: -100px;
    animation-delay: 7s;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: var(--glow-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out, pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text-primary);
    animation: fadeInUp 1s ease-out;
}

.text-highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
}

.btn {
    padding: 20px 40px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

/* 서비스 섹션 */
.services {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out;
}

.section-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out;
}

.service-category {
    margin-bottom: 80px;
}

.category-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    display: block;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 36px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: bounce 2s infinite;
}

.badge-hot { background: var(--warning); }
.badge-new { background: var(--success); }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* 마케팅 팁 섹션 */
.tips {
    padding: 120px 0;
    background: white;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.tip-card {
    background: linear-gradient(135deg, #fafafa, #ffffff);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tip-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tip-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
}

.tip-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.4;
}

.tip-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.tip-hashtags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hashtag {
    font-size: 13px;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* CTA 히어로 섹션 */
.cta-hero {
    padding: 140px 0;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    position: relative;
    overflow: hidden;
}

.cta-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-hero h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-primary);
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.cta-hero h2 .text-highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta-hero p {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CTA 섹션 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-section h3 {
    color: white;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.contact-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-kakao {
    background: #FEE500;
    color: #000000;
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(254, 229, 0, 0.3);
    font-size: 16px;
}

.btn-kakao:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(254, 229, 0, 0.5);
}

.btn-telegram {
    background: #0088cc;
    color: white;
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    font-size: 16px;
}

.btn-telegram:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.5);
}

/* 반응형 - 태블릿 및 모바일 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* 히어로 섹션 모바일 */
    .hero {
        padding: 40px 0;
        min-height: 100vh;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
        margin-bottom: 24px;
    }
    
    .hero h1 {
        font-size: 1.875rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .hero h1 br {
        display: none;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.6;
    }
    
    .hero p br {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 18px 24px;
        font-size: 16px;
    }
    
    /* 섹션 타이틀 모바일 */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    /* CTA 히어로 모바일 최적화 */
    .cta-hero {
        padding: 80px 0;
    }
    
    .cta-hero h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .cta-hero h2 br {
        display: none;
    }
    
    .cta-hero p {
        font-size: 1rem;
        margin-bottom: 32px;
    }
    
    .cta-hero .cta-buttons {
        padding: 0 20px;
    }
    
    /* CTA 섹션 모바일 */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h3 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 32px;
        padding: 0 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 20px;
    }
    
    .btn-kakao, .btn-telegram {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    
    /* 서비스 카드 모바일 */
    .service-grid, .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.125rem;
    }
    
    .service-desc {
        font-size: 14px;
    }
    
    .service-badge {
        top: 16px;
        right: 16px;
        padding: 4px 10px;
        font-size: 11px;
    }
    
    /* 팁 카드 모바일 */
    .tip-card {
        padding: 24px 20px;
    }
    
    .tip-title {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }
    
    .tip-content {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .tip-category {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 16px;
    }
    
    .hashtag {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    /* 섹션 간격 조정 */
    .services, .tips {
        padding: 60px 0;
    }
    
    .service-category {
        margin-bottom: 48px;
    }
    
    .category-label {
        margin-bottom: 20px;
        font-size: 12px;
    }
    
    /* 글로우 효과 모바일 */
    .glow-circle {
        filter: blur(60px);
        opacity: 0.3;
    }
    
    .glow-1 {
        width: 300px;
        height: 300px;
    }
    
    .glow-2 {
        width: 250px;
        height: 250px;
    }
    
    .glow-3 {
        width: 200px;
        height: 200px;
    }
}

/* 작은 모바일 (iPhone SE 등) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.625rem;
    }
    
    .hero p {
        font-size: 0.9375rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-hero h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .tip-card {
        padding: 20px 16px;
    }
    
    .service-grid, .tips-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* 모바일 성능 최적화 */
@media (max-width: 768px) and (hover: none) {
    .service-card:hover,
    .tip-card:hover {
        transform: none;
    }
    
    .glow-circle {
        animation: none;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 아이콘 스타일 */
.icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}