/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slideIn {
    animation: slideIn 0.7s ease-out forwards;
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f7fafc;
    font-size: 17px;
    font-weight: 400;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
    font-variation-settings: 'wght' 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    min-width: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2b6cb0;
    letter-spacing: -0.025em;
}

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

.nav-links a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

.cta-button.nav-cta {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.25);
}

.cta-button.nav-cta:hover {
    background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.35);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: -0.02em;
}

.hero-content h1 .line1,
.hero-content h1 .line2 {
    display: block;
}

.hero-content h1 .line2 {
    font-weight: 400;
}

.hero-content h1 br {
    display: block;
    content: "";
    margin: 0.5rem 0;
}

.subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.subtitle strong {
    color: #e53e3e;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2b6cb0;
    display: block;
}

.stat-label {
    color: #718096;
    font-size: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.pain-points, .our-difference, .success-cases {
    padding: 8rem 0;
}

/* Pain Points Section */
.pain-points {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.5);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    word-break: keep-all;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border: 2px solid #2b6cb0;
    position: relative;
    overflow: hidden;
}

.card.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2b6cb0;
}

.card.highlight i {
    color: #dc2626;
}

.card.highlight:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(43, 108, 176, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(43, 108, 176, 0.3);
}

.card i {
    display: block;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    color: #2563eb;
}

.card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.25rem;
    color: #2b6cb0;
    font-weight: 700;
    line-height: 1.5;
}

.card p {
    margin-bottom: 1.2rem;
    color: #64748b;
    line-height: 1.8;
}

/* Features Section */
.our-difference {
    padding: 6rem 0;
    background: #f0f9ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    word-break: keep-all;
    border: 1px solid #e2e8f0;
}

.feature-item i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1.2rem;
    color: #1e293b;
    font-size: 1.25rem;
    line-height: 1.5;
}

.feature-item p {
    color: #64748b;
    line-height: 1.8;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: #f8fafc;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 3.5rem;
    position: relative;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
    width: 30%;
}

.process-step::before {
    content: '→';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #2563eb;
}

.process-step:last-child::before {
    display: none;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.25rem;
}

.process-step p {
    color: #64748b;
    line-height: 1.8;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
}

.cta-box {
    background: #fff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.8;
}

.cta-box h2 {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.cta-box p {
    color: #64748b;
    margin-bottom: 1rem;
}

.cta-button {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.25), 0 3px 10px rgba(56, 161, 105, 0.15);
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    display: block;
    border: none;
    max-width: 100%;
    white-space: normal;
    word-break: keep-all;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
    position: relative;
    letter-spacing: -0.01em;
}

.cta-button:hover {
    background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 35px rgba(56, 161, 105, 0.35), 0 5px 15px rgba(56, 161, 105, 0.25);
}

.cta-footer {
    text-align: center;
    margin-top: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* Success Cases Section */
.success-cases {
    background: #f4f7fb;
    padding: 6rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.case-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: left;
    padding: 2.5rem 2rem;
    word-break: keep-all;
}

.case-card i {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2.5rem;
    color: #2563eb;
    width: 2.5em;
    height: 2.5em;
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    margin-bottom: 1.5rem;
}

.case-card img:hover {
    transform: scale(1.05);
}

.case-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.25rem;
    color: #1e293b;
    line-height: 1.5;
}

.case-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.case-meta {
    display: block;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #2563eb;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border: 2px solid #2563eb;
    border-radius: 0.8rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    width: fit-content;
    min-width: 150px;
}

.case-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.case-meta:hover::before {
    left: 100%;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #1e293b;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-contact p {
    margin: 0.5rem 0;
    color: #cbd5e1;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e1;
}

/* Custom highlight style for keywords */
.keyword-highlight {
    color: #1d4ed8;
    font-weight: 700;
    background-color: rgba(37, 99, 235, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
    margin: 0 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-step {
        width: 100%;
    }
    
    .process-step::before {
        display: none;
    }
    
    .cards-container,
    .features-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    body, .card p, .feature-item p, .case-card p, .cta-box, .footer {
        font-size: 16px;
    }
    
    .hero-content h1, .cta-box h2, .section-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 1rem;
    }
    
    .card, .case-card, .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .case-meta {
        font-size: 0.8rem;
        padding: 0.8rem 1.2rem;
    }
    
    .card img, .case-card img, .card table, .case-card table {
        height: 150px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.card,
.feature-item,
.case-card {
    animation: fadeIn 0.8s ease-out;
}

/* Potential Analysis Form Section */
.potential-analysis {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    margin-top: -8rem;
}

.potential-analysis h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 700;
}

.potential-analysis p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.analysis-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.analysis-form .form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #475569;
    background-color: #f8fafc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.2em 1.2em;
}

.analysis-form .form-group select:hover {
    border-color: #cbd5e1;
}

.analysis-form .form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.analysis-button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    padding: 0.9rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.analysis-button:hover {
    background-color: #1d4ed8;
}

.analysis-button i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .potential-analysis {
        margin-top: -4rem;
        padding: 1.5rem;
    }
    .analysis-form {
        grid-template-columns: 1fr;
    }
}

/* FAQ 섹션 스타일 */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 상담 시간 섹션 스타일 */
.contact-hours {
    padding: 50px 0;
    background: #fff;
}

.contact-hours-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-hours h3 {
    color: #333;
    margin-bottom: 20px;
}

.contact-hours p {
    margin: 10px 0;
    color: #666;
}

.contact-hours .highlight {
    color: #007bff;
    font-weight: bold;
    margin-top: 20px;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .faq-item {
        padding: 20px;
    }

    .contact-hours-content {
        margin: 0 15px;
        padding: 20px;
    }

    .trust-indicators {
        flex-direction: column;
        align-items: center;
    }

    .trust-badge {
        width: 100%;
        max-width: 300px;
    }
}

/* 플로팅 CTA 버튼 크기 50% 축소 */
.floating-cta a {
    padding: 7px 12px;
    font-size: 0.85rem;
}
.floating-cta a i {
    font-size: 1rem;
}
@media (max-width: 768px) {
    .floating-cta a {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    .floating-cta a i {
        font-size: 0.9rem;
    }
} 