/* =========================================
   CSS Variables & Reset (소상공인 친화적 테마)
   ========================================= */
:root {
    /* Colors - Friendly & Bright Theme */
    --bg-main: #fcfcfc;
    --bg-secondary: #f3f4f6;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    
    /* Brand Colors */
    --primary: #ff7e36; /* 따뜻하고 활기찬 오렌지 */
    --primary-hover: #e86b24;
    --secondary: #4f46e5;
    
    /* Accent Colors for Services */
    --accent-orange: #ff9f1c;
    --accent-blue: #3b82f6;
    --accent-mint: #10b981;
    
    /* UI Elements */
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    word-break: keep-all;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

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

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

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 126, 54, 0.2);
    z-index: -1;
}

.badge {
    display: inline-block;
    background-color: #fff1e6;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 16px;
}

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

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

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: #fff1e6;
}

.w-100 { width: 100%; }

/* =========================================
   Navigation
   ========================================= */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
}

.glass-nav.scrolled {
    padding: 0.875rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fffaf6 0%, #fff 100%);
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background-color: var(--primary);
    top: -200px;
    right: -100px;
    filter: blur(60px);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: var(--accent-blue);
    bottom: -100px;
    left: -100px;
    filter: blur(50px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 1.5rem 0 2.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-features li {
    display: flex;
    gap: 1.5rem;
}

.feature-icon-box {
    font-size: 1.75rem;
    width: 56px;
    height: 56px;
    background-color: #fff1e6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-image {
    height: 100%;
    min-height: 400px;
}

.image-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffedd5, #fff5eb);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-box::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--primary);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    opacity: 0.05;
}

.image-content {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        min-height: 300px;
    }
}

/* =========================================
   Services Section
   ========================================= */
.services {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

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

.section-header p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: #f3f4f6;
}

.warm-orange { background-color: #fff1e6; }
.soft-blue { background-color: #eff6ff; }
.mint-green { background-color: #ecfdf5; }

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* =========================================
   CTA Banner
   ========================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.cta-banner .btn-primary:hover {
    background-color: #f9fafb;
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-info {
    padding: 3.5rem;
    background-color: var(--bg-secondary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.detail-icon-box {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    padding: 3.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

input, textarea, select {
    width: 100%;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 126, 54, 0.1);
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: #111827;
    color: #f9fafb;
    padding: 4rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-info {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.8;
}

/* =========================================
   Animations & Responsive
   ========================================= */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease-out forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.delay-1 { animation-delay: 0.15s; transition-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; transition-delay: 0.45s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

/* =========================================
   Form Messages
   ========================================= */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* =========================================
   Responsive Line Breaks
   ========================================= */
.mo-br { display: none; }
.pc-br { display: block; }

@media (max-width: 768px) {
    .mo-br { display: block; }
    .pc-br { display: none; }
}
