:root {
    --primary-green: #6B8E23;
    --primary-blue: #2E86AB;
    --bg-light: #F4F7F6;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Section General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-green);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    margin: 15px auto 0;
}

/* Highlight Terms */
.highlight-term {
    color: var(--primary-blue);
    font-weight: 700;
    background: rgba(46, 134, 171, 0.1);
    padding: 0 5px;
    border-radius: 3px;
}

/* Hero Section */
#hero {
    background: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(107, 142, 35, 0.3);
    transition: transform 0.3s;
}

.flow-step:hover .icon-circle {
    transform: scale(1.1);
}

.flow-line {
    width: 4px;
    height: 40px;
    background: #ddd;
    margin: 5px 0;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-message {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-list {
    list-style: none;
}

.hero-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-list i {
    color: var(--primary-blue);
}

/* Data Source */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-top: 5px solid var(--primary-green);
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card-list {
    list-style: none;
}

.card-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.card-list li:last-child {
    border-bottom: none;
}

/* Analysis Models */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.model-block {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-blue);
}

.model-block h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.model-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.model-flow i {
    color: var(--primary-green);
}

/* Architecture */
.arch-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.arch-box {
    background: var(--white);
    padding: 1.5rem;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    min-width: 150px;
}

.main-box {
    background: var(--primary-green);
    color: white;
    border: none;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(107, 142, 35, 0.3);
}

.arch-arrow {
    color: var(--text-light);
    font-size: 1.5rem;
}

.tech-stack {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
}

.stack-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.stack-item {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Use Cases */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.uc-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Differentiation */
.diff-list {
    max-width: 800px;
    margin: 0 auto;
}

.diff-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.diff-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.diff-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* CTA */
#cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
}

#cta h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background: white;
    color: var(--primary-green);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        margin-bottom: 2rem;
    }

    .hero-list li {
        justify-content: center;
    }

    .nav-links {
        display: none;
        /* Simple hide for mobile for now, or could use hamburger */
    }

    .arch-diagram {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}