:root {
    --primary-color: #dd5828;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --warning: #e74c3c;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

header h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    letter-spacing: 3px;
    font-weight: 700;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 700;
}

.section-title span {
    color: var(--primary-color);
}

/* Hook Card */
.hook-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid #eee;
}

.hook-content {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.hook-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.warning-text {
    color: var(--warning);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--warning);
}

.hook-list {
    list-style: none;
}

.hook-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.hook-list li span {
    background: #eee;
    color: #666;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    margin-top: 3px;
    white-space: nowrap;
}

.kiscon-action {
    flex: 0 0 350px;
    background: var(--bg-light);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-left: 1px solid #eee;
}

.kiscon-action h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.kiscon-action p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.btn-kiscon {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-kiscon:hover {
    background-color: #c44a1f;
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Card News Section */
.card-news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    position: relative;
}

.card-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(221, 88, 40, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

.card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.card p {
    font-size: 0.9rem;
    color: #777;
}

/* Calculator Section */
.calculator-section {
    background-color: var(--bg-light);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.calc-card {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.calc-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.calc-group {
    flex: 1;
}

.calc-group label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.calc-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.calc-icon {
    font-size: 1.5rem;
    color: #ccc;
    padding-top: 20px;
}

.calc-result {
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.calc-result p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.calc-result strong {
    font-size: 1.8rem;
    color: var(--primary-color);
    display: block;
}

/* Backlinks Section */
.backlinks {
    background-color: var(--white);
}

.backlink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.backlink-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
}

.backlink-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.backlink-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

/* Blog Feed Section */
.blog-feed {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.blog-feed-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.blog-feed-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-feed-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-feed-item header {
    background: transparent;
    padding: 0;
    border: none;
    text-align: left;
}

.blog-feed-item footer {
    padding: 0;
    margin-top: 10px;
    border: none;
    background: transparent;
    text-align: left;
}

.blog-feed-item p {
    font-size: 0.9rem;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
}

.blog-feed-item span {
    font-size: 0.8rem;
    color: #bbb;
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-content h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.modal-body {
    max-height: 400px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.modal-body p {
    margin-bottom: 15px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #000;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    background: #fff;
}

.policy-link {
    color: #888;
    text-decoration: none;
    font-weight: 500;
}

.policy-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .kiscon-action {
        flex: 1 0 100%;
        border-left: none;
        border-top: 1px solid #eee;
    }
}
