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

:root {
    --primary-color: #00C73C;
    --secondary-color: #00A832;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --text-color: #4B5563;
    --border-color: #E5E7EB;
    --success-color: #00C73C;
    --gradient: linear-gradient(135deg, #00C73C 0%, #00A832 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #ffffff;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
}

.logo-icon {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

/* Logo image styling */
img.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-button.nav-cta {
    background: #ff4444;
}

.cta-button.nav-cta:hover {
    background: #cc0000;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #00C73C 0%, #00A832 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #00F251 0%, #00C73C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile line break - default: no break on desktop */
.mobile-break {
    display: inline;
}

/* On mobile devices, add line break */
@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.input-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.primary-cta {
    border-radius: 50px;
    padding: 1rem 2rem;
    background: #ff4444;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.primary-cta:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

.hero-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.hero-image {
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.demo-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.demo-header {
    background: #f3f4f6;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.demo-dot:first-child { background: #ef4444; }
.demo-dot:nth-child(2) { background: #eab308; }
.demo-dot:nth-child(3) { background: #10b981; }

.demo-content {
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-animation {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--text-color);
    position: relative;
}

.typing-animation::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background: var(--light-color);
}

.partners-label {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    text-align: center;
    font-weight: 700;
    color: #9CA3AF;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.partner-logo:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* How It Works Section - NEW Process Flow Design */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 5rem;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.6s; }

.step-number {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00C73C, #00A832);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 199, 60, 0.3);
}

.step-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #00C73C;
}

.step-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
}

.step-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
    flex: 1;
}

.step-details {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.detail-badge {
    background: #f3f4f6;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4b5563;
    white-space: nowrap;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00C73C;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.process-arrow:nth-child(2) { animation-delay: 0.3s; }
.process-arrow:nth-child(4) { animation-delay: 0.5s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Responsive Design for Process Flow */
@media (max-width: 1024px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .process-step {
        max-width: 400px;
        width: 100%;
    }
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: white;
}

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

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 199, 60, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-color);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0 0.5rem;
}

.period {
    color: var(--text-color);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.plan-features li.disabled {
    color: #d1d5db;
}

.plan-button {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-button:hover {
    background: var(--primary-color);
    color: white;
}

.featured-button {
    background: var(--primary-color);
    color: white;
}

.featured-button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.author-role {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.large-cta {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    background: #ff4444;
    color: white;
    border-radius: 50px;
}

.large-cta:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 68, 68, 0.4);
}

.cta-note {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    max-width: 600px;
    margin: 3rem auto 0;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 20px 0;
}

.footer-content {
    text-align: center;
}

.company-info {
    margin-bottom: 1.5rem;
    color: #9CA3AF;
    line-height: 1.8;
}

.company-info p {
    margin: 0.5rem 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo img.logo-icon {
    filter: none;  /* Keep original white color in footer */
}

.footer-desc {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

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

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.newsletter-input::placeholder {
    color: #9CA3AF;
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .input-group {
        flex-direction: column;
        border-radius: 12px;
    }

    .hero-input {
        border-bottom: 1px solid var(--border-color);
    }

    .primary-cta {
        border-radius: 8px;
        width: 100%;
    }

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

    .step-arrow {
        transform: rotate(90deg);
    }

    .pricing-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        text-align: center;
    }

    .company-info {
        padding: 0 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .cta-title {
        font-size: 2rem;
    }
}