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

:root {
    --primary-pink: #ff6b9d;
    --primary-purple: #c44dff;
    --primary-blue: #4d9fff;
    --dark-bg: #0f0f1e;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b8b8d4;
    --gold: #ffd700;
    --legendary: linear-gradient(135deg, #ffd700, #ff6b6b, #4d9fff, #c44dff);
}

body {
    font-family: 'Poppins', 'Nanum Gothic', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 50%, #16213e 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== Language Switcher ===== */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.lang-btn .flag {
    font-size: 1.2em;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
}

.lang-btn.active:hover {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
}

/* ===== Background Animation ===== */
.hearts-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hearts-background i {
    position: absolute;
    font-size: 20px;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
    color: var(--primary-pink);
}

.hearts-background i:nth-child(1) { left: 10%; animation-delay: 0s; }
.hearts-background i:nth-child(2) { left: 25%; animation-delay: 3s; }
.hearts-background i:nth-child(3) { left: 40%; animation-delay: 6s; }
.hearts-background i:nth-child(4) { left: 60%; animation-delay: 2s; }
.hearts-background i:nth-child(5) { left: 80%; animation-delay: 5s; }
.hearts-background i:nth-child(6) { left: 15%; animation-delay: 7s; color: #ff9a56; }
.hearts-background i:nth-child(7) { left: 55%; animation-delay: 4s; color: #ff9a56; }
.hearts-background i:nth-child(8) { left: 90%; animation-delay: 1s; color: #ff9a56; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); }
    50% { transform: translateY(-20vh) rotate(360deg); }
}

/* ===== Container ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== Header ===== */
.header {
    text-align: center;
    padding: 30px 0;
    animation: fadeInDown 1s ease;
}

.logo {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.5));
}

.tagline {
    margin-top: 10px;
    font-size: 1.1em;
    color: var(--text-secondary);
    animation: pulse 2s infinite;
}

/* ===== Hero Section ===== */
.hero {
    margin: 50px 0;
    animation: fadeIn 1s ease;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    96% { transform: translate(-2px, -2px); }
}

.subtitle {
    font-size: 1.8em;
    color: var(--primary-pink);
    margin-bottom: 20px;
    font-weight: 600;
}

.description {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    flex: 1;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-top: 5px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    animation: float-image 3s ease-in-out infinite;
}

@keyframes float-image {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(196, 77, 255, 0.2));
    pointer-events: none;
}

/* ===== Pricing Section ===== */
.pricing-section {
    margin: 80px 0;
    animation: fadeIn 1.2s ease;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-title i {
    color: var(--gold);
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 25px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple));
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
}

.chat-card { border-color: rgba(77, 159, 255, 0.3); }
.chat-card::before { background: linear-gradient(90deg, #4d9fff, #00d4ff); }

.dating-card { border-color: rgba(255, 107, 157, 0.3); }
.dating-card::before { background: linear-gradient(90deg, var(--primary-pink), #ff3366); }

.marriage-card { 
    border: 2px solid;
    border-image: var(--legendary) 1;
    animation: legendary-glow 3s infinite;
}

@keyframes legendary-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 50px rgba(255, 215, 0, 0.6); }
}

.card-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #4d9fff;
    color: white;
    padding: 8px 40px;
    font-size: 0.9em;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-ribbon.premium {
    background: var(--primary-pink);
}

.card-ribbon.legendary {
    background: var(--legendary);
    animation: legendary-shine 2s infinite;
}

@keyframes legendary-shine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.card-icon {
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 20px;
}

.chat-card .card-icon i { color: #4d9fff; }
.dating-card .card-icon i { color: var(--primary-pink); }
.marriage-card .card-icon i { 
    background: var(--legendary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card h3 {
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 15px;
}

.card-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1em;
}

.price-options {
    margin: 30px 0;
}

.price-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.price-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.price-item.featured {
    border-color: var(--primary-pink);
    background: rgba(255, 107, 157, 0.1);
}

.price-item.ultimate {
    border: 2px solid var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.duration {
    display: block;
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    justify-content: center;
}

.price.mega {
    margin: 20px 0;
}

.amount {
    font-size: 3em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-item.ultimate .amount {
    font-size: 4em;
    background: var(--legendary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: legendary-pulse 2s infinite;
}

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

.currency {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-primary);
}

.price-note {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 107, 157, 0.2);
    border-radius: 10px;
    font-size: 0.9em;
    text-align: center;
    color: var(--primary-pink);
}

.price-note i {
    margin-right: 5px;
}

.price-subtext {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1em;
    color: var(--gold);
    font-weight: 600;
}

.info-box {
    background: rgba(77, 159, 255, 0.1);
    border-left: 4px solid #4d9fff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.dating-card .info-box {
    background: rgba(255, 107, 157, 0.1);
    border-left-color: var(--primary-pink);
}

.info-box.legendary-info {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--gold);
}

.info-box i {
    font-size: 1.5em;
    margin-right: 10px;
    vertical-align: middle;
}

.info-box p {
    font-size: 0.95em;
    line-height: 1.6;
}

.cta-button {
    width: 100%;
    padding: 18px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #4d9fff, #00d4ff);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(77, 159, 255, 0.4);
}

.dating-card .cta-button {
    background: linear-gradient(135deg, var(--primary-pink), #ff3366);
}

.dating-card .cta-button:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.legendary-button {
    background: var(--legendary);
    background-size: 300% 300%;
    animation: legendary-gradient 3s ease infinite;
    font-size: 1.2em;
    padding: 20px;
}

.legendary-button:hover {
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
}

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

/* ===== FAQ Section ===== */
.faq-section {
    margin: 80px 0;
    animation: fadeIn 1.4s ease;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-pink);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1em;
}

.faq-question i {
    color: var(--primary-pink);
    font-size: 1.3em;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-question span {
    flex: 1;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 39px;
}

/* ===== Footer ===== */
.footer {
    margin-top: 100px;
    padding: 50px 0 30px;
    border-top: 1px solid var(--card-border);
    animation: fadeIn 1.6s ease;
}

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

.footer-logo {
    font-size: 1.8em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-secondary);
    margin: 20px 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.3em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 20px;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid var(--card-border);
    border-radius: 25px;
    max-width: 500px;
    margin: 10% auto;
    padding: 40px;
    animation: slideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-pink);
    transform: rotate(90deg);
}

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

.modal-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.modal-icon i {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce 1s infinite;
}

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

.modal-title {
    font-size: 2em;
    margin-bottom: 20px;
}

.modal-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-button {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 4px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }
    
    .logo {
        font-size: 2em;
    }
    
    .hero-text h1 {
        font-size: 2.5em;
    }
    
    .subtitle {
        font-size: 1.4em;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8em;
        flex-direction: column;
        gap: 10px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .amount {
        font-size: 2.5em;
    }
    
    .price-item.ultimate .amount {
        font-size: 3em;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20% 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.8em;
        gap: 3px;
    }
    
    .lang-btn .flag {
        font-size: 1em;
    }
    
    .container {
        padding: 15px;
    }
    
    .logo {
        font-size: 1.5em;
    }
    
    .hero-text h1 {
        font-size: 2em;
    }
    
    .description {
        font-size: 1em;
    }
    
    .card-ribbon {
        font-size: 0.7em;
        padding: 6px 30px;
    }
}
