/* ==========================================================================
   index.css - 메인 페이지 스타일
   LoveSwitch
   ========================================================================== */

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }
}

.hero-text {
    max-width: 600px;
}

@media (max-width: 1024px) {
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--pink-500);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
}

.hero-title .text-switch {
    display: inline;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 500px;
}

@media (max-width: 1024px) {
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-8);
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
}

@media (max-width: 1024px) {
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
    }
}

.hero-stat {
    text-align: left;
}

@media (max-width: 1024px) {
    .hero-stat {
        text-align: center;
    }
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat-value span {
    color: var(--pink-400);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    position: relative;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--bg-tertiary) 0%,
        var(--bg-secondary) 50%,
        var(--bg-tertiary) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--text-muted);
}

.hero-image-placeholder i {
    width: 64px;
    height: 64px;
    opacity: 0.3;
}

/* Floating cards */
.hero-float-card {
    position: absolute;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    animation: float 6s ease-in-out infinite;
}

.hero-float-card-1 {
    top: 10%;
    left: -60px;
    animation-delay: 0s;
}

.hero-float-card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: -3s;
}

.hero-float-card-3 {
    bottom: 5%;
    left: 10%;
    animation-delay: -1.5s;
}

.float-card-icon {
    width: 40px;
    height: 40px;
    background: var(--pink-glow-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.float-card-icon i {
    width: 20px;
    height: 20px;
    color: var(--pink-400);
}

.float-card-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.float-card-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================
   PROBLEM SECTION
========================================== */
.problem-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.problem-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

.problem-card {
    padding: var(--space-8);
    text-align: center;
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-5);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon i {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
}

.problem-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ==========================================
   SOLUTION SECTION
========================================== */
.solution-section {
    position: relative;
    overflow: hidden;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
}

@media (max-width: 1024px) {
    .solution-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
}

.solution-text {
    max-width: 500px;
}

@media (max-width: 1024px) {
    .solution-text {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
}

.solution-list {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .solution-list {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    text-align: left;
}

.solution-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--pink-glow-soft);
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-item-icon i {
    width: 20px;
    height: 20px;
    color: var(--pink-400);
}

.solution-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.solution-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Solution Visual */
.solution-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .solution-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .solution-visual {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    padding: var(--space-6);
    text-align: center;
}

.solution-card:nth-child(2) {
    transform: translateY(var(--space-8));
}

@media (max-width: 480px) {
    .solution-card:nth-child(2) {
        transform: none;
    }
}

.solution-card-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--pink-500);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.solution-card-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.solution-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================
   PROCESS SECTION
========================================== */
.process-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.process-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-16);
}

.process-timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 80px;
}

.process-line {
    position: absolute;
    left: 28px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--pink-500), var(--pink-700), var(--border-subtle));
}

.process-item {
    position: relative;
    padding-bottom: var(--space-10);
}

.process-item:last-child {
    padding-bottom: 0;
}

.process-step {
    position: absolute;
    left: -80px;
    top: 0;
    width: 56px;
    height: 56px;
    background: var(--bg-primary);
    border: 2px solid var(--pink-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pink-400);
    z-index: 1;
}

.process-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
    padding-top: var(--space-3);
}

.process-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .process-timeline {
        padding-left: 70px;
    }
    
    .process-line {
        left: 23px;
    }
    
    .process-step {
        left: -70px;
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .process-content h4 {
        font-size: 1.125rem;
        padding-top: var(--space-2);
    }
    
    .process-content p {
        font-size: 0.875rem;
    }
}

/* ==========================================
   BENEFITS SECTION
========================================== */
.benefits-section {
    position: relative;
    overflow: hidden;
}

.benefits-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-16);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1280px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: var(--space-8);
    text-align: center;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-5);
    background: linear-gradient(135deg, var(--pink-glow-soft), transparent);
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    width: 32px;
    height: 32px;
    color: var(--pink-400);
}

.benefit-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================
   REVIEWS SECTION
========================================== */
.reviews-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: visible;
}

.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }
}

.reviews-nav {
    display: flex;
    gap: var(--space-3);
}

.reviews-nav-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.reviews-nav-btn:hover {
    background: var(--bg-glass-strong);
    border-color: var(--pink-500);
}

.reviews-nav-btn i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.reviews-slider-wrapper {
    padding: var(--space-4) 0;
    margin: calc(var(--space-4) * -1) 0;
}

.reviews-slider {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-4);
    margin: calc(var(--space-4) * -1);
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    padding: var(--space-8);
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 calc(100vw - 48px);
    }
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--pink-400);
    border: 1px solid var(--border-pink);
}

.review-info h4 {
    font-size: 1rem;
    margin-bottom: var(--space-1);
}

.review-info span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-4);
}

.review-rating i {
    width: 16px;
    height: 16px;
    color: var(--warning);
    fill: var(--warning);
}

.review-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.review-event {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-glass);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-event i {
    width: 14px;
    height: 14px;
}

/* ==========================================
   UPCOMING EVENT SECTION
========================================== */
.upcoming-section {
    position: relative;
    overflow: hidden;
}

.upcoming-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-10);
}

@media (max-width: 768px) {
    .upcoming-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }
}

.upcoming-card {
    display: grid;
    grid-template-columns: 1fr 1px 300px;
    gap: var(--space-8);
    padding: var(--space-10);
}

@media (max-width: 1024px) {
    .upcoming-card {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

.upcoming-divider {
    background: var(--border-subtle);
}

@media (max-width: 1024px) {
    .upcoming-divider {
        display: none;
    }
}

.upcoming-main {
    display: flex;
    flex-direction: column;
}

.upcoming-badges {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.upcoming-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
}

.upcoming-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.upcoming-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.upcoming-meta-item i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.upcoming-participants {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    margin-top: auto;
}

.participants-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.participants-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink-500), var(--pink-400));
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.participants-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.participants-text strong {
    color: var(--pink-400);
}

.upcoming-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upcoming-price {
    margin-bottom: var(--space-6);
}

.price-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: var(--space-1);
}

.price-current {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-unit {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-discount {
    display: inline-block;
    margin-top: var(--space-2);
    padding: var(--space-1) var(--space-2);
    background: var(--pink-glow-soft);
    color: var(--pink-400);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.upcoming-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* ==========================================
   SERVICES SECTION
========================================== */
.services-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-16);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.service-card {
    padding: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--pink-glow-soft), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 30px var(--pink-glow-soft);
}

.service-icon i {
    width: 36px;
    height: 36px;
    color: white;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.service-card .btn {
    position: relative;
    z-index: 1;
}

/* ==========================================
   CTA SECTION
========================================== */
.cta-section {
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-6);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cta-note {
    margin-top: var(--space-6);
    font-size: 0.875rem;
    color: var(--text-muted);
}
