:root {
    /* Brand Colors - Coral Theme */
    --color-primary: #F43F5E;
    --color-primary-dark: #E11D48;
    --color-primary-light: #FFF1F2;
    --color-primary-fade: rgba(244, 63, 94, 0.08);

    /* Secondary - Warm Orange */
    --color-secondary: #FB923C;
    --color-secondary-light: #FFF7ED;

    /* Neutrals */
    --color-text-main: #1C1917;
    --color-text-sub: #57534E;
    --color-text-muted: #A8A29E;
    --color-bg-light: #FAFAF9;
    --color-bg-white: #FFFFFF;

    /* Accents */
    --color-success: #00C896;
    --color-blue: #3B82F6;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 8px 20px rgba(244, 63, 94, 0.25);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.65;
    word-break: keep-all;
    /* Important for Korean typography */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: none;
}

.container {
    max-width: 1080px;
    /* Tighter container for better readability */
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-text-main);
}

.h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--color-text-sub);
    line-height: 1.7;
    font-weight: 400;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    /* Modern "Squircle" feeling or Full pill */
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.35);
}

.btn-outline {
    background-color: var(--color-bg-white);
    color: var(--color-text-sub);
    border: 1px solid #DEE2E6;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    height: 72px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--color-text-main);
}

.nav {
    margin-left: 3rem;
}

.nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-sub);
}

.nav a:hover {
    color: var(--color-primary);
}

.header-actions {
    margin-left: auto;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 7rem 0 6rem;
    overflow: hidden;
    background: radial-gradient(circle at 85% 15%, var(--color-primary-light) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, var(--color-secondary-light) 0%, transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero p {
    margin-bottom: 2.5rem;
    color: var(--color-text-sub);
    font-size: 1.25rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Floating Cards Animation */
/* Hero Visual (3D Illustration) */
.hero-visual {
    position: relative;
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(244, 63, 94, 0.15));
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {

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

    50% {
        transform: translateY(-15px);
    }
}

/* Features Section */
section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header p {
    color: var(--color-text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--color-bg-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    /* Start subtle */
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    /* Pop on hover */
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(-3deg);
}

.feature-card p {
    color: var(--color-text-sub);
    line-height: 1.6;
}

/* Rules & FAQ Section */
.rules {
    background-color: var(--color-bg-light);
}

.rules-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rule-item {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.rule-item:hover {
    box-shadow: var(--shadow-md);
}

.rule-header {
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    user-select: none;
}

.rule-number {
    width: 32px;
    height: 32px;
    background-color: var(--color-primary-fade);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rule-header span:last-child {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text-main);
}

.rule-content {
    padding: 0 1.8rem 1.8rem 4.5rem;
    color: var(--color-text-sub);
    line-height: 1.75;
    font-size: 1rem;
    display: block;
    /* Typically this would be toggled, currently showing all */
}

/* Footer (Updated Premium Dark) */
.footer {
    background-color: #212529;
    /* Dark charcoal */
    color: #DEE2E6;
    padding: 6rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer h4 {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #ADB5BD;
}

.footer a {
    color: #ADB5BD;
}

.footer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #343A40;
    text-align: center;
    font-size: 0.9rem;
    color: #868E96;
}

/* CTA Section */
.cta {
    padding: 0;
    margin-bottom: -3rem;
    /* Overlap footer slightly for style */
    position: relative;
    z-index: 10;
}

.cta>.container>div {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
}

/* Responsiveness */
@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav {
        display: none;
        /* simple hide for mobile */
    }

    .hero-visual {
        display: none;
        /* Hide floating cards on mobile for simplicity */
    }
}