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

:root {
    /* Brand Colors - based on Quantum AI Logo #0078fe */
    --primary-color: #0078fe;
    --primary-light: #3d9aff;
    --primary-dark: #0060d0;
    --primary-bg: rgba(0, 120, 254, 0.08);
    --secondary-color: #00b4a0;
    --secondary-dark: #009688;
    --accent-color: #40c4ff;
    --danger-color: #ef4444;

    /* Neutrals */
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f8fafc;
    --bg-dark: #0a0f1e;
    --white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);

    /* Radius Tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
}

/* Initial load state */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

body.loaded {
    opacity: 1;
}

.section {
    min-height: 100vh;
    position: relative;
}

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

/* Header Logo */
.header-logo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 1.5rem;
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(12px);
}

.header-logo img {
    height: 32px;
    width: auto;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}


/* ===========================
   Section 1: Hero Section
   =========================== */
.hero-section {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?q=80&w=2053&auto=format&fit=crop') center/cover no-repeat; */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
                url('https://plus.unsplash.com/premium_photo-1682130157004-057c137d96d5?q=80&w=3864&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.main-copy {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.main-copy .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0.5rem;
}

.sub-copy {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

.efficiency-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.85;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-value.down {
    color: var(--accent-color);
}

.metric-value.up {
    color: var(--secondary-color);
}

.metric-value i {
    animation: bounce 2s infinite;
}

.metric-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 120, 254, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: scale(1.03);
    box-shadow: 0 6px 24px rgba(0, 120, 254, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

/* ===========================
   Section 2: Conversation
   =========================== */
.conversation-section {
    background: #0b1a2e;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4rem;
    font-weight: 300;
}

.conversation-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.conversation-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.avatar-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.customer-avatar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.bot-avatar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 50px;
}

.wave-bar {
    width: 3px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: height 0.15s ease, background 0.3s ease;
}

.waveform.active .wave-bar {
    background: var(--white);
}

.role-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.message-bubble {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    align-self: stretch;
    min-height: 120px;
}

.message-type {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 60px;
}

.connection-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 150px;
}

.connection-dot {
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.connection-wave {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom,
        var(--white) 0%,
        transparent 50%,
        var(--white) 100%);
    animation: pulse 2s ease-in-out infinite;
}

.conversation-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.demo-button {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-button:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.demo-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.demo-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}

/* ===========================
   Section Transition Divider
   =========================== */
.section-divider {
    height: 80px;
    position: relative;
    margin-top: -1px;
}

.section-divider.hero-to-conv {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), #0b1a2e);
}

.section-divider.conv-to-contact {
    background: linear-gradient(to bottom, #0b1a2e, #f0f7ff);
}

/* ===========================
   Section 3: Contact
   =========================== */
.contact-section {
    background: #f0f7ff;
    padding: 100px 20px;
    min-height: 100vh;
}

.contact-section .section-title {
    color: var(--text-dark);
}

.contact-section .section-subtitle {
    color: var(--text-light);
}

.download-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.download-section .section-title {
    font-size: 2rem;
}

.download-section .section-subtitle {
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.download-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 120, 254, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.download-button:hover {
    background: var(--primary-dark);
    transform: scale(1.03);
    box-shadow: 0 6px 24px rgba(0, 120, 254, 0.4);
}

.download-button.locked {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.download-button.locked:hover {
    background: #d1d5db;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-color);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

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

.download-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.download-note.success {
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-form-section.highlight {
    animation: highlightPulse 1.5s ease;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 transparent; }
    30% { box-shadow: 0 0 0 4px rgba(0, 120, 254, 0.3); }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.contact-form-section {
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
    width: 16px;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 120, 254, 0.12);
}

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

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 120, 254, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0, 120, 254, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 폼 제출 후 다운로드 영역 */
.form-download {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
    text-align: center;
    margin-top: 0;
}

.form-download.show {
    max-height: 200px;
    opacity: 1;
    margin-top: 2rem;
}

.form-download-message {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-download-message i {
    font-size: 1.2rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: #f2f6fa;
    color: #616161;
    padding: 3rem 0 2rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-company-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.footer-company span {
    font-size: 0.8rem;
    color: #a2a6aa;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #616161;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #dde3ea;
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.copyright {
    font-size: 0.8rem;
    color: #a2a6aa;
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

.footer-legal a {
    color: #a2a6aa;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #616161;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dde3ea;
    color: #616161;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===========================
   Animations
   =========================== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}


@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

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

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

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

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 1024px) {
    .conversation-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .connection-line {
        flex-direction: row;
        width: 150px;
        height: auto;
        justify-self: center;
    }

    .connection-wave {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right,
            var(--white) 0%,
            transparent 50%,
            var(--white) 100%);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header-logo {
        padding: 0.75rem 1rem;
    }

    .header-logo img {
        height: 26px;
    }

    /* Hero */
    .hero-content {
        padding: 16px;
    }

    .main-copy {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .sub-copy {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .efficiency-metrics {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .metric-label {
        font-size: 0.85rem;
    }

    .metric-value {
        font-size: 1.4rem;
    }

    .metric-divider {
        height: 40px;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* Conversation */
    .conversation-section {
        padding: 80px 12px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .conversation-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .avatar {
        width: 64px;
        height: 64px;
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .waveform {
        height: 36px;
    }

    .role-label {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .message-bubble {
        padding: 1rem;
        min-height: 80px;
        border-radius: var(--radius-md);
    }

    .message-type {
        font-size: 0.65rem;
    }

    .message-text {
        font-size: 0.9rem;
        min-height: 40px;
    }

    .connection-line {
        width: 100px;
        gap: 0.5rem;
    }

    .connection-dot {
        width: 6px;
        height: 6px;
    }

    .demo-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-section {
        padding: 60px 12px;
        min-height: auto;
    }

    .contact-form-section {
        padding: 2rem 1.25rem;
        border-radius: var(--radius-lg);
    }

    .form-title {
        font-size: 1.4rem;
    }

    .form-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .download-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-right {
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-social {
        gap: 0.75rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-divider {
        height: 40px;
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .main-copy {
        font-size: 1.8rem;
    }

    .sub-copy {
        font-size: 0.9rem;
    }

    .efficiency-metrics {
        flex-direction: column;
        gap: 0.75rem;
    }

    .metric-divider {
        width: 50px;
        height: 1px;
    }

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

    .conversation-container {
        padding: 1.25rem 0.75rem;
    }

    .avatar {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .waveform {
        height: 28px;
        gap: 1.5px;
    }

    .wave-bar {
        width: 2px;
    }

    .message-bubble {
        padding: 0.875rem;
        min-height: 60px;
    }

    .message-text {
        font-size: 0.85rem;
        min-height: 30px;
    }

    .contact-form-section {
        padding: 1.5rem 1rem;
    }

    .form-title {
        font-size: 1.2rem;
    }
}

/* ===========================
   Floating TOP Button
   =========================== */
.top-button {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.top-button:hover {
    background: var(--primary-dark);
}
.top-button:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}
.top-button i {
    font-size: 0.75rem;
    line-height: 1;
}
.top-button span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .top-button {
        right: 16px;
        bottom: 24px;
        width: 44px;
        height: 44px;
    }
}
