/* ===============================================
   오늘의 운 한잔 - 패밀리 서비스 랜딩페이지
   밝은 파스텔톤 디자인
   =============================================== */

/* CSS Variables */
:root {
    /* Pastel Color Palette */
    --pastel-pink: #FFD1DC;
    --pastel-lavender: #E8D1FF;
    --pastel-mint: #D1FFE8;
    --pastel-peach: #FFE5D1;
    --pastel-sky: #D1E8FF;
    --pastel-lemon: #FFF9D1;
    --pastel-coral: #FFDAD1;
    --pastel-lilac: #E5D1FF;

    /* Darker Pastel for text/accents */
    --pastel-pink-dark: #E8B4D8;
    --pastel-lavender-dark: #C9A8E9;
    --pastel-mint-dark: #A8E9C9;
    --pastel-peach-dark: #E9C9A8;

    /* Gradient Colors */
    --gradient-hero: linear-gradient(135deg, #FFE5EC 0%, #E8D1FF 50%, #D1E8FF 100%);
    --gradient-cta: linear-gradient(135deg, #FFD1DC 0%, #E8D1FF 100%);
    --gradient-card: linear-gradient(135deg, #fff 0%, #fafafa 100%);

    /* Text Colors */
    --text-primary: #2D3748;
    --text-secondary: #718096;
    --text-light: #A0AEC0;

    /* Spacing */
    --section-padding: 80px 0;
    --card-radius: 20px;
    --btn-radius: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===============================================
   Hero Section
   =============================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 60px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    font-size: 3rem;
}

.floating-icon.icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.floating-icon.icon-4 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
    font-size: 2.5rem;
}

.floating-icon.icon-5 {
    top: 40%;
    left: 20%;
    animation-delay: 4s;
}

.floating-icon.icon-6 {
    top: 50%;
    right: 25%;
    animation-delay: 5s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    border: none;
    border-radius: var(--btn-radius);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    transition: var(--transition-normal);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
    color: #fff;
}

.arrow-down {
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 200%;
    height: auto;
    position: relative;
    left: 0;
}

/* Wave Animation Styles */
.wave {
    transform-origin: center bottom;
}

.wave-back {
    animation: waveMove 8s ease-in-out infinite;
}

.wave-mid {
    animation: waveMove 6s ease-in-out infinite reverse;
}

.wave-front {
    animation: waveMove 4s ease-in-out infinite;
}

@keyframes waveMove {

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

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

/* ===============================================
   Section Common Styles
   =============================================== */
.section-header {
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-cta);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===============================================
   Services Section
   =============================================== */
.services-section {
    padding: var(--section-padding);
    background: #fff;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: var(--gradient-card);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--pastel-pink), var(--pastel-lavender));
    opacity: 0;
    transition: var(--transition-normal);
}

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

.service-card:hover::before {
    opacity: 1;
}

/* Card Color Variations */
.card-coffee::before {
    background: linear-gradient(90deg, #D4A574, #A67B5B);
}

.card-name::before {
    background: linear-gradient(90deg, #7EC8E3, #5BA5C5);
}

.card-dream::before {
    background: linear-gradient(90deg, #E8D1FF, #C9A8E9);
}

.card-today::before {
    background: linear-gradient(90deg, #FFE066, #FFC107);
}

.card-match::before {
    background: linear-gradient(90deg, #FFB6C1, #FF69B4);
}

.card-face::before {
    background: linear-gradient(90deg, #98D8C8, #6BB38A);
}

.card-naming::before {
    background: linear-gradient(90deg, #FFD1DC, #FFB6C1);
}

.card-tarot::before {
    background: linear-gradient(90deg, #DDA0DD, #BA55D3);
}

.card-qna::before {
    background: linear-gradient(90deg, #A78BFA, #7C3AED);
}

.card-brand::before {
    background: linear-gradient(90deg, #14B8A6, #0D9488);
}

.card-year::before {
    background: linear-gradient(90deg, #FFD700, #FF6347);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.service-card:hover .service-icon {
    animation: none;
    transform: scale(1.2);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-price {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #EC4899;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFF0F5, #FFE4EC);
    border-radius: 20px;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #8B5CF6;
    transition: var(--transition-normal);
}

.service-card:hover .service-link {
    color: #EC4899;
}

/* ===============================================
   Features Section
   =============================================== */
.features-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #fff 0%, #F8F9FA 100%);
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    height: 100%;
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===============================================
   CTA Section
   =============================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    border: none;
    border-radius: var(--btn-radius);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    transition: var(--transition-normal);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
    color: #fff;
}

/* ===============================================
   Footer Section (Light Pastel Style)
   =============================================== */
footer {
    background: linear-gradient(180deg, #F8F9FA 0%, #EDF2F7 100%);
    color: #4A5568;
    padding: 25px 15px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
}

.footer-links a {
    color: #4A5568;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B5CF6;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 12px 0;
}

.footer-info {
    font-size: 11px;
    line-height: 1.6;
    color: #718096;
}

.footer-info p {
    margin-bottom: 2px;
}

.footer-company {
    font-size: 12px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 8px !important;
}

.footer-info .mx-1 {
    margin: 0 5px;
    opacity: 0.5;
}

.footer-info .mt-2 {
    margin-top: 8px !important;
}

.footer-info a {
    color: #8B5CF6;
    text-decoration: underline;
}

.footer-info a:hover {
    color: #EC4899;
}

.footer-copyright {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 10px;
    color: #A0AEC0;
}

.footer-copyright p {
    margin: 0;
}

/* ===============================================
   KakaoTalk Floating Chat Button
   =============================================== */
.kakaoChat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: auto;
    z-index: 9999;
    cursor: pointer;
    transition: var(--transition-normal);
}

.kakaoChat:hover {
    transform: scale(1.1);
}

/* ===============================================
   Responsive Styles
   =============================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-section {
        min-height: 90vh;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-hero {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .floating-icon {
        font-size: 1.5rem;
    }

    .floating-icon.icon-1,
    .floating-icon.icon-4 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .service-card {
        padding: 25px 15px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-desc {
        font-size: 0.8rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-desc {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .footer-section {
        padding: 40px 0 30px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-links .divider {
        margin: 0 10px;
    }

    .footer-info {
        font-size: 0.8rem;
    }

    .footer-info .company-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 20px 12px;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-title {
        font-size: 0.9rem;
    }

    .service-desc {
        font-size: 0.75rem;
    }
}

/* ===============================================
   AOS Animation Overrides
   =============================================== */
[data-aos] {
    pointer-events: auto !important;
}

/* Smooth Scroll Offset for Fixed Headers (if needed) */
section[id] {
    scroll-margin-top: 80px;
}