:root {
    --primary-green: #2d5016;
    --accent-green: #4a7c28;
    --light-green: #8bc34a;
    --fresh-green: #c8e6c9;
    --tech-blue: #1e3a8a;
    --dark-text: #1a1a1a;
    --gray-text: #666;
    --light-bg: #f8faf7;
    --white: #ffffff;
    --shadow: rgba(45, 80, 22, 0.1);
    --gold: #f59e0b;
}

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

body {
    font-family: 'Noto Sans KR', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
    word-break: keep-all;
    word-wrap: break-word;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Translation Button */
.translate-btn {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 2000;
    background: var(--accent-green);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 12px var(--shadow);
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.translate-btn:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow);
}

.translate-btn::before {
    content: '🌐 ';
}

/* Translation Modal */
.translate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.translate-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-text);
    line-height: 1;
    padding: 0.5rem;
}

.modal-close:hover {
    color: var(--primary-green);
}

.modal-content h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-content > p {
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.guide-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    border-left: 4px solid var(--accent-green);
}

.guide-item h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.guide-item ol {
    margin-left: 1.5rem;
    color: var(--gray-text);
}

.guide-item li {
    margin: 0.5rem 0;
}

.guide-item strong {
    color: var(--primary-green);
}

.modal-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-bg);
    text-align: center;
    color: var(--accent-green);
    font-weight: 600;
}

/* Language Grid */
.lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.lang-btn {
    padding: 1rem 0.5rem;
    border: 2px solid var(--fresh-green);
    background: var(--light-bg);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-green);
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.lang-btn:hover {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.lang-btn span {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.restore-btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.8rem;
    background: #f0f0f0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-text);
    font-family: 'Noto Sans KR', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: background 0.2s;
}

.restore-btn:hover {
    background: #ddd;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-main {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-green);
    font-family: 'Montserrat', sans-serif;
}

.brand-sub {
    font-size: 1.3rem;
    color: var(--primary-green);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 95vh;
    background: linear-gradient(135deg, #1a3a1a 0%, var(--primary-green) 50%, var(--accent-green) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 195, 74, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 230, 201, 0.15) 0%, transparent 50%);
    animation: pulseGlow 10s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 3rem 2rem;
    max-width: 1200px;
}

.hero-logo {
    width: 200px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 3rem;
    font-style: italic;
}

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-primary {
    background: var(--white);
    color: var(--primary-green);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--gold);
    color: var(--white);
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Technology Section */
#technology {
    background: var(--light-bg);
}

.tech-highlight {
    background: linear-gradient(135deg, var(--tech-blue), var(--primary-green));
    color: var(--white);
    padding: 4rem;
    border-radius: 30px;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.tech-highlight h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tech-highlight p {
    font-size: 1.3rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

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

.tech-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-green), var(--light-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow);
}

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

.tech-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.tech-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: 700;
}

.tech-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

.tech-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Business Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.business-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    border-left: 5px solid var(--accent-green);
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px var(--shadow);
}

.business-card h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.business-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.business-card li {
    padding: 0.8rem 0;
    color: var(--gray-text);
    position: relative;
    padding-left: 2rem;
}

.business-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: 900;
    font-size: 1.2rem;
}

/* Vision Section */
#vision {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3a1a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#vision::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

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

.vision-content .section-title {
    color: var(--white);
}

.vision-content .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.vision-item {
    text-align: center;
    padding: 2rem;
}

.vision-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 700;
}

.vision-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Progress Section */
#progress {
    background: var(--light-bg);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--light-green);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--light-bg);
    z-index: 1;
}

.timeline-content h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--gray-text);
    line-height: 1.7;
}

/* Contact Section */
#contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.contact-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-bg);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: var(--fresh-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    font-weight: 700;
}

.contact-card p {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-card a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-green);
}

.ceo-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--accent-green);
    box-shadow: 0 5px 20px var(--shadow);
}

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

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

footer p {
    opacity: 0.7;
    font-size: 1rem;
    margin: 0.5rem 0;
}

/* Responsive Design */
/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(45,80,22,0.1);
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 0.9rem 2rem;
    }

    .translate-btn {
        top: 90px;
        right: 20px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-content h3 {
        font-size: 1.6rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .tech-grid,
    .business-grid {
        grid-template-columns: 1fr;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 80px) !important;
        margin-left: 80px !important;
        text-align: left !important;
    }

    .timeline-marker {
        left: 20px;
    }
}
