/* style.css - 和讃堂 WaSanDo | 経験の資産化ラボ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #f5efe6;         /* Warm Soft Cream (Matches Logo Background) */
    --bg-card: #ffffff;         /* Crisp Pure White */
    --bg-card-hover: #faf8f5;   /* Light Ivory Cream */
    --border-color: #e5dec9;    /* Soft Sand / Beige Gray */
    --primary-gold: #cba37e;    /* Ochre / Warm Torii Gold (Matches Logo Torii) */
    --primary-gold-hover: #b58c67;
    --primary-gold-rgb: 203, 163, 126;
    --accent-emerald: #4c6e4f;  /* Sage / Forest Green (Representing Wa/Zen) */
    --accent-emerald-hover: #3d583f;
    --accent-blue: #2d5a7b;     /* Indigo Accent */
    --text-primary: #4b433e;    /* Logo Charcoal/Brown (Highly readable, high contrast) */
    --text-secondary: #6b625c;  /* Soft Charcoal */
    --text-muted: #9c9289;      /* Muted Sand */
    --danger-red: #c94a4a;      /* Muted Crimson */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --shadow-premium: 0 10px 30px -15px rgba(115, 105, 85, 0.15);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-jp);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Typography Helpers */
.en-font {
    font-family: var(--font-en);
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(115, 105, 85, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.logo-title-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-title .wasando-tag {
    font-size: 11px;
    font-weight: 800;
    background: var(--text-primary);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

.logo-title .gold-accent {
    color: var(--primary-gold);
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 1px;
}

body.logged-in .logo-tagline {
    display: none !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    flex-shrink: 0;
}

/* Credit Badge */
.credit-badge {
    background: #fff;
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--shadow-inset);
    flex-shrink: 0;
    white-space: nowrap;
}

.credit-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.credit-amount {
    color: var(--primary-gold);
    font-family: var(--font-en);
    font-size: 18px;
}

/* Account Vault Profile Widget */
.account-badge-btn {
    background: #fff;
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    max-width: 240px;
}

#account-vault-btn-label {
    max-width: 140px;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-badge-btn.pulse-signup {
    border-color: var(--accent-emerald);
    background: rgba(76, 110, 79, 0.05);
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 110, 79, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 110, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 110, 79, 0); }
}

.account-badge-btn:hover {
    border-color: var(--text-primary);
    background: var(--bg-card-hover);
}

.account-badge-btn i {
    color: var(--accent-emerald);
}

.account-badge-btn.pulse-signup i {
    color: var(--danger-red);
}

/* Dropdown Menu (Converted to Modal Overlay) */
.account-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 67, 62, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.account-dropdown.active {
    display: flex;
}

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

.dropdown-user-header {
    background: var(--bg-card-hover);
    padding: 16px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-email-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-en);
}

.user-company-sub {
    font-size: 11px;
    color: var(--text-secondary);
}

.supabase-badge {
    background: rgba(76, 110, 79, 0.1);
    color: var(--accent-emerald);
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 4px;
    width: fit-content;
    font-weight: 700;
}

/* Sign Up Form dropdown layout styling */
.signup-form-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.signup-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.signup-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
}

.signup-input {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    outline: none;
}

.signup-input:focus {
    border-color: var(--primary-gold);
    background: #fff;
}

.social-login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    margin: 4px 0;
}

.social-login-separator::before, .social-login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.social-login-separator:not(:empty)::before {
    margin-right: .5em;
}

.social-login-separator:not(:empty)::after {
    margin-left: .5em;
}

.line-login-btn {
    background: #06C755;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.line-login-btn:hover {
    background: #05b04b;
}

.dropdown-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 12px 16px 4px 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-list {
    max-height: 160px;
    overflow-y: auto;
    padding: 0 16px 12px 16px;
}

.dropdown-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-main);
    font-size: 12px;
    color: var(--text-secondary);
}

.dropdown-list-item i {
    color: var(--primary-gold);
    font-size: 14px;
}

.dropdown-list-item-name {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-logout-box {
    border-top: 2px solid var(--border-color);
    padding: 10px 16px;
    background: var(--bg-card-hover);
    display: flex;
    justify-content: flex-end;
}

/* Starter Market Recommendation Card */
.starter-route-card {
    background: rgba(var(--primary-gold-rgb), 0.08);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    animation: fadeIn 0.4s ease-out forwards;
}

.starter-route-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 14px;
    color: #a07853;
    margin-bottom: 6px;
}

.starter-route-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    text-decoration: none;
    min-height: 48px; /* Touch-friendly size */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #ab845f 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-gold-rgb), 0.25);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-gold-hover) 0%, var(--primary-gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--primary-gold-rgb), 0.35);
}

.btn-secondary {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

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

.btn-emerald {
    background: var(--accent-emerald);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 110, 79, 0.2);
}

.btn-emerald:hover {
    background: var(--accent-emerald-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(76, 110, 79, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    min-height: 38px;
}

/* Preset Picker Bar */
.preset-bar {
    background: #fff;
    border-bottom: 2px solid var(--border-color);
    padding: 16px 0;
}

.preset-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.preset-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.preset-select-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    max-width: 550px;
}

.preset-select-wrapper {
    position: relative;
    flex-grow: 1;
}

.preset-select {
    width: 100%;
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    appearance: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.preset-select:focus {
    border-color: var(--text-primary);
    outline: none;
    background: #fff;
}

.preset-select-wrapper::after {
    content: "▼";
    font-size: 11px;
    color: var(--text-primary);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Custom Industry Input Panel */
.custom-industry-panel {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    animation: slideDown 0.3s ease-out forwards;
    margin-top: 12px;
}

.custom-industry-input {
    flex-grow: 1;
    background: #fff;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    transition: var(--transition-smooth);
    min-height: 48px;
}

.custom-industry-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(var(--primary-gold-rgb), 0.1);
}

/* Active Booking Notification Panel */
.active-booking-widget {
    display: none;
    background: #f1f7f2;
    border: 2px solid var(--accent-emerald);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    animation: fadeIn 0.4s ease-out forwards;
}

.active-booking-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-emerald-hover);
    font-size: 15px;
    font-weight: 700;
}

.active-booking-info i {
    font-size: 20px;
}

/* Main Area & Steps Progress */
main {
    flex-grow: 1;
    padding: 30px 0;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.steps-indicator::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    z-index: 1;
}

.step-progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-gold);
    z-index: 2;
    transition: var(--transition-smooth);
}

.step-node {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-en);
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.step-node.active .step-circle {
    border-color: var(--primary-gold);
    background: #fff;
    color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(var(--primary-gold-rgb), 0.3);
}

.step-node.completed .step-circle {
    border-color: var(--accent-emerald);
    background: var(--accent-emerald);
    color: #fff;
}

.step-title {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.step-node.active .step-title {
    color: var(--text-primary);
}

.step-node.completed .step-title {
    color: var(--accent-emerald);
}

/* Compact indicator for mobile */
.mobile-step-banner {
    display: none;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* Wizard Screen Container */
.wizard-screen {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.wizard-screen.active {
    display: block;
}

/* Panel Layout: Left / Right splits */
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: start;
}

.panel-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
}

.panel-card-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.panel-card-title .title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-card-title i {
    color: var(--primary-gold);
}

/* Tabs for Right Ingestion Panel */
.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    gap: 6px;
}

.tab-header {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-header:hover {
    color: var(--text-primary);
}

.tab-header.active {
    color: var(--accent-emerald);
    border-bottom-color: var(--accent-emerald);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out forwards;
}

.tab-content.active {
    display: block;
}

/* Global Needs Panel Styling */
.needs-insights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.needs-market-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.needs-market-item {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.market-country {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.market-volume-badge {
    font-size: 11px;
    background: rgba(var(--primary-gold-rgb), 0.1);
    color: #a07853;
    border: 1px solid rgba(var(--primary-gold-rgb), 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-en);
    font-weight: 700;
}

.market-queries {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 20px;
}

.needs-summary-alert {
    background: rgba(76, 110, 79, 0.05);
    border: 2px solid rgba(76, 110, 79, 0.15);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    color: #38513b;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Step 1: Upload Zone */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--bg-main);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.upload-zone:hover {
    border-color: var(--primary-gold);
    background: #fff;
}

.upload-icon {
    font-size: 36px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.upload-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.upload-subtext {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Uploaded Files List */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.file-item {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.file-icon {
    font-size: 18px;
    color: var(--primary-gold);
    flex-shrink: 0;
}

.file-meta {
    overflow: hidden;
}

.file-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.file-size {
    font-size: 11px;
    color: var(--text-secondary);
    font-family: var(--font-en);
    margin-top: 2px;
}

/* Completeness Score Gauge (Left Panel Bottom) */
.completeness-gauge-box {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.gauge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gauge-label {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gauge-value {
    font-size: 16px;
    font-weight: 800;
    font-family: var(--font-en);
    color: var(--accent-emerald);
}

.gauge-track {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gauge-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-emerald);
    border-radius: 4px;
    transition: width 0.4s ease-out;
}

.gauge-tip {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Interview Dialogue Area */
.interview-dialogue-box {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.interviewer-bubble {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.avatar-ai {
    width: 36px;
    height: 36px;
    background: var(--text-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    font-family: var(--font-en);
    flex-shrink: 0;
}

.bubble-content {
    background: #fff;
    border: 2px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 0 16px 16px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.user-response-status {
    margin-top: 16px;
    border-top: 2px dashed var(--border-color);
    padding-top: 16px;
    text-align: center;
}

.record-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.record-btn-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
}

.record-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--danger-red);
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(201, 74, 74, 0.35);
    cursor: pointer;
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    transition: var(--transition-smooth);
}

.record-btn.recording {
    animation: pulseMic 1.5s infinite;
    background: #a13232;
}

.record-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--danger-red);
    opacity: 0;
    pointer-events: none;
}

.record-btn.recording ~ .record-pulse-ring {
    animation: ripple 1.5s infinite;
}

.voice-visualizer {
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.voice-visualizer.active {
    display: flex;
}

.wave-bar {
    width: 4px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 3px;
    animation: bounceWave 1.2s infinite ease-in-out alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 16px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 28px; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 20px; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 32px; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; height: 12px; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; height: 24px; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; height: 18px; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; height: 8px; }

.record-timer {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-en);
}

.recording-hint {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 700;
}

/* Action Area Bottom of Wizard */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
    align-items: center;
}

.wizard-footer-right {
    display: flex;
    gap: 16px;
}

/* Step 2: AI Analyzing */
.analyzing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.scanner-box {
    position: relative;
    width: 100px;
    height: 100px;
    background: rgba(179, 146, 71, 0.05);
    border: 2px solid rgba(179, 146, 71, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.scanner-icon {
    font-size: 40px;
    color: var(--primary-gold);
    z-index: 2;
    animation: pulseIcon 2s infinite ease-in-out;
}

.scanner-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    box-shadow: 0 0 10px var(--primary-gold);
    z-index: 3;
    animation: scanAnimation 2s infinite linear;
}

.analyzing-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.analyzing-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e2ded5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-emerald);
    border-radius: 4px;
}

.console-log-box {
    width: 100%;
    background: #252826;
    border: 2px solid #1c1e1d;
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 12px;
    text-align: left;
    height: 140px;
    overflow-y: auto;
    color: #d1d5d2;
}

.console-line {
    margin-bottom: 6px;
}

/* Step 3: Asset Grid and Sufficiency Indicators */
.discovery-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.discovery-title {
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.discovery-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.asset-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.asset-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.asset-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    transition: var(--transition-smooth);
}

.asset-card:hover::before {
    background: var(--primary-gold);
}

.asset-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.asset-type-badge {
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-primary);
}

.asset-cost {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-gold);
    background: rgba(var(--primary-gold-rgb), 0.08);
    border: 1px solid rgba(var(--primary-gold-rgb), 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-en);
}

.asset-title {
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.asset-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    flex-grow: 1;
    line-height: 1.5;
}

/* Sufficiency Gauge inside Step 3 Card */
.asset-sufficiency-box {
    margin-bottom: 16px;
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
}

.asset-sufficiency-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sufficiency-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.sufficiency-badge.insufficient {
    background: rgba(201, 74, 74, 0.1);
    color: var(--danger-red);
    border: 1px solid rgba(201, 74, 74, 0.2);
}

.sufficiency-badge.ready {
    background: rgba(76, 110, 79, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(76, 110, 79, 0.2);
}

.asset-sufficiency-track {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
}

.asset-sufficiency-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease-out;
}

.asset-sufficiency-fill.insufficient { background-color: var(--danger-red); }
.asset-sufficiency-fill.ready { background-color: var(--accent-emerald); }

.asset-meta {
    border-top: 2px solid var(--border-color);
    padding-top: 16px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.asset-targets {
    display: flex;
    gap: 6px;
}

.target-badge {
    font-size: 11px;
    background: rgba(0,0,0,0.03);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.card-actions-box {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.card-actions-box .btn {
    flex-grow: 1;
}

/* Step 4: Asset Editor Panels */
.editor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.editor-panel {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 550px;
    box-shadow: var(--shadow-premium);
}

.editor-header {
    padding: 16px 20px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card-hover);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.editor-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editor-title i {
    color: var(--primary-gold);
}

.editor-body {
    padding: 24px;
    flex-grow: 1;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    outline: none;
}

.editor-body.en-source {
    font-family: var(--font-en);
}

.document-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-gold);
    padding-left: 10px;
}

.document-subheading {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 20px 0 10px 0;
}

.document-paragraph {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.editor-footer {
    padding: 14px 20px;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--bg-card-hover);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 67, 62, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 15px 45px rgba(75, 67, 62, 0.15);
    overflow: hidden;
}

.modal-container.large {
    max-width: 600px;
}

.modal-header {
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body {
    padding: 24px;
}

/* Calendar Scheduler Grid Styles */
.calendar-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calendar-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.calendar-day-header {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 6px;
}

.calendar-cell {
    aspect-ratio: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    background: var(--bg-main);
    min-height: 44px;
}

.calendar-cell.muted {
    color: var(--text-muted);
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-cell:not(.muted):hover {
    background: rgba(var(--primary-gold-rgb), 0.1);
    border-color: rgba(var(--primary-gold-rgb), 0.3);
}

.calendar-cell.selected {
    background: var(--accent-emerald) !important;
    color: white !important;
    border-color: var(--accent-emerald);
}

.calendar-cell.today {
    border-color: var(--primary-gold);
}

.timeslots-section {
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
}

.timeslots-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeslots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.timeslot-btn {
    background: #fff;
    border: 2px solid var(--border-color);
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-en);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    min-height: 44px;
}

.timeslot-btn:hover {
    border-color: var(--primary-gold);
}

.timeslot-btn.selected {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

/* Calendar slots status disabled styling */
.timeslot-btn.booked {
    background: var(--bg-main) !important;
    color: var(--text-muted) !important;
    border-color: var(--border-color) !important;
    cursor: not-allowed !important;
    opacity: 0.5;
    pointer-events: none !important;
}

/* Stripe Link Shop Design */
.shop-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.shop-card {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.shop-card.selected {
    border-color: var(--primary-gold);
    background: #fff;
    box-shadow: 0 0 10px rgba(var(--primary-gold-rgb), 0.1);
}

.stripe-payment-form {
    background: #faf8f5;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
}

.stripe-link-saved-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.stripe-link-pay-btn {
    width: 100%;
    background: #00D4B2;
    color: #000;
    font-weight: 800;
    font-size: 15px;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    min-height: 48px;
}

/* Toast Notifications Container */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
}

.toast {
    background: var(--bg-card);
    border: 2px solid var(--accent-emerald);
    border-radius: 10px;
    padding: 16px 20px;
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(75, 67, 62, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ==================== MOBILE RESPONSIVENESS OVERRIDES ==================== */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    header {
        padding: 10px 0;
    }

    .header-content {
        gap: 8px;
    }

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

    .logo-title {
        font-size: 16px;
    }

    .logo-title-main-text {
        display: none;
    }

    .logo-tagline {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .account-badge-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .account-badge-btn span {
        max-width: 80px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: middle;
    }

    .credit-badge {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }

    .credit-text-label {
        display: none;
    }

    .credit-amount {
        font-size: 14px;
    }

    #charge-credits-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-height: auto;
    }

    #charge-credits-btn span {
        display: none !important;
    }

    .steps-indicator {
        display: none;
    }

    .mobile-step-banner {
        display: block;
    }

    .panel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .editor-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .editor-panel {
        height: 450px;
    }

    .panel-card {
        padding: 20px;
    }

    .tab-headers {
        flex-direction: column;
        gap: 4px;
        border-bottom: none;
    }

    .tab-header {
        border: 2px solid var(--border-color);
        border-radius: 8px;
        background: #fff;
        padding: 12px;
        font-size: 13px;
        justify-content: center;
    }

    .tab-header.active {
        border-color: var(--accent-emerald);
        background: rgba(76, 110, 79, 0.05);
    }

    .timeslots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wizard-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
    }

    .wizard-footer-right {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        min-height: 52px;
    }

    .preset-bar {
        padding: 12px 0;
    }

    .preset-content {
        flex-direction: column;
        align-items: stretch;
    }

    .preset-select-container {
        max-width: 100%;
    }

    .custom-industry-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .guest-welcome-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    .guest-banner-icon {
        margin: 0 auto;
    }
    .guest-banner-actions {
        width: 100%;
    }

    /* Horizontal scrolling for step 4 asset tabs */
    .asset-selector-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 8px;
        border-bottom: 2px solid var(--border-color) !important;
        margin-bottom: 16px;
    }
    .asset-selector-tabs::-webkit-scrollbar {
        height: 4px;
    }
    .asset-selector-tabs::-webkit-scrollbar-track {
        background: transparent;
    }
    .asset-selector-tabs::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 10px;
    }
    .asset-tab {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Stacking Hero CTA Buttons vertically */
    .hero-cta-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .hero-cta-buttons .btn {
        width: 100% !important;
    }

    /* Booking calendar cells responsiveness */
    .calendar-cell {
        aspect-ratio: 1 !important;
        min-height: auto !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }
    .calendar-grid {
        gap: 4px !important;
    }

    /* Modal responsiveness and scrollability */
    .modal-overlay,
    .account-dropdown {
        align-items: flex-start !important;
        overflow-y: auto !important;
        padding: 10px !important;
    }
    .modal-container {
        margin: 20px auto !important;
        max-height: none !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .modal-container.large {
        max-width: 100% !important;
    }
    .modal-body {
        padding: 16px !important;
    }
    .modal-container.large .modal-body {
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
}

/* Guest Onboarding Welcome Banner styling */
.guest-welcome-banner {
    background: linear-gradient(135deg, rgba(76, 110, 79, 0.08) 0%, rgba(203, 163, 126, 0.08) 100%);
    border: 2px dashed var(--accent-emerald);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-premium);
    animation: fadeIn 0.4s ease-out;
}

.guest-welcome-banner.hidden {
    display: none;
}

.guest-banner-icon {
    font-size: 32px;
    color: var(--accent-emerald);
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    border: 2px solid var(--border-color);
}

.guest-banner-content {
    flex-grow: 1;
}

.guest-banner-actions {
    flex-shrink: 0;
}

/* Sales Channels Grid and Cards styling */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.channel-card {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition-smooth);
}

.channel-card:hover {
    border-color: var(--primary-gold);
    background: #fff;
    box-shadow: var(--shadow-premium);
    transform: translateY(-2px);
}

.channel-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.channel-icon-box.emerald {
    background: var(--accent-emerald);
}

.channel-icon-box.ochre {
    background: var(--primary-gold);
}

.channel-icon-box.indigo {
    background: var(--accent-blue);
}

.channel-title-group {
    display: flex;
    flex-direction: column;
}

.channel-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.channel-type {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.channel-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.channel-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-actions .btn {
    width: 100%;
    min-height: 38px;
    font-size: 12px;
    padding: 8px 16px;
}

/* ==================== LANDING PAGE STYLING ==================== */

/* Header Navigation */
.header-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover {
    color: var(--primary-gold-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px 0;
    background: linear-gradient(180deg, rgba(203, 163, 126, 0.04) 0%, rgba(203, 163, 126, 0) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text-block {
    text-align: left;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    background: rgba(203, 163, 126, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-visual-block {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 450px;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.visual-header i {
    color: var(--accent-emerald);
}

.visual-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visual-step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
}

.v-step-num {
    background: rgba(76, 110, 79, 0.1);
    color: var(--accent-emerald-hover);
    font-size: 14px;
    font-weight: 900;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.visual-step-item strong {
    font-size: 13px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.visual-step-item p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Section Common Layouts */
.section-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: #fdfdfd;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(203, 163, 126, 0.4);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: rgba(203, 163, 126, 0.02);
}

.faq-icon {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border-top: 0 solid var(--border-color);
}

.faq-item.active .faq-answer {
    border-top: 2px solid var(--border-color);
}

.faq-answer p {
    padding: 20px 24px;
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

/* Contact Us Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(203, 163, 126, 0) 0%, rgba(203, 163, 126, 0.03) 100%);
    border-bottom: 1px solid var(--border-color);
}

.contact-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}

.form-group label .required {
    background: rgba(235, 94, 85, 0.1);
    color: #eb5e55;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    font-size: 13px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: #fcfcfc;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(203, 163, 126, 0.15);
}

/* Footer Section */
footer {
    background: #1c1e1d;
    color: #a8aca9;
    padding: 60px 0 30px 0;
    border-top: 4px solid var(--primary-gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-left {
    max-width: 400px;
    text-align: left;
}

.footer-logo-text {
    font-weight: 900;
    font-size: 16px;
    color: #ffffff;
}

.footer-tagline {
    font-size: 12px;
    color: #8c908d;
    line-height: 1.5;
    margin-top: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    text-align: left;
}

.footer-link,
.footer-btn {
    font-size: 13px;
    color: #a8aca9;
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
}

.footer-link:hover,
.footer-btn:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    font-size: 11px;
    color: #646865;
}

/* Mobile Menu Toggle Button Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 101;
}

.mobile-menu-toggle:hover {
    color: var(--primary-gold);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block; /* Show hamburger toggle on mobile */
    }
    
    .header-nav {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 2px solid var(--border-color);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 10px 20px rgba(115, 105, 85, 0.08);
        align-items: flex-start;
        z-index: 99;
    }
    
    .header-nav.active {
        display: flex; /* Displays vertically when clicked */
    }
    
    .nav-link {
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        font-size: 15px;
    }
    
    .nav-link::after {
        display: none; /* Hide hover underline animation on mobile */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-card {
        padding: 20px;
    }
}

@media (max-width: 1100px) {
    .credit-text-label {
        display: none; /* Hide '保有クレジット:' on smaller PC screens to fit */
    }
    #charge-credits-btn span {
        display: none; /* Hide charge button text, show icon only */
    }
    #charge-credits-btn {
        padding: 8px 12px;
    }
    .header-nav {
        gap: 12px;
    }
    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 1350px) {
    .logo-tagline {
        display: none;
    }
    .header-nav {
        gap: 16px;
    }
}

/* Step 4 Asset Tabs & Dev Config Modal styling */
.asset-selector-tabs {
    border-bottom: 2px solid var(--border-color) !important;
}

.asset-tab {
    transition: var(--transition-smooth);
    border: 2px solid var(--border-color) !important;
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 700;
}

.asset-tab:hover {
    background: var(--bg-card-hover) !important;
    color: var(--text-primary) !important;
    border-color: var(--primary-gold) !important;
}

.asset-tab.active {
    background: rgba(203, 163, 126, 0.08) !important;
    border-color: var(--primary-gold) !important;
    color: var(--primary-gold) !important;
    box-shadow: 0 0 10px rgba(203, 163, 126, 0.15);
}

.dev-config-trigger-btn {
    transition: all 0.3s ease;
}

.dev-config-trigger-btn:hover {
    transform: rotate(30deg);
    border-color: var(--primary-gold) !important;
    color: var(--primary-gold) !important;
}
