/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 모달 전체 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* 카드 스타일 */
.modal-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.35s ease-out;
}

/* 제목 */
.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

/* 설명 */
.modal-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

/* 체크박스 그룹 */
.checkbox-group {
    text-align: left;
    margin-bottom: 25px;
}

/* 커스텀 체크박스 */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox span {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox input:checked+span {
    background: linear-gradient(135deg, #ff6b6b, #ff9770);
    border-color: #ff6b6b;
}

.custom-checkbox input:checked+span::after {
    content: '✓';
    position: absolute;
    color: white;
    top: 0;
    left: 3px;
    font-size: 14px;
}

/* 링크 스타일 */
.checkbox-group a {
    color: #ff6b6b;
    font-weight: 600;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* 버튼 그룹 */
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* 동의 버튼 */
.confirm-btn {
    flex: 1;
    padding: 12px 0;
    background: linear-gradient(135deg, #ff6b6b, #ff9770);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-btn:hover {
    background: linear-gradient(135deg, #ff5a5a, #ff865d);
    transform: scale(1.03);
}

/* 취소 버튼 */
.cancel-btn {
    flex: 1;
    padding: 12px 0;
    background: #f0f0f0;
    border: none;
    color: #444;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-btn:hover {
    background: #e5e5e5;
    transform: scale(1.03);
}

/* 모달 등장 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.cta-button.secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.cta-button.secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffd700;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.youtube-premium-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: #333;
    max-width: 350px;
    width: 100%;
}

.youtube-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.youtube-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FF0000;
}

.card-content h3 {
    margin-bottom: 16px;
    color: #333;
}

.price-comparison {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

.discounted-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B6B;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.popular {
    border: 3px solid #FF6B6B;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6B6B;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    margin-bottom: 16px;
    color: #333;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.2rem;
    color: #666;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.price-per-month {
    color: #666;
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: 32px;
}

.feature {
    padding: 8px 0;
    color: #555;
}

.savings-highlight {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.savings-highlight h3 {
    margin-bottom: 32px;
    color: #333;
}

.savings-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.comparison-item {
    text-align: center;
}

.comparison-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
}

.comparison-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.comparison-price.original {
    color: #999;
    text-decoration: line-through;
}

.comparison-price.discounted {
    color: #FF6B6B;
}

.vs {
    font-size: 1.2rem;
    font-weight: 700;
    color: #666;
}

.savings-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Trust Section */
.trust {
    padding: 100px 0;
    background: white;
}

.trust-content {
    display: grid;
    gap: 60px;
    margin-bottom: 60px;
}

.trust-item h3 {
    text-align: center;
    margin-bottom: 32px;
    color: #333;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    justify-items: center;
}

.review-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-image:hover {
    transform: scale(1.05);
}

.trust-statement {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 20px;
}

.trust-statement p {
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-note {
    margin-top: 16px !important;
    font-size: 1rem !important;
    opacity: 0.8 !important;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    margin-bottom: 8px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-info {
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .pricing {
        padding: 60px 0;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .savings-comparison {
        flex-direction: column;
        gap: 16px;
    }

    .vs {
        transform: rotate(90deg);
    }

    .trust {
        padding: 60px 0;
    }

    .trust-content {
        gap: 40px;
        margin-bottom: 40px;
    }

    .review-images {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .cta-button.large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .youtube-premium-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .amount {
        font-size: 2.5rem;
    }

    .savings-highlight {
        padding: 32px 20px;
    }

    .trust-statement {
        padding: 32px 20px;
    }

    .trust-statement p {
        font-size: 1.1rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .cta-button:hover {
        transform: none;
    }

    .pricing-card:hover {
        transform: none;
    }

    .review-image:hover {
        transform: none;
    }

    .cta-button:active {
        transform: scale(0.98);
    }
}