/* ============================================
   레쥬메컨설팅 - 자기소개서 대필 서비스
   Color Theme: Navy + White + Gold
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2332;
    --navy-light: #243447;
    --navy-dark: #0f1923;
    --gold: #c9a84c;
    --gold-light: #e0c76a;
    --gold-dark: #a88a2e;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: -0.02em;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-block {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
}

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

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}

/* Hero 3-column layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

/* 자소서 맛집 로고 */
.hero-brand {
    display: flex;
    justify-content: center;
}

.brand-logo-card {
    text-align: center;
    padding: 32px 24px 24px;
    border: 2px solid rgba(201, 168, 76, 0.4);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.08) 0%, rgba(15, 25, 35, 0.6) 100%);
    backdrop-filter: blur(4px);
    position: relative;
    width: 240px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-logo-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    pointer-events: none;
}

.brand-bowl {
    margin-bottom: 8px;
}

.bowl-svg {
    width: 180px;
    height: 190px;
    color: var(--gold);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.brand-sub {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2em;
}

.brand-main {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-style: italic;
}

.brand-michelin {
    margin-top: 10px;
    font-size: 0.7rem;
    color: rgba(201, 168, 76, 0.6);
    letter-spacing: 0.15em;
    font-style: italic;
}

/* 가운데 메인 타이틀 */
.hero-center {
    text-align: center;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    color: var(--gold);
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* 오른쪽 긴급처방 배너 */
.hero-badge {
    display: flex;
    justify-content: center;
}

.badge-card {
    text-align: center;
    padding: 24px 20px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(231, 76, 60, 0.06) 0%, rgba(15, 25, 35, 0.6) 100%);
    backdrop-filter: blur(4px);
    width: 240px;
    min-height: 380px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(231, 76, 60, 0.15);
    border-radius: 8px;
    pointer-events: none;
}

.badge-top {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    line-height: 1.4;
}

.badge-highlight {
    font-size: 1.7rem;
    font-weight: 900;
    color: #e74c3c;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
    letter-spacing: 0.05em;
}

.rx-svg {
    width: 160px;
    height: 150px;
    color: var(--gold);
    margin-bottom: 8px;
}

.badge-divider {
    width: 40px;
    height: 1px;
    background: rgba(201, 168, 76, 0.4);
    margin: 10px auto;
}

.badge-bottom {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.badge-bottom strong {
    color: var(--gold);
    font-size: 1rem;
    display: inline-block;
    margin-top: 2px;
}

/* --- Section Common --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Strengths --- */
.strengths {
    background: var(--navy);
    padding: 80px 0;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.strength-item {
    text-align: center;
    padding: 20px;
}

.strength-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 12px;
    opacity: 0.3;
}

.strength-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.strength-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* --- Process Timeline --- */
.process {
    background: var(--gray-50);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: var(--gray-300);
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    margin-top: 4px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Pricing Tables --- */
.pricing-table-section {
    margin-bottom: 48px;
}

.pricing-table-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--gold);
}

.pricing-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.9rem;
}

.pricing-table thead th {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    padding: 14px 16px;
    text-align: center;
    white-space: nowrap;
}

.pricing-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-700);
    vertical-align: middle;
}

.pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--gray-800);
}

.pricing-table tbody tr:hover {
    background: rgba(201, 168, 76, 0.05);
}

.price-cell {
    font-weight: 700;
    color: var(--navy) !important;
}

.table-sub {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Delivery info cards */
.delivery-info {
    margin-top: 48px;
    margin-bottom: 8px;
}

.delivery-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.delivery-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
}

.delivery-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.delivery-card.highlight-card {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, rgba(201, 168, 76, 0.02) 100%);
}

.delivery-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.delivery-time {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 4px;
}

.delivery-extra {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.pricing-extra-info {
    margin-top: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    text-align: center;
}

.pricing-extra-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.pricing-extra-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.pricing-extra-desc strong {
    color: var(--navy);
}

.pricing-extra-example {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-extra-example span {
    font-size: 0.85rem;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 6px 14px;
    border-radius: 20px;
}

.pricing-extra-example span strong {
    color: var(--gold-dark);
}

.pricing-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* --- Application Form --- */
.apply {
    background: var(--gray-50);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--gray-800);
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--gold);
}

.btn-submit {
    margin-top: 12px;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Success message */
.success-message {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #27ae60;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.success-message p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* --- Footer --- */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer ul li {
    font-size: 0.85rem;
    padding: 4px 0;
    line-height: 1.6;
}

.footer ul li strong {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Fade In Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 35, 50, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }

    .nav.open {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-brand {
        order: -1;
    }

    .brand-logo-card {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px 24px;
    }

    .bowl-svg {
        width: 70px;
        height: 80px;
    }

    .rx-svg {
        width: 70px;
        height: 65px;
    }

    .brand-main {
        font-size: 2rem;
    }

    .brand-sub {
        font-size: 0.9rem;
    }

    .brand-bowl {
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .badge-card {
        display: inline-block;
    }

    .hero-badge {
        order: 1;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .delivery-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-table {
        font-size: 0.8rem;
    }

    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 10px 8px;
    }

    .form-wrapper {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .brand-logo-card {
        flex-direction: column;
        gap: 8px;
    }
}
