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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

section * {
    word-break: keep-all;
}

/* Color Variables */
:root {
    --primary-color: #003049;
    --secondary-color: #001d2e;
    --accent-color: #0f4c75;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: rgba(0, 48, 73, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 4px 0px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-image: url('images/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 48, 73, 0.2);
}

#home .btn {
    width: 230px !important;
    margin: 5px;
    font-size: 1.1em;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    z-index: 1;
    position: relative;
    color: #d0e4f8;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    z-index: 1;
    position: relative;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 48, 73, 0.3);
}

/* Section Padding */
.section-padding {
    padding: 5rem 0;
}

/* About Section */
.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--bg-light);
    border-radius: 10px;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Process Section */
.process-step {
    position: relative;
    padding: 2rem 1rem;
    margin: 2rem 0px;
    text-align: center;
    flex: 1;
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.process-step i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step h5 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    font-size: 0.9rem;
}

/* Usage Section */
.usage-step {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.usage-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.usage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.usage-icon i {
    font-size: 2rem;
    color: white;
}

.usage-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Pricing Table */
.pricing-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-table thead {
    background: var(--primary-color);
    color: white;
}

.pricing-table th {
    padding: 1.5rem 1rem;
    font-weight: 600;
    border: none;
}

.pricing-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table tr:hover {
    background: var(--bg-light);
}

/* FAQ Section */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    padding: 1.5rem;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-item i {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-item h5 {
    margin-bottom: 1rem;
}

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

.footer h5 {
    color: white;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .usage-arrow {
        display: none !important;
    }
}

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

    #about {
        text-align: center;
        padding: 20px;
    }

    .about-image {
        display: none;
    }

    .service-card,
    .usage-step,
    .contact-item {
        margin-bottom: 2rem;
    }

    .process-step {
        padding: 40px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

/* Text Color Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

/* Background Utilities */
.bg-light {
    background-color: var(--bg-light) !important;
}

.image-shadow {
  filter: drop-shadow(1px 1px 2px white) drop-shadow(-1px -1px 2px white);
}
