/* ===============================================
   DR-Drive-13 Theme - 라일락 프리미엄 (Lilac Premium)
   센터 포커스 레이아웃 / #C8A2C8 (라일락) + #E8E8E8 (그레이)
   =============================================== */

:root {
    --primary: #C8A2C8;
    --primary-dark: #B088B0;
    --primary-light: #E8D5E8;
    --secondary: #A888A8;
    --accent: #D4B5D4;

    --text-dark: #3D3D3D;
    --text-light: #666666;
    --text-muted: #999999;

    --bg-main: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-gray: #E8E8E8;
    --bg-light: #F5F5F5;

    --border: #E0E0E0;
    --shadow-sm: 0 2px 10px rgba(200, 162, 200, 0.1);
    --shadow-md: 0 5px 25px rgba(200, 162, 200, 0.15);
    --shadow-lg: 0 15px 50px rgba(200, 162, 200, 0.2);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    background: var(--bg-main);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Noto Serif KR', serif;
    font-weight: 600;
    line-height: 1.3;
}

a { text-decoration: none; color: var(--primary); transition: all 0.3s; }
a:hover { color: var(--primary-dark); }

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.navbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
}

.brand-diamond {
    width: 35px;
    height: 35px;
    background: var(--primary);
    transform: rotate(45deg);
    position: relative;
}

.brand-diamond::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item { display: inline-block; }

.navbar-nav .nav-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

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

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-cta:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.navbar-toggler span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section - Center Focus */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 50%, var(--bg-gray) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23C8A2C8" stroke-width="0.3" opacity="0.2"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-center {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 120px 20px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    z-index: -1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 10px auto 0;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-header.center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Features - Center Grid */
.features-section {
    background: var(--bg-white);
}

.features-center-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
}

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

.feature-card.featured {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.feature-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.feature-card.featured .feature-icon {
    background: white;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card.featured .feature-icon i {
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-card.featured p {
    color: rgba(255,255,255,0.9);
}

/* Price - Center Grid */
.price-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--primary-light) 100%);
}

.price-center-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.price-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.price-card.featured {
    background: var(--text-dark);
    color: white;
    transform: scale(1.08);
    border: none;
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
}

.price-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-ribbon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    border: 5px solid transparent;
    border-top-color: var(--primary-dark);
    border-right-color: var(--primary-dark);
}

.price-header {
    margin-bottom: 25px;
}

.price-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 15px;
}

.price-card.featured .price-badge {
    color: white;
    background: var(--primary);
}

.price-card h3 {
    font-size: 1.4rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.price-card.featured h3 {
    color: white;
}

.price-amount {
    margin-bottom: 30px;
}

.price-amount .currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: top;
}

.price-card.featured .currency {
    color: rgba(255,255,255,0.7);
}

.price-amount .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-card.featured .number {
    color: white;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.price-card.featured .price-features li {
    border-color: rgba(255,255,255,0.1);
}

.price-features li:last-child {
    border: none;
}

.price-features i {
    color: var(--primary);
    font-size: 0.9rem;
}

.price-card.featured .price-features i {
    color: var(--primary-light);
}

.price-btn {
    display: block;
    padding: 16px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}

.price-card.featured .price-btn {
    background: white;
    color: var(--text-dark);
}

.price-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: white;
}

.price-card.featured .price-btn:hover {
    color: var(--text-dark);
}

.price-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-note i {
    color: var(--primary);
    margin-right: 5px;
}

/* Process Section */
.process-section {
    background: var(--bg-white);
}

.process-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.process-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin-top: 40px;
    flex-shrink: 0;
}

/* Reviews - Center Grid */
.reviews-section {
    background: var(--bg-main);
}

.review-center-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: all 0.3s;
}

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

.review-quote {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--primary-light);
}

.review-stars {
    margin-bottom: 20px;
    color: #F5C518;
}

.review-stars i {
    margin-right: 3px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.review-author strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.section-more {
    text-align: center;
}

.section-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s;
}

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

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
}

.contact-center-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.4rem;
    color: white;
}

.info-icon.kakao {
    background: #FEE500;
}

.info-icon.kakao i {
    color: #3C1E1E;
}

.info-icon.time {
    background: var(--secondary);
}

.info-card h4 {
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p,
.info-card a {
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

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

.form-group {
    margin-bottom: 0;
}

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

.form-group label i {
    color: var(--primary);
    margin-right: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

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

.footer-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.brand-diamond-sm {
    width: 20px;
    height: 20px;
    background: var(--primary);
    transform: rotate(45deg);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a,
.footer-col li {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-col i {
    margin-right: 8px;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Floating CTA Buttons */
.cta-buttons {
    position: fixed;
    right: 25px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateX(-5px);
    color: white;
}

.cta-btn.apply {
    background: var(--primary);
}

.cta-btn.kakao {
    background: #FEE500;
    color: #3C1E1E;
}

.cta-btn.kakao:hover {
    color: #3C1E1E;
}

.cta-btn.tel {
    background: var(--secondary);
}

/* Back to Top */
#backToTop {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1200px) {
    .features-center-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card.featured {
        transform: none;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column !important;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav.active {
        display: flex !important;
    }

    .navbar-toggler {
        display: flex;
    }

    .header-cta {
        display: none;
    }

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

    .hero-stats {
        gap: 30px;
    }

    .stat-num {
        font-size: 2rem;
    }

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

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-line {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .price-center-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .price-card.featured {
        transform: none;
    }

    .review-center-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-row {
        grid-template-columns: 1fr;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

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

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

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

    .contact-form {
        padding: 30px 20px;
    }

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

    .cta-buttons {
        right: 15px;
        bottom: 80px;
    }

    .cta-btn span {
        display: none;
    }

    .cta-btn {
        padding: 14px;
        border-radius: 50%;
    }
}

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

    .hero-desc {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

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