/* ==========================================================================
   Vべる (V-Bell) Website Stylesheet
   Theme: Ultimate Premium Tech Design (Glassmorphism & Fine Layout Aesthetics)
   ========================================================================== */

/* Design System Tokens */
:root {
    --bg-white: #ffffff;
    --bg-light: #fafbfd;
    --bg-card: rgba(255, 255, 255, 0.45);
    --color-black: #090a10;
    --color-slate: #0f172a;
    --color-muted: #475569;
    --color-border: rgba(15, 23, 42, 0.06);
    
    /* Premium Brand Colors */
    --accent-primary: #00d09e; /* Premium Mint (LUUP aesthetic) */
    --accent-blue: #3b82f6; /* Electric Blue */
    --accent-rose: #f43f5e; /* Vibrant Rose for VTuber energy */
    --accent-purple: #8b5cf6; /* Royal Violet */
    
    /* Shadows - Layered & Diffused for High-End Depth */
    --shadow-sm: 
        0 1px 2px rgba(0, 0, 0, 0.02), 
        0 2px 4px rgba(0, 0, 0, 0.01),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    --shadow-md: 
        0 8px 30px rgba(15, 23, 42, 0.03), 
        0 1px 3px rgba(15, 23, 42, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --shadow-lg: 
        0 30px 60px rgba(15, 23, 42, 0.06), 
        0 10px 20px rgba(15, 23, 42, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --shadow-phone: 
        0 25px 60px -15px rgba(0, 0, 0, 0.3), 
        0 0 0 1px rgba(15, 23, 42, 0.08), 
        0 2px 4px rgba(0, 0, 0, 0.1);

    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', 'Outfit', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-slate);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    transition: background-color 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ==========================================================================
   Background dot-grid pattern & Flowing Glow
   ========================================================================== */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    background-position: center top;
    z-index: -2;
    pointer-events: none;
}

/* Fluid Multi-Source Mesh Glow Aura */
.mesh-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.14;
    animation: floatGlow 22s infinite alternate ease-in-out;
}

.mesh-glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-rose) 0%, transparent 70%);
    top: -250px;
    right: -100px;
}

.mesh-glow-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: 900px;
    left: -200px;
    animation-delay: -8s;
}

.mesh-glow-3 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: 450px;
    right: -250px;
    animation-delay: -4s;
    opacity: 0.08;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    100% {
        transform: translate(120px, 60px) scale(1.1) rotate(45deg);
    }
}

/* ==========================================================================
   Navbar (Glassmorphism Header)
   ========================================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 84px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-blue));
    border-radius: 6px;
    transform: rotate(45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-slate);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: var(--color-black);
}

.nav-cta {
    background-color: var(--color-black);
    color: var(--bg-white) !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
    transform: translateY(-2px);
    background-color: #1a1b22;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 120px 0 160px;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-content {
    flex: 1.2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 208, 158, 0.06);
    border: 1px solid rgba(0, 208, 158, 0.12);
    color: #00b080;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: 'Outfit', var(--font-sans);
    font-size: 4.8rem;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 28px;
    letter-spacing: -3.5px;
    color: var(--color-black);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent-rose) 20%, var(--accent-blue) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-muted);
    margin-bottom: 48px;
    max-width: 540px;
    font-weight: 400;
    line-height: 1.8;
}

.release-note {
    font-size: 0.85rem !important;
    color: var(--color-muted) !important;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.release-note i {
    color: var(--accent-blue);
}

/* Store Buttons (Gloss Sheen Hover Effect) */
.app-buttons {
    display: flex;
    gap: 16px;
}

.btn-store {
    background-color: var(--color-black);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.btn-store::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-store:hover {
    transform: translateY(-4px);
    background-color: #1a1b22;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.14);
}

.btn-store:hover::after {
    left: 130%;
}

.btn-store i {
    font-size: 2rem;
    margin-right: 14px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text .small-text {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.7;
}

.btn-text .big-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* ==========================================================================
   iPhone 15 Pro Realistic Mockup Frame (Metallic detailing & side buttons)
   ========================================================================== */
.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.phone-mockup-perspective {
    position: relative;
    transform: rotateY(-18deg) rotateX(12deg) rotateZ(4deg);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
}

.phone-mockup-perspective:hover {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1.03);
}

.phone-mockup-perspective:hover .floating-badge {
    transform: translateZ(40px) scale(1.05);
}

/* High Fidelity iPhone Mockup Wrapper */
.iphone-frame {
    position: relative;
    width: 272px;
    height: 560px;
    background: linear-gradient(to bottom, #2d3748, #0f172a);
    border-radius: 46px;
    box-shadow: var(--shadow-phone);
    padding: 10px; /* Bezel margin */
    border: 1px solid #475569;
    flex-shrink: 0;
}

/* Realistic simulated side hardware buttons */
.iphone-frame::before {
    /* Power/Side Button */
    content: '';
    position: absolute;
    right: -2px;
    top: 105px;
    width: 2px;
    height: 48px;
    background: #475569;
    border-radius: 0 3px 3px 0;
}

.iphone-frame::after {
    /* Volume Up & Down Buttons */
    content: '';
    position: absolute;
    left: -2px;
    top: 95px;
    width: 2px;
    height: 34px;
    background: #475569;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 48px 0 #475569; /* Volume down offset */
}

/* Inner Screen Bezel */
.iphone-screen-area {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 36px;
    overflow: hidden;
    border: 4px solid #000; /* Outer screen border bezel */
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 82px;
    height: 22px;
    background-color: #000000;
    border-radius: 20px;
    z-index: 100;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    pointer-events: none;
    display: block;
}

/* Glass reflection overlay */
.glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 30%, transparent 60%);
    pointer-events: none;
    z-index: 90;
    border-radius: 32px;
}

/* Floating UI Widgets */
.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-live {
    top: 60px;
    left: -70px;
    color: #ef4444;
}

.badge-live i {
    font-size: 0.5rem;
    animation: pulseRed 1s infinite alternate;
}

.badge-bell {
    bottom: 100px;
    right: -70px;
    color: var(--accent-rose);
}

@keyframes pulseRed {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* ==========================================================================
   Interactive Showcase Section (World-Class Simulator)
   ========================================================================== */
.interactive-sec {
    padding: 120px 0;
    background-color: transparent;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.showcase-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-top: 60px;
}

.showcase-controls {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-tab {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 30px 36px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.showcase-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 4px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: 0 4px 4px 0;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1);
}

.showcase-tab:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(15, 23, 42, 0.12);
}

.showcase-tab.active {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 208, 158, 0.25);
    box-shadow: var(--shadow-md);
}

.showcase-tab.active::before {
    transform: translateY(-50%) scaleY(1);
}

.tab-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.05);
    position: absolute;
    right: 28px;
    top: 20px;
    line-height: 1;
    transition: color 0.4s;
    user-select: none;
}

.showcase-tab.active .tab-num {
    color: rgba(0, 208, 158, 0.15);
}

.tab-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    transition: color 0.4s;
    color: var(--color-black);
}

.showcase-tab.active .tab-content h3 {
    color: var(--accent-primary);
}

.tab-content p {
    font-size: 0.95rem;
    color: var(--color-muted);
    max-width: 440px;
    line-height: 1.6;
}

.tab-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(15, 23, 42, 0.05);
}

.tab-progress-bar .progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-blue));
    transition: width 7s linear;
}

.showcase-tab.active .tab-progress-bar .progress {
    width: 100%;
}

/* Simulator Phone Container */
.showcase-simulator {
    flex: 0.9;
    display: flex;
    justify-content: center;
}

.simulator-wrapper {
    position: relative;
}

.simulator-phone {
    position: relative;
    width: 272px;
    height: 560px;
    background: linear-gradient(to bottom, #2d3748, #0f172a);
    border-radius: 46px;
    box-shadow: var(--shadow-phone);
    padding: 10px;
    border: 1px solid #475569;
    overflow: hidden;
    flex-shrink: 0;
}

.simulator-phone::before {
    /* Power Button */
    content: '';
    position: absolute;
    right: -2px;
    top: 105px;
    width: 2px;
    height: 48px;
    background: #475569;
    border-radius: 0 3px 3px 0;
}

.simulator-phone::after {
    /* Volume Buttons */
    content: '';
    position: absolute;
    left: -2px;
    top: 95px;
    width: 2px;
    height: 34px;
    background: #475569;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 48px 0 #475569;
}

.simulator-screen-area {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 36px;
    overflow: hidden;
    border: 4px solid #000;
}

.screen-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.simulator-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ==========================================================================
   Bento Grid Features Section
   ========================================================================== */
.features-sec {
    padding: 140px 0;
    background-color: transparent;
}

.section-header h2 {
    font-family: 'Outfit', var(--font-sans);
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--color-black);
}

.section-header p {
    color: var(--color-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(320px, auto);
    gap: 30px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 44px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: var(--shadow-lg);
}

/* Card sizes */
.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* Icon Wrap */
.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .icon-wrapper {
    transform: scale(1.08) rotate(-5deg);
}

/* Icon Colors */
.icon-pink { background-color: rgba(244, 63, 94, 0.08); color: var(--accent-rose); }
.icon-blue { background-color: rgba(59, 130, 246, 0.08); color: var(--accent-blue); }
.icon-green { background-color: rgba(0, 208, 158, 0.08); color: var(--accent-primary); }
.icon-purple { background-color: rgba(139, 92, 246, 0.08); color: var(--accent-purple); }
.icon-orange { background-color: rgba(249, 115, 22, 0.08); color: #f97316; }

.bento-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-black);
    letter-spacing: -0.5px;
}

.bento-text p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Utility: Non-breaking words for Japanese typography */
.nobr {
    display: inline-block;
    white-space: nowrap;
}

/* Left-aligned Section Header for Desktop Layout alignment */
.section-header-left {
    text-align: left;
    margin-bottom: 60px;
    padding: 0 24px;
}

.section-header-left h2 {
    font-family: 'Outfit', var(--font-sans);
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--color-black);
}

.section-header-left p {
    color: var(--color-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-header-left {
        text-align: center;
    }
    .section-header-left p {
        margin: 0 auto;
    }
}

/* Right-aligned Section Header for Desktop Layout alternation */
.section-header-right {
    text-align: right;
    margin-bottom: 80px;
    padding: 0 24px;
}

.section-header-right h2 {
    font-family: 'Outfit', var(--font-sans);
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--color-black);
}

.section-header-right p {
    color: var(--color-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 768px) {
    .section-header-right {
        text-align: center;
    }
    .section-header-right p {
        margin: 0 auto;
    }
}

/* Mockup visuals inside Bento Cards */
.bento-visual {
    margin-top: 30px;
    border-radius: 18px;
    background-color: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.04);
    padding: 24px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card 1: Notification Stack */
.visual-notification-stack {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.noti-stack-item {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.noti-stack-item-1 {
    transform: translateY(-16px) scale(0.92);
    opacity: 0.5;
    z-index: 1;
}

.noti-stack-item-2 {
    transform: translateY(-8px) scale(0.96);
    opacity: 0.8;
    z-index: 2;
}

.noti-stack-item-3 {
    transform: translateY(0) scale(1);
    z-index: 3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.bento-card:hover .noti-stack-item-1 { transform: translateY(-24px) scale(0.92); }
.bento-card:hover .noti-stack-item-2 { transform: translateY(-12px) scale(0.96); }
.bento-card:hover .noti-stack-item-3 { transform: translateY(0) scale(1.02); }

.noti-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-rose);
    border-radius: 50%;
}

.noti-text h4 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 2px;
}

.noti-text p {
    font-size: 0.75rem;
    color: var(--color-muted);
}

/* Card 2: VTuber Toggle UI */
.visual-filter-list {
    width: 100%;
    max-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-member {
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-blue));
}

.member-avatar-placeholder.avatar-2 {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-blue));
}

.member-avatar-placeholder.avatar-3 {
    background: linear-gradient(135deg, var(--accent-rose), #f59e0b);
}

.member-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-black);
}

/* Custom switch toggle */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-round {
    background-color: var(--accent-primary);
}

input:checked + .slider-round:before {
    transform: translateX(16px);
}

/* Card 3: Fuzzy Search UI Visual */
.visual-search {
    width: 100%;
    max-width: 280px;
}

.search-box {
    background-color: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.3s;
}

.bento-card:hover .search-box {
    border-color: rgba(0, 208, 158, 0.4);
    box-shadow: 0 4px 12px rgba(0, 208, 158, 0.08);
}

.search-results-list {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 6px;
    margin-top: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
    color: var(--color-slate);
}

.search-result-item.selected {
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--accent-blue);
    font-weight: 700;
}

.badge-kbd {
    font-family: monospace;
    font-size: 0.7rem;
    padding: 2px 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: var(--color-muted);
}

/* Card 4: WebView Player UI Visual */
.visual-webview-sim {
    width: 100%;
    background: #1e293b;
    border-radius: 16px;
    border: 1px solid #334155;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.webview-header {
    background: #0f172a;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #1e293b;
}

.webview-dots {
    display: flex;
    gap: 5px;
}

.webview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
}

.webview-dot:nth-child(2) { background-color: #f59e0b; }
.webview-dot:nth-child(3) { background-color: #10b981; }

.webview-address-bar {
    flex-grow: 1;
    background-color: #1e293b;
    border-radius: 8px;
    padding: 4px 12px;
    color: #94a3b8;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.webview-content {
    background: #0b0c10;
    height: 100px;
    display: flex;
}

.webview-video {
    flex: 1.5;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webview-chat {
    flex: 1;
    background: #0f172a;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 1px solid #1e293b;
    overflow: hidden;
}

.chat-bubble-sim {
    height: 10px;
    background: #334155;
    border-radius: 4px;
    width: 80%;
}

.chat-bubble-sim:nth-child(2) {
    width: 60%;
    background: #475569;
}

.chat-bubble-sim:nth-child(3) {
    width: 90%;
    background: #334155;
}

.player-play-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.bento-card:hover .player-play-btn {
    background-color: var(--accent-rose);
    border-color: var(--accent-rose);
    transform: scale(1.1);
}

/* Card 5: Oshikatsu Memo Cards */
.visual-memo-stack {
    position: relative;
    width: 100%;
    max-width: 200px;
    height: 110px;
}

.memo-card-sim {
    position: absolute;
    width: 100%;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(245,158,11,0.06);
    font-family: var(--font-sans);
    transform: rotate(-3deg);
    transition: transform 0.4s;
}

.memo-card-sim-2 {
    background: #f0fdf4;
    border-color: #bbf7d0;
    transform: rotate(4deg) translate(10px, 10px);
}

.memo-card-sim h4 {
    font-size: 0.75rem;
    font-weight: 800;
    color: #78350f;
    margin-bottom: 4px;
}

.memo-card-sim-2 h4 {
    color: #14532d;
}

.memo-card-sim p {
    font-size: 0.65rem;
    color: #b45309;
}

.memo-card-sim-2 p {
    color: #15803d;
}

.memo-tag-sim {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.55rem;
    font-weight: 700;
    background: rgba(245,158,11,0.1);
    color: #d97706;
    border-radius: 4px;
    margin-top: 6px;
}

.memo-card-sim-2 .memo-tag-sim {
    background: rgba(21,128,61,0.1);
    color: #16a34a;
}

.bento-card:hover .memo-card-sim { transform: rotate(-5deg) translate(-5px, -5px); }
.bento-card:hover .memo-card-sim-2 { transform: rotate(8deg) translate(15px, 15px); }

/* Card 6: Database Sync Indicator */
.visual-sync {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sync-loader {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(0, 208, 158, 0.1);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spinSync 2s linear infinite;
    color: var(--accent-primary);
    font-size: 1.1rem;
}

@keyframes spinSync {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sync-loader i {
    animation: reverseSpin 2s linear infinite;
}

@keyframes reverseSpin {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.sync-status-badge {
    background: rgba(0, 208, 158, 0.08);
    border: 1px solid rgba(0, 208, 158, 0.15);
    color: #00b080;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    background-color: transparent;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 140px 0;
    text-align: center;
    position: relative;
}

.cta h2 {
    font-family: 'Outfit', var(--font-sans);
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--color-black);
}

.cta p {
    font-size: 1.2rem;
    color: var(--color-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .app-buttons {
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--bg-white);
    color: var(--color-slate);
    padding: 80px 0 40px;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.footer-left h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--color-black);
}

.footer-center {
    flex: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.disclaimer {
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.45);
    line-height: 1.6;
}

.powered-youtube {
    margin-top: 16px;
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.4);
    font-weight: 600;
}

.footer-right ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-right a {
    color: var(--color-slate);
    transition: color 0.3s;
}

.footer-right a:hover {
    color: var(--color-black);
    text-decoration: underline;
}

/* ==========================================================================
   Privacy Policy Page Layout
   ========================================================================== */
.policy-header {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--color-border);
    padding: 100px 0 50px;
    text-align: center;
}

.policy-header h1 {
    font-family: 'Outfit', var(--font-sans);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--color-black);
}

.policy-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 32px;
}

.policy-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 48px;
    margin-bottom: 18px;
    color: var(--accent-rose);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.policy-content p,
.policy-content ul {
    color: var(--color-slate);
    margin-bottom: 20px;
    line-height: 1.8;
}

.policy-content ul {
    padding-left: 24px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-footer {
    text-align: center;
    padding: 60px 0 40px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .showcase-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        height: 72px;
        padding: 0;
    }

    .navbar-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.4rem;
        gap: 6px;
    }

    .logo::before {
        width: 14px;
        height: 14px;
        border-radius: 4px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-cta {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 50px 0 80px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.6rem !important;
        letter-spacing: -2px !important;
        line-height: 1.1 !important;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .app-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-image {
        margin-top: 20px;
        width: 100%;
        max-width: 272px;
    }

    .phone-mockup-perspective {
        transform: none !important;
    }

    .floating-badge {
        display: none !important; /* Disable floating badges on mobile */
    }

    /* Showcase mobile optimization (Tabs above Simulator) */
    .showcase-container {
        flex-direction: column;
        gap: 32px;
    }

    .showcase-controls {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .showcase-tab {
        padding: 12px 8px;
        border-radius: 14px;
        flex: 1;
        text-align: center;
        box-shadow: var(--shadow-sm);
    }
    
    .showcase-tab::before {
        display: none !important; /* Hide left border marker */
    }

    .showcase-tab:hover {
        transform: none !important;
    }

    .showcase-tab .tab-content p,
    .showcase-tab .tab-num,
    .showcase-tab .tab-progress-bar {
        display: none !important; /* Turn cards into compact buttons */
    }

    .showcase-tab .tab-content h3 {
        font-size: 0.8rem;
        margin-bottom: 0;
        font-weight: 700;
        white-space: nowrap;
    }

    .showcase-simulator {
        width: 100%;
        max-width: 272px;
        margin: 0 auto;
    }

    /* Bento Grid mobile padding fixes */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .bento-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .bento-visual {
        padding: 16px;
        margin-top: 20px;
    }

    .visual-notification-stack {
        max-width: 100%;
        height: 100px;
    }

    .noti-stack-item {
        padding: 10px 14px;
        gap: 10px;
    }

    .noti-text h4 {
        font-size: 0.8rem;
    }

    .noti-text p {
        font-size: 0.7rem;
    }

    .visual-filter-list {
        max-width: 100%;
    }

    .visual-search {
        max-width: 100%;
    }

    .visual-webview-sim {
        max-width: 100%;
    }

    .section-header h2,
    .section-header-left h2,
    .section-header-right h2 {
        font-size: 2.0rem !important;
        letter-spacing: -1.5px !important;
        line-height: 1.15 !important;
    }

    .cta h2 {
        font-size: 2.0rem !important;
        letter-spacing: -1.5px !important;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .footer-center {
        order: 3;
    }
}

/* Extra support for small viewport sizes (e.g. iPhone SE) */
@media (max-width: 350px) {
    .iphone-frame, .simulator-phone {
        width: 236px;
        height: 486px;
    }
    
    .showcase-tab .tab-content h3 {
        font-size: 0.72rem;
    }
}