:root {
    --primary-color: #004F9F;
    --secondary-color: #008299;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
.main-header {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.top-utils {
    display: flex;
    align-items: center;
    gap: 20px;
}

.util-link {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 70vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

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

.hero-content {
    max-width: 700px;
}

.badge {
    background-color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 25px;
    margin-top: 50px;
}

.main-cta {
    display: flex;
    align-items: center;
    padding: 30px 40px; /* Increased padding */
    border-radius: 16px; /* Rounder corners */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px); /* Glass blur */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Thin glass border */
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    z-index: 2;
}

.btn-text strong {
    font-size: 1.5rem;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.btn-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.main-cta i {
    font-size: 1.8rem;
    margin-left: 30px;
    transition: transform 0.3s;
    z-index: 2;
}

.main-cta:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.main-cta:hover i {
    transform: translateX(8px);
}

.btn-primary {
    background-color: rgba(0, 79, 159, 0.85); /* Semi-transparent KPC Blue */
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 79, 159, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: rgba(0, 79, 159, 0.95);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15); /* Translucent White Glass */
    color: var(--white); /* White text for better visibility on hero image */
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* Add a subtle shine effect */
.main-cta::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.main-cta:hover::after {
    opacity: 1;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.feature-card {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer */
.main-footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 60px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.footer-info h4, .footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
}

@media (max-width: 968px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .section-container {
        flex-direction: column;
    }
}
