:root {
    /* AhnLab Brand Colors */
    --color-primary: #002E5D;
    /* Deep Navy */
    --color-accent: #007AFF;
    /* Bright Blue */
    --color-secondary: #004B8D;
    /* Lighter Navy */
    --color-text-main: #111111;
    --color-text-sub: #666666;
    --color-bg-light: #F8F9FA;
    --color-border: #E1E1E1;
    --color-white: #FFFFFF;

    /* Functional Colors */
    --color-danger: #D32F2F;
    --color-warning: #FFA000;
    --color-success: #388E3C;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    height: var(--header-height);
    background-color: var(--color-primary);
    /* Blue Theme */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}


.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-white);
    /* White text on blue */
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    /* White text */
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-white);
    opacity: 1;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-login {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.btn-global {
    width: 24px;
    height: 24px;
    background-color: #eee;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-text-main);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Personal Theme Hero Background */
/* Personal Theme Hero Background */
.hero.hero-personal .hero-bg {
    background-color: var(--color-bg-light);
    /* Fallback */
    background-image: url('../images/main_bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -1;
}

/* Remove the old dark overlay and gradient */
.hero.hero-personal .hero-bg::after {
    display: none;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--color-primary);
    /* Ensure contrast */
}

.hero-content p {
    font-size: 20px;
    color: var(--color-text-sub);
    margin-bottom: 48px;
    max-width: 600px;
    font-weight: 500;
}

.btn-group {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #0062cc;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--color-text-sub);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 46, 93, 0.1);
    border-color: rgba(0, 122, 255, 0.1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 122, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-accent);
    font-size: 24px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.card-desc {
    color: var(--color-text-sub);
    margin-bottom: 24px;
    line-height: 1.6;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-accent);
    gap: 8px;
}

.link-arrow::after {
    content: '→';
    transition: transform 0.2s;
}

/* Content Center Section */
.bg-gray {
    background-color: var(--color-bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.news-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: border-color 0.2s;
}

.news-card:hover {
    border-color: var(--color-accent);
}

.news-date {
    font-size: 14px;
    color: var(--color-text-sub);
    margin-bottom: 8px;
    display: block;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.news-excerpt {
    color: var(--color-text-sub);
    font-size: 16px;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    /* Blue Theme */
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-info p {
    margin-bottom: 8px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}