:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --secondary: #f59e0b;
    --success: #10b981;
    --pink: #ec4899;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-weight: 900;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary); }
.text-light { color: #fff; }

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-accent {
    background-color: var(--secondary);
    color: white;
}

.btn-tech {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    width: 100%;
}

.btn-huge {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    color: white;
    font-size: 1.2rem;
    padding: 1.5rem 4rem;
}

/* Header */
header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}


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

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    color: var(--accent);
}

header nav ul {
    display: flex;
    gap: 2rem;
}

header nav a {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    background: var(--primary);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.main-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 2rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.sub-title {
    font-size: 1.2rem;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Intro Box */
.intro-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-lead {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent);
}

.highlight-box {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 30px;
    border-left: 10px solid var(--accent);
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;
    color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.highlight-box p {
    display: inline-block;
    animation: wave-waiting 2.5s ease-in-out infinite;
}

@keyframes wave-waiting {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-1deg); }
    50% { transform: translateY(0) rotate(1deg); }
    75% { transform: translateY(-3px) rotate(-0.5deg); }
}

/* Room Grid */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.room-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
}

.room-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.room-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-number {
    font-family: 'Outfit';
    font-size: 2rem;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.1);
    line-height: 1;
    margin-bottom: -1rem;
    display: block;
}

.room-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.3rem;
    display: block;
}

.room-subtitle-large {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.room-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    line-height: 1.4;
    display: block;
}

.room-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-text {
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

/* Room Details */
.room-detail-section {
    padding: 120px 0;
}

.room-detail-section.bg-alt {
    background-color: #f1f5f9;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.grid-2.reverse {
    direction: rtl;
}

.grid-2.reverse .room-text {
    direction: ltr;
}

.room-visual img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.room-visual-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.room-visual-collage img:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.room-visual-collage img:not(:first-child) {
    aspect-ratio: 1 / 1;
}

.room-visual-collage img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.room-visual-collage img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.room-visual-stacked {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.room-visual-stacked img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.room-visual-stacked img:hover {
    transform: scale(1.01);
}

.align-start {
    align-items: start !important;
}

.room-visual-composite {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.room-visual-composite .visual-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.2rem;
}

.visual-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.visual-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.happy-vibe { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.family-vibe { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.room-text h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.room-text .tagline {
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    white-space: nowrap;
}

.room-meta-card {
    margin: 3rem 0;
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.08);
    border-left: 8px solid var(--secondary);
}

/* Feature Lists (Room Details) */
.room-meta-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.list-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.list-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.list-box ul {
    list-style: none;
    padding: 0;
}

.list-box ul li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
}

.list-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

@media (max-width: 768px) {
    .room-meta-lists {
        grid-template-columns: 1fr;
    }
}

.meta-item {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    display: flex;
    gap: 1rem;
}

.meta-label {
    font-weight: 900;
    color: var(--text-muted);
    min-width: 100px;
}

.meta-value {
    color: var(--primary);
    font-weight: 700;
}

/* AI Special */
.ai-special {
    background: radial-gradient(circle at top left, #0f172a 0%, #1e1b4b 100%);
    color: white;
}

.ai-header {
    text-align: center;
    margin-bottom: 5rem;
}

.badge.tech {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.ai-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.ai-room-card {
    position: relative;
    padding: 3rem;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}

.card-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ai-room-card .btn-tech {
    margin-top: auto;
}

.ai-room-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price {
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 2rem;
}

.check-list {
    margin: 2rem 0;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.check-list li::before {
    content: "✓";
    color: #34d399;
    font-weight: 900;
}

/* Spec Box */
.spec-box {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px dashed rgba(255,255,255,0.1);
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.spec-col h4 {
    margin-bottom: 1rem;
    color: #94a3b8;
}

.spec-col ul li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Benefits Section */
.benefit-box h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.check-list-light li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-list-light li::before {
    content: "●";
    color: var(--accent);
}

/* Apply Section */
.apply-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.apply-steps {
    display: flex;
    justify-content: space-around;
    gap: 3rem;
    margin: 4rem 0;
}

.step {
    flex: 1;
}

.step-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.apply-info {
    background: var(--bg-light);
    padding: 4rem 2rem;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
}

.apply-info h4 {
    margin-bottom: 1rem;
}

.apply-info p {
    margin-bottom: 3rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-top {
    text-align: center;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .grid-2.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }
    .ai-card-wrapper, .spec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header nav { display: none; }
    .apply-steps { flex-direction: column; }
}

/* New Navy Recommended Header */

.recommended-header-navy {
    display: inline-flex;
    align-items: center;
    background-color: #1a222e;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.recommended-header-navy .check {
    margin-right: 0.6rem;
}

.recommended-point {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a222e;
    margin-bottom: 1rem;
    padding-left: 0.2rem;
}




/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#caravan-sponsors.reveal.active .caravan-bus {
    transform: translateX(0);
    opacity: 1;
}

/* Mentor Profile */
.mentor-section {
    margin: 4rem 0;
}

.mentor-card {
    position: relative;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    padding: 3rem;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
}

.mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.mentor-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.mentor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mentor-info p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .mentor-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .mentor-image {
        max-width: 300px;
        margin: 0 auto;
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 40px;
    position: relative;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-qr-container {
    margin-bottom: 2rem;
}

.modal-qr-container img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
