/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* Prevent zoom on input focus on iOS */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    body {
        /* Prevent horizontal scroll on mobile */
        overflow-x: hidden;
        /* Improve touch targets */
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Ensure buttons are large enough for touch */
    button, .btn, [data-plan] {
        min-height: 44px;
        min-width: 44px;
        /* Prevent double-tap zoom on buttons */
        touch-action: manipulation;
    }
    
    /* Improve form elements on mobile */
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: 0;
    }
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 40px;
    height: 40px;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li { margin: 0; padding: 0; }

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #009c83; /* New Green */
}

/* Hero Section */
.hero {
    background: #f8f9fa;
    color: #333;
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.hero-left {}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 640px;
    /* Fallback height so slides don't overflow even if aspect-ratio is unsupported */
    height: clamp(220px, 34vw, 380px);
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(16,24,40,.18);
}
.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}
.carousel-slide.active { opacity: 1; }

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}
.dot.active { background: #22c55e; }

.hero-card {
    background-color: white;
    color: #333;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.hero-card .card-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #e0f2f1;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.hero-card .card-icon svg {
    width: 32px;
    height: 32px;
    color: #009c83; /* New Green */
}

.hero-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card .card-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.hero-card .card-url {
    font-size: 1rem;
    font-weight: 500;
    color: #009c83; /* New Green */
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-tag {
    display: inline-block;
    background-color: #e5e7eb;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.text-green {
    color: #009c83; /* New Green */
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    /* justify-content: center; */
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #009c83; /* New Green */
    color: white;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #008970; /* Darker New Green */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: #333;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    color: #009c83; /* New Green */
    border-color: #009c83; /* New Green */
}

/* Service Section */
.service {
    padding: 4rem 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-card .card-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #e0f2f1;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-card .card-icon svg {
    width: 32px;
    height: 32px;
    color: #009c83; /* New Green */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* How To Section */
.how-to {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 4rem;
}

.how-to-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #009c83; /* New Green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-text p {
    color: #666;
}

.how-to-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.how-to-card {
    background-color: white;
    color: #333;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.how-to-card .card-icon {
     margin-bottom: 2rem;
}

.card-title-sm {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.card-bar {
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 6px;
}

.card-bar.long {
    width: 100%;
}

.card-bar.short {
    width: 70%;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #009c83; /* New Green */
    font-weight: 500;
}

.card-status svg {
    width: 20px;
    height: 20px;
}

/* CTA Section */
/* Pricing Section */
.pricing { background: #f8f9fa; padding: 4rem 0; }

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

.price-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 1.5rem 1.25rem;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.price-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

.price-card.selected { border-color: #22c55e !important; box-shadow: 0 0 0 3px rgba(34,197,94,0.18), 0 16px 36px rgba(0,0,0,0.10); }

.price-card.popular::after { content: none; }

/* Make the inner rounded outline follow the selected card */
.price-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    pointer-events: none;
    border: 2px solid transparent;
    transition: border-color .2s ease;
}

.price-card.selected::after { content: "" !important; border-color: #22c55e !important; }
.price-card:not(.selected)::after { content: "" !important; border-color: transparent !important; }

/* Selected card button should look primary */
.price-card.selected .price-select {
  background-color: #009c83;
  color: #fff;
  border-color: #009c83;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.plan-header { text-align: center; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: #0f172a; }
.plan-price { text-align: center; margin-bottom: 0.75rem; }
.plan-price .amount { font-size: 2rem; font-weight: 800; color: #0f172a; }
.plan-price .amount .num { letter-spacing: 0.5px; }
.plan-price .amount .unit { font-size: 1rem; font-weight: 600; margin-left: 6px; color: #475569; }
.plan-price .per { font-size: 0.9rem; color: #6b7280; }

.plan-features { list-style: none; padding: 0; margin: 0.75rem 0 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features li { color: #334155; display: flex; align-items: center; gap: 8px; }
.plan-features .check { width: 18px; height: 18px; border-radius: 50%; background: #e0f2f1; display: inline-block; position: relative; }
.plan-features .check::after { content: ""; position: absolute; left: 5px; top: 3px; width: 6px; height: 10px; border: 2px solid #10b981; border-top: 0; border-left: 0; transform: rotate(45deg); }

.price-select { width: 100%; }

@media (max-width: 992px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

/* FAQ Section (reusing #about container) */
.faq-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #6b7280;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    padding: 1.25rem 1.25rem;
    text-align: left;
}

.faq-q {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.faq-a {
    color: #4b5563;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start; /* prevent equal-height stretching */
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Card */
.contact-card {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 1.75rem;
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    transition: box-shadow .2s ease, transform .2s ease;
}

.contact-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

.contact-card .icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0f2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.contact-card .icon-wrap svg {
    width: 36px;
    height: 36px;
    color: #009c83;
}

.contact-card .title {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0.5rem 0 0.5rem;
    color: #111827;
}

.contact-card .email {
    font-size: 1.15rem;
    color: #4b5563;
    text-decoration: none;
}

.contact-card .email:hover { color: #009c83; }

.contact-card .subtitle {
    margin-top: 0.5rem;
    color: #6b7280;
}

/* Tally iframe polish to match card */
.contact-form iframe {
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

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

/* Tooltip for footer links using the existing title attribute */
.footer-links a[title] {
    position: relative;
}

.footer-links a[title]::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    bottom: 125%;
    transform: translateX(-50%) translateY(0);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
}

.footer-links a[title]:hover::after,
.footer-links a[title]:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 80vh; /* For long privacy content */
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* Modal body text spacing */
.modal-body p { margin-bottom: 0.75rem; }
.modal-body ul { margin: 0.5rem 0 1rem 1.25rem; }
.modal-body h3 { margin-top: 1rem; margin-bottom: 0.5rem; font-size: 1.1rem; }

/* Avoid iOS long-press callout covering inputs in auth modal (while keeping keyboard shortcuts working) */
@supports (-webkit-touch-callout: none) {
    #authModal input, #authModal textarea {
        -webkit-touch-callout: none;
    }
}

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.signup-modal-content {
    max-width: 450px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Utility */
.hidden { display: none !important; }

/* User info (shared) */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #334155;
    font-size: 14px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

/* Auth Modal Specific Styles */
.auth-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 30px;
    margin-top: 10px;
}

.toggle-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}

.toggle-btn.active {
    background: white;
    color: #22c55e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.auth-section {
    display: none;
}

.auth-section.active {
    display: block;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #333;
    margin-bottom: 8px;
    font-size: 24px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-btn {
    background: #22c55e;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth-btn:hover {
    background: #16a34a;
}

.auth-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-switch p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.switch-btn {
    background: none;
    border: none;
    color: #22c55e;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
}

.switch-btn:hover {
    color: #16a34a;
}

/* Legacy signup header for backward compatibility */
.signup-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.signup-header h2 {
    color: #333;
    margin-bottom: 8px;
    font-size: 24px;
}

.signup-header p {
    color: #666;
    font-size: 14px;
}

.selected-plan {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.selected-plan h3 {
    margin: 0 0 8px 0;
    color: #16a34a;
    font-size: 16px;
}

.selected-plan p {
    margin: 0 0 4px 0;
    color: #666;
    font-size: 14px;
}

.google-signin {
    margin-bottom: 20px;
}

.google-btn {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #666;
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

.divider span {
    background: white;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.signup-btn {
    background: #22c55e;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.signup-btn:hover {
    background: #16a34a;
}

.signup-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.signup-benefits {
    background: #f8fffe;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #22c55e;
}

.signup-benefits p {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 500;
}

.signup-benefits ul {
    margin: 12px 0;
    padding-left: 0;
    list-style: none;
}

.signup-benefits li {
    margin: 8px 0;
    color: #333;
    font-size: 14px;
}

/* Korean-specific optimizations */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #009c83; /* New Green */
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation for service cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Korean font optimization */
@font-face {
    font-family: 'Noto Sans KR';
    font-display: swap;
}
