/* Global Settings */
:root {
    --bg-dark: #050505;
    --bg-card: #111111;
    /* Solid Card BG */
    --primary-color: #ff6b00;
    /* Carrot Orange */
    --accent-glow: rgba(255, 107, 0, 0.3);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-glass: rgba(255, 255, 255, 0.08);
    /* Kept for subtle details */
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.promo-container {
    max-width: 100%;
    /* User requested full width */
    margin: 0 auto;
    padding: 0 5%;
    /* 5% padding on sides */
}



/* Animations */
@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 15px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 15px var(--accent-glow);
    }
}

/* Hero Section with Background & Dim Overlay */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* User requested: Intro image as background */
    background: url('../홍보용자료/1.png') center/cover no-repeat;
    overflow: hidden;
}

/* Dim Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    /* Deep dim for text readability */
    z-index: 1;
}

.hero-badge,
.hero-title,
.hero-subtitle,
.capture-btn {
    position: relative;
    z-index: 2;
    /* Ensure text and buttons is above overlay */
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--accent-glow);
    animation: glow-pulse 3s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ddd;
    /* Brighter for dark bg */
    max-width: 600px;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Inquiry Buttons (Global) */
.hero-inquiry-btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    /* Spacing from subtitle */
    width: 100%;
    max-width: 600px;
    /* Limit width on PC */
    position: relative;
    z-index: 10;
}

.inquiry-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    border-radius: 50px;
    /* Full rounded pill */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.inquiry-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.inquiry-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.inquiry-btn:hover::after {
    opacity: 1;
}

.inquiry-btn i {
    font-size: 1.3rem;
}

.kakao-btn {
    background: linear-gradient(to right, #FEE500, #FFD200);
    color: #3C1E1E;
    /* Kakao Brown */
    border-color: rgba(60, 30, 30, 0.1);
}

.telegram-btn {
    background: linear-gradient(to right, #0088cc, #0072aa);
    border-color: rgba(0, 136, 204, 0.3);
}


/* Zigzag Layout Styles */
.feature-section {
    display: flex;
    flex-direction: column;
    gap: 150px;
    margin: 100px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    padding: 40px;
    /* Added padding for capture */
    border-radius: 30px;
    /* Optional: smooth corners if bg is used */
}

.feature-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-visual {
    /* User requested: Much bigger images */
    flex: 2.5;
    position: relative;
    min-width: 0;
}

.feature-visual img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.5s ease;
}

.feature-visual:hover img {
    transform: scale(1.02);
}

.feature-content {
    flex: 1;
    padding: 10px;
}

.content-badge {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.content-title {
    font-size: 2.5rem;
    /* Larger titles */
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.content-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    white-space: pre-line;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-color);
    padding: 15px 20px;
    color: #ddd;
    font-size: 0.95rem;
}


/* Carousel Section */
.carousel-section {
    margin: 150px 0;
    text-align: center;
    padding: 50px;
    /* Added padding for capture */
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}


/* Pricing Section (RE-APPLIED PREMIUM SOLID STYLE) */
.pricing-section {
    margin-top: 150px;
    padding: 60px 40px;
    /* Added padding for capture */
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Forced 4 columns as requested */
    gap: 20px;
    margin-bottom: 80px;
}

/* Card Style: Solid, not Glass */
.price-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.15);
}

/* Featured Card */
.price-card.featured {
    background: #161616;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.1);
}

.price-card.featured::before {
    content: 'BEST CHOICE';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: -1px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-left: 5px;
}

.plan-desc {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #ddd;
}

.check-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Pricing CTA */
.pricing-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: #252525;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.price-card:hover .pricing-cta {
    background: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.price-card.featured .pricing-cta {
    background: var(--primary-color);
    color: #000;
}

.price-card.featured .pricing-cta:hover {
    background: #fff;
    color: #000;
}

/* PC Program Section */
.pc-program-section {
    padding: 60px;
    border-radius: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.pc-program-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pc-info,
.pc-features {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 300px;
}

.pc-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0;
}

/* Responsive Design (Mobile & Tablet) */
@media (max-width: 1024px) {

    /* Tablet: Pricing 2x2 */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .promo-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile: Full Stacking */

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Section Header (Mobile Font Size & Spacing) */
    .section-header h2 {
        font-size: 2rem !important;
        margin-top: 10px !important;
    }

    .section-header {
        margin-bottom: 40px !important;
    }

    /* Zigzag Stacking (Image Top, Text Bottom) */
    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0px 0px;
        /* Reducing side padding for mobile, keeping vertical */
    }

    .feature-visual {
        width: 100%;
        margin-bottom: 10px;
    }

    .feature-content {
        padding: 0;
    }

    .content-badge {
        display: inline-block;
        /* Center aligned usually needs inline-block or flex center */
    }

    /* Pricing: 2 Columns (2x2 Grid) */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px 5px;
        /* Reduced gap */
        width: 100%;
        /* Ensure it doesn't exceed container */
        box-sizing: border-box;
        margin-bottom: 40px;
    }

    .pricing-section {
        padding: 40px 0;
        /* REMOVED SIDE PADDING completely */
        margin-top: 80px;
        width: 100%;
        overflow: hidden;
        /* Prevent spillover */
    }

    .price-card {
        padding: 20px 10px;
        /* Reduced padding inside card */
        width: 100%;
        /* Fit grid cell */
        min-width: 0;
        /* Allow flex shrinking */
        box-sizing: border-box;
    }

    .price-card * {
        word-break: break-all;
        /* Force break specifically for long won/month text if needed */
        word-wrap: break-word;
    }

    .plan-price {
        font-size: 1.5rem;
    }

    /* Slightly smaller price */
    .plan-price span {
        font-size: 0.7rem;
        display: block;
        margin-top: 5px;
        margin-left: 0;
    }

    /* Wrap 'won/month' to next line to save width */

    /* PC Section (Premium Mobile) */
    .pc-program-section {
        flex-direction: column;
        padding: 40px 25px;
        text-align: center;
        gap: 30px;
        margin-top: 60px;

        /* Premium Look */
        background: linear-gradient(160deg, #1a1a1a 0%, #050505 100%);
        border: 1px solid rgba(255, 107, 0, 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 0, 0.1);
        border-radius: 24px;
        position: relative;
        overflow: hidden;
    }

    /* Add a subtle shine effect */
    .pc-program-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
        opacity: 0.5;
    }

    .pc-info {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px;
        margin-bottom: 10px;
    }

    /* Wrapper for description to ensure wrapping */
    .pc-info p {
        word-break: keep-all;
        word-wrap: break-word;
        white-space: normal;
        line-height: 1.6;
    }

    /* Bigger & Bolder Price */
    .pc-program-section .pc-price {
        font-size: 2.8rem;
        text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
        margin: 0 !important;
        /* Zero margin as requested */
    }

    /* Discount Text */
    .pc-info p:last-child {
        margin: 0 !important;
        /* Zero margin as requested */
    }

    .pc-features {
        min-width: 100%;
        text-align: left;
        /* Better readability for lists */
        padding: 0 10px;
    }

    .pc-features div {
        margin-bottom: 25px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .pc-features h3 {
        font-size: 1.1rem !important;
        display: flex;
        align-items: center;
    }

    .pc-features p {
        font-size: 0.9rem !important;
        color: #888 !important;
        padding-left: 28px;
        /* Indent description to align with text start */
        margin: 0;
        line-height: 1.5;
        word-break: keep-all;
        /* Ensure Korean wraps naturally */
        white-space: normal;
    }

    /* Spacing Adjustment */
    .feature-section {
        gap: 80px;
        /* Reduced gap */
        margin: 80px 0;
    }

    /* Carousel (Slim) */
    .carousel-section {
        margin: 0px 0;
        padding: 0px 0;
    }

    .carousel-section .content-title {
        font-size: 1.6rem;
        word-break: keep-all;
    }

    /* Capture Buttons specific tweak for mobile touch targets */
    .capture-btn {
        padding: 10px 15px;
        /* Slightly larger touch target */
    }

    /* Mobile Inquiry Buttons (Visible on Mobile) */
    .hero-inquiry-btns {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        /* Tighter gap */
        margin-top: 25px;
        width: 100%;
        max-width: 100%;
        /* Override PC max-width */
        padding: 0 30px !important;
        /* Force padding to fix "stick to wall" */
        /* Increased side padding to make buttons narrower (Fix "stuck to wall") */
        z-index: 10;
        position: relative;
        box-sizing: border-box;
        /* Ensure padding doesn't break width */
    }

    .inquiry-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 0;
        /* Smaller height */
        border-radius: 30px;
        /* Pill shape */
        text-decoration: none;
        font-weight: 600;
        font-size: 0.85rem;
        /* Smaller font */
        backdrop-filter: blur(5px);
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
    }

    /* Shine effect */
    .inquiry-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
        pointer-events: none;
    }

    .inquiry-btn:active {
        transform: scale(0.96);
    }

    .inquiry-btn i {
        font-size: 1rem;
    }

    .kakao-btn {
        background: linear-gradient(to right, #FEE500, #FFD200);
        /* Gradient */
        color: #3C1E1E;
        border: 1px solid rgba(60, 30, 30, 0.1);
    }

    .telegram-btn {
        background: linear-gradient(to right, #0088cc, #0072aa);
        /* Gradient */
        color: #fff;
        border: 1px solid rgba(0, 136, 204, 0.3);
    }
}


/* Floating Action Buttons (Expandable) */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.floating-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.floating-items.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}


/* Parent Button */
.float-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff8f00);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.float-main:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.6);
    transform: scale(1.05);
}

/* Child Buttons */
.float-child {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    position: relative;
}

.float-child:hover {
    transform: scale(1.1);
    background: rgba(50, 50, 50, 1);
}

/* Kakao Child Style */
.talk-btn {
    background: #FEE500;
    color: #3C1E1E;
    border-color: #FEE500;
}

.talk-btn:hover {
    background: #FFD200;
    color: #3C1E1E;
}

/* Tooltips (Left Side) */
.fab-tooltip {
    position: absolute;
    right: 60px;
    /* Position to the left */
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Show Tooltip on Hover */
.float-child:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-container {
        bottom: 20px;
        right: 20px;
    }

    .float-main {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .float-child {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Hide tooltips on mobile */
    .fab-tooltip {
        display: none;
    }
}