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

:root {
    --primary-dark: #2d3a46;
    --accent-green: #5e6f0d;
    --light-bg: #edefec;
    --content-bg: #dedbd3;
    --text-color: #2d3a46;
    --hover-green: #4e5a0b;
}

body {
    font-family: 'Nanum Myeongjo', serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--primary-dark);
    border-bottom: 3px solid var(--accent-green);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    color: #edefec;
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-bg);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-button {
    background-color: var(--accent-green) !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-button:hover {
    background-color: var(--hover-green) !important;
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #edefec;
    font-weight: 700;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-green);
    color: white;
    padding: 1rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: var(--hover-green);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 2rem;
}

.section-light {
    background-color: var(--light-bg);
}

.section-content {
    background-color: var(--content-bg);
}

.cta-section {
    background-color: var(--light-bg);
    text-align: center;
    padding-top: 0;
}

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

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

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--accent-green);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Feature cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
    box-shadow: 0 2px 8px rgba(45, 58, 70, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(45, 58, 70, 0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

.feature-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.demo-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

/* Desktop: hover to show demo */
@media (min-width: 769px) {
    .feature-card:not(.no-demo):hover .demo-gif {
        opacity: 0.95;
    }
    
    .feature-card:not(.no-demo):hover .feature-content {
        opacity: 0;
    }
}

/* Mobile/Tablet: tap to toggle */
@media (max-width: 768px) {
    .feature-card:not(.no-demo) .feature-content::after {
        content: 'Tap to preview';
        display: block;
        margin-top: 0.75rem;
        font-size: 0.8rem;
        color: var(--accent-green);
        opacity: 0.7;
    }
    
    .feature-card.show-demo .feature-content::after {
        content: none;
    }
    
    .feature-card.show-demo .demo-gif {
        opacity: 0.95;
    }
    
    .feature-card.show-demo .feature-content {
        opacity: 0;
    }
}

/* Requirements Section */
.requirements-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.requirement-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.requirement-item h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.requirement-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .requirements-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .requirements-list {
        grid-template-columns: 1fr;
    }
}

/* Security section */
.security-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.security-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.security-item .job {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.security-item .checkmark {
    color: var(--accent-green);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.security-item p {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-container {
    max-width: 600px;
    text-align: center;
}

.pricing-amount {
    font-size: 2.5rem;
    margin: 0;
}

.pricing-details {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

#pricing {
    padding: 2rem 2rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(237, 239, 236, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    color: rgba(237, 239, 236, 0.6);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-bg);
    margin: 5px 0;
    transition: 0.3s;
}

/* Responsive */
@media screen and (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
        padding-top: 1rem;
    }
    
    .nav-button {
        display: block;
        text-align: center;
    }
    
    /* Hero */
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Feature cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    /* Requirements */
    .requirements-list {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .requirement-item {
        padding: 1.25rem;
    }
    
    .requirement-item h4 {
        font-size: 1.1rem;
    }
    
    /* Security */
    .security-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .security-item {
        padding: 1.25rem;
    }
    
    .security-item h4 {
        font-size: 1.1rem;
    }
    
    /* About section */
    .container[style*="max-width: 800px"] p {
        font-size: 1rem !important;
    }
    
    /* CTA section */
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}