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

:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --primary-light: #A29BFE;
    --accent: #00CEC9;
    --accent-dark: #00B5B0;
    --bg: #F8F9FC;
    --bg-white: #FFFFFF;
    --text: #2D3436;
    --text-light: #636E72;
    --text-muted: #B2BEC3;
    --border: #E8ECF1;
    --border-light: #F1F3F7;
    --youtube: #FF0000;
    --tiktok: #010101;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: var(--radius-sm);
    font-size: 18px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-link {
    text-decoration: none;
    color: var(--text);
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-md {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

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

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

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6C5CE7 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 206, 201, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(162, 155, 254, 0.3) 0%, transparent 50%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.hero-inner {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFECD2, #FCB69F, #FFE0D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.hero-stat-plus {
    font-size: 24px;
    color: var(--accent);
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

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

/* ===== Filter Bar ===== */
.categories {
    padding: 80px 0;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-chips {
    display: flex;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.chip:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-select {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    cursor: pointer;
    min-width: 160px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.results-info {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 500;
}

/* ===== Account Cards ===== */
.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.account-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.account-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-header {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-platform-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.card-platform-badge.youtube {
    background: var(--youtube);
}

.card-platform-badge.tiktok {
    background: var(--tiktok);
}

.card-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.card-status.available {
    background: rgba(0, 184, 148, 0.9);
    color: white;
}

.card-status.negotiating {
    background: rgba(253, 203, 110, 0.9);
    color: #6D4C00;
}

.card-status.sold {
    background: rgba(225, 112, 85, 0.9);
    color: white;
}

.account-card.sold {
    opacity: 0.75;
}

.account-card.sold:hover {
    opacity: 1;
}

.sold-price {
    text-decoration: line-through;
    opacity: 0.6;
}

.card-action {
    text-decoration: none;
}

.modal-inquiry-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-inquiry-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.card-body {
    padding: 20px;
}

.card-genre {
    display: inline-block;
    padding: 2px 10px;
    background: var(--bg);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.card-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
}

.card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.card-price-unit {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.card-action {
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.card-action:hover {
    background: var(--primary-dark);
}

/* ===== Load More ===== */
.load-more {
    text-align: center;
    margin-top: 40px;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-white);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 260px;
}

.step-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    color: white;
    font-size: 28px;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: var(--text-muted);
    font-size: 20px;
}

/* ===== Why Us / Features ===== */
.why-us {
    padding: 80px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.1));
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 24px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 40px 0 80px;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), #764ba2);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 206, 201, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
}

.cta-title {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

/* ===== Contact ===== */
.contact {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.1));
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 18px;
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

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

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

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.required {
    color: #e74c3c;
    font-size: 11px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    background: var(--bg);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

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

/* ===== Footer ===== */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0,0,0,0.1);
}

.modal-thumbnail {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-content {
    padding: 32px;
}

.modal-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.modal-platform.youtube { background: var(--youtube); }
.modal-platform.tiktok { background: var(--tiktok); }

.modal-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.modal-stat {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.modal-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.modal-stat-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.modal-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.05));
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 92, 231, 0.15);
}

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

.modal-price-note {
    font-size: 12px;
    color: var(--text-muted);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.modal-tag {
    padding: 4px 12px;
    background: var(--bg);
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .steps {
        flex-wrap: wrap;
        gap: 24px;
    }

    .step-arrow {
        display: none;
    }

    .step {
        flex: 0 0 calc(50% - 12px);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-num {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .filter-bar {
        flex-direction: column;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .step {
        flex: 0 0 100%;
    }

    .modal-stats-grid {
        grid-template-columns: 1fr;
    }

    .modal-price-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-title {
        font-size: 22px;
    }
}
