/* RESTICK Repair Core landing/purchase page
   Tone: Samsung Careers inspired — Inter + Noto Sans KR, black/white, generous whitespace */

.rc-body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #1f1f1f;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
.rc-body { margin: 0; padding: 0; }
.rc-body a { color: inherit; text-decoration: none; }
.rc-body button { font-family: inherit; cursor: pointer; }
.rc-body code { font-family: 'Consolas', 'Menlo', monospace; background: #f0f0f0; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* ==================== HEADER ==================== */
.rc-header {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px clamp(20px, 5vw, 56px);
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid #f0f0f0;
}
.rc-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.rc-logo-mark {
    width: 32px; height: 32px; background: #0a0a0a; color: #fff;
    border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 13px; letter-spacing: -0.5px;
}
.rc-logo-text { font-size: 13px; letter-spacing: 1px; }
.rc-nav { display: flex; gap: 28px; font-size: 14px; }
.rc-nav a { color: #6b6b6b; transition: color .15s; }
.rc-nav a:hover { color: #0a0a0a; }
@media (max-width: 700px) { .rc-nav { display: none; } }

/* ==================== HERO ==================== */
.rc-hero {
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 56px);
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.rc-hero-inner {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
@media (max-width: 900px) { .rc-hero-inner { grid-template-columns: 1fr; } }

.rc-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 3px;
    color: #6b6b6b; margin: 0 0 18px;
}
.rc-title {
    font-size: clamp(36px, 6vw, 60px); font-weight: 900;
    letter-spacing: -2px; line-height: 1.05; margin: 0 0 24px;
    color: #0a0a0a;
}
.rc-lede { font-size: clamp(15px, 1.5vw, 17px); color: #4b4b4b; margin: 0 0 32px; }
.rc-lede strong { color: #0a0a0a; font-weight: 700; }
.rc-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

a.rc-btn, button.rc-btn, .rc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 700;
    border: 1px solid transparent; transition: all .15s ease;
    white-space: nowrap; text-decoration: none;
}
a.rc-btn-primary, button.rc-btn-primary, .rc-btn-primary {
    background: #0a0a0a !important; color: #fff !important; border-color: #0a0a0a !important;
}
a.rc-btn-primary:hover, button.rc-btn-primary:hover, .rc-btn-primary:hover {
    background: #1f1f1f !important; transform: translateY(-1px);
}
.rc-btn-primary:disabled { background: #6b6b6b !important; cursor: not-allowed; transform: none; }
a.rc-btn-ghost, button.rc-btn-ghost, .rc-btn-ghost {
    background: transparent !important; color: #0a0a0a !important; border-color: #0a0a0a !important;
}
.rc-btn-ghost:hover { background: #0a0a0a !important; color: #fff !important; }
a.rc-btn-light, button.rc-btn-light, .rc-btn-light {
    background: #fff !important; color: #0a0a0a !important; border-color: #e5e5e5 !important;
}
.rc-btn-light:hover { border-color: #0a0a0a !important; }
.rc-btn-primary span, .rc-btn-ghost span, .rc-btn-light span { color: inherit !important; }
.rc-btn-block { width: 100%; padding: 16px; font-size: 15px; }

.rc-quickfacts {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: #6b6b6b;
}
.rc-quickfacts li { padding: 6px 12px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; }

.rc-hero-visual { display: flex; justify-content: center; }
.rc-mock { width: 100%; max-width: 480px; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.15); }
.rc-mock-video {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #0d1117;
    display: block;
}

/* ==================== SECTIONS ==================== */
.rc-section { padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 56px); }
.rc-section-dark { background: #0a0a0a; color: #f0f0f0; }
.rc-section-dark .rc-eyebrow,
.rc-section-dark .rc-section-eyebrow { color: #8b949e; }
.rc-section-dark .rc-section-title { color: #fff; }
.rc-section-dark .rc-section-lede { color: #c9d1d9; }
.rc-section-inner { max-width: 1240px; margin: 0 auto; }
.rc-narrow { max-width: 720px; }
.rc-section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: #6b6b6b; margin: 0 0 14px; }
.rc-section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.15; margin: 0 0 16px; color: #0a0a0a; }
.rc-section-lede { font-size: 16px; color: #4b4b4b; margin: 0 0 40px; }

/* ==================== FEATURES ==================== */
.rc-features {
    margin-top: 56px;
    display: grid; gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.rc-feature {
    padding: 32px 28px; border: 1px solid #e5e5e5; border-radius: 12px;
    transition: transform .2s, border-color .2s;
    background: #fff;
}
.rc-feature:hover { transform: translateY(-3px); border-color: #0a0a0a; }
.rc-feature-num { font-size: 12px; font-weight: 800; color: #6b6b6b; letter-spacing: 1.5px; margin-bottom: 16px; }
.rc-feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #0a0a0a; }
.rc-feature p { font-size: 14px; color: #4b4b4b; margin: 0; line-height: 1.7; }

/* ==================== STEPS ==================== */
.rc-steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 20px; }
.rc-steps li {
    position: relative; padding: 28px 28px 28px 84px;
    border: 1px solid #30363d; border-radius: 12px;
    background: #161b22;
}
.rc-step-no {
    position: absolute; left: 24px; top: 28px;
    width: 40px; height: 40px; border-radius: 50%;
    background: #58a6ff; color: #0d1117;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 16px;
}
.rc-steps h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: #f0f6fc; }
.rc-steps p { font-size: 14px; color: #c9d1d9; margin: 0 0 14px; line-height: 1.7; }
.rc-steps p code { background: rgba(255,255,255,.08); color: #58a6ff; }

/* ==================== DOWNLOAD CARD ==================== */
.rc-dl-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 28px; border: 1px solid #e5e5e5; border-radius: 12px;
    background: #fafafa; margin: 32px 0 16px;
    gap: 20px; flex-wrap: wrap;
}
.rc-dl-meta { display: flex; align-items: center; gap: 18px; }
.rc-dl-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: #0a0a0a; color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.rc-dl-name { font-size: 16px; font-weight: 700; color: #0a0a0a; }
.rc-dl-sub { font-size: 13px; color: #6b6b6b; margin-top: 4px; }
.rc-dl-note { font-size: 13px; color: #6b6b6b; margin: 0; padding: 12px 16px; background: #fff8e1; border-left: 3px solid #f59e0b; border-radius: 4px; }

/* ==================== BUY FORM ==================== */
.rc-buy-form { margin-top: 32px; }
.rc-field { margin-bottom: 20px; }
.rc-field label { display: block; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: 0.3px; }
.rc-section-dark .rc-field label { color: #f0f6fc; }
.rc-req { color: #f85149; }
.rc-field input {
    width: 100%; padding: 14px 16px;
    background: rgba(255,255,255,.06); border: 1px solid #30363d; border-radius: 8px;
    color: #fff; font-size: 15px; font-family: inherit;
    transition: border-color .15s, background .15s;
}
.rc-field input:focus { outline: none; border-color: #58a6ff; background: rgba(255,255,255,.1); }
.rc-field input::placeholder { color: #6e7681; }
#machineId { font-family: 'Consolas', monospace; letter-spacing: 2px; text-transform: uppercase; }
.rc-hint { font-size: 12px; color: #8b949e; margin: 6px 0 0; }
.rc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .rc-field-row { grid-template-columns: 1fr; } }

.rc-pricebox {
    margin: 28px 0 20px;
    padding: 20px 24px; border-radius: 12px;
    background: rgba(255,255,255,.04); border: 1px solid #30363d;
}
.rc-pricebox-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; color: #c9d1d9;
    padding: 8px 0;
}
.rc-pricebox-row strong { color: #fff; font-weight: 700; }
.rc-pricebox-total {
    border-top: 1px solid #30363d; margin-top: 8px; padding-top: 14px;
    font-size: 16px; font-weight: 700;
}
.rc-pricebox-total strong { font-size: 22px; color: #58a6ff; }

.rc-legal { font-size: 11px; color: #8b949e; margin: 14px 0 0; line-height: 1.6; text-align: center; }
.rc-legal a { color: #58a6ff; text-decoration: underline; }

/* ==================== FAQ ==================== */
.rc-faq { margin-top: 40px; }
.rc-faq details {
    border-bottom: 1px solid #e5e5e5;
    padding: 18px 0;
}
.rc-faq summary {
    cursor: pointer; font-weight: 700; font-size: 15px; color: #0a0a0a;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary::after {
    content: '+'; font-size: 24px; color: #6b6b6b; transition: transform .2s;
}
.rc-faq details[open] summary::after { content: '−'; }
.rc-faq details p { margin: 12px 0 0; color: #4b4b4b; font-size: 14px; line-height: 1.7; }
.rc-faq details p a { color: #1428a0; text-decoration: underline; }

/* ==================== FOOTER ==================== */
.rc-footer { background: #0a0a0a; color: #c9d1d9; padding: 40px clamp(20px, 5vw, 56px); }
.rc-footer-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    flex-wrap: wrap;
}
.rc-footer .rc-logo { color: #fff; }
.rc-footer .rc-logo-mark { background: #fff; color: #0a0a0a; }
.rc-footer-tag { font-size: 12px; color: #8b949e; margin: 10px 0 0; }
.rc-footer-links { display: flex; gap: 24px; font-size: 13px; }
.rc-footer-links a { color: #c9d1d9; }
.rc-footer-links a:hover { color: #fff; }

/* ==================== MODAL ==================== */
.rc-modal {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.rc-modal[hidden] { display: none; }
.rc-modal-card {
    background: #fff; border-radius: 12px;
    width: 100%; max-width: 480px;
    overflow: hidden;
    animation: rcSlideUp .25s ease;
}
@keyframes rcSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rc-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid #e5e5e5;
}
.rc-modal-header h3 { font-size: 16px; font-weight: 700; margin: 0; color: #0a0a0a; }
.rc-modal-close {
    background: transparent; border: none; font-size: 28px;
    color: #6b6b6b; line-height: 1; padding: 0 8px;
}
.rc-modal-close:hover { color: #0a0a0a; }
.rc-modal-body { padding: 24px; font-size: 14px; color: #4b4b4b; line-height: 1.7; }
.rc-modal-body .rc-keybox {
    background: #0d1117; border-radius: 8px; padding: 16px 20px; margin: 16px 0;
    text-align: center;
}
.rc-modal-body .rc-keybox-label { font-size: 10px; letter-spacing: 2px; color: #8b949e; margin-bottom: 6px; }
.rc-modal-body .rc-keybox-value {
    font-family: 'Consolas', monospace; font-size: 20px; letter-spacing: 2px;
    color: #58a6ff; word-break: break-all;
}
.rc-copy-btn {
    margin-top: 10px; background: #58a6ff; border: none; color: #0d1117;
    font-weight: 700; font-size: 12px; padding: 8px 16px; border-radius: 6px;
}
.rc-copy-btn.copied { background: #3fb950; color: #fff; }
