/* 고향시래기 B2B 랜딩페이지 CSS */

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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    --primary: #2d7a3e;
    --primary-dark: #1e5329;
    --secondary: #ff6b35;
    --accent: #ffd23f;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #dee2e6;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', '맑은 고딕', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100vw;
    padding-top: 90px !important;
}

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

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    min-width: 120%;
    min-height: 120%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45,122,62,0.5) 0%, rgba(30,83,41,0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 15px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(255,210,63,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: #e65a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
}

.section-title-left {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    padding-top: 20px;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-item {
    margin-bottom: 25px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-light);
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.info-box p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Stats */
.split-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    margin-top: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    box-shadow: 0 4px 16px rgba(45,122,62,0.25);
}

.product-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(255,107,53,0.4);
    white-space: nowrap;
}

.product-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 35px 30px 30px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.product-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.product-body {
    padding: 30px;
}

.product-features {
    margin-bottom: 20px;
}

.feature {
    padding: 12px;
    margin-bottom: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 15px;
}

.product-uses {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.product-uses h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-uses ul {
    list-style: none;
}

.product-uses li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.product-uses li:last-child {
    border-bottom: none;
}

/* ==================== Gallery Section ==================== */
.gallery-slider {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}

.gallery-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-btn::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    display: block;
}

.gallery-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover::before {
    border-color: var(--primary-dark);
}

.gallery-prev {
    left: 20px;
}

.gallery-prev::before {
    transform: rotate(-135deg);
    margin-right: -3px;
}

.gallery-next {
    right: 20px;
}

.gallery-next::before {
    transform: rotate(45deg);
    margin-left: -3px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.gallery-dot.active {
    background: white;
    border-color: var(--primary-color);
    transform: scale(1.3);
}

.product-uses li:before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.price-label {
    font-size: 14px;
    color: var(--text-light);
}

.price-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

/* Why Cards */
.why-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Tables */
.comparison-section {
    margin-top: 60px;
}

.comparison-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

th, td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

thead th {
    background: var(--text-dark);
    color: white;
    font-weight: 700;
    text-align: center;
}

tbody td {
    font-size: 15px;
}

tbody td:first-child {
    font-weight: 600;
}

tbody tr:hover {
    background: var(--bg-light);
}

.comparison-table td.highlight {
    background: #e8f5e9;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
}

.pricing-table td:not(:first-child):not(:last-child) {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
}

/* Info Card */
.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
    border-bottom: none;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    background: var(--bg-light);
    transition: all 0.3s;
}

.faq-question:hover {
    background: #e8f5e9;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

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

.faq-answer p {
    padding: 20px 25px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info, .contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-info h3, .contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-highlights {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.contact-highlights h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-highlights ul {
    list-style: none;
}

.contact-highlights li {
    padding: 8px 0;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
    color: white;
}

.footer p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    opacity: 0.7;
    position: relative;
}

.admin-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-btn:hover {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255,107,53,0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255,107,53,0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255,107,53,0.6);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .split-section,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
    }
    
    .nav.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .floating-btn span {
        display: none;
    }
    
    .floating-btn {
        width: 60px;
        height: 60px;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
        font-size: 24px;
    }
    
    /* Gallery Mobile Styles */
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-caption {
        font-size: 14px;
        padding: 20px 15px 15px;
    }
    
    .gallery-dots {
        bottom: 10px;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .card, .product-card, .why-card {
        padding: 25px 20px;
    }
}