:root {
    --bg-color: #1a120b;
    --bg-secondary: #261c14;
    --text-primary: #fdfaf6;
    --text-secondary: #d4c5b9;
    --primary-color: #ff9a3c;
    --secondary-color: #ff6f3c;
    --accent-color: #ffc93c;
    --glass-bg: rgba(255, 230, 200, 0.05);
    --glass-border: rgba(255, 200, 150, 0.1);
    --card-bg: rgba(15, 15, 25, 0.6);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans JP', 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effect */
.glow-bg {
    position: fixed;
    top: -20vh;
    left: -10vw;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255, 111, 60, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}
.glow-bg::after {
    content: '';
    position: absolute;
    bottom: -50vh;
    right: -40vw;
    width: 50vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(255, 154, 60, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    outline: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Base Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary:hover {
    box-shadow: 0 0 15px rgba(255, 154, 60, 0.5);
    transform: translateY(-2px);
}
.btn-primary.large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 12px 32px;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}
.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
}

.btn-outline {
    border: 1px solid var(--secondary-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--secondary-color);
}

.btn-text {
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-secondary);
}
.btn-text:hover {
    color: var(--primary-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}
.logo .icon {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.nav-menu a:hover {
    color: var(--text-primary);
}
.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Offset for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,18,11,0.3) 0%, var(--bg-color) 100%),
                linear-gradient(90deg, rgba(26,18,11,0.8) 0%, rgba(26,18,11,0.4) 100%);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-text {
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 111, 60, 0.2);
    border: 1px solid rgba(255, 111, 60, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 550px;
}

/* Search Panel */
.search-panel {
    max-width: 900px;
    padding: 24px;
    animation: slideUp 0.8s ease-out forwards;
}

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

.panel-header {
    margin-bottom: 20px;
    padding-left: 8px;
}
.panel-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.search-form {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 8px;
    align-items: center;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 24px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 30px;
}
.input-group:hover {
    background: rgba(255, 255, 255, 0.03);
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    pointer-events: none;
}
.input-group label i {
    margin-right: 4px;
    color: var(--primary-color);
}

.input-group input, .input-group select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    font-family: inherit;
    cursor: pointer;
}
.input-group input::placeholder {
    color: #666;
}
.input-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

.btn-submit {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 8px;
    flex-shrink: 0;
}
.btn-submit:hover {
    box-shadow: 0 0 20px rgba(255, 154, 60, 0.6);
    transform: scale(1.05);
}

/* Stats */
.stats {
    max-width: 1000px;
    margin: 40px auto 80px;
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 50%, transparent);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
}
.stat-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.stat-item p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Featured Section */
.featured, .how-it-works {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.space-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 111, 60, 0.4);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}
.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}
.favorite-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.card-info {
    padding: 24px;
}
.rating {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rating i { color: #FFD700; }

.space-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.space-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.amenities {
    display: flex;
    gap: 8px;
    list-style: none;
    margin-bottom: 24px;
}
.amenities li {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    color: var(--text-secondary);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
}
.price span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}
.price {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.center-btn-wrapper {
    text-align: center;
}

/* Host Section */
.host-section {
    padding: 80px 20px;
    background: linear-gradient(to right, rgba(255, 111, 60, 0.05), rgba(255, 154, 60, 0.05));
    margin-bottom: 120px;
}

.host-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
    align-items: center;
}

.host-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}
.host-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.host-benefits {
    list-style: none;
    margin-bottom: 40px;
}
.host-benefits li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}
.host-benefits li i {
    color: var(--primary-color);
    background: rgba(255, 154, 60, 0.1);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.mt-4 { margin-top: 16px; }

.host-visual {
    position: relative;
    height: 400px;
}
.host-floating-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
}
.top-card {
    top: 40px;
    right: 20px;
    width: 280px;
}
.bottom-card {
    bottom: 60px;
    left: 20px;
    width: 280px;
    animation-delay: 2s;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e1e2d, var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}
.icon-wrap.process {
    background: linear-gradient(135deg, #1e1e2d, var(--primary-color));
}
.details .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.details strong {
    font-size: 1.5rem;
    font-family: 'Outfit';
    font-weight: 800;
}

/* How It Works */
.step-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit';
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 154, 60, 0.2);
}
.step h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 20px;
}
.step-line {
    flex: 0 0 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin-top: 30px;
    opacity: 0.5;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 80px 20px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.footer-brand {
    max-width: 300px;
}
.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}
.social-links {
    display: flex;
    gap: 16px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}
.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}
.link-column h4 {
    margin-bottom: 24px;
    font-weight: 600;
}
.link-column a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.link-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3rem; }
    .host-container { grid-template-columns: 1fr; padding: 40px; }
    .host-visual { display: none; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .btn-text, .btn-primary { display: none; }
    
    .hero-text h1 { font-size: 2.2rem; }
    .search-form { flex-direction: column; border-radius: 20px; background: transparent; border: none; padding: 0; gap: 10px; }
    .input-group { width: 100%; background: var(--card-bg); border: 1px solid var(--glass-border); padding: 12px 20px; }
    .divider { display: none; }
    .btn-submit { width: 100%; border-radius: 30px; margin-left: 0; }
    
    .stats { flex-direction: column; gap: 40px; }
    
    .step-container { flex-direction: column; gap: 40px; }
    .step-line { display: none; }
    
    .footer-container { flex-direction: column; }
}
