/* Hero Section - 임베디드 전문 기업 스타일 */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #2d5a87 100%);
    padding: 140px 0;
    overflow: hidden;
    color: white;
    border-bottom: 4px solid #00d4aa;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4aa' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

/* 회로 패턴 애니메이션 */
.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00d4aa, transparent);
    height: 2px;
    animation: circuit-flow 4s linear infinite;
}

.circuit-line:nth-child(1) { top: 20%; left: -100%; width: 200px; animation-delay: 0s; }
.circuit-line:nth-child(2) { top: 40%; left: -100%; width: 150px; animation-delay: 1s; }
.circuit-line:nth-child(3) { top: 60%; left: -100%; width: 180px; animation-delay: 2s; }
.circuit-line:nth-child(4) { top: 80%; left: -100%; width: 160px; animation-delay: 3s; }

.circuit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4aa;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4aa;
    animation: pulse 2s ease-in-out infinite;
}

.circuit-dot:nth-child(5) { top: 15%; right: 10%; animation-delay: 0s; }
.circuit-dot:nth-child(6) { top: 35%; right: 25%; animation-delay: 0.5s; }
.circuit-dot:nth-child(7) { top: 55%; right: 15%; animation-delay: 1s; }
.circuit-dot:nth-child(8) { top: 75%; right: 30%; animation-delay: 1.5s; }

@keyframes circuit-flow {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 200px)); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid #00d4aa;
    color: #00d4aa;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: #00d4aa;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

.hero-tech-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-tech-tag:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: #00d4aa;
    color: #00d4aa;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.7s;
    animation-fill-mode: both;
}

.hero-buttons .btn {
    margin-right: 15px;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-accent {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border: none;
    color: #0a1628;
}

.btn-accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4);
    background: linear-gradient(135deg, #00e6b8, #00d4aa);
    color: #0a1628;
}

.hero-buttons .btn-outline-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-image {
    position: relative;
    text-align: center;
    z-index: 5;
    animation: fadeInRight 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 212, 170, 0.3);
}

/* 히어로 통계 */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.9s;
    animation-fill-mode: both;
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00d4aa;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 임베디드 개발 분야 섹션 */
.embedded-fields {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
}

.field-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    border: 1px solid rgba(0, 212, 170, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.field-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00d4aa, #00b894);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.field-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.3);
}

.field-card:hover::before {
    transform: scaleX(1);
}

.field-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
}

.field-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
}

.field-description {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.field-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.field-tag {
    background: rgba(0, 212, 170, 0.1);
    color: #00b894;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 기술 스택 섹션 */
.tech-stack-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    padding: 100px 0;
    color: white;
}

.tech-category {
    margin-bottom: 50px;
}

.tech-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4aa;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: #00d4aa;
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00d4aa;
}

.tech-item span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 서비스 섹션 */
.service-card {
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(26, 54, 93, 0.1);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    transition: all 0.4s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1a365d, #2d5a87);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a365d;
    font-size: 1.4rem;
}

/* 프로젝트 카드 */
.project-card {
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
    border: 1px solid rgba(26, 54, 93, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    background: white;
}

.project-card:hover {
    box-shadow: 0 15px 35px rgba(0, 212, 170, 0.15);
    transform: translateY(-8px);
    border-color: rgba(0, 212, 170, 0.3);
}

.project-card img {
    transition: transform 0.5s ease;
    height: 220px;
    object-fit: cover;
}

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

.project-card .card-body {
    padding: 25px;
}

.project-card .card-title {
    font-weight: 700;
    color: #1a365d;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.project-card .badge {
    font-weight: 600;
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* 개발 프로세스 섹션 */
.process-section {
    background: #f8fafc;
    padding: 100px 0;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.process-step::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00d4aa, transparent);
}

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

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 1;
}

.process-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 10px;
}

.process-desc {
    color: #64748b;
    font-size: 0.95rem;
}

/* 클라이언트 섹션 */
.clients-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(26, 54, 93, 0.1);
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

/* partner slider styles in components/partner-slider.css */

/* CTA 섹션 */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #2d5a87 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.cta-title .highlight {
    color: #00d4aa;
}

.cta-buttons .btn {
    margin-right: 15px;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 회사 소개 섹션 */
.about-section {
    background: white;
    padding: 100px 0;
}

.about-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 54, 93, 0.1);
}

.about-card .card-body {
    padding: 35px;
}

.value-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(0, 212, 170, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

/* 기술 태그 */
.tech-tag {
    display: inline-block;
    background-color: rgba(0, 212, 170, 0.1);
    color: #00b894;
    padding: 6px 14px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 170, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background-color: #00d4aa;
    color: white;
    transform: translateY(-2px);
}

/* 뉴스 카드 */
.news-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(26, 54, 93, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.news-card:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.15);
    transform: translateY(-5px);
}

/* 반응형 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

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

    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .field-card, .service-card {
        margin-bottom: 20px;
    }
}
