﻿/* Base Variables & Theme */
:root {
    --primary: #0f172a;       /* Dark Navy/Slate 900 */
    --accent: #0d9488;        /* Deep Teal 600 */
    --accent-hover: #0f766e;  /* Deep Teal 700 */
    --text-dark: #1e293b;     /* Slate 800 */
    --text-muted: #64748b;    /* Slate 500 */
    --text-light: #f8fafc;    /* Slate 50 */
    --bg-light: #f1f5f9;      /* Slate 100 */
    --bg-white: #ffffff;
    --border: #e2e8f0;        /* Slate 200 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Noto Sans KR', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

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

.bg-dark {
    background-color: var(--primary);
}

.text-white {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-header .sub-title {
    display: block;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary-small:hover {
    background-color: var(--accent);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-light);
}

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

.btn-accent-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-accent-small:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background-color: transparent;
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.btn-outline-small:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header styling */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.header-logo {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--accent);
}

/* Hero section */
.hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background-color: #f8fafc;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--accent);
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.trust-item strong {
    display: block;
    font-size: 1.75rem;
    color: var(--accent);
    font-weight: 900;
}

.trust-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.hero-img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 200px;
}

.floating-badge .badge-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.floating-badge .badge-txt {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Trust Strip */
.trust-strip {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.strip-title {
    font-weight: 700;
    margin-bottom: 0;
    color: var(--accent);
    font-size: 1.05rem;
}

.badge-grid {
    display: flex;
    gap: 3rem;
}

.badge-icon-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.strip-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* Value Props */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-color: var(--accent);
}

.benefit-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    text-align: justify;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.service-img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    text-align: justify;
}

/* How it works */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(13, 148, 136, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.step-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Social Proof */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.star-rating {
    color: #eab308;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.reviewer-info strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* About Us split */
.about-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.cross-border-operator {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    font-style: italic;
    background-color: rgba(13, 148, 136, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.about-img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* FAQ Accordion */
.faq-accordion-group {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Lead Gen Section */
.lead-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: var(--text-light);
}

.lead-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-info h2 {
    color: var(--text-light);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.lead-info p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.lead-checklist {
    list-style: none;
}

.lead-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.check-svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.lead-form-box {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: var(--text-dark);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.required {
    color: #dc2626;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    transition: var(--transition);
    font-family: var(--font);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-consent {
    margin-bottom: 1.5rem;
}

.consent-label {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-checkbox {
    margin-top: 0.2rem;
}

.consent-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
}

.form-success-box {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.form-success-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.form-success-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer styling */
.footer {
    background-color: #0b0f19;
    color: rgba(255,255,255,0.6);
    padding: 5rem 0 2rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

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

.footer-desc {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cross-border-operator-foot {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links-col ul li a:hover {
    color: var(--accent);
    padding-left: 0.25rem;
}

.footer-contact-col p {
    margin-bottom: 1.25rem;
}

.footer-email-link {
    color: var(--accent);
    font-weight: 700;
}

.footer-email-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal-links {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: var(--accent);
}

.legal-sep {
    color: rgba(255,255,255,0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 800px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.1);
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-banner p a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 999;
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

.top-arrow {
    width: 24px;
    height: 24px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-container,
    .about-split,
    .lead-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .strip-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .badge-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .nav.open {
        max-height: 400px;
        padding: 1.5rem 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav .btn {
        margin-top: 1rem;
        width: 80%;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-btn-group {
        width: 100%;
    }
    
    .cookie-btn-group button {
        flex: 1;
    }
}
