/* CES 2026 Company Landing Page Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.company-korean-name {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-weight: 400;
}

.company-name {
    font-size: 3.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 10px 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.innovation-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin: 15px 5px;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

/* Section Styles */
.section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    font-weight: 700;
}

/* Product Card */
.product-card {
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid #667eea;
}

.product-name {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-description {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Description Card */
.description-card {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
}

.company-description {
    margin-bottom: 20px;
}

/* Detailed Content */
.detailed-content {
    width: 100%;
}

.markdown-content {
    padding: 20px;
    color: #4a5568;
    line-height: 1.8;
}

/* Markdown HTML styling */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    color: #2d3748;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.markdown-content h1 { font-size: 1.8rem; }
.markdown-content h2 { font-size: 1.5rem; }
.markdown-content h3 { font-size: 1.3rem; }
.markdown-content h4 { font-size: 1.1rem; }

.markdown-content p {
    margin-bottom: 1em;
    line-height: 1.7;
}

.markdown-content ul,
.markdown-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.markdown-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.markdown-content strong {
    font-weight: 600;
    color: #2d3748;
}

.markdown-content em {
    font-style: italic;
}

.markdown-content code {
    background: #edf2f7;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.markdown-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1em 0;
}

.markdown-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1em;
    margin: 1em 0;
    color: #4a5568;
    font-style: italic;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.markdown-content th,
.markdown-content td {
    padding: 0.75em;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.markdown-content th {
    background: #edf2f7;
    font-weight: 600;
}

.markdown-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 2em 0;
}

.product-description {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.7;
    color: #4a5568;
}

/* Info Table */
.info-table {
    overflow-x: auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.info-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
    width: 200px;
}

.info-table td {
    color: #4a5568;
}

.info-table a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.info-table a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Contact Card */
.contact-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 500;
}

.contact-value a {
    color: #667eea;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-section .section-title {
    border-bottom-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content p {
    margin: 10px 0;
    opacity: 0.9;
}

.footer-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.footer-content a:hover {
    text-decoration: underline;
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-name {
        font-size: 2.5rem;
    }

    .section {
        padding: 25px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-table th {
        width: 120px;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }

    .hero {
        min-height: 300px;
    }

    .section {
        padding: 20px;
    }
}
